snd_hda: no sound at all.

Yasir Khalid y.k.thalib at gmail.com
Fri Dec 25 20:25:26 UTC 2009


Dear.
I have been using FreeBSD almost 2 years without listening any sound, it
never works in my FreeBSD. However it works in other OS (Ubuntu, XP) :(
I have done

> *$cat /dev/random > /dev/dsp*
>
Result:  no sound heard or even whitenoise with internal speaker or a
headphones plugged.


Please guide how to make it work.

> *$uname -a*
>
 FreeBSD  8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #2: Sat Dec 19 12:22:50 MYT
2009     root@:/usr/obj/usr/src/sys/GENERIC  amd64

> *$ls /dev/dsp* *
>
dsp0.0  dsp1.0

> *$ cat /dev/sndstat *
>
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA Realtek ALC262 PCM #0 Analog> at cad 1 nid 1 on hdac0 kld snd_hda
[MPSAFE] (1p:2v/1r:1v channels duplex)
pcm1: <HDA Realtek ALC262 PCM #1 Digital> at cad 1 nid 1 on hdac0 kld
snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex default)


I have tried both sysctl default unit 0 and 1 with no good result. However
when i use 1 as default unit, and i play a sound, i received red light on
jack input ( earphone/external speaker).

> *# sysct hw.snd.defaultunit=1*
>
hw.snd.default_unit: 0 -> 1l

$ mixer


