snd_hda UAA patch second preview

Vladimir Grebenschikov vova at fbsd.ru
Wed Aug 27 14:03:05 UTC 2008


On Wed, 2008-08-27 at 13:40 +0300, Alexander Motin wrote:

> > hdac0: PCMDIR_PLAY: Stream setup nid=3: fmt=0x0011, dfmt=0x0001
> > hdac0: PCMDIR_PLAY: Stream setup fmt=10000010 speed=48000
> > hdac0: PCMDIR_PLAY: Stream setup nid=3: fmt=0x0011, dfmt=0x0001
> > hdac0: PCMDIR_PLAY: Stream setup fmt=10000010 speed=48000
> > ...
> > with some delay
> 
> This is  driver's normal verbose output when you starting playback or
> recording.

There was no any playback or recording (no driver loaded), so looks
strange

> > Everything other looks working as before ( no volume controls works )
> > 
> > sndstat now shows only device:
> > # cat /dev/sndstat 
> > FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
> > Installed devices:
> > pcm0: <HDA codec Analog Devices AD1981HD PCM #0> at hdac0 cad 0 kld snd_hda [20080826_0101] [GIANT] (1p:1v/1r:1v channels duplex default)
> > #
> 
> That's because driver registration hanged on addition of second pcm
> channel. Don't know why yet. If you get any more ideas or symptoms -
> tell me. May be it is related to Robert Noland's problem who's system
> also hanging on boot when it is out of docking station.

Tried once again, without dock, this time.

Now it loads successfully, and kldload returned (last time process sits
on pcm1 lock all time after driver upload)

volume controls still does not works

Then, I've connected notebook to dock. 

Magic now - usual pcm output goes first to headphones on notebook (if
connected), then to dock headphones output (if nothing connected to
notebook directly) - expected.

But ! Terminal beeps delivered to both headphones if both connected -
magic.
And they get to dock headphones first and then to notebook headphones
with significant delay (~0.5s) but probably it is due to bluetooth
nature of headphones connected to notebook. 

May be it shows some light on my setup ?

New dmesg attached.

-- 
Vladimir B. Grebenschikov
vova at fbsd.ru
-------------- next part --------------
pci0: driver added
found->	vendor=0x8086, dev=0x27d8, revid=0x02
	domain=0, bus=0, slot=27, func=0
	class=04-03-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0106, statreg=0x0010, cachelnsz=16 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=17
	powerspec 2  supports D0 D3  current D0
	MSI supports 1 message, 64 bit
