<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - OSS module doesn't detect some devices"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89921#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - OSS module doesn't detect some devices"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89921">bug 89921</a>
from <span class="vcard"><a class="email" href="mailto:aaz@q-fu.com" title="Andrey Zholos <aaz@q-fu.com>"> <span class="fn">Andrey Zholos</span></a>
</span></b>
<pre>Yes. This is the default configuration on my machine. pcm4 goes to
rear, pcm5 goes to front. This is governed by the pin configuration
below (man snd_hda). All the pins in as=1 (association) become pcm4,
as=2 becomes pcm5.
# sysctl dev.hdac.1.pindump=1
# dmesg
hdaa1: Dumping AFG pins:
hdaa1: nid 0x as seq device conn jack loc color misc
hdaa1: 17 99430140 4 0 SPDIF-out Fixed ATAPI Onboard Unknown 1
hdaa1: Caps: OUT
hdaa1: 18 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
hdaa1: Caps: IN
hdaa1: 20 01014010 1 0 Line-out Jack 1/8 Rear Green 0
hdaa1: Caps: IN OUT HP EAPD Sense: 0x80000000 (connected)
hdaa1: 21 01011012 1 2 Line-out Jack 1/8 Rear Black 0
hdaa1: Caps: IN OUT Sense: 0x00000000 (disconnected)
hdaa1: 22 01016011 1 1 Line-out Jack 1/8 Rear Orange 0
hdaa1: Caps: IN OUT Sense: 0x00000000 (disconnected)
hdaa1: 23 01012014 1 4 Line-out Jack 1/8 Rear Grey 0
hdaa1: Caps: IN OUT Sense: 0x00000000 (disconnected)
hdaa1: 24 01a19850 5 0 Mic Jack 1/8 Rear Pink 8
hdaa1: Caps: IN OUT VREF Sense: 0x00000000 (disconnected)
hdaa1: 25 02a19c60 6 0 Mic Jack 1/8 Front Pink 12
hdaa1: Caps: IN OUT HP VREF Sense: 0x00000000 (disconnected)
hdaa1: 26 0181305f 5 15 Line-in Jack 1/8 Rear Blue 0
hdaa1: Caps: IN OUT VREF Sense: 0x00000000 (disconnected)
hdaa1: 27 02214c20 2 0 Headphones Jack 1/8 Front Green 12
hdaa1: Caps: IN OUT HP EAPD VREF Sense: 0x00000000 (disconnected)
hdaa1: 28 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
hdaa1: Caps: IN Sense: 0x00000000 (disconnected)
hdaa1: 30 014b6130 3 0 SPDIF-out Jack Combo Rear Orange 1
hdaa1: Caps: OUT
hdaa1: 31 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA
hdaa1: Caps: IN
hdaa1: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdaa1: GPIO0: disabled
hdaa1: GPIO1: disabled
I can override this configuration to combine speakers and headphones
into one pcm device and get automatic speaker muting when headphones
are plugged in:
# sysctl dev.hdaa.1.nid27_config="as=1 seq=15"
# sysctl dev.hdaa.1.reconfig=1
or
# echo 'hint.hdaa.1.nid27.config="as=1 seq=15"' >>/boot/device.hints
After this the two lines in /dev/sndstat become:
pcm4: <Realtek ALC892 (Analog 7.1+HP/2.0)> (play/rec) default</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>