*$ dmesg | grep -i hda*
hdac0: <ATI SB450 High Definition Audio Controller> mem
0xc0000000-0xc0003fff irq 16 at device 20.2 on pci0
hdac0: HDA Driver Revision: 20090624_0136
hdac0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xc0000000
hdac0: attempting to allocate 1 MSI vectors (1 supported)
hdac0: using IRQ 257 for MSI
hdac0: [MPSAFE]
hdac0: [ITHREAD]
hdac0: Probing codec #0...
hdac0: HDA Codec #0: Lucent/Agere Systems (Unknown)
hdac0:  HDA Codec ID: 0x11c13026
hdac0:        Vendor: 0x11c1
hdac0:        Device: 0x3026
hdac0:      Revision: 0x07
hdac0:      Stepping: 0x00
hdac0: PCI Subvendor: 0x058d17ff
hdac0:     Found modem FG nid=1 startnode=2 endnode=40 total=38
hdac0: Probing codec #1...
hdac0: HDA Codec #1: Realtek ALC262
hdac0:  HDA Codec ID: 0x10ec0262
hdac0:        Vendor: 0x10ec
hdac0:        Device: 0x0262
hdac0:      Revision: 0x01
hdac0:      Stepping: 0x00
hdac0: PCI Subvendor: 0x058d17ff
hdac0:     Found audio FG nid=1 startnode=2 endnode=37 total=35
hdac0: Probing codec #3...
hdac0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0
hdac0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0
hdac0: Codec #3 is not responding! Probing aborted.
hdac0:
hdac0: Processing modem FG cad=0 nid=1...
hdac0:
hdac0: Processing audio FG cad=1 nid=1...
hdac0: GPIO: 0x40000004 NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdac0:  nid 20 0x99030110 as  1 seq  0      Line-out Fixed jack  3 loc 25
color Unknown misc 1
hdac0:  nid 21 0x0121101f as  1 seq 15    Headphones  Jack jack  1 loc  1
color   Black misc 0
hdac0:  nid 22 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1
color   Black misc 1
hdac0:  nid 24 0x01a11830 as  3 seq  0           Mic  Jack jack  1 loc  1
color   Black misc 8
hdac0:  nid 25 0x99a30131 as  3 seq  1           Mic Fixed jack  3 loc 25
color Unknown misc 1
hdac0:  nid 26 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1
color   Black misc 1
hdac0:  nid 27 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1
color   Black misc 1
hdac0:  nid 28 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1
color   Black misc 1
hdac0: Patching widget caps nid=29 0x00400000 -> 0x00700000
hdac0:  nid 30 0x01451120 as  2 seq  0     SPDIF-out  Jack jack  5 loc  1
color   Black misc 1
hdac0:  nid 31 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1
color   Black misc 1
hdac0: Patched pins configuration:
hdac0:  nid 20 0x99030110 as  1 seq  0      Line-out Fixed jack  3 loc 25
color Unknown misc 1
hdac0:  nid 21 0x0121101f as  1 seq 15    Headphones  Jack jack  1 loc  1
color   Black misc 0
hdac0:  nid 22 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1
color   Black misc 1 [DISABLED]
hdac0:  nid 24 0x01a11830 as  3 seq  0           Mic  Jack jack  1 loc  1
color   Black misc 8
hdac0:  nid 25 0x99a30131 as  3 seq  1           Mic Fixed jack  3 loc 25
color Unknown misc 1
hdac0:  nid 26 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1
color   Black misc 1 [DISABLED]
hdac0:  nid 27 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1
color   Black misc 1 [DISABLED]
hdac0:  nid 28 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1
color   Black misc 1 [DISABLED]
hdac0:  nid 30 0x01451120 as  2 seq  0     SPDIF-out  Jack jack  5 loc  1
color   Black misc 1
hdac0:  nid 31 0x411111f0 as 15 seq  0       Speaker  None jack  1 loc  1
color   Black misc 1 [DISABLED]
hdac0: 3 associations found:
hdac0: Association 0 (1) out:
hdac0:  Pin nid=20 seq=0
hdac0:  Pin nid=21 seq=15
hdac0: Association 1 (2) out:
hdac0:  Pin nid=30 seq=0
hdac0: Association 2 (3) in:
hdac0:  Pin nid=24 seq=0
hdac0:  Pin nid=25 seq=1
hdac0: Tracing association 0 (1)
hdac0:  Pin 20 traced to DAC 2
hdac0:  Pin 21 traced to DAC 2 and hpredir 0
hdac0: Association 0 (1) trace succeeded
hdac0: Tracing association 1 (2)
hdac0:  Pin 30 traced to DAC 6
hdac0: Association 1 (2) trace succeeded
hdac0: Tracing association 2 (3)
hdac0:  Pin 24 traced to ADC 7
hdac0:  Pin 25 traced to ADC 7
hdac0: Association 2 (3) trace succeeded
hdac0: Tracing input monitor
hdac0:  Tracing nid 11 to out
hdac0:  nid 11 is input monitor
hdac0:  Tracing nid 36 to out
hdac0: Tracing beeper
hdac0:  nid 29 traced to out
hdac0: Enabling headphone/speaker audio routing switching:
hdac0:     as=0 sense nid=21 [UNSOL]
hdac0: Pin sense: nid=21 res=0x00000000
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: 0x000e0560
hdac0:                  16 20 24 bits, 44 48 96 192 KHz
hdac0:          IN amp: 0x00000000
hdac0:         OUT amp: 0x00000000
hdac0:
hdac0:             nid: 2
hdac0:            Name: audio output
hdac0:      Widget cap: 0x00000011
hdac0:                  STEREO
hdac0:     Association: 0 (0x00008001)
hdac0:             OSS: pcm (pcm)
hdac0:      Stream cap: 0x00000001
hdac0:                  PCM
hdac0:         PCM cap: 0x000e0560
hdac0:                  16 20 24 bits, 44 48 96 192 KHz
hdac0:
hdac0:             nid: 3 [DISABLED]
hdac0:            Name: audio output
hdac0:      Widget cap: 0x00000011
hdac0:                  STEREO
hdac0:      Stream cap: 0x00000001
hdac0:                  PCM
hdac0:         PCM cap: 0x000e0560
hdac0:                  16 20 24 bits, 44 48 96 192 KHz
hdac0:
hdac0:             nid: 4 [DISABLED]
hdac0:            Name: vendor widget
hdac0:      Widget cap: 0x00f00000
hdac0:
hdac0:             nid: 5 [DISABLED]
hdac0:            Name: vendor widget
hdac0:      Widget cap: 0x00f00000
hdac0:
hdac0:             nid: 6
hdac0:            Name: audio output
hdac0:      Widget cap: 0x00000211
hdac0:                  DIGITAL STEREO
hdac0:     Association: 1 (0x00000001)
hdac0:             OSS: pcm (pcm)
hdac0:      Stream cap: 0x00000001
hdac0:                  PCM
hdac0:         PCM cap: 0x001e0560
hdac0:                  16 20 24 32 bits, 44 48 96 192 KHz
hdac0:
hdac0:             nid: 7
hdac0:            Name: audio input
hdac0:      Widget cap: 0x0010011b
hdac0:                  STEREO
hdac0:     Association: 2 (0x00000003)
hdac0:      Stream cap: 0x00000001
hdac0:                  PCM
hdac0:         PCM cap: 0x00060160
hdac0:                  16 20 bits, 44 48 96 KHz
hdac0:       Input amp: 0x80051f08
hdac0:                  mute=1 step=31 size=5 offset=8
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=36 [audio mixer]
hdac0:
hdac0:             nid: 8 [DISABLED]
hdac0:            Name: audio input
hdac0:      Widget cap: 0x0010011b
hdac0:                  STEREO
hdac0:      Stream cap: 0x00000001
hdac0:                  PCM
hdac0:         PCM cap: 0x00060160
hdac0:                  16 20 bits, 44 48 96 KHz
hdac0:       Input amp: 0x80051f08
hdac0:                  mute=1 step=31 size=5 offset=8
hdac0:     connections: 1
hdac0:           |
hdac0:           + [DISABLED] <- nid=35 [audio mixer] [DISABLED]
hdac0:
hdac0:             nid: 9 [DISABLED]
hdac0:            Name: audio input
hdac0:      Widget cap: 0x0010011b
hdac0:                  STEREO
hdac0:      Stream cap: 0x00000001
hdac0:                  PCM
hdac0:         PCM cap: 0x00060160
hdac0:                  16 20 bits, 44 48 96 KHz
hdac0:       Input amp: 0x80051f08
hdac0:                  mute=1 step=31 size=5 offset=8
hdac0:     connections: 1
hdac0:           |
hdac0:           + [DISABLED] <- nid=34 [audio mixer] [DISABLED]
hdac0:
hdac0:             nid: 10 [DISABLED]
hdac0:            Name: audio input
hdac0:      Widget cap: 0x00100391
hdac0:                  DIGITAL UNSOL STEREO
hdac0:      Stream cap: 0x00000001
hdac0:                  PCM
hdac0:         PCM cap: 0x001e0560
hdac0:                  16 20 24 32 bits, 44 48 96 192 KHz
hdac0:     connections: 1
hdac0:           |
hdac0:           + [DISABLED] <- nid=31 [pin: Speaker (None)] [DISABLED]
hdac0:
hdac0:             nid: 11
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x0020010b
hdac0:                  STEREO
hdac0:     Association: -2 (0x00000003)
hdac0:             OSS: mix (mix)
hdac0:       Input amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:     connections: 8
hdac0:           |
hdac0:           + <- nid=24 [pin: Mic (Black Jack)]
hdac0:           + <- nid=25 [pin: Mic (Fixed)]
hdac0:           + [DISABLED] <- nid=26 [pin: Speaker (None)] [DISABLED]
hdac0:           + [DISABLED] <- nid=27 [pin: Speaker (None)] [DISABLED]
hdac0:           + [DISABLED] <- nid=28 [pin: Speaker (None)] [DISABLED]
hdac0:           + <- nid=29 [beep widget]
hdac0:           + [DISABLED] <- nid=20 [pin: Line-out (Fixed)]
hdac0:           + [DISABLED] <- nid=21 [pin: Headphones (Black Jack)]
hdac0:
hdac0:             nid: 12
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x0020010f
hdac0:                  STEREO
hdac0:     Association: 0 (0x00008001)
hdac0:             OSS: pcm, mix
hdac0:      Output amp: 0x00051f1f
hdac0:                  mute=0 step=31 size=5 offset=31
hdac0:       Input amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=2 [audio output]
hdac0:           + <- nid=11 [audio mixer]
hdac0:
hdac0:             nid: 13 [DISABLED]
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x0020010f
hdac0:                  STEREO
hdac0:     Association: -2 (0x00000000)
hdac0:      Output amp: 0x00051f1f
hdac0:                  mute=0 step=31 size=5 offset=31
hdac0:       Input amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:     connections: 2
hdac0:           |
hdac0:           + [DISABLED] <- nid=3 [audio output] [DISABLED]
hdac0:           + [DISABLED] <- nid=11 [audio mixer]
hdac0:
hdac0:             nid: 14 [DISABLED]
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x0020010e
hdac0:      Output amp: 0x00051f1f
hdac0:                  mute=0 step=31 size=5 offset=31
hdac0:       Input amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:     connections: 2
hdac0:           |
hdac0:           + [DISABLED] <- nid=2 [audio output]
hdac0:           + [DISABLED] <- nid=11 [audio mixer]
hdac0:
hdac0:             nid: 15 [DISABLED]
hdac0:            Name: vendor widget
hdac0:      Widget cap: 0x00f00000
hdac0:
hdac0:             nid: 16 [DISABLED]
hdac0:            Name: vendor widget
hdac0:      Widget cap: 0x00f00000
hdac0:
hdac0:             nid: 17 [DISABLED]
hdac0:            Name: vendor widget
hdac0:      Widget cap: 0x00f00000
hdac0:
hdac0:             nid: 18 [DISABLED]
hdac0:            Name: vendor widget
hdac0:      Widget cap: 0x00f00000
hdac0:
hdac0:             nid: 19 [DISABLED]
hdac0:            Name: vendor widget
hdac0:      Widget cap: 0x00f00000
hdac0:
hdac0:             nid: 20
hdac0:            Name: pin: Line-out (Fixed)
hdac0:      Widget cap: 0x0040018f
hdac0:                  UNSOL STEREO
hdac0:     Association: 0 (0x00000001)
hdac0:         Pin cap: 0x0000003e
hdac0:                  TRQD PDC HP OUT IN
hdac0:      Pin config: 0x99030110
hdac0:     Pin control: 0x00000040 OUT
hdac0:      Output amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:       Input amp: 0x00270300
hdac0:                  mute=0 step=3 size=39 offset=0
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=12 [audio mixer] (selected)
hdac0:           + [DISABLED] <- nid=13 [audio mixer] [DISABLED]
hdac0:
hdac0:             nid: 21
hdac0:            Name: pin: Headphones (Black Jack)
hdac0:      Widget cap: 0x0040018f
hdac0:                  UNSOL STEREO
hdac0:     Association: 0 (0x00008000)
hdac0:         Pin cap: 0x0000003e
hdac0:                  TRQD PDC HP OUT IN
hdac0:      Pin config: 0x0121101f
hdac0:     Pin control: 0x000000c0 HP OUT
hdac0:      Output amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:       Input amp: 0x00270300
hdac0:                  mute=0 step=3 size=39 offset=0
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=12 [audio mixer] (selected)
hdac0:           + [DISABLED] <- nid=13 [audio mixer] [DISABLED]
hdac0:
hdac0:             nid: 22 [DISABLED]
hdac0:            Name: pin: Speaker (None)
hdac0:      Widget cap: 0x0040010c
hdac0:         Pin cap: 0x00000010
hdac0:                  OUT
hdac0:      Pin config: 0x411111f0
hdac0:     Pin control: 0x00000000
hdac0:      Output amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:     connections: 1
hdac0:           |
hdac0:           + [DISABLED] <- nid=14 [audio mixer] [DISABLED]
hdac0:
hdac0:             nid: 23 [DISABLED]
hdac0:            Name: vendor widget
hdac0:      Widget cap: 0x00f00000
hdac0:
hdac0:             nid: 24
hdac0:            Name: pin: Mic (Black Jack)
hdac0:      Widget cap: 0x0040018f
hdac0:                  UNSOL STEREO
hdac0:     Association: 2 (0x00000001)
hdac0:             OSS: mic (mic)
hdac0:         Pin cap: 0x0000173e
hdac0:                  TRQD PDC HP OUT IN VREF[ 50 80 GROUND HIZ ]
hdac0:      Pin config: 0x01a11830
hdac0:     Pin control: 0x00000024 IN VREFs
hdac0:      Output amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:       Input amp: 0x00270300
hdac0:                  mute=0 step=3 size=39 offset=0
hdac0:     connections: 2
hdac0:           |
hdac0:           + [DISABLED] <- nid=12 [audio mixer] (selected)
hdac0:           + [DISABLED] <- nid=13 [audio mixer] [DISABLED]
hdac0:
hdac0:             nid: 25
hdac0:            Name: pin: Mic (Fixed)
hdac0:      Widget cap: 0x0040018f
hdac0:                  UNSOL STEREO
hdac0:     Association: 2 (0x00000002)
hdac0:             OSS: monitor (monitor)
hdac0:         Pin cap: 0x0000173e
hdac0:                  TRQD PDC HP OUT IN VREF[ 50 80 GROUND HIZ ]
hdac0:      Pin config: 0x99a30131
hdac0:     Pin control: 0x00000024 IN VREFs
hdac0:      Output amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:       Input amp: 0x00270300
hdac0:                  mute=0 step=3 size=39 offset=0
hdac0:     connections: 2
hdac0:           |
hdac0:           + [DISABLED] <- nid=12 [audio mixer] (selected)
hdac0:           + [DISABLED] <- nid=13 [audio mixer] [DISABLED]
hdac0:
hdac0:             nid: 26 [DISABLED]
hdac0:            Name: pin: Speaker (None)
hdac0:      Widget cap: 0x0040018f
hdac0:                  UNSOL STEREO
hdac0:         Pin cap: 0x0000173e
hdac0:                  TRQD PDC HP OUT IN VREF[ 50 80 GROUND HIZ ]
hdac0:      Pin config: 0x411111f0
hdac0:     Pin control: 0x00000000
hdac0:      Output amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:       Input amp: 0x00270300
hdac0:                  mute=0 step=3 size=39 offset=0
hdac0:     connections: 2
hdac0:           |
hdac0:           + [DISABLED] <- nid=12 [audio mixer] (selected)
hdac0:           + <- nid=13 [audio mixer] [DISABLED]
hdac0:
hdac0:             nid: 27 [DISABLED]
hdac0:            Name: pin: Speaker (None)
hdac0:      Widget cap: 0x0040018f
hdac0:                  UNSOL STEREO
hdac0:         Pin cap: 0x0000173e
hdac0:                  TRQD PDC HP OUT IN VREF[ 50 80 GROUND HIZ ]
hdac0:      Pin config: 0x411111f0
hdac0:     Pin control: 0x00000000
hdac0:      Output amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:       Input amp: 0x00270300
hdac0:                  mute=0 step=3 size=39 offset=0
hdac0:     connections: 2
hdac0:           |
hdac0:           + [DISABLED] <- nid=12 [audio mixer] (selected)
hdac0:           + <- nid=13 [audio mixer] [DISABLED]
hdac0:
hdac0:             nid: 28 [DISABLED]
hdac0:            Name: pin: Speaker (None)
hdac0:      Widget cap: 0x00400001
hdac0:                  STEREO