pci0:0:27:0: reprobing on driver added
hdac0: <Intel 82801G High Definition Audio Controller> mem 0xee400000-0xee403fff irq 17 at device 27.0 on pci0
hdac0: <HDA Driver Revision: 20080826_0101>
hdac0: TCSEL: 0x00 -> 0x00
hdac0: DMA Coherency: Uncacheable / vendor=0x8086
hdac0: [MPSAFE]
hdac0: [ITHREAD]
hdac0: hdac_dma_alloc: size=1024 -> roundsz=1024
hdac0: hdac_dma_alloc: size=2048 -> roundsz=2048
hdac0: HDA Config: on=0x00000000 off=0x00000000
hdac0: Starting CORB Engine...
hdac0: Starting RIRB Engine...
hdac0: Enabling controller interrupt...
hdac0: Scanning HDA codecs ...
hdac0: Probing codec: 0
hdac0: 	startnode=1 endnode=2
hdac0: 	Found audio FG nid=1
hdac0: Probing codec: 1
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 #1 is not responding! Probing aborted.
hdac0: <HDA Codec #0: Analog Devices AD1981HD>
hdac0: <HDA Codec ID: 0x11d41981>
hdac0: Parsing AFG cad=0 nid=1...
hdac0:        Vendor: 0x000011d4
hdac0:        Device: 0x00001981
hdac0:      Revision: 0x00000002
hdac0:      Stepping: 0x00000000
hdac0: PCI Subvendor: 0x201017aa
hdac0:         Nodes: start=2 endnode=32 total=30
hdac0:     CORB size: 256
hdac0:     RIRB size: 256
hdac0:       Streams: ISS=4 OSS=4 BSS=0
hdac0:          GPIO: 0x40000004
hdac0:                NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdac0: GHOST: nid=2 j=0 entnum=4 index=0 res=0x00000401
hdac0: nid 5 0xc3014110 as  1 seq  0      Line-out  Both jack  1 loc  3 color   Green misc 1
hdac0: nid 6 0x422140f0 as 15 seq  0    Headphones  None jack  1 loc  2 color   Green misc 0
hdac0: nid 7 0x591311f0 as 15 seq  0       Speaker  None jack  3 loc 25 color   Black misc 1
hdac0: nid 8 0xc3a1502e as  2 seq 14           Mic  Both jack  1 loc  3 color     Red misc 0
hdac0: nid 9 0x418130f0 as 15 seq  0       Line-in  None jack  1 loc  1 color    Blue misc 0
hdac0: nid 10 0x014411f0 as 15 seq  0     SPDIF-out  Jack jack  4 loc  1 color   Black misc 1
hdac0: nid 22 0x59f311f0 as 15 seq  0         Other  None jack  3 loc 25 color   Black misc 1
hdac0: nid 23 0x599311f0 as 15 seq  0           AUX  None jack  3 loc 25 color   Black misc 1
hdac0: nid 24 0x41a190f0 as 15 seq  0           Mic  None jack  1 loc  1 color    Pink misc 0
hdac0: nid 25 0x9933e120 as  2 seq  0            CD Fixed jack  3 loc 25 color   White misc 1
hdac0: Parsing Ctls...
hdac0: Parsing vendor patch...
hdac0: Disabling nonaudio...
hdac0:  Disabling nid 20 due to it's non-audio type.
hdac0: Disabling useless...
hdac0:  Disabling pin nid 6 due to None connectivity.
hdac0:  Disabling pin nid 7 due to None connectivity.
hdac0:  Disabling pin nid 9 due to None connectivity.
hdac0:  Disabling pin nid 22 due to None connectivity.
hdac0:  Disabling pin nid 23 due to None connectivity.
hdac0:  Disabling pin nid 24 due to None connectivity.
hdac0:  Disabling ctl 3 nid 6 cnid -1 due to disabled widget.
hdac0:  Disabling ctl 4 nid 7 cnid -1 due to disabled widget.
hdac0:  Disabling ctl 6 nid 9 cnid -1 due to disabled widget.
hdac0:  Disabling ctl 7 nid 9 cnid -1 due to disabled widget.
hdac0:  Disabling ctl 13 nid 24 cnid -1 due to disabled widget.
hdac0:  Disabling ctl 14 nid 24 cnid -1 due to disabled widget.
hdac0:  Disabling nid 2 connection 0 due to disabled child widget.
hdac0:  Disabling nid 11 connection 2 due to disabled child widget.
hdac0:  Disabling nid 11 connection 5 due to disabled child widget.
hdac0:  Disabling nid 13 connection 1 due to disabled child widget.
hdac0:  Disabling nid 19 connection 0 due to disabled child widget.
hdac0: Disabling nid 19 due to all it's inputs disabled.
hdac0:  Disabling nid 21 connection 1 due to disabled child widget.
hdac0:  Disabling nid 21 connection 6 due to disabled child widget.
hdac0:  Disabling nid 21 connection 7 due to disabled child widget.
hdac0:  Disabling nid 27 connection 0 due to disabled child widget.
hdac0: Disabling nid 27 due to all it's inputs disabled.
hdac0:  Disabling nid 28 connection 0 due to disabled child widget.
hdac0: Disabling nid 28 due to all it's inputs disabled.
hdac0:  Disabling nid 31 connection 0 due to disabled child widget.
hdac0: Disabling nid 31 due to all it's inputs disabled.
hdac0:  Disabling ctl 11 nid 19 cnid -1 due to disabled widget.
hdac0:  Disabling ctl 16 nid 27 cnid -1 due to disabled widget.
hdac0:  Disabling ctl 17 nid 28 cnid -1 due to disabled widget.
hdac0:  Disabling ctl 20 nid 31 cnid -1 due to disabled widget.
hdac0:  Disabling nid 12 connection 1 due to disabled child widget.
hdac0:  Disabling nid 14 connection 3 due to disabled child widget.
hdac0:  Disabling nid 14 connection 5 due to disabled child widget.
hdac0:  Disabling nid 14 connection 6 due to disabled child widget.
hdac0: Patched pins configuration:
hdac0: nid 5 0xc3014110 as  1 seq  0      Line-out  Both jack  1 loc  3 color   Green misc 1
hdac0: nid 6 0x422140f0 as 15 seq  0    Headphones  None jack  1 loc  2 color   Green misc 0 [DISABLED]
hdac0: nid 7 0x591311f0 as 15 seq  0       Speaker  None jack  3 loc 25 color   Black misc 1 [DISABLED]
hdac0: nid 8 0xc3a1502e as  2 seq 14           Mic  Both jack  1 loc  3 color     Red misc 0
hdac0: nid 9 0x418130f0 as 15 seq  0       Line-in  None jack  1 loc  1 color    Blue misc 0 [DISABLED]
hdac0: nid 10 0x014411f0 as 15 seq  0     SPDIF-out  Jack jack  4 loc  1 color   Black misc 1
hdac0: nid 22 0x59f311f0 as 15 seq  0         Other  None jack  3 loc 25 color   Black misc 1 [DISABLED]
hdac0: nid 23 0x599311f0 as 15 seq  0           AUX  None jack  3 loc 25 color   Black misc 1 [DISABLED]
hdac0: nid 24 0x41a190f0 as 15 seq  0           Mic  None jack  1 loc  1 color    Pink misc 0 [DISABLED]
hdac0: nid 25 0x9933e120 as  2 seq  0            CD Fixed jack  3 loc 25 color   White misc 1
hdac0: Parsing pin associations...
hdac0: 3 associations found
hdac0: Association 0 (1) out:
hdac0:   Pin nid=5 seq=0
hdac0: Association 1 (2) in:
hdac0:   Pin nid=25 seq=0
hdac0:   Pin nid=8 seq=14
hdac0: Association 2 (15) out:
hdac0:   Pin nid=10 seq=0
hdac0: Building AFG tree...
hdac0: HWiP: HDA Widget Parser - Revision 2
hdac0: Tracing association 0 (1)
hdac0:  Tracing pin 5 with min nid 0
hdac0:   tracing via nid 5
hdac0:    tracing via nid 3
hdac0:    nid 3 returned 3
hdac0:    tracing via nid 14
hdac0:     tracing via nid 13
hdac0:      tracing via nid 16
hdac0:      nid 16 returned 0
hdac0:     nid 13 returned 0
hdac0:     tracing via nid 17
hdac0:      tracing via nid 3
hdac0:      nid 3 returned 3
hdac0:     nid 17 returned 3
hdac0:     tracing via nid 18
hdac0:      tracing via nid 8
hdac0:      nid 8 returned 0
hdac0:     nid 18 returned 0
hdac0:     tracing via nid 26
hdac0:      tracing via nid 5
hdac0:      nid 5 returned 0
hdac0:     nid 26 returned 0
hdac0:     tracing via nid 29
hdac0:      tracing via nid 25
hdac0:      nid 25 returned 0
hdac0:     nid 29 returned 0
hdac0:    nid 14 returned 3
hdac0:   nid 5 returned 3
hdac0:  Pin 5 traced to DAC/ADC 3
hdac0: Association 0 (1) trace succeded
hdac0: Tracing association 1 (2)
hdac0:  Tracing pin 25 to ADC 4
hdac0:   tracing via nid 25
hdac0:    tracing via nid 21
hdac0:     tracing via nid 4
hdac0:     nid 4 returned 1
hdac0:    nid 21 returned 1
hdac0:    tracing via nid 29
hdac0:     tracing via nid 14
hdac0:      tracing via nid 5
hdac0:      nid 5 busy by association 0
hdac0:      tracing via nid 11
hdac0:       tracing via nid 15
hdac0:        tracing via nid 21
hdac0:         tracing via nid 4
hdac0:         nid 4 returned 1
hdac0:        nid 21 returned 1
hdac0:       nid 15 returned 1
hdac0:      nid 11 returned 1
hdac0:      tracing via nid 21
hdac0:       tracing via nid 4
hdac0:       nid 4 returned 1
hdac0:      nid 21 returned 1
hdac0:     nid 14 returned 1
hdac0:    nid 29 returned 1
hdac0:   nid 25 returned 1
hdac0:  Traced to DAC/ADC 4
hdac0:  Tracing pin 8 to ADC 4
hdac0:   tracing via nid 8
hdac0:    tracing via nid 18
hdac0:     tracing via nid 14
hdac0:      tracing via nid 5
hdac0:      nid 5 busy by association 0
hdac0:      tracing via nid 11
hdac0:       tracing via nid 15
hdac0:        tracing via nid 21
hdac0:         tracing via nid 4
hdac0:         nid 4 returned 1
hdac0:        nid 21 returned 1
hdac0:       nid 15 returned 1
hdac0:      nid 11 returned 1
hdac0:      tracing via nid 21
hdac0:       tracing via nid 4
hdac0:       nid 4 returned 1
hdac0:      nid 21 returned 1
hdac0:     nid 14 returned 1
hdac0:    nid 18 returned 1
hdac0:    tracing via nid 30
hdac0:     tracing via nid 12
hdac0:      tracing via nid 11
hdac0:       tracing via nid 15
hdac0:        tracing via nid 21
hdac0:         tracing via nid 4
hdac0:         nid 4 returned 1
hdac0:        nid 21 returned 1
hdac0:       nid 15 returned 1
hdac0:      nid 11 returned 1
hdac0:      tracing via nid 21
hdac0:       tracing via nid 4
hdac0:       nid 4 returned 1
hdac0:      nid 21 returned 1
hdac0:     nid 12 returned 1
hdac0:    nid 30 returned 1
hdac0:   nid 8 returned 1
hdac0:  Traced to DAC/ADC 4
hdac0: Association 1 (2) trace succeded
hdac0: Tracing association 2 (15)
hdac0:  Tracing pin 10 with min nid 0
hdac0:   tracing via nid 10
hdac0:    tracing via nid 2
hdac0:    nid 2 returned 2
hdac0:   nid 10 returned 2
hdac0:  Pin 10 traced to DAC/ADC 2
hdac0: Association 2 (15) trace succeded
hdac0: Tracing monitor
hdac0:  Tracing nid 12 to out
hdac0:   tracing via nid 12
hdac0:    tracing via nid 11
hdac0:    nid 11 busy by input association 1
hdac0:    tracing via nid 21
hdac0:    nid 21 busy by input association 1
hdac0:   nid 12 returned 0
hdac0:  Tracing nid 14 to out
hdac0:   tracing via nid 14
hdac0:    tracing via nid 5
hdac0:    nid 5 found output association 0
hdac0:    tracing via nid 11
hdac0:    nid 11 busy by input association 1
hdac0:    tracing via nid 21
hdac0:    nid 21 busy by input association 1
hdac0:   nid 14 returned 1
hdac0:  nid 14 is monitor
hdac0:  Tracing nid 15 to out
hdac0:   tracing via nid 15
hdac0:    tracing via nid 21
hdac0:    nid 21 busy by input association 1
hdac0:   nid 15 returned 0
hdac0: Tracing beeper
hdac0:  Tracing nid 16 to out
hdac0:   tracing via nid 16
hdac0:    tracing via nid 13
hdac0:     tracing via nid 14
hdac0:     nid 14 found output association -2
hdac0:    nid 13 returned 1
hdac0:   nid 16 returned 1
hdac0: Disabling unassociated widgets...
hdac0:  Disabling unassociated nid 17.
hdac0:  Disabling unassociated nid 26.
hdac0:  Disabling connection from output pin nid 11 conn 4 cnid 5.
hdac0:  Disabling connection from output pin nid 21 conn 5 cnid 5.
hdac0: Disabling nonselected inputs...
hdac0:  Disabling unselected connection nid 5 conn 1.
hdac0: Disabling useless...
hdac0:  Disabling ctl 9 nid 17 cnid -1 due to disabled widget.
hdac0:  Disabling ctl 15 nid 26 cnid -1 due to disabled widget.
hdac0:  Disabling nid 14 connection 1 due to disabled child widget.
hdac0:  Disabling nid 14 connection 4 due to disabled child widget.
hdac0: Disabling crossassociatement connections...
hdac0:  Disabling crossassociatement connection nid 2 conn 1 cnid 4.
hdac0:  Disabling crossassociatement connection nid 11 conn 0 cnid 3.
hdac0: Disabling useless...
hdac0: Binding associations to channels...
hdac0: Assigning names to signal sources...
hdac0: Assigning mixers to the tree...
hdac0: AFG commit...
hdac0: Ctls commit...
hdac0: [ 2] Out ctl nid=5 DISABLED
hdac0: [ 3] In ctl nid=6 DISABLED
hdac0: [ 4] In ctl nid=7 DISABLED
hdac0: [ 6] In ctl nid=9 DISABLED
hdac0: [ 7] Out ctl nid=9 DISABLED
hdac0: [ 9] Out ctl nid=17 DISABLED
hdac0: [11] Out ctl nid=19 DISABLED
hdac0: [13] In ctl nid=24 DISABLED
hdac0: [14] Out ctl nid=24 DISABLED
hdac0: [15] Out ctl nid=26 DISABLED
hdac0: [16] Out ctl nid=27 DISABLED
hdac0: [17] Out ctl nid=28 DISABLED
hdac0: [20] Out ctl nid=31 DISABLED
hdac0: HP switch init...
hdac0: 
hdac0: HDA config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
hdac0: 
hdac0: +-------------------+
hdac0: | DUMPING HDA NODES |
hdac0: +-------------------+
hdac0: 
hdac0: Default Parameter
hdac0: -----------------
hdac0:      Stream cap: 0x00000001
hdac0:          Format: PCM
hdac0:         PCM cap: 0x000e007f
hdac0:        PCM size: 16 20 24
hdac0:        PCM rate: 8 11 16 22 32 44 48
hdac0:          IN amp: 0x00270300
hdac0:         OUT amp: 0x80053f3d
hdac0: 
hdac0:             nid: 2 [DIGITAL]
hdac0:            name: audio output
hdac0:      widget_cap: 0x00030311
hdac0:     Parse flags: 0x00000000
hdac0:     Association: 2 (0x00000001)
hdac0:             OSS: pcm (pcm)
hdac0:      Stream cap: 0x00000005
hdac0:          Format: AC3 PCM
hdac0:         PCM cap: 0x00020060
hdac0:        PCM size: 16
hdac0:        PCM rate: 44 48
hdac0:     connections: 2
hdac0:           |
hdac0:           + [DISABLED] <- nid=1 [GHOST!] [UNKNOWN] (selected)
hdac0:           + [DISABLED] <- nid=4 [audio input]
hdac0: 
hdac0:             nid: 3 [ANALOG]
hdac0:            name: audio output
hdac0:      widget_cap: 0x00000441
hdac0:     Parse flags: 0x00000000
hdac0:     Association: 0 (0x00000001)
hdac0:             OSS: pcm (pcm)
hdac0:      Stream cap: 0x00000001
hdac0:          Format: PCM
hdac0:         PCM cap: 0x000e007f
hdac0:        PCM size: 16 20 24
hdac0:        PCM rate: 8 11 16 22 32 44 48
hdac0:     connections: 0
hdac0: 
hdac0:             nid: 4 [ANALOG]
hdac0:            name: audio input
hdac0:      widget_cap: 0x00100511
hdac0:     Parse flags: 0x00000000
hdac0:     Association: 1 (0x00004001)
hdac0:             OSS: 
hdac0:      Stream cap: 0x00000001
hdac0:          Format: PCM
hdac0:         PCM cap: 0x0006007f
hdac0:        PCM size: 16 20
hdac0:        PCM rate: 8 11 16 22 32 44 48
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=21 [audio selector]
hdac0: 
hdac0:             nid: 5 [ANALOG]
hdac0:            name: pin: Line-out (Both)
hdac0:      widget_cap: 0x00400187
hdac0:     Parse flags: 0x00000000
hdac0:     Association: 0 (0x00000001)
hdac0:             OSS: 
hdac0:         Pin cap: 0x0001173f
hdac0:                  ISC TRQD PDC HP OUT IN VREF[ 50 80 GROUND HIZ ] EAPD : UNSOL
hdac0:      Pin config: 0xc3014110
hdac0:     Pin control: 0x00000040 OUT
hdac0:            EAPD: 0x00000002
hdac0:      Output amp: 0x80053f3d
hdac0:                  mute=1 step=63 size=5 offset=61
hdac0:       Input amp: 0x00270300
hdac0:                  mute=0 step=3 size=39 offset=0
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=3 [audio output] (selected)
hdac0:           + [DISABLED] <- nid=14 [audio mixer]
hdac0: 
hdac0:             nid: 6 [ANALOG] [DISABLED]
hdac0:            name: pin: Headphones (None)
hdac0:      widget_cap: 0x00400185
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -1 (0x00000000)
hdac0:             OSS: 
hdac0:         Pin cap: 0x0000001f
hdac0:                  ISC TRQD PDC HP OUT : UNSOL
hdac0:      Pin config: 0x422140f0
hdac0:     Pin control: 0x000000c0 HP OUT
hdac0:      Output amp: 0x80053f3d
hdac0:                  mute=1 step=63 size=5 offset=61
hdac0:     connections: 2
hdac0:           |
hdac0:           + [DISABLED] <- nid=3 [audio output]
hdac0:           + <- nid=14 [audio mixer]
hdac0: 
hdac0:             nid: 7 [ANALOG] [DISABLED]
hdac0:            name: pin: Speaker (None)
hdac0:      widget_cap: 0x00400104
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -1 (0x00000000)
hdac0:             OSS: 
hdac0:         Pin cap: 0x00000010
hdac0:                  OUT
hdac0:      Pin config: 0x591311f0
hdac0:     Pin control: 0x00000040 OUT
hdac0:      Output amp: 0x80053f3d
hdac0:                  mute=1 step=63 size=5 offset=61
hdac0:     connections: 1
hdac0:           |
hdac0:           + [DISABLED] <- nid=15 [audio mixer]
hdac0: 
hdac0:             nid: 8 [ANALOG]
hdac0:            name: pin: Mic (Both)
hdac0:      widget_cap: 0x00400083
hdac0:     Parse flags: 0x00000000
hdac0:     Association: 1 (0x00004000)
hdac0:             OSS: monitor (monitor)
hdac0:         Pin cap: 0x00001727
hdac0:                  ISC TRQD PDC IN VREF[ 50 80 GROUND HIZ ] : UNSOL
hdac0:      Pin config: 0xc3a1502e
hdac0:     Pin control: 0x00000024 IN
hdac0:       Input amp: 0x00270300
hdac0:                  mute=0 step=3 size=39 offset=0
hdac0:     connections: 0
hdac0: 
hdac0:             nid: 9 [ANALOG] [DISABLED]
hdac0:            name: pin: Line-in (None)
hdac0:      widget_cap: 0x00400187
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -1 (0x00000000)
hdac0:             OSS: 
hdac0:         Pin cap: 0x00001737
hdac0:                  ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ] : UNSOL
hdac0:      Pin config: 0x418130f0
hdac0:     Pin control: 0x00000060 IN OUT
hdac0:      Output amp: 0x80053f3d
hdac0:                  mute=1 step=63 size=5 offset=61
hdac0:       Input amp: 0x00270300
hdac0:                  mute=0 step=3 size=39 offset=0
hdac0:     connections: 2
hdac0:           |
hdac0:           + [DISABLED] <- nid=3 [audio output]
hdac0:           + <- nid=14 [audio mixer]
hdac0: 
hdac0:             nid: 10 [DIGITAL]
hdac0:            name: pin: SPDIF-out (Jack)
hdac0:      widget_cap: 0x00400301
hdac0:     Parse flags: 0x00000000
hdac0:     Association: 2 (0x00000001)
hdac0:             OSS: 
hdac0:         Pin cap: 0x00000010
hdac0:                  OUT
hdac0:      Pin config: 0x014411f0
hdac0:     Pin control: 0x00000040 OUT
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=2 [audio output]
hdac0: 
hdac0:             nid: 11 [ANALOG]
hdac0:            name: audio selector
hdac0:      widget_cap: 0x00300101
hdac0:     Parse flags: 0x00000000
hdac0:     Association: 1 (0x00004001)
hdac0:             OSS: mix, monitor
hdac0:     connections: 6
hdac0:           |
hdac0:           + [DISABLED] <- nid=3 [audio output]
hdac0:           + <- nid=12 [audio mixer]
hdac0:           + [DISABLED] <- nid=9 [pin: Line-in (None)] [DISABLED]
hdac0:           + <- nid=14 [audio mixer] (selected)
hdac0:           + [DISABLED] <- nid=5 [pin: Line-out (Both)]
hdac0:           + [DISABLED] <- nid=24 [pin: Mic (None)] [DISABLED]
hdac0: 
hdac0:             nid: 12 [ANALOG]
hdac0:            name: audio mixer
hdac0:      widget_cap: 0x00200101
hdac0:     Parse flags: 0x00000000
hdac0:     Association: 1 (0x00004000)
hdac0:             OSS: monitor
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=30 [audio selector]
hdac0:           + [DISABLED] <- nid=31 [audio selector] [DISABLED]
hdac0: 
hdac0:             nid: 13 [ANALOG]
hdac0:            name: audio selector
hdac0:      widget_cap: 0x0030010c
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -2 (0x00000000)
hdac0:             OSS: speaker
hdac0:      Output amp: 0x800b0f0f
hdac0:                  mute=1 step=15 size=11 offset=15
hdac0:     connections: 2
hdac0:           |
hdac0:           + <- nid=16 [beep widget] (selected)
hdac0:           + [DISABLED] <- nid=22 [pin: Other (None)] [DISABLED]
hdac0: 
hdac0:             nid: 14 [ANALOG]
hdac0:            name: audio mixer
hdac0:      widget_cap: 0x00200101
hdac0:     Parse flags: 0x00000002
hdac0:     Association: -2 (0x00004001)
hdac0:             OSS: mix (mix)
hdac0:     connections: 8
hdac0:           |
hdac0:           + <- nid=13 [audio selector]
hdac0:           + [DISABLED] <- nid=17 [audio selector] [DISABLED]
hdac0:           + <- nid=18 [audio selector]
hdac0:           + [DISABLED] <- nid=19 [audio selector] [DISABLED]
hdac0:           + [DISABLED] <- nid=26 [audio selector] [DISABLED]
hdac0:           + [DISABLED] <- nid=27 [audio selector] [DISABLED]
hdac0:           + [DISABLED] <- nid=28 [audio selector] [DISABLED]
hdac0:           + <- nid=29 [audio selector]
hdac0: 
hdac0:             nid: 15 [ANALOG]
hdac0:            name: audio mixer
hdac0:      widget_cap: 0x00200100
hdac0:     Parse flags: 0x00000000
hdac0:     Association: 1 (0x00004001)
hdac0:             OSS: mix, monitor
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=11 [audio selector]
hdac0: 
hdac0:             nid: 16 [ANALOG]
hdac0:            name: beep widget
hdac0:      widget_cap: 0x00700000
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -2 (0x00000000)
hdac0:             OSS: speaker (speaker)
hdac0:     connections: 0
hdac0: 
hdac0:             nid: 17 [ANALOG] [DISABLED]
hdac0:            name: audio selector
hdac0:      widget_cap: 0x0030010d
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -1 (0x00000000)
hdac0:             OSS: 
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=3 [audio output]
hdac0: 
hdac0:             nid: 18 [ANALOG]
hdac0:            name: audio selector
hdac0:      widget_cap: 0x0030010d
hdac0:     Parse flags: 0x00000000
hdac0:     Association: 1 (0x00004000)
hdac0:             OSS: monitor
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=8 [pin: Mic (Both)]
hdac0: 
hdac0:             nid: 19 [ANALOG] [DISABLED]
hdac0:            name: audio selector
hdac0:      widget_cap: 0x0030010d
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -1 (0x00000000)
hdac0:             OSS: 
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:     connections: 1
hdac0:           |
hdac0:           + [DISABLED] <- nid=9 [pin: Line-in (None)] [DISABLED]
hdac0: 
hdac0:             nid: 20 [ANALOG] [DISABLED]
hdac0:            name: power widget
hdac0:      widget_cap: 0x00500500
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -1 (0x00000000)
hdac0:             OSS: 
hdac0:     connections: 13
hdac0:           |
hdac0:           + <- nid=13 [audio selector]
hdac0:           + <- nid=14 [audio mixer]
hdac0:           + <- nid=15 [audio mixer]
hdac0:           + <- nid=16 [beep widget]
hdac0:           + <- nid=19 [audio selector] [DISABLED]
hdac0:           + <- nid=20 [power widget] [DISABLED]
hdac0:           + <- nid=21 [audio selector]
hdac0:           + <- nid=22 [pin: Other (None)] [DISABLED]
hdac0:           + <- nid=23 [pin: AUX (None)] [DISABLED]
hdac0:           + <- nid=24 [pin: Mic (None)] [DISABLED]
hdac0:           + <- nid=25 [pin: CD (Fixed)]
hdac0:           + <- nid=26 [audio selector] [DISABLED]
hdac0:           + <- nid=29 [audio selector]
hdac0: 
hdac0:             nid: 21 [ANALOG]
hdac0:            name: audio selector
hdac0:      widget_cap: 0x0030010d
hdac0:     Parse flags: 0x00000000
hdac0:     Association: 1 (0x00004001)
hdac0:             OSS: cd, mix, monitor
hdac0:      Output amp: 0x80050f00
hdac0:                  mute=1 step=15 size=5 offset=0
hdac0:     connections: 8
hdac0:           |
hdac0:           + <- nid=12 [audio mixer]
hdac0:           + [DISABLED] <- nid=9 [pin: Line-in (None)] [DISABLED]
hdac0:           + <- nid=14 [audio mixer]
hdac0:           + <- nid=15 [audio mixer]
hdac0:           + <- nid=25 [pin: CD (Fixed)] (selected)
hdac0:           + [DISABLED] <- nid=5 [pin: Line-out (Both)]
hdac0:           + [DISABLED] <- nid=24 [pin: Mic (None)] [DISABLED]
hdac0:           + [DISABLED] <- nid=23 [pin: AUX (None)] [DISABLED]
hdac0: 
hdac0:             nid: 22 [ANALOG] [DISABLED]
hdac0:            name: pin: Other (None)
hdac0:      widget_cap: 0x00400000
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -1 (0x00000000)
hdac0:             OSS: 
hdac0:         Pin cap: 0x00000020
hdac0:                  IN
hdac0:      Pin config: 0x59f311f0
hdac0:     Pin control: 0x00000020 IN
hdac0:     connections: 0
hdac0: 
hdac0:             nid: 23 [ANALOG] [DISABLED]
hdac0:            name: pin: AUX (None)
hdac0:      widget_cap: 0x00400081
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -1 (0x00000000)
hdac0:             OSS: 
hdac0:         Pin cap: 0x00000027
hdac0:                  ISC TRQD PDC IN : UNSOL
hdac0:      Pin config: 0x599311f0
hdac0:     Pin control: 0x00000020 IN
hdac0:     connections: 0
hdac0: 
hdac0:             nid: 24 [ANALOG] [DISABLED]
hdac0:            name: pin: Mic (None)
hdac0:      widget_cap: 0x00400187
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -1 (0x00000000)
hdac0:             OSS: 
hdac0:         Pin cap: 0x00001737
hdac0:                  ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ] : UNSOL
hdac0:      Pin config: 0x41a190f0
hdac0:     Pin control: 0x00000060 IN OUT
hdac0:      Output amp: 0x80053f3d
hdac0:                  mute=1 step=63 size=5 offset=61
hdac0:       Input amp: 0x00270300
hdac0:                  mute=0 step=3 size=39 offset=0
hdac0:     connections: 2
hdac0:           |
hdac0:           + [DISABLED] <- nid=3 [audio output]
hdac0:           + <- nid=14 [audio mixer]
hdac0: 
hdac0:             nid: 25 [ANALOG]
hdac0:            name: pin: CD (Fixed)
hdac0:      widget_cap: 0x00400001
hdac0:     Parse flags: 0x00000000
hdac0:     Association: 1 (0x00000001)
hdac0:             OSS: cd (cd)
hdac0:         Pin cap: 0x00000020
hdac0:                  IN
hdac0:      Pin config: 0x9933e120
hdac0:     Pin control: 0x00000020 IN
hdac0:     connections: 0
hdac0: 
hdac0:             nid: 26 [ANALOG] [DISABLED]
hdac0:            name: audio selector
hdac0:      widget_cap: 0x0030010d
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -1 (0x00000000)
hdac0:             OSS: 
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=5 [pin: Line-out (Both)]
hdac0: 
hdac0:             nid: 27 [ANALOG] [DISABLED]
hdac0:            name: audio selector
hdac0:      widget_cap: 0x0030010d
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -1 (0x00000000)
hdac0:             OSS: 
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:     connections: 1
hdac0:           |
hdac0:           + [DISABLED] <- nid=23 [pin: AUX (None)] [DISABLED]
hdac0: 
hdac0:             nid: 28 [ANALOG] [DISABLED]
hdac0:            name: audio selector
hdac0:      widget_cap: 0x0030010d
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -1 (0x00000000)
hdac0:             OSS: 
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:     connections: 1
hdac0:           |
hdac0:           + [DISABLED] <- nid=24 [pin: Mic (None)] [DISABLED]
hdac0: 
hdac0:             nid: 29 [ANALOG]
hdac0:            name: audio selector
hdac0:      widget_cap: 0x0030010d
hdac0:     Parse flags: 0x00000000
hdac0:     Association: 1 (0x00000001)
hdac0:             OSS: cd
hdac0:      Output amp: 0x80051f17
hdac0:                  mute=1 step=31 size=5 offset=23
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=25 [pin: CD (Fixed)]
hdac0: 
hdac0:             nid: 30 [ANALOG]
hdac0:            name: audio selector
hdac0:      widget_cap: 0x0030010d
hdac0:     Parse flags: 0x00000000
hdac0:     Association: 1 (0x00004000)
hdac0:             OSS: monitor
hdac0:      Output amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:     connections: 1
hdac0:           |
hdac0:           + <- nid=8 [pin: Mic (Both)]
hdac0: 
hdac0:             nid: 31 [ANALOG] [DISABLED]
hdac0:            name: audio selector
hdac0:      widget_cap: 0x0030010d
hdac0:     Parse flags: 0x00000000
hdac0:     Association: -1 (0x00000000)
hdac0:             OSS: 
hdac0:      Output amp: 0x80000000
hdac0:                  mute=1 step=0 size=0 offset=0
hdac0:     connections: 1
hdac0:           |
hdac0:           + [DISABLED] <- nid=24 [pin: Mic (None)] [DISABLED]
hdac0: 
hdac0: +------------------------+
hdac0: | DUMPING HDA AMPLIFIERS |
hdac0: +------------------------+
hdac0: 
hdac0:   1: nid   5 in  (out) index 0          ossmask=0x00000011
hdac0:        mute: 1 step:  63 size:   5 off:  61
hdac0:   2: nid   5 out (in ) index 0          ossmask=0x00000000
hdac0:        mute: 0 step:   3 size:  39 off:   0 [DISABLED]
hdac0:   3: nid   6 in  (out) index 0          ossmask=0x00000000
hdac0:        mute: 1 step:  63 size:   5 off:  61 [DISABLED]
hdac0:   4: nid   7 in  (out) index 0          ossmask=0x00000000
hdac0:        mute: 1 step:  63 size:   5 off:  61 [DISABLED]
hdac0:   5: nid   8 out (in ) index 0          ossmask=0x01000000
hdac0:        mute: 0 step:   3 size:  39 off:   0
hdac0:   6: nid   9 in  (out) index 0          ossmask=0x00000000
hdac0:        mute: 1 step:  63 size:   5 off:  61 [DISABLED]
hdac0:   7: nid   9 out (in ) index 0          ossmask=0x00000000
hdac0:        mute: 0 step:   3 size:  39 off:   0 [DISABLED]
hdac0:   8: nid  13 out (out) index 0          ossmask=0x00000020
hdac0:        mute: 1 step:  15 size:  11 off:  15
hdac0:   9: nid  17 out (out) index 0          ossmask=0x00000000
hdac0:        mute: 1 step:  31 size:   5 off:  23 [DISABLED]
hdac0:  10: nid  18 out (out) index 0          ossmask=0x01000000
hdac0:        mute: 1 step:  31 size:   5 off:  23
hdac0:  11: nid  19 out (out) index 0          ossmask=0x00000000
hdac0:        mute: 1 step:  31 size:   5 off:  23 [DISABLED]
hdac0:  12: nid  21 out (out) index 0          ossmask=0x00000800
hdac0:        mute: 1 step:  15 size:   5 off:   0
hdac0:  13: nid  24 in  (out) index 0          ossmask=0x00000000
hdac0:        mute: 1 step:  63 size:   5 off:  61 [DISABLED]
hdac0:  14: nid  24 out (in ) index 0          ossmask=0x00000000
hdac0:        mute: 0 step:   3 size:  39 off:   0 [DISABLED]
hdac0:  15: nid  26 out (out) index 0          ossmask=0x00000000
hdac0:        mute: 1 step:  31 size:   5 off:  23 [DISABLED]
hdac0:  16: nid  27 out (out) index 0          ossmask=0x00000000
hdac0:        mute: 1 step:  31 size:   5 off:  23 [DISABLED]
hdac0:  17: nid  28 out (out) index 0          ossmask=0x00000000
hdac0:        mute: 1 step:  31 size:   5 off:  23 [DISABLED]
hdac0:  18: nid  29 out (out) index 0          ossmask=0x00000100
hdac0:        mute: 1 step:  31 size:   5 off:  23
hdac0:  19: nid  30 out (out) index 0          ossmask=0x01000000
hdac0:        mute: 1 step:   0 size:   0 off:   0
hdac0:  20: nid  31 out (out) index 0          ossmask=0x00000000
hdac0:        mute: 1 step:   0 size:   0 off:   0 [DISABLED]
hdac0: 
hdac0: +-----------------------------------+
hdac0: | DUMPING HDA AUDIO/VOLUME CONTROLS |
hdac0: +-----------------------------------+
hdac0: 
hdac0: Master Volume (OSS: vol)
hdac0:    |
hdac0:    +- ctl  1 (nid   5 in  0): -91/3dB (64 steps) + mute
hdac0: 
hdac0: PCM Volume (OSS: pcm)
hdac0:    |
hdac0:    +- ctl  1 (nid   5 in  0): -91/3dB (64 steps) + mute
hdac0: 
hdac0: CD Volume (OSS: cd)
hdac0:    |
hdac0:    +- ctl 18 (nid  29 out):   -34/12dB (32 steps) + mute
hdac0: 
hdac0: Recording Level (OSS: rec)
hdac0:    |
hdac0:    +- ctl 12 (nid  21 out):   0/22dB (16 steps) + mute
hdac0: 
hdac0: Speaker/Beep Volume (OSS: speaker)
hdac0:    |
hdac0:    +- ctl  8 (nid  13 out):   -45/0dB (16 steps) + mute
hdac0: 
hdac0: Unknown Ctl (OSS: monitor)
hdac0:    |
hdac0:    +- ctl  5 (nid   8 out):   0/30dB (4 steps)
hdac0:    +- ctl 10 (nid  18 out):   -34/12dB (32 steps) + mute
hdac0:    +- ctl 19 (nid  30 out):   mute
hdac0: 
hdac0: +--------------------------------+
hdac0: | DUMPING Playback/Record Pathes |
hdac0: +--------------------------------+
hdac0: 
hdac0: Playback:
hdac0: 
hdac0:     nid=5 [pin: Line-out (Both)]
hdac0:       |
hdac0:       + <- nid=3 [audio output] [src: pcm]
hdac0: 
hdac0:     nid=10 [pin: SPDIF-out (Jack)]
hdac0:       |
hdac0:       + <- nid=2 [audio output] [src: pcm]
hdac0: 
hdac0: Record:
hdac0: 
hdac0:     nid=4 [audio input]
hdac0:       |
hdac0:       + <- nid=21 [audio selector] [src: cd, mix, monitor]
hdac0:              |
hdac0:              + <- nid=12 [audio mixer] [src: monitor]
hdac0:                     |
hdac0:                     + <- nid=30 [audio selector] [src: monitor]
hdac0:                            |
hdac0:                            + <- nid=8 [pin: Mic (Both)] [src: monitor]
hdac0:              + <- nid=14 [audio mixer] [src: mix]
hdac0:              + <- nid=15 [audio mixer] [src: mix, monitor]
hdac0:                     |
hdac0:                     + <- nid=11 [audio selector] [src: mix, monitor]
hdac0:                            |
hdac0:                            + <- nid=12 [audio mixer] [src: monitor]
hdac0:                                   |
hdac0:                                   + <- nid=30 [audio selector] [src: monitor]
hdac0:                                          |
hdac0:                                          + <- nid=8 [pin: Mic (Both)] [src: monitor]
hdac0:                            + <- nid=14 [audio mixer] [src: mix]
hdac0:              + <- nid=25 [pin: CD (Fixed)] [src: cd]
hdac0: 
hdac0: +--------------------------------------+
hdac0: | DUMPING PCM Playback/Record Channels |
hdac0: +--------------------------------------+
hdac0: 
hdac0:    PCM Playback
hdac0:      Stream cap: 0x00000001
hdac0:          Format: PCM
hdac0:         PCM cap: 0x000e007f
hdac0:        PCM size: 16 20 24
hdac0:        PCM rate: 8 11 16 22 32 44 48
hdac0:             DAC: 3
hdac0: 
hdac0:      PCM Record
hdac0:      Stream cap: 0x00000001
hdac0:          Format: PCM
hdac0:         PCM cap: 0x0006007f
hdac0:        PCM size: 16 20
hdac0:        PCM rate: 8 11 16 22 32 44 48
hdac0:             ADC: 4
hdac0: 
hdac0:    PCM Playback
hdac0:      Stream cap: 0x00000005
hdac0:          Format: AC3 PCM
hdac0:         PCM cap: 0x00020060
hdac0:        PCM size: 16
hdac0:        PCM rate: 44 48
hdac0:             DAC: 2
hdac0: 
hdac0: <HDA Codec #1: Unknown Codec>
hdac0: <HDA Codec ID: 0xffffffff>
pci1: driver added
pci2: driver added
pci3: driver added
found->	vendor=0x168c, dev=0x1014, revid=0x01
	domain=0, bus=3, slot=0, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0107, statreg=0x0010, cachelnsz=16 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=17
	powerspec 2  supports D0 D3  current D0
	MSI supports 1 message
	MSI-X supports 1 message in map 0x10
