[pulseaudio-tickets] [Bug 89921] OSS module doesn't detect some devices

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 11 02:56:20 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89921

--- Comment #4 from Andrey Zholos <aaz at q-fu.com> ---
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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150411/5c9ca38d/attachment.html>


More information about the pulseaudio-bugs mailing list