Date: Wed, 27 Aug 2008 11:19:14 +0300 From: Alexander Motin <mav@FreeBSD.org> To: swell.k@gmail.com Cc: freebsd-multimedia@FreeBSD.org Subject: Re: snd_hda UAA patch second preview Message-ID: <48B50E02.5040508@FreeBSD.org> In-Reply-To: <86y72j8ctw.fsf@gmail.com> References: <48B2DD7E.6030700@FreeBSD.org> <86y72j8ctw.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
swell.k@gmail.com wrote: > Neither hda.20080825.patch nor hda.20080826.patch outputs any sound for me. > Although hda.20080812.patch worked well. I'm using headphones jack. Plugging > into "line out" helps, but inconvenient, since its jack on the rear side of > case. > > % cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) > Installed devices: > pcm0: <HDA codec Realtek ALC885 PCM #0> at hdac0 cad 2 [20080826_0101] [MPSAFE] (1p:1v/1r:1v channels duplex default) > pcm1: <HDA codec Realtek ALC885 PCM #1> at hdac0 cad 2 [20080826_0101] [MPSAFE] (1p:1v/1r:1v channels duplex) > pcm2: <HDA codec Realtek ALC885 PCM #2> at hdac0 cad 2 [20080826_0101] [MPSAFE] (1p:1v/1r:1v channels duplex) Have you tried to use other pcm devices? I think that headphone connector in your default setup is just a separate device and not duplicates line out. Here is what I see in your output: hdac0: Patched pins configuration: hdac0: nid 20 0x01014410 as 1 seq 0 Line-out Jack jack 1 loc 1 color Green misc 4 hdac0: nid 21 0x01011412 as 1 seq 2 Line-out Jack jack 1 loc 1 color Black misc 4 hdac0: nid 22 0x01016411 as 1 seq 1 Line-out Jack jack 1 loc 1 color Orange misc 4 hdac0: nid 23 0x01012414 as 1 seq 4 Line-out Jack jack 1 loc 1 color Grey misc 4 hdac0: nid 24 0x01a19c40 as 4 seq 0 Mic Jack jack 1 loc 1 color Pink misc 12 hdac0: nid 25 0x02a19c50 as 5 seq 0 Mic Jack jack 1 loc 2 color Pink misc 12 hdac0: nid 26 0x0181344f as 4 seq 15 Line-in Jack jack 1 loc 1 color Blue misc 4 hdac0: nid 27 0x02214c20 as 2 seq 0 Headphones Jack jack 1 loc 2 color Green misc 12 hdac0: nid 28 0x593301f0 as 15 seq 0 CD None jack 3 loc 25 color Unknown misc 1 [DISABLED] hdac0: nid 29 0x4005e601 as 0 seq 1 Line-out None jack 5 loc 0 color White misc 6 [DISABLED] hdac0: nid 30 0x014b6130 as 3 seq 0 SPDIF-out Jack jack 11 loc 1 color Orange misc 1 hdac0: nid 31 0x01cb7160 as 6 seq 0 SPDIF-in Jack jack 11 loc 1 color Yellow misc 1 hdac0: Parsing pin associations... hdac0: 6 associations found hdac0: Association 0 (1) out: hdac0: Pin nid=20 seq=0 hdac0: Pin nid=22 seq=1 hdac0: Pin nid=21 seq=2 hdac0: Pin nid=23 seq=4 hdac0: Association 1 (2) out: hdac0: Pin nid=27 seq=0 hdac0: Association 2 (3) out: hdac0: Pin nid=30 seq=0 hdac0: Association 3 (4) in: hdac0: Pin nid=24 seq=0 hdac0: Pin nid=26 seq=15 hdac0: Association 4 (5) in: hdac0: Pin nid=25 seq=0 hdac0: Association 5 (6) in: hdac0: Pin nid=31 seq=0 So: association 0 is 7.1 playback via 4 connectors (rear), association 1 is headphones playback (front), association 2 is SPDIF playback, association 3 is a mic and line in recording (rear), association 4 is a mic recording (front), association 5 is SPDIF recording. So in order of numeration according to in/out directions: as0 + as3 = pcm0 as1 + as4 = pcm1 as2 + as5 = pcm2 I think you have one of the most advanced and interesting audio setups which I have seen, but just don't yet understand that fact. :) PS: I don't know why hda.20080812.patch worked differently, but I think that was a bug. :) -- Alexander Motin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48B50E02.5040508>