I have played around with pin configuration, all doesnot work for me.

> *$cat /boot/loader.conf*
>
snd_hda_load=YES
# map nid22 (line-out jack) to as=15 (disabled)
#hint.hdac.0.cad1.nid20.config="as=15 seq=0"
#hint.hdac.0.cad1.nid20.config="as=2 seq=0"

# map disable 30 SPDIF-out
#hint.hdac.0.cad1.nid30.config="as=15 seq=15"

# map enable 21
#hint.hdac.0.cad1.nid21.config="seq=1"


# map nid22 (speaker) to as=1 (pcm0 output) seq=0 (first device)
#hint.hdac.0.cad1.nid22.config="as=1 con=Fixed seq=0"
#hint.hdac.0.cad1.nid22.config="as=1 conn=Fixed seq=0"
#hint.hdac.0.cad1.nid31.config="as=1 conn=Fixed seq=0"
#hint.hdac.0.cad1.nid27.config="as=1 conn=Fixed seq=0"
#hint.hdac.0.cad1.nid31.config="as=1 conn=Fixed seq=0"
#hint.hdac.0.cad1.nid26.config="as=1 conn=Fixed seq=0"



*$dmesg | grep -i pcm*
>
hdac0:                  IN
hdac0:      Pin config: 0x411111f0
hdac0:     Pin control: 0x00000000
hdac0:
hdac0:             nid: 29
hdac0:            Name: beep widget
hdac0:      Widget cap: 0x00700000
hdac0:     Association: -2 (0x00000000)
hdac0:             OSS: speaker (speaker)
hdac0:
hdac0:             nid: 30
hdac0:            Name: pin: SPDIF-out (Black Jack)
hdac0:      Widget cap: 0x00400380
hdac0:                  DIGITAL UNSOL
hdac0:     Association: 1 (0x00000001)
hdac0:         Pin cap: 0x00000010
hdac0:                  OUT
hdac0:      Pin config: 0x01451120
hdac0:     Pin control: 0x00000040 OUT
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=6 [audio output]
hdac0:
hdac0:             nid: 31 [DISABLED]
hdac0:            Name: pin: Speaker (None)
hdac0:      Widget cap: 0x00400280
hdac0:                  DIGITAL UNSOL
hdac0:         Pin cap: 0x00000020
hdac0:                  IN
hdac0:      Pin config: 0x411111f0
hdac0:     Pin control: 0x00000000
hdac0:
hdac0:             nid: 32 [DISABLED]
hdac0:            Name: vendor widget
hdac0:      Widget cap: 0x00f00040
hdac0:                  PROC
hdac0:
hdac0:             nid: 33 [DISABLED]
hdac0:            Name: volume widget
hdac0:      Widget cap: 0x00600080
hdac0:                  UNSOL
hdac0:
hdac0:             nid: 34 [DISABLED]
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x0020010f
hdac0:                  STEREO
hdac0:       Input amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:     connections: 9
hdac0:           |
hdac0:           + [DISABLED] <- nid=24 [pin: Mic (Black Jack)]
hdac0:           + [DISABLED] <- nid=25 [pin: Mic (Fixed)]
hdac0:           + [DISABLED] <- nid=26 [pin: Speaker (None)] [DISABLED]
hdac0:           + [DISABLED] <- nid=27 [pin: Speaker (None)] [DISABLED]
hdac0:           + [DISABLED] <- nid=28 [pin: Speaker (None)] [DISABLED]
hdac0:           + [DISABLED] <- nid=29 [beep widget]
hdac0:           + [DISABLED] <- nid=20 [pin: Line-out (Fixed)]
hdac0:           + [DISABLED] <- nid=21 [pin: Headphones (Black Jack)]
hdac0:           + [DISABLED] <- nid=11 [audio mixer]
hdac0:
hdac0:             nid: 35 [DISABLED]
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x0020010f
hdac0:                  STEREO
hdac0:       Input amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:     connections: 9
hdac0:           |
hdac0:           + [DISABLED] <- nid=24 [pin: Mic (Black Jack)]
hdac0:           + [DISABLED] <- nid=25 [pin: Mic (Fixed)]
hdac0:           + [DISABLED] <- nid=26 [pin: Speaker (None)] [DISABLED]
hdac0:           + [DISABLED] <- nid=27 [pin: Speaker (None)] [DISABLED]
hdac0:           + [DISABLED] <- nid=28 [pin: Speaker (None)] [DISABLED]
hdac0:           + [DISABLED] <- nid=29 [beep widget]
hdac0:           + [DISABLED] <- nid=20 [pin: Line-out (Fixed)]
hdac0:           + [DISABLED] <- nid=21 [pin: Headphones (Black Jack)]
hdac0:           + [DISABLED] <- nid=11 [audio mixer]
hdac0:
hdac0:             nid: 36
hdac0:            Name: audio mixer
hdac0:      Widget cap: 0x0020010f
hdac0:                  STEREO
hdac0:     Association: 2 (0x00000003)
hdac0:             OSS: speaker, mic, mix, monitor
hdac0:       Input amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:     connections: 9
hdac0:           |
hdac0:           + <- nid=24 [pin: Mic (Black Jack)]
hdac0:           + <- nid=25 [pin: Mic (Fixed)]
hdac0:           + [DISABLED] <- nid=26 [pin: Speaker (None)] [DISABLED]
hdac0:           + [DISABLED] <- nid=27 [pin: Speaker (None)] [DISABLED]
hdac0:           + [DISABLED] <- nid=28 [pin: Speaker (None)] [DISABLED]
hdac0:           + <- nid=29 [beep widget]
hdac0:           + [DISABLED] <- nid=20 [pin: Line-out (Fixed)]
hdac0:           + [DISABLED] <- nid=21 [pin: Headphones (Black Jack)]
hdac0:           + <- nid=11 [audio mixer]
hdac0:
pcm0: <HDA Realtek ALC262 PCM #0 Analog> at cad 1 nid 1 on hdac0
pcm1: <HDA Realtek ALC262 PCM #1 Digital> at cad 1 nid 1 on hdac0

When i *do plug* an earphone i received message in dmesg like this
hdac0: Unsol Tag: 0x00000000
hdac0: Pin sense: nid=21 res=0x80000000
When *I do unplug*
hdac0: Unsol Tag: 0x00000000
hdac0: Pin sense: nid=21 res=0x00000000

And for your information, I am using laptop, which is having 2 jacks,
speaker and mic at front, see here for the
picture<http://techtickerblog.com/2006/07/06/benq-joybook-t31/>

-- 
- Yasir -


More information about the freebsd-multimedia mailing list