Date: Sat, 10 Oct 2009 10:05:34 +0000 From: glimm - <glimmheiser@gmail.com> To: freebsd-mobile@freebsd.org Subject: snd_hda, freebsd 8 and headphones Message-ID: <1eef4f890910100305m5fa8ed4ah32a83d4eb072637f@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello. After updating to 8.0 my headphones stopped working on my laptop. I think that should fix hdac.c file, but can not imagine how. Help me:) Model - Sony VAIO SZ650 snd_hda verbose: pci0: driver added found-> vendor=0x8086, dev=0x284b, revid=0x03 domain=0, bus=0, slot=27, func=0 class=04-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=21 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit pci0:0:27:0: reprobing on driver added hdac0: <Intel 82801H High Definition Audio Controller> mem 0xfc300000-0xfc303fff irq 21 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20090624_0136 hdac0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 256 to local APIC 0 vector 48 hdac0: using IRQ 256 for MSI hdac0: [MPSAFE] hdac0: [ITHREAD] hdac0: Probing codec #0... hdac0: HDA Codec #0: Sigmatel STAC9872AK hdac0: HDA Codec ID: 0x83847662 hdac0: Vendor: 0x8384 hdac0: Device: 0x7662 hdac0: Revision: 0x02 hdac0: Stepping: 0x01 hdac0: PCI Subvendor: 0x9008104d hdac0: Found audio FG nid=1 startnode=2 endnode=25 total=23 hdac0: Probing codec #1... hdac0: HDA Codec #1: Conexant (Unknown) hdac0: HDA Codec ID: 0x14f12c06 hdac0: Vendor: 0x14f1 hdac0: Device: 0x2c06 hdac0: Revision: 0x00 hdac0: Stepping: 0x00 hdac0: PCI Subvendor: 0x9008104d hdac0: Found modem FG nid=2 startnode=112 endnode=116 total=4 hdac0: hdac0: Processing audio FG cad=0 nid=1... hdac0: GPIO: 0xc0000005 NumGPIO=5 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1 hdac0: nid 10 0x03211020 as 2 seq 0 Headphones Jack jack 1 loc 3 color Black misc 0 hdac0: nid 11 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 hdac0: nid 12 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 hdac0: nid 13 0x03a15030 as 3 seq 0 Mic Jack jack 1 loc 3 color Red misc 0 hdac0: nid 14 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 hdac0: nid 15 0x90170110 as 1 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1 hdac0: nid 17 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 hdac0: nid 19 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 hdac0: nid 20 0x90a7013e as 3 seq 14 Mic Fixed jack 7 loc 16 color Unknown misc 1 hdac0: Patched pins configuration: hdac0: nid 10 0x03211020 as 2 seq 0 Headphones Jack jack 1 loc 3 color Black misc 0 hdac0: nid 11 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: nid 12 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: nid 13 0x03a15030 as 3 seq 0 Mic Jack jack 1 loc 3 color Red misc 0 hdac0: nid 14 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: nid 15 0x90170110 as 1 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1 hdac0: nid 17 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: nid 19 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 color Black misc 1 [DISABLED] hdac0: nid 20 0x90a7013e as 3 seq 14 Mic Fixed jack 7 loc 16 color Unknown misc 1 hdac0: 3 associations found: hdac0: Association 0 (1) out: hdac0: Pin nid=15 seq=0 hdac0: Association 1 (2) out: hdac0: Pin nid=10 seq=0 hdac0: Association 2 (3) in: hdac0: Pin nid=13 seq=0 hdac0: Pin nid=20 seq=14 hdac0: Tracing association 0 (1) hdac0: Pin 15 traced to DAC 5 hdac0: Association 0 (1) trace succeeded hdac0: Tracing association 1 (2) hdac0: Pin 10 traced to DAC 2 hdac0: Association 1 (2) trace succeeded hdac0: Tracing association 2 (3) hdac0: Unable to trace pin 13 to ADC 6, undo traces hdac0: Pin 13 traced to ADC 8 hdac0: Pin 20 traced to ADC 8 hdac0: Association 2 (3) trace succeeded hdac0: Tracing input monitor hdac0: Tracing beeper hdac0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref hdac0: hdac0: +-------------------+ hdac0: | DUMPING HDA NODES | hdac0: +-------------------+ hdac0: hdac0: Default Parameter hdac0: ----------------- hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: IN amp: 0x80050f00 hdac0: OUT amp: 0x80027f7f hdac0: hdac0: nid: 2 hdac0: Name: audio output hdac0: Widget cap: 0x000d0c05 hdac0: LRSWAP PWR STEREO hdac0: Association: 1 (0x00000001) hdac0: OSS: pcm (pcm) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: Output amp: 0x80027f7f hdac0: mute=1 step=127 size=2 offset=127 hdac0: hdac0: nid: 3 [DISABLED] hdac0: Name: audio output hdac0: Widget cap: 0x000d0c05 hdac0: LRSWAP PWR STEREO hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: Output amp: 0x80027f7f hdac0: mute=1 step=127 size=2 offset=127 hdac0: hdac0: nid: 4 [DISABLED] hdac0: Name: audio output hdac0: Widget cap: 0x000d0c05 hdac0: LRSWAP PWR STEREO hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: Output amp: 0x80027f7f hdac0: mute=1 step=127 size=2 offset=127 hdac0: hdac0: nid: 5 hdac0: Name: audio output hdac0: Widget cap: 0x000d0c05 hdac0: LRSWAP PWR STEREO hdac0: Association: 0 (0x00000001) hdac0: OSS: pcm (pcm) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: Output amp: 0x80027f7f hdac0: mute=1 step=127 size=2 offset=127 hdac0: hdac0: nid: 6 [DISABLED] hdac0: Name: audio input hdac0: Widget cap: 0x001d0541 hdac0: PWR PROC STEREO hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=7 [audio selector] [DISABLED] hdac0: hdac0: nid: 7 [DISABLED] hdac0: Name: audio selector hdac0: Widget cap: 0x00300903 hdac0: LRSWAP STEREO hdac0: Input amp: 0x80050f00 hdac0: mute=1 step=15 size=5 offset=0 hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=14 [pin: Speaker (None)] [DISABLED] hdac0: hdac0: nid: 8 hdac0: Name: audio input hdac0: Widget cap: 0x001d0541 hdac0: PWR PROC STEREO hdac0: Association: 2 (0x00004001) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: connections: 1 hdac0: | hdac0: + <- nid=9 [audio selector] hdac0: hdac0: nid: 9 hdac0: Name: audio selector hdac0: Widget cap: 0x00300903 hdac0: LRSWAP STEREO hdac0: Association: 2 (0x00004001) hdac0: OSS: mic, monitor hdac0: Input amp: 0x80050f00 hdac0: mute=1 step=15 size=5 offset=0 hdac0: connections: 1 hdac0: | hdac0: + <- nid=21 [audio selector] hdac0: hdac0: nid: 10 hdac0: Name: pin: Headphones (Black Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 1 (0x00000001) hdac0: Pin cap: 0x0000173c hdac0: PDC HP OUT IN VREF[ 50 80 GROUND HIZ ] hdac0: Pin config: 0x03211020 hdac0: Pin control: 0x000000c0 HP OUT hdac0: connections: 1 hdac0: | hdac0: + <- nid=2 [audio output] hdac0: hdac0: nid: 11 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Pin cap: 0x00000014 hdac0: PDC OUT hdac0: Pin config: 0x411111f0 hdac0: Pin control: 0x00000000 hdac0: connections: 1 hdac0: | hdac0: + <- nid=4 [audio output] [DISABLED] hdac0: hdac0: nid: 12 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Pin cap: 0x00000014 hdac0: PDC OUT hdac0: Pin config: 0x411111f0 hdac0: Pin control: 0x00000000 hdac0: connections: 1 hdac0: | hdac0: + <- nid=3 [audio output] [DISABLED] hdac0: hdac0: nid: 13 hdac0: Name: pin: Mic (Red Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 2 (0x00000001) hdac0: OSS: mic (mic) hdac0: Pin cap: 0x0000173c hdac0: PDC HP OUT IN VREF[ 50 80 GROUND HIZ ] hdac0: Pin config: 0x03a15030 hdac0: Pin control: 0x00000024 IN VREFs hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=2 [audio output] hdac0: hdac0: nid: 14 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400081 hdac0: UNSOL STEREO hdac0: Pin cap: 0x00000024 hdac0: PDC IN hdac0: Pin config: 0x411111f0 hdac0: Pin control: 0x00000000 hdac0: hdac0: nid: 15 hdac0: Name: pin: Speaker (Fixed) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 0 (0x00000001) hdac0: Pin cap: 0x00000014 hdac0: PDC OUT hdac0: Pin config: 0x90170110 hdac0: Pin control: 0x00000040 OUT hdac0: connections: 1 hdac0: | hdac0: + <- nid=5 [audio output] hdac0: hdac0: nid: 16 [DISABLED] hdac0: Name: audio output hdac0: Widget cap: 0x00040211 hdac0: DIGITAL STEREO hdac0: Stream cap: 0x00000005 hdac0: AC3 PCM hdac0: PCM cap: 0x000e03e0 hdac0: 16 20 24 bits, 44 48 88 96 176 KHz hdac0: hdac0: nid: 17 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400301 hdac0: DIGITAL STEREO hdac0: Pin cap: 0x00000010 hdac0: OUT hdac0: Pin config: 0x411111f0 hdac0: Pin control: 0x00000000 hdac0: connections: 2 hdac0: | hdac0: + <- nid=16 [audio output] [DISABLED] (selected) hdac0: + <- nid=9 [audio selector] hdac0: hdac0: nid: 18 [DISABLED] hdac0: Name: audio input hdac0: Widget cap: 0x00140311 hdac0: DIGITAL STEREO hdac0: Stream cap: 0x00000005 hdac0: AC3 PCM hdac0: PCM cap: 0x000e0160 hdac0: 16 20 24 bits, 44 48 96 KHz hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=19 [pin: Speaker (None)] [DISABLED] hdac0: hdac0: nid: 19 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00440381 hdac0: DIGITAL UNSOL STEREO hdac0: Pin cap: 0x00000034 hdac0: PDC OUT IN hdac0: Pin config: 0x411111f0 hdac0: Pin control: 0x00000000 hdac0: connections: 1 hdac0: | hdac0: + <- nid=24 [audio output] [DISABLED] hdac0: hdac0: nid: 20 hdac0: Name: pin: Mic (Fixed) hdac0: Widget cap: 0x00400001 hdac0: STEREO hdac0: Association: 2 (0x00004000) hdac0: OSS: monitor (monitor) hdac0: Pin cap: 0x00000020 hdac0: IN hdac0: Pin config: 0x90a7013e hdac0: Pin control: 0x00000020 IN hdac0: hdac0: nid: 21 hdac0: Name: audio selector hdac0: Widget cap: 0x0030010d hdac0: STEREO hdac0: Association: 2 (0x00004001) hdac0: OSS: mic, monitor hdac0: Output amp: 0x80270400 hdac0: mute=1 step=4 size=39 offset=0 hdac0: connections: 4 hdac0: | hdac0: + [DISABLED] <- nid=10 [pin: Headphones (Black Jack)] hdac0: + <- nid=13 [pin: Mic (Red Jack)] (selected) hdac0: + <- nid=20 [pin: Mic (Fixed)] hdac0: + [DISABLED] <- nid=2 [audio output] hdac0: hdac0: nid: 22 hdac0: Name: beep widget hdac0: Widget cap: 0x0070000c hdac0: Association: -2 (0x00000000) hdac0: OSS: speaker (speaker) hdac0: Output amp: 0x00170303 hdac0: mute=0 step=3 size=23 offset=3 hdac0: hdac0: nid: 23 [DISABLED] hdac0: Name: volume widget hdac0: Widget cap: 0x00600000 hdac0: connections: 4 hdac0: | hdac0: + <- nid=2 [audio output] (selected) hdac0: + <- nid=3 [audio output] [DISABLED] hdac0: + <- nid=4 [audio output] [DISABLED] hdac0: + <- nid=5 [audio output] hdac0: hdac0: nid: 24 [DISABLED] hdac0: Name: audio output hdac0: Widget cap: 0x00040201 hdac0: DIGITAL STEREO hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: hdac0: Processing modem FG cad=1 nid=2... hdac0: found-> vendor=0x8086, dev=0x283e, revid=0x03 domain=0, bus=0, slot=31, func=3 class=0c-05-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=22 pci0:0:31:3: reprobing on driver added pci1: driver added pci2: driver added pci6: driver added found-> vendor=0x8086, dev=0x4229, revid=0x61 domain=0, bus=6, slot=0, func=0 class=02-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=17 powerspec 3 supports D0 D3 current D0 MSI supports 1 message, 64 bit pci0:6:0:0: reprobing on driver added pci7: driver added pci8: driver added pci9: driver added found-> vendor=0x104c, dev=0x803b, revid=0x00 domain=0, bus=9, slot=4, func=2 class=01-80-00, hdrtype=0x00, mfdev=1 cmdreg=0x0006, statreg=0x0210, cachelnsz=16 (dwords) lattimer=0x39 (1710 ns), mingnt=0x07 (1750 ns), maxlat=0x04 (1000 ns) intpin=c, irq=255 powerspec 2 supports D0 D1 D2 D3 current D0 pci0:9:4:2: reprobing on driver added pcm0: <HDA Sigmatel STAC9872AK PCM #0 Analog> at cad 0 nid 1 on hdac0 pcm0: +--------------------------------------+ pcm0: | DUMPING PCM Playback/Record Channels | pcm0: +--------------------------------------+ pcm0: pcm0: Playback: pcm0: pcm0: Stream cap: 0x00000001 pcm0: PCM pcm0: PCM cap: 0x000e07e0 pcm0: 16 20 24 bits, 44 48 88 96 176 192 KHz pcm0: DAC: 5 pcm0: pcm0: Record: pcm0: pcm0: Stream cap: 0x00000001 pcm0: PCM pcm0: PCM cap: 0x000e07e0 pcm0: 16 20 24 bits, 44 48 88 96 176 192 KHz pcm0: ADC: 8 pcm0: pcm0: +-------------------------------+ pcm0: | DUMPING Playback/Record Paths | pcm0: +-------------------------------+ pcm0: pcm0: Playback: pcm0: pcm0: nid=15 [pin: Speaker (Fixed)] pcm0: | pcm0: + <- nid=5 [audio output] [src: pcm] pcm0: pcm0: Record: pcm0: pcm0: nid=8 [audio input] pcm0: | pcm0: + <- nid=9 [audio selector] [src: mic, monitor] pcm0: | pcm0: + <- nid=21 [audio selector] [src: mic, monitor] pcm0: | pcm0: + <- nid=13 [pin: Mic (Red Jack)] [src: mic] pcm0: + <- nid=20 [pin: Mic (Fixed)] [src: monitor] pcm0: pcm0: +-------------------------+ pcm0: | DUMPING Volume Controls | pcm0: +-------------------------+ pcm0: pcm0: Master Volume (OSS: vol) pcm0: | pcm0: +- ctl 4 (nid 5 out): -95/0dB (128 steps) + mute pcm0: pcm0: PCM Volume (OSS: pcm) pcm0: | pcm0: +- ctl 4 (nid 5 out): -95/0dB (128 steps) + mute pcm0: pcm0: Speaker/Beep Volume (OSS: speaker) pcm0: | pcm0: +- ctl 8 (nid 22 out): -18/0dB (4 steps) pcm0: pcm0: Recording Level (OSS: rec) pcm0: | pcm0: +- ctl 6 (nid 9 in 0): 0/22dB (16 steps) + mute pcm0: +- ctl 7 (nid 21 out): 0/40dB (5 steps) + mute pcm0: pcm0: Mixer "vol": pcm0: Mixer "pcm": pcm0: Mixer "speaker": pcm0: Mixer "rec": pcm0: clone manager: deadline=750ms flags=0x8000001e pcm0: sndbuf_setmap 4b170000, 4000; 0xe61ba000 -> 4b170000 pcm0: sndbuf_setmap 4b210000, 4000; 0xea5ff000 -> 4b210000 pcm1: <HDA Sigmatel STAC9872AK PCM #1 Analog> at cad 0 nid 1 on hdac0 pcm1: +--------------------------------------+ pcm1: | DUMPING PCM Playback/Record Channels | pcm1: +--------------------------------------+ pcm1: pcm1: Playback: pcm1: pcm1: Stream cap: 0x00000001 pcm1: PCM pcm1: PCM cap: 0x000e07e0 pcm1: 16 20 24 bits, 44 48 88 96 176 192 KHz pcm1: DAC: 2 pcm1: pcm1: +-------------------------------+ pcm1: | DUMPING Playback/Record Paths | pcm1: +-------------------------------+ pcm1: pcm1: Playback: pcm1: pcm1: nid=10 [pin: Headphones (Black Jack)] pcm1: | pcm1: + <- nid=2 [audio output] [src: pcm] pcm1: pcm1: +-------------------------+ pcm1: | DUMPING Volume Controls | pcm1: +-------------------------+ pcm1: pcm1: Master Volume (OSS: vol) pcm1: | pcm1: +- ctl 1 (nid 2 out): -95/0dB (128 steps) + mute pcm1: pcm1: PCM Volume (OSS: pcm) pcm1: | pcm1: +- ctl 1 (nid 2 out): -95/0dB (128 steps) + mute pcm1: pcm1: Mixer "vol": pcm1: Mixer "pcm": pciconf -lv hdac0@pci0:0:27:0: class=0x040300 card=0x9008104d chip=0x284b8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel audio controller embedded with the 82801H chipset ( ICH8 chipset ) (82801H)' class = multimedia subclass = HDA uname -a FreeBSD laptop 8.0-RC1 FreeBSD 8.0-RC1 #0: Tue Oct 6 17:31:40 UTC 2009 username@laptop:/usr/obj/usr/src/sys/laptop i386 Thank you.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1eef4f890910100305m5fa8ed4ah32a83d4eb072637f>