pci0:3:0:0: reprobing on driver added
pci4: driver added
pci12: driver added
pci21: driver added
pcm0: <HDA codec Analog Devices AD1981HD PCM #0> on hdac0
pcm0: OSS mixer initialization...
pcm0: Mixer "vol":
pcm0: Mixer "pcm":
pcm0: Mixer "speaker":
pcm0: Mixer "cd":
pcm0: Mixer "rec":
pcm0: Mixer "ogain":
pcm0: Mixer "monitor":
pcm0: Registering PCM channels...
pcm0: clone manager: deadline=750ms flags=0x8000001e
hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096
pcm0: sndbuf_setmap 182b0000, 4000; 0xe55bc000 -> 182b0000
hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096
pcm0: sndbuf_setmap 10084000, 4000; 0xe55c0000 -> 10084000
pcm1: <HDA codec Analog Devices AD1981HD PCM #1> on hdac0
pcm1: OSS mixer initialization...
pcm1: Forcing Soft PCM volume
pcm1: Mixer "vol" -> "none": child=0x00000010
pcm1: Mixer "pcm": parent="vol"
pcm1: Soft PCM mixer ENABLED
pcm1: Registering PCM channels...
pcm1: clone manager: deadline=750ms flags=0x8000001e
hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096
pcm1: sndbuf_setmap 2240000, 4000; 0xe78ff000 -> 2240000



More information about the freebsd-multimedia mailing list