Alexander Motin wrote: > Ian FREISLICH wrote: > > I just noticed that my speakers still play (very softly) when my > > headphone jack is inserted. > > May be your codec has no muter on speaker pin and driver uses it's > volume control instead. It used to work. > > Also, when playing back, the optical port is activated. > > Is it good or bad? :) I have no optical ports, but my copper one seems > to be enabled only when data stream present there. At least by receiver > displays so. Neither good nor bad. Also, the built in mic has never worked, but it looks promising from this boot message. > > My hardware is a MacBook Pro. Let me know what to do to extract > > the information you need to debug this. > > Verbose kernel boot messages would be good. hdac0: Probing codec 0... hdac0: <HDA Codec #0: Sigmatel STAC9221> hdac0: <HDA Codec ID: 0x83847680> hdac0: Vendor: 0x8384 hdac0: Device: 0x7680 hdac0: Revision: 0x34 hdac0: Stepping: 0x01 hdac0: PCI Subvendor: 0x76808384 hdac0: Found audio FG nid=1 startnode=2 endnode=28 total=26 hdac0: hdac0: Processing audio FG cad=0 nid=1... hdac0: GPIO: 0xc0000004 NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1 hdac0: nid 10 0x0101e022 as 2 seq 2 Line-out Jack jack 1 loc 1 color White misc 0 hdac0: nid 11 0x90afe112 as 1 seq 2 Mic Fixed jack 15 loc 16 color White misc 1 hdac0: nid 12 0x9017e121 as 2 seq 1 Speaker Fixed jack 7 loc 16 color White misc 1 hdac0: nid 13 0x4180e100 as 0 seq 0 Line-in None jack 0 loc 1 color White misc 1 hdac0: nid 14 0x41f0e032 as 3 seq 2 Other None jack 0 loc 1 color White misc 0 hdac0: nid 15 0x0181e031 as 3 seq 1 Line-in Jack jack 1 loc 1 color White misc 0 hdac0: nid 16 0x1145f023 as 2 seq 3 SPDIF-out Jack jack 5 loc 17 color Other misc 0 hdac0: nid 17 0x11c5c032 as 3 seq 2 SPDIF-in Jack jack 5 loc 17 color Res.C misc 0 hdac0: nid 21 0x4180e100 as 0 seq 0 Line-in None jack 0 loc 1 color White misc 1 hdac0: nid 27 0x4180e100 as 0 seq 0 Line-in None jack 0 loc 1 color White misc 1 hdac0: Patched pins configuration: hdac0: nid 10 0x0101e022 as 2 seq 2 Line-out Jack jack 1 loc 1 color White misc 0 hdac0: nid 11 0x90afe112 as 1 seq 2 Mic Fixed jack 15 loc 16 color White misc 1 hdac0: nid 12 0x9017e121 as 2 seq 1 Speaker Fixed jack 7 loc 16 color White misc 1 hdac0: nid 13 0x4180e100 as 0 seq 0 Line-in None jack 0 loc 1 color White misc 1 [DISABLED] hdac0: nid 14 0x41f0e032 as 3 seq 2 Other None jack 0 loc 1 color White misc 0 [DISABLED] hdac0: nid 15 0x0181e031 as 3 seq 1 Line-in Jack jack 1 loc 1 color White misc 0 hdac0: nid 16 0x1145f023 as 2 seq 3 SPDIF-out Jack jack 5 loc 17 color Other misc 0 hdac0: nid 17 0x11c5c032 as 3 seq 2 SPDIF-in Jack jack 5 loc 17 color Res.C misc 0 hdac0: nid 21 0x4180e100 as 0 seq 0 Line-in None jack 0 loc 1 color White misc 1 [DISABLED] hdac0: nid 27 0x4180e100 as 0 seq 0 Line-in None jack 0 loc 1 color White misc 1 [DISABLED] hdac0: 3 associations found: hdac0: Association 0 (1) in: hdac0: Pin nid=11 seq=2 hdac0: Association 1 (2) out: hdac0: Pin nid=12 seq=1 hdac0: Pin nid=10 seq=2 hdac0: Pin nid=16 seq=3 hdac0: Association 2 (3) in: hdac0: Pin nid=15 seq=1 hdac0: Pin nid=17 seq=2 hdac0: Tracing association 0 (1) hdac0: Pin 11 traced to ADC 6 hdac0: Association 0 (1) trace succeded hdac0: Tracing association 1 (2) hdac0: Pin 12 traced to DAC 3 hdac0: Pin 10 traced to DAC 2 hdac0: Pin 16 traced to DAC 8 hdac0: Association 1 (2) trace succeded hdac0: Tracing association 2 (3) hdac0: Pin 15 traced to ADC 7 hdac0: Unable to trace pin 17 to ADC 7, undo traces hdac0: Unable to trace pin 15 to ADC 9, undo traces hdac0: Association 2 (3) trace failed hdac0: Tracing input monitor hdac0: Tracing beeper hdac0: GPIO init: data=0x00000000 mask=0x00000000 dir=0x00000000 hdac0: GPIO commit: data=0x00000003 mask=0x00000003 dir=0x00000003 hdac0: FG config/quirks: gpio0 gpio1 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: 0x80050e00 hdac0: OUT amp: 0x80027f7f hdac0: hdac0: nid: 2 hdac0: Name: audio output hdac0: Widget cap: 0x000d0c05 hdac0: LRSWAP PWR STEREO hdac0: Association: 1 (0x00000004) 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 hdac0: Name: audio output hdac0: Widget cap: 0x000d0c05 hdac0: LRSWAP PWR STEREO hdac0: Association: 1 (0x00000002) 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: 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 [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: 6 hdac0: Name: audio input hdac0: Widget cap: 0x001d0541 hdac0: PWR PROC STEREO hdac0: Association: 0 (0x00000004) 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=23 [audio selector] hdac0: hdac0: nid: 7 [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: + <- nid=24 [audio selector] [DISABLED] hdac0: hdac0: nid: 8 hdac0: Name: audio output hdac0: Widget cap: 0x00040211 hdac0: DIGITAL STEREO hdac0: Association: 1 (0x00000008) hdac0: OSS: pcm (pcm) hdac0: Stream cap: 0x00000005 hdac0: AC3 PCM hdac0: PCM cap: 0x000e07e0 hdac0: 16 20 24 bits, 44 48 88 96 176 192 KHz hdac0: hdac0: nid: 9 [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: + <- nid=17 [pin: SPDIF-in (Jack)] [DISABLED] hdac0: hdac0: nid: 10 hdac0: Name: pin: Line-out (Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 1 (0x00000004) hdac0: Pin cap: 0x0000173f hdac0: ISC TRQD PDC HP OUT IN VREF[ 50 80 GROUND HIZ ] hdac0: Pin config: 0x0101e022 hdac0: Pin control: 0x00000040 OUT hdac0: connections: 1 hdac0: | hdac0: + <- nid=2 [audio output] hdac0: hdac0: nid: 11 hdac0: Name: pin: Mic (Fixed) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 0 (0x00000004) hdac0: OSS: monitor (monitor) hdac0: Pin cap: 0x00001737 hdac0: ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ] hdac0: Pin config: 0x90afe112 hdac0: Pin control: 0x00000024 IN VREFs hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=4 [audio output] [DISABLED] hdac0: hdac0: nid: 12 hdac0: Name: pin: Speaker (Fixed) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Association: 1 (0x00000002) hdac0: Pin cap: 0x00001737 hdac0: ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ] hdac0: Pin config: 0x9017e121 hdac0: Pin control: 0x00000040 OUT hdac0: connections: 1 hdac0: | hdac0: + <- nid=3 [audio output] hdac0: hdac0: nid: 13 [DISABLED] hdac0: Name: pin: Line-in (None) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Pin cap: 0x0000173f hdac0: ISC TRQD PDC HP OUT IN VREF[ 50 80 GROUND HIZ ] hdac0: Pin config: 0x4180e100 hdac0: Pin control: 0x00000000 hdac0: connections: 1 hdac0: | hdac0: + <- nid=2 [audio output] hdac0: hdac0: nid: 14 [DISABLED] hdac0: Name: pin: Other (None) hdac0: Widget cap: 0x00400081 hdac0: UNSOL STEREO hdac0: Pin cap: 0x00000024 hdac0: PDC IN hdac0: Pin config: 0x41f0e032 hdac0: Pin control: 0x00000000 hdac0: hdac0: nid: 15 [DISABLED] hdac0: Name: pin: Line-in (Jack) hdac0: Widget cap: 0x00400181 hdac0: UNSOL STEREO hdac0: Pin cap: 0x00000037 hdac0: ISC TRQD PDC OUT IN hdac0: Pin config: 0x0181e031 hdac0: Pin control: 0x00000000 hdac0: connections: 1 hdac0: | hdac0: + <- nid=5 [audio output] [DISABLED] hdac0: hdac0: nid: 16 hdac0: Name: pin: SPDIF-out (Jack) hdac0: Widget cap: 0x00400301 hdac0: DIGITAL STEREO hdac0: Association: 1 (0x00000008) hdac0: Pin cap: 0x00000010 hdac0: OUT hdac0: Pin config: 0x1145f023 hdac0: Pin control: 0x00000040 OUT hdac0: connections: 3 hdac0: | hdac0: + <- nid=8 [audio output] (selected) hdac0: + [DISABLED] <- nid=23 [audio selector] hdac0: + [DISABLED] <- nid=25 [vendor widget] [DISABLED] hdac0: hdac0: nid: 17 [DISABLED] hdac0: Name: pin: SPDIF-in (Jack) hdac0: Widget cap: 0x00430681 hdac0: PWR DIGITAL UNSOL STEREO hdac0: Pin cap: 0x00010024 hdac0: PDC IN EAPD hdac0: Pin config: 0x11c5c032 hdac0: Pin control: 0x00000000 hdac0: EAPD: 0x00000002 hdac0: hdac0: nid: 18 hdac0: Name: audio selector hdac0: Widget cap: 0x0030010d hdac0: STEREO hdac0: Association: 0 (0x00000004) hdac0: OSS: monitor hdac0: Output amp: 0x00270400 hdac0: mute=0 step=4 size=39 offset=0 hdac0: connections: 7 hdac0: | hdac0: + [DISABLED] <- nid=14 [pin: Other (None)] [DISABLED] hdac0: + [DISABLED] <- nid=21 [pin: Line-in (None)] [DISABLED] hdac0: + [DISABLED] <- nid=15 [pin: Line-in (Jack)] [DISABLED] hdac0: + <- nid=11 [pin: Mic (Fixed)] (selected) hdac0: + [DISABLED] <- nid=12 [pin: Speaker (Fixed)] hdac0: + [DISABLED] <- nid=13 [pin: Line-in (None)] [DISABLED] hdac0: + [DISABLED] <- nid=10 [pin: Line-out (Jack)] hdac0: hdac0: nid: 19 [DISABLED] hdac0: Name: audio selector hdac0: Widget cap: 0x0030010d hdac0: STEREO hdac0: Output amp: 0x00270400 hdac0: mute=0 step=4 size=39 offset=0 hdac0: connections: 7 hdac0: | hdac0: + [DISABLED] <- nid=14 [pin: Other (None)] [DISABLED] (selected ) hdac0: + [DISABLED] <- nid=21 [pin: Line-in (None)] [DISABLED] hdac0: + <- nid=15 [pin: Line-in (Jack)] [DISABLED] hdac0: + <- nid=11 [pin: Mic (Fixed)] hdac0: + <- nid=12 [pin: Speaker (Fixed)] hdac0: + [DISABLED] <- nid=13 [pin: Line-in (None)] [DISABLED] hdac0: + <- nid=10 [pin: Line-out (Jack)] hdac0: hdac0: nid: 20 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: 21 [DISABLED] hdac0: Name: pin: Line-in (None) hdac0: Widget cap: 0x00400001 hdac0: STEREO hdac0: Pin cap: 0x00000020 hdac0: IN hdac0: Pin config: 0x4180e100 hdac0: Pin control: 0x00000000 hdac0: hdac0: nid: 22 [DISABLED] hdac0: Name: volume widget hdac0: Widget cap: 0x00600000 hdac0: connections: 4 hdac0: | hdac0: + <- nid=2 [audio output] (selected) hdac0: + <- nid=3 [audio output] hdac0: + <- nid=4 [audio output] [DISABLED] hdac0: + <- nid=5 [audio output] [DISABLED] hdac0: hdac0: nid: 23 hdac0: Name: audio selector hdac0: Widget cap: 0x00300903 hdac0: LRSWAP STEREO hdac0: Association: 0 (0x00000004) hdac0: OSS: monitor hdac0: Input amp: 0x80050e00 hdac0: mute=1 step=14 size=5 offset=0 hdac0: connections: 1 hdac0: | hdac0: + <- nid=18 [audio selector] hdac0: hdac0: nid: 24 [DISABLED] hdac0: Name: audio selector hdac0: Widget cap: 0x00300903 hdac0: LRSWAP STEREO hdac0: Input amp: 0x80050e00 hdac0: mute=1 step=14 size=5 offset=0 hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=19 [audio selector] [DISABLED] hdac0: hdac0: nid: 25 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f30201 hdac0: DIGITAL STEREO hdac0: hdac0: nid: 26 [DISABLED] hdac0: Name: audio output hdac0: Widget cap: 0x00030201 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: nid: 27 [DISABLED] hdac0: Name: pin: Line-in (None) hdac0: Widget cap: 0x00400301 hdac0: DIGITAL STEREO hdac0: Pin cap: 0x00000010 hdac0: OUT hdac0: Pin config: 0x4180e100 hdac0: Pin control: 0x00000000 hdac0: connections: 1 hdac0: | hdac0: + <- nid=26 [audio output] [DISABLED] hdac0: pcm0: <HDA codec #0 Sigmatel STAC9221 PCM #0> 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: 3 2 8 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: 6 pcm0: pcm0: +--------------------------------+ pcm0: | DUMPING Playback/Record Pathes | pcm0: +--------------------------------+ pcm0: pcm0: Playback: pcm0: pcm0: nid=10 [pin: Line-out (Jack)] pcm0: | pcm0: + <- nid=2 [audio output] [src: pcm] pcm0: pcm0: nid=12 [pin: Speaker (Fixed)] pcm0: | pcm0: + <- nid=3 [audio output] [src: pcm] pcm0: pcm0: nid=16 [pin: SPDIF-out (Jack)] pcm0: | pcm0: + <- nid=8 [audio output] [src: pcm] pcm0: pcm0: Record: pcm0: pcm0: nid=6 [audio input] pcm0: | pcm0: + <- nid=23 [audio selector] [src: monitor] pcm0: | pcm0: + <- nid=18 [audio selector] [src: monitor] pcm0: | pcm0: + <- nid=11 [pin: Mic (Fixed)] [src: monitor] pcm0: pcm0: +-------------------------+ pcm0: | DUMPING Volume Controls | pcm0: +-------------------------+ pcm0: pcm0: Master Volume (OSS: vol) pcm0: | pcm0: +- ctl 1 (nid 2 out): -95/0dB (128 steps) + mute pcm0: +- ctl 2 (nid 3 out): -95/0dB (128 steps) + mute pcm0: pcm0: PCM Volume (OSS: pcm) pcm0: | pcm0: +- ctl 1 (nid 2 out): -95/0dB (128 steps) + mute pcm0: +- ctl 2 (nid 3 out): -95/0dB (128 steps) + mute pcm0: pcm0: Microphone2 Volume (OSS: monitor) pcm0: | pcm0: +- ctl 5 (nid 18 out): 0/40dB (5 steps) pcm0: pcm0: Speaker/Beep Volume (OSS: speaker) pcm0: | pcm0: +- ctl 7 (nid 20 out): -18/0dB (4 steps) pcm0: pcm0: Recording Level (OSS: rec) pcm0: | pcm0: +- ctl 8 (nid 23 in 0): 0/21dB (15 steps) + mute pcm0: pcm0: Mixer "vol": pcm0: Mixer "pcm": pcm0: Mixer "speaker": pcm0: Mixer "rec": pcm0: Mixer "monitor": pcm0: clone manager: deadline=750ms flags=0x8000001e pcm0: sndbuf_setmap 2370000, 4000; 0xf582c000 -> 2370000 pcm0: sndbuf_setmap 1dc0000, 4000; 0xf583c000 -> 1dc0000 -- Ian FreislichReceived on Sun Sep 28 2008 - 06:40:10 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:35 UTC