Страница 1 из 1

... и снова HDA

Добавлено: 2013-01-09 17:29:46
W0R0N
Всех с праздниками!
Прошу помощи по следующему вопросу: есть ноутбук Acer TravelMate, звук на ICH6 Sigmatel STAC9220. Установил FreeBSD 9.1 как вторую систему. Ядро под свои нужды пересобрал, но звука нет. Устройства определяются, и при инициализации драйвера все аналоговые nid выключаются. Доступен только цифровой вход SPDIF. Как заставить драйвер не выключать аналоговые каналы?
Выдачу dmesg по hda нужно выложить?

Re: ... и снова HDA

Добавлено: 2013-01-09 18:01:13
BirdGovorun
Ядро под свои нужды пересобрал
Отсюда поподробнее. А главное зачем?
Выдачу dmesg по hda нужно выложить?
Да.

Re: ... и снова HDA

Добавлено: 2013-01-09 18:10:36
W0R0N
Ядро пересобирал - iwi не грузила фирмварь, добавил в ядро поддержку smb
С GENERIC было то же самое...
А вот полная выдача :

Код: Выделить всё

# dmesg | grep hda
hdac0: <Intel 82801F HDA Controller> mem 0xd000c000-0xd000ffff at device 27.0 on pci0
hdac0: HDA Driver Revision: 20120126_0002
hdac0: Config options: on=0x00000000 off=0x00000000
hdac0: TCSEL: 0x07 -> 0x00
hdac0: DMA Coherency: Uncacheable / vendor=0x8086
hdac0: Caps: OSS 4, ISS 4, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256
hdac0: hdac_dma_alloc: size=1024 -> roundsz=1024
hdac0: hdac_dma_alloc: size=2048 -> roundsz=2048
hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096
hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096
hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096
hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096
hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096
hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096
hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096
hdac0: hdac_dma_alloc: size=4096 -> roundsz=4096
hdac0: Reset controller...
hdac0: Starting CORB Engine...
hdac0: Starting RIRB Engine...
hdac0: Enabling controller interrupt...
hdac0: Scanning HDA codecs ...
hdac0: Found CODEC at address 0
hdac0: Found CODEC at address 1
hdacc0: <Sigmatel STAC9220 HDA CODEC> at cad 0 on hdac0
hdacc0: Root Node at nid=0: 1 subnodes 1-1
hdaa0: <Sigmatel STAC9220 Audio Function Group> at nid 1 on hdacc0
hdaa0: Audio Function Group at nid=1: 19 subnodes 2-20
hdaa0: Powering up...
hdaa0: Parsing audio FG...
hdaa0: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0:  GPIO3: disabled
hdaa0: Original pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0:  8 01c5e030 3  0  SPDIF-in      Jack  Optical Rear       White   0
hdaa0:  9 01451012 1  2  SPDIF-out     Jack  Optical Rear       Black   0
hdaa0: 13 02214011 1  1  Headphones    Jack  1/8     Front      Green   0
hdaa0: 14 01014010 1  0  Line-out      Jack  1/8     Rear       Green   0
hdaa0: 15 01813021 2  1  Line-in       Jack  1/8     Rear       Blue    0
hdaa0: 16 02a19020 2  0  Mic           Jack  1/8     Front      Pink    0
hdaa0: 17 50170013 1  3  Speaker       None  Analog  Internal   Unknown 0
hdaa0: 18 90330022 2  2  CD            Fixed ATAPI   Internal   Unknown 0
hdaa0: Applying built-in patches...
hdaa0: Applying local patches...
hdaa0: Config options: 0x1c000800
hdaa0: GPIO config options: 0=set
hdaa0: Parsing Ctls...
hdaa0: Disabling nonaudio...
hdaa0: Disabling useless...
hdaa0:  Disabling pin nid 17 due to None connectivity.
hdaa0:  Disabling ctl 4 nid 17 cnid -1 due to disabled widget.
hdaa0:  Disabling nid 19 due to all it's consumers disabled.
hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0:  8 01c5e030 3  0  SPDIF-in      Jack  Optical Rear       White   0
hdaa0:  9 01451012 1  2  SPDIF-out     Jack  Optical Rear       Black   0
hdaa0: 13 02214011 1  1  Headphones    Jack  1/8     Front      Green   0
hdaa0: 14 01014010 1  0  Line-out      Jack  1/8     Rear       Green   0
hdaa0: 15 01813021 2  1  Line-in       Jack  1/8     Rear       Blue    0
hdaa0: 16 02a19020 2  0  Mic           Jack  1/8     Front      Pink    0
hdaa0: 17 50170013 1  3  Speaker       None  Analog  Internal   Unknown 0 DISA
hdaa0: 18 90330022 2  2  CD            Fixed ATAPI   Internal   Unknown 0
hdaa0: Parsing pin associations...
hdaa0: 3 associations found:
hdaa0: Association 0 (1) out:
hdaa0:  Pin nid=14 seq=0
hdaa0:  Pin nid=13 seq=1
hdaa0:  Pin nid=9 seq=2
hdaa0: Association 1 (2) in:
hdaa0:  Pin nid=16 seq=0
hdaa0:  Pin nid=15 seq=1
hdaa0:  Pin nid=18 seq=2
hdaa0: Association 2 (3) in:
hdaa0:  Pin nid=8 seq=0
hdaa0: Building AFG tree...
hdaa0: Tracing association 0 (1)
hdaa0:  Tracing pin 14 with min nid 0
hdaa0:   tracing via nid 14
hdaa0:    tracing via nid 11
hdaa0:     tracing via nid 7
hdaa0:      tracing via nid 2
hdaa0:      nid 2 returned 2
hdaa0:      tracing via nid 8
hdaa0:      nid 8 returned 0
hdaa0:      tracing via nid 10
hdaa0:       tracing via nid 12
hdaa0:        tracing via nid 16
hdaa0:        nid 16 returned 0
hdaa0:        tracing via nid 15
hdaa0:        nid 15 returned 0
hdaa0:        tracing via nid 14
hdaa0:        nid 14 returned 0
hdaa0:        tracing via nid 13
hdaa0:        nid 13 returned 0
hdaa0:        tracing via nid 18
hdaa0:        nid 18 returned 0
hdaa0:       nid 12 returned 0
hdaa0:      nid 10 returned 0
hdaa0:     nid 7 returned 2
hdaa0:    nid 11 returned 2
hdaa0:   nid 14 returned 2
hdaa0:  Pin 14 traced to DAC 2
hdaa0:  Tracing pin 13 with min nid 0
hdaa0:   tracing via nid 13
hdaa0:    tracing via nid 11
hdaa0:    nid 11 busy by seqmask 1
hdaa0:   nid 13 returned 0
hdaa0:  Unable to trace pin 13 seq 1 with min nid 0
hdaa0:  Tracing pin 14 with min nid 3
hdaa0:   tracing via nid 14
hdaa0:    tracing via nid 11
hdaa0:     tracing via nid 7
hdaa0:      tracing via nid 2
hdaa0:      nid 2 returned 0
hdaa0:      tracing via nid 8
hdaa0:      nid 8 returned 0
hdaa0:      tracing via nid 10
hdaa0:       tracing via nid 12
hdaa0:        tracing via nid 16
hdaa0:        nid 16 returned 0
hdaa0:        tracing via nid 15
hdaa0:        nid 15 returned 0
hdaa0:        tracing via nid 14
hdaa0:        nid 14 returned 0
hdaa0:        tracing via nid 13
hdaa0:        nid 13 returned 0
hdaa0:        tracing via nid 18
hdaa0:        nid 18 returned 0
hdaa0:       nid 12 returned 0
hdaa0:      nid 10 returned 0
hdaa0:     nid 7 returned 0
hdaa0:    nid 11 returned 0
hdaa0:   nid 14 returned 0
hdaa0:  Unable to trace pin 14 seq 0 with min nid 3
hdaa0: Association 0 (1) trace failed
hdaa0: Tracing association 1 (2)
hdaa0:  Tracing pin 16 with min nid 0
hdaa0:   tracing via nid 16
hdaa0:    tracing via nid 12
hdaa0:     tracing via nid 10
hdaa0:      tracing via nid 3
hdaa0:      nid 3 returned 3
hdaa0:      tracing via nid 7
hdaa0:       tracing via nid 11
hdaa0:        tracing via nid 13
hdaa0:        nid 13 returned 0
hdaa0:        tracing via nid 14
hdaa0:        nid 14 returned 0
hdaa0:        tracing via nid 15
hdaa0:        nid 15 returned 0
hdaa0:        tracing via nid 16
hdaa0:        nid 16 returned 0
hdaa0:       nid 11 returned 0
hdaa0:      nid 7 returned 0
hdaa0:      tracing via nid 9
hdaa0:      nid 9 returned 0
hdaa0:     nid 10 returned 3
hdaa0:    nid 12 returned 3
hdaa0:   nid 16 returned 3
hdaa0:  Pin 16 traced to ADC 3
hdaa0:   tracing via nid 16
hdaa0:    tracing via nid 12
hdaa0:     tracing via nid 10
hdaa0:      tracing via nid 3
hdaa0:      nid 3 returned 3
hdaa0:      tracing via nid 7
hdaa0:       tracing via nid 11
hdaa0:        tracing via nid 13
hdaa0:        nid 13 returned 0
hdaa0:        tracing via nid 14
hdaa0:        nid 14 returned 0
hdaa0:        tracing via nid 15
hdaa0:        nid 15 returned 0
hdaa0:        tracing via nid 16
hdaa0:        nid 16 returned 0
hdaa0:       nid 11 returned 0
hdaa0:      nid 7 returned 0
hdaa0:      tracing via nid 9
hdaa0:      nid 9 returned 0
hdaa0:     nid 10 returned 3
hdaa0:    nid 12 returned 3
hdaa0:   nid 16 returned 3
hdaa0:  Tracing pin 15 with min nid 0
hdaa0:   tracing via nid 15
hdaa0:    tracing via nid 12
hdaa0:    nid 12 busy by seqmask 1
hdaa0:   nid 15 returned 0
hdaa0:  Unable to trace pin 15 seq 1 with min nid 0
hdaa0:  Tracing pin 16 with min nid 4
hdaa0:   tracing via nid 16
hdaa0:    tracing via nid 12
hdaa0:     tracing via nid 10
hdaa0:      tracing via nid 3
hdaa0:      nid 3 returned 0
hdaa0:      tracing via nid 7
hdaa0:       tracing via nid 11
hdaa0:        tracing via nid 13
hdaa0:        nid 13 returned 0
hdaa0:        tracing via nid 14
hdaa0:        nid 14 returned 0
hdaa0:        tracing via nid 15
hdaa0:        nid 15 returned 0
hdaa0:        tracing via nid 16
hdaa0:        nid 16 returned 0
hdaa0:       nid 11 returned 0
hdaa0:      nid 7 returned 0
hdaa0:      tracing via nid 9
hdaa0:      nid 9 returned 0
hdaa0:     nid 10 returned 0
hdaa0:    nid 12 returned 0
hdaa0:   nid 16 returned 0
hdaa0:  Unable to trace pin 16 seq 0 with min nid 4
hdaa0: Association 1 (2) trace failed
hdaa0: Tracing association 2 (3)
hdaa0:  Tracing pin 8 to ADC 3
hdaa0:   tracing via nid 8
hdaa0:    tracing via nid 4
hdaa0:    nid 4 returned 0
hdaa0:    tracing via nid 7
hdaa0:     tracing via nid 11
hdaa0:      tracing via nid 13
hdaa0:      nid 13 returned 0
hdaa0:      tracing via nid 14
hdaa0:      nid 14 returned 0
hdaa0:      tracing via nid 15
hdaa0:      nid 15 returned 0
hdaa0:      tracing via nid 16
hdaa0:      nid 16 returned 0
hdaa0:     nid 11 returned 0
hdaa0:    nid 7 returned 0
hdaa0:   nid 8 returned 0
hdaa0:  Unable to trace pin 8 to ADC 3, undo traces
hdaa0:  Tracing pin 8 to ADC 4
hdaa0:   tracing via nid 8
hdaa0:    tracing via nid 4
hdaa0:    nid 4 returned 4
hdaa0:    tracing via nid 7
hdaa0:     tracing via nid 11
hdaa0:      tracing via nid 13
hdaa0:      nid 13 returned 0
hdaa0:      tracing via nid 14
hdaa0:      nid 14 returned 0
hdaa0:      tracing via nid 15
hdaa0:      nid 15 returned 0
hdaa0:      tracing via nid 16
hdaa0:      nid 16 returned 0
hdaa0:     nid 11 returned 0
hdaa0:    nid 7 returned 0
hdaa0:   nid 8 returned 4
hdaa0:  Pin 8 traced to ADC 4
hdaa0: Association 2 (3) trace succeeded
hdaa0: Looking for additional ADC for association 2 (3)
hdaa0: Tracing input monitor
hdaa0: Tracing other input monitors
hdaa0:  Tracing nid 8 to out
hdaa0:   tracing via nid 8
hdaa0:    tracing via nid 4
hdaa0:    nid 4 busy by input association 2
hdaa0:    tracing via nid 7
hdaa0:     tracing via nid 11
hdaa0:      tracing via nid 13
hdaa0:      nid 13 returned 0
hdaa0:      tracing via nid 14
hdaa0:      nid 14 returned 0
hdaa0:      tracing via nid 15
hdaa0:      nid 15 returned 0
hdaa0:      tracing via nid 16
hdaa0:      nid 16 returned 0
hdaa0:     nid 11 returned 0
hdaa0:    nid 7 returned 0
hdaa0:   nid 8 returned 0
hdaa0: Tracing beeper
hdaa0:  Tracing nid 20 to out
hdaa0:   tracing via nid 20
hdaa0:   nid 20 returned 0
hdaa0: Disabling unassociated widgets...
hdaa0:  Disabling unassociated nid 2.
hdaa0:  Disabling unassociated nid 3.
hdaa0:  Disabling unassociated nid 5.
hdaa0:  Disabling unassociated nid 6.
hdaa0:  Disabling unassociated nid 7.
hdaa0:  Disabling unassociated nid 9.
hdaa0:  Disabling unassociated nid 10.
hdaa0:  Disabling unassociated nid 11.
hdaa0:  Disabling unassociated nid 12.
hdaa0:  Disabling unassociated nid 13.
hdaa0:  Disabling unassociated nid 14.
hdaa0:  Disabling unassociated nid 15.
hdaa0:  Disabling unassociated nid 16.
hdaa0:  Disabling unassociated nid 18.
hdaa0: Disabling nonselected inputs...
hdaa0: Disabling useless...
hdaa0:  Disabling ctl 1 nid 10 cnid -1 due to disabled widget.
hdaa0:  Disabling ctl 2 nid 11 cnid -1 due to disabled widget.
hdaa0:  Disabling ctl 3 nid 12 cnid -1 due to disabled widget.
hdaa0: Disabling crossassociatement connections...
hdaa0: Disabling useless...
hdaa0: Binding associations to channels...
hdaa0: Assigning names to signal sources...
hdaa0: Preparing PCM devices...
hdaa0: Assigning mixers to the tree...
hdaa0: Preparing pin controls...
hdaa0: AFG commit...
hdaa0: Setting amplifier nid=10 index=0 out mute=1/1 vol=0/0
hdaa0: Setting amplifier nid=11 index=0 out mute=1/1 vol=0/0
hdaa0: Setting amplifier nid=12 index=0 out mute=1/1 vol=0/0
hdaa0: Setting amplifier nid=17 index=0 out mute=1/1 vol=0/0
hdaa0: Setting amplifier nid=20 index=0 out mute=1/1 vol=0/0
hdaa0: Setting selector nid=3 index=0
hdaa0: Setting selector nid=4 index=0
hdaa0: Setting selector nid=7 index=0
hdaa0: Setting selector nid=9 index=0
hdaa0: Setting selector nid=10 index=0
hdaa0: Setting selector nid=11 index=0
hdaa0: Setting selector nid=12 index=0
hdaa0: Setting selector nid=13 index=0
hdaa0: Setting selector nid=14 index=0
hdaa0: Setting selector nid=15 index=0
hdaa0: Setting selector nid=16 index=0
hdaa0: Setting selector nid=17 index=0
hdaa0: Setting selector nid=19 index=0
hdaa0: GPIO commit
hdaa0:  GPIO0: output state=1
hdaa0:  GPIO1: disabled
hdaa0:  GPIO2: disabled
hdaa0:  GPIO3: disabled
hdaa0: Applying direct built-in patches...
hdaa0: Pin sense init...
hdaa0: Creating PCM devices...
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
hdaa0:
hdaa0: +-------------------+
hdaa0: | DUMPING HDA NODES |
hdaa0: +-------------------+
hdaa0:
hdaa0: Default Parameter
hdaa0: -----------------
hdaa0:      Stream cap: 0x00000001
hdaa0:                  PCM
hdaa0:         PCM cap: 0x000e07e0
hdaa0:                  16 20 24 bits, 44 48 88 96 176 192 KHz
hdaa0:          IN amp: 0x00000000
hdaa0:         OUT amp: 0x80051f1f
hdaa0:
hdaa0:             nid: 2 [DISABLED]
hdaa0:            Name: audio output
hdaa0:      Widget cap: 0x000d0401
hdaa0:                  PWR STEREO
hdaa0:      Stream cap: 0x00000001
hdaa0:                  PCM
hdaa0:         PCM cap: 0x000e07e0
hdaa0:                  16 20 24 bits, 44 48 88 96 176 192 KHz
hdaa0:
hdaa0:             nid: 3 [DISABLED]
hdaa0:            Name: audio input
hdaa0:      Widget cap: 0x001d0541
hdaa0:                  PWR PROC STEREO
hdaa0:      Stream cap: 0x00000001
hdaa0:                  PCM
hdaa0:         PCM cap: 0x000e07e0
hdaa0:                  16 20 24 bits, 44 48 88 96 176 192 KHz
hdaa0:     connections: 1
hdaa0:           |
hdaa0:           + <- nid=10 [audio selector] [DISABLED]
hdaa0:
hdaa0:             nid: 4
hdaa0:            Name: audio input
hdaa0:      Widget cap: 0x00140311
hdaa0:                  DIGITAL STEREO
hdaa0:     Association: 2 (0x00000001)
hdaa0:      Stream cap: 0x00000005
hdaa0:                  AC3 PCM
hdaa0:         PCM cap: 0x000e0160
hdaa0:                  16 20 24 bits, 44 48 96 KHz
hdaa0:     connections: 1
hdaa0:           |
hdaa0:           + <- nid=8 [pin: SPDIF-in (White Jack)]
hdaa0:
hdaa0:             nid: 5 [DISABLED]
hdaa0:            Name: audio output
hdaa0:      Widget cap: 0x00040211
hdaa0:                  DIGITAL STEREO
hdaa0:      Stream cap: 0x00000005
hdaa0:                  AC3 PCM
hdaa0:         PCM cap: 0x000e01e0
hdaa0:                  16 20 24 bits, 44 48 88 96 KHz
hdaa0:
hdaa0:             nid: 6 [DISABLED]
hdaa0:            Name: vendor widget
hdaa0:      Widget cap: 0x00f30201
hdaa0:                  DIGITAL STEREO
hdaa0:
hdaa0:             nid: 7 [DISABLED]
hdaa0:            Name: audio selector
hdaa0:      Widget cap: 0x00300901
hdaa0:                  LRSWAP STEREO
hdaa0:     connections: 3
hdaa0:           |
hdaa0:           + <- nid=2 [audio output] [DISABLED] (selected)
hdaa0:           + <- nid=8 [pin: SPDIF-in (White Jack)]
hdaa0:           + <- nid=10 [audio selector] [DISABLED]
hdaa0:
hdaa0:             nid: 8
hdaa0:            Name: pin: SPDIF-in (White Jack)
hdaa0:      Widget cap: 0x00430681
hdaa0:                  PWR DIGITAL UNSOL STEREO
hdaa0:     Association: 2 (0x00000001)
hdaa0:             OSS: dig1 (dig1)
hdaa0:         Pin cap: 0x00010024
hdaa0:                  PDC IN EAPD
hdaa0:      Pin config: 0x01c5e030
hdaa0:     Pin control: 0x00000020 IN
hdaa0:            EAPD: 0x00000002
hdaa0:
hdaa0:             nid: 9 [DISABLED]
hdaa0:            Name: pin: SPDIF-out (Black Jack)
hdaa0:      Widget cap: 0x00400301
hdaa0:                  DIGITAL STEREO
hdaa0:         Pin cap: 0x00000010
hdaa0:                  OUT
hdaa0:      Pin config: 0x01451012
hdaa0:     Pin control: 0x00000000
hdaa0:     connections: 2
hdaa0:           |
hdaa0:           + <- nid=5 [audio output] [DISABLED] (selected)
hdaa0:           + <- nid=10 [audio selector] [DISABLED]
hdaa0:
hdaa0:             nid: 10 [DISABLED]
hdaa0:            Name: audio selector
hdaa0:      Widget cap: 0x0030090d
hdaa0:                  LRSWAP STEREO
hdaa0:      Output amp: 0x80050f00
hdaa0:                  mute=1 step=15 size=5 offset=0
hdaa0:     connections: 1
hdaa0:           |
hdaa0:           + <- nid=12 [audio selector] [DISABLED]
hdaa0:
hdaa0:             nid: 11 [DISABLED]
hdaa0:            Name: audio selector
hdaa0:      Widget cap: 0x00300105
hdaa0:                  STEREO
hdaa0:      Output amp: 0x80051f1f
hdaa0:                  mute=1 step=31 size=5 offset=31
hdaa0:     connections: 1
hdaa0:           |
hdaa0:           + <- nid=7 [audio selector] [DISABLED]
hdaa0:
hdaa0:             nid: 12 [DISABLED]
hdaa0:            Name: audio selector
hdaa0:      Widget cap: 0x0030010d
hdaa0:                  STEREO
hdaa0:      Output amp: 0x00270400
hdaa0:                  mute=0 step=4 size=39 offset=0
hdaa0:     connections: 5
hdaa0:           |
hdaa0:           + <- nid=16 [pin: Mic (Pink Jack)] [DISABLED] (selected)
hdaa0:           + <- nid=15 [pin: Line-in (Blue Jack)] [DISABLED]
hdaa0:           + <- nid=14 [pin: Line-out (Green Jack)] [DISABLED]
hdaa0:           + <- nid=13 [pin: Headphones (Green Jack)] [DISABLED]
hdaa0:           + <- nid=18 [pin: CD (Fixed)] [DISABLED]
hdaa0:
hdaa0:             nid: 13 [DISABLED]
hdaa0:            Name: pin: Headphones (Green Jack)
hdaa0:      Widget cap: 0x00400181
hdaa0:                  UNSOL STEREO
hdaa0:         Pin cap: 0x0000003f
hdaa0:                  ISC TRQD PDC HP OUT IN
hdaa0:      Pin config: 0x02214011
hdaa0:     Pin control: 0x00000000
hdaa0:     connections: 1
hdaa0:           |
hdaa0:           + <- nid=11 [audio selector] [DISABLED]
hdaa0:
hdaa0:             nid: 14 [DISABLED]
hdaa0:            Name: pin: Line-out (Green Jack)
hdaa0:      Widget cap: 0x00400181
hdaa0:                  UNSOL STEREO
hdaa0:         Pin cap: 0x0000003f
hdaa0:                  ISC TRQD PDC HP OUT IN
hdaa0:      Pin config: 0x01014010
hdaa0:     Pin control: 0x00000000
hdaa0:     connections: 1
hdaa0:           |
hdaa0:           + <- nid=11 [audio selector] [DISABLED]
hdaa0:
hdaa0:             nid: 15 [DISABLED]
hdaa0:            Name: pin: Line-in (Blue Jack)
hdaa0:      Widget cap: 0x00400181
hdaa0:                  UNSOL STEREO
hdaa0:         Pin cap: 0x00000037
hdaa0:                  ISC TRQD PDC OUT IN
hdaa0:      Pin config: 0x01813021
hdaa0:     Pin control: 0x00000000
hdaa0:     connections: 1
hdaa0:           |
hdaa0:           + <- nid=11 [audio selector] [DISABLED]
hdaa0:
hdaa0:             nid: 16 [DISABLED]
hdaa0:            Name: pin: Mic (Pink Jack)
hdaa0:      Widget cap: 0x00400181
hdaa0:                  UNSOL STEREO
hdaa0:         Pin cap: 0x00001737
hdaa0:                  ISC TRQD PDC OUT IN VREF[ 50 80 GROUND HIZ ]
hdaa0:      Pin config: 0x02a19020
hdaa0:     Pin control: 0x00000000
hdaa0:     connections: 1
hdaa0:           |
hdaa0:           + <- nid=11 [audio selector] [DISABLED]
hdaa0:
hdaa0:             nid: 17 [DISABLED]
hdaa0:            Name: pin: Speaker (None)
hdaa0:      Widget cap: 0x00400104
hdaa0:         Pin cap: 0x00000010
hdaa0:                  OUT
hdaa0:      Pin config: 0x50170013
hdaa0:     Pin control: 0x00000000
hdaa0:      Output amp: 0x80051f1f
hdaa0:                  mute=1 step=31 size=5 offset=31
hdaa0:     connections: 1
hdaa0:           |
hdaa0:           + [DISABLED] <- nid=19 [audio mixer] [DISABLED]
hdaa0:
hdaa0:             nid: 18 [DISABLED]
hdaa0:            Name: pin: CD (Fixed)
hdaa0:      Widget cap: 0x00400001
hdaa0:                  STEREO
hdaa0:         Pin cap: 0x00000020
hdaa0:                  IN
hdaa0:      Pin config: 0x90330022
hdaa0:     Pin control: 0x00000000
hdaa0:
hdaa0:             nid: 19 [DISABLED]
hdaa0:            Name: audio mixer
hdaa0:      Widget cap: 0x00200100
hdaa0:     connections: 1
hdaa0:           |
hdaa0:           + <- nid=7 [audio selector] [DISABLED]
hdaa0:
hdaa0:             nid: 20
hdaa0:            Name: beep widget
hdaa0:      Widget cap: 0x0070000c
hdaa0:     Association: -2 (0x00000000)
hdaa0:             OSS: speaker (speaker)
hdaa0:      Output amp: 0x80170303
hdaa0:                  mute=1 step=3 size=23 offset=3
hdaa0:
hdaa0: +------------------------+
hdaa0: | DUMPING HDA AMPLIFIERS |
hdaa0: +------------------------+
hdaa0:
hdaa0:   1: nid  10 out (out) index 0          ossmask=0x00000000
hdaa0:        mute: 1 step:  15 size:   5 off:   0 [DISABLED]
hdaa0:   2: nid  11 out (out) index 0          ossmask=0x00000000
hdaa0:        mute: 1 step:  31 size:   5 off:  31 [DISABLED]
hdaa0:   3: nid  12 out (out) index 0          ossmask=0x00000000
hdaa0:        mute: 0 step:   4 size:  39 off:   0 [DISABLED]
hdaa0:   4: nid  17 in  (out) index 0          ossmask=0x00000000
hdaa0:        mute: 1 step:  31 size:   5 off:  31 [DISABLED]
hdaa0:   5: nid  20 out (out) index 0          ossmask=0x00000020
hdaa0:        mute: 1 step:   3 size:  23 off:   3
hdaa0:
pcm0: <Sigmatel STAC9220 (Rear Digital)> at nid 8 on hdaa0
hdacc1: <Lucent/Agere Systems (0x3026) HDA CODEC> at cad 1 on hdac0
hdacc1: Root Node at nid=0: 1 subnodes 1-1
unknown: <Lucent/Agere Systems (0x3026) HDA CODEC Modem Function Group> at nid 1  on hdacc1 (no driver attached)
hdacc1: Power down FG nid=1 to the D3 state...

Re: ... и снова HDA

Добавлено: 2013-01-09 18:25:24
BirdGovorun
Что выводит?

Код: Выделить всё

 #cat /dev/sndstat 
#pciconf -lv
и
mixer
З.Ы. В наушниках звук есть?

Re: ... и снова HDA

Добавлено: 2013-01-09 18:33:05
W0R0N

Код: Выделить всё

# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: <Sigmatel STAC9220 (Rear Digital)> on hdaa0  (0p:0v/1r:1v) defau
        snddev flags=0x2e3<SIMPLEX,AUTOVCHAN,BUSY,MPSAFE,REGISTERED,VP
        [pcm0:record:dsp0.r0]: spd 48000, fmt 0x00200010, flags 0x0000
        interrupts 0, overruns 0, feed 0, hfree 4096, sfree 4096 [b:40
        channel flags=0x6100<BUSY,HAS_VCHAN,VCHAN_PASSTHROUGH>
        {hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x002000
        pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 8000, fmt 0x00
        interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs
        channel flags=0x10000000<VIRTUAL>
        {hardware} -> feeder_root(0x00000000) -> {userland}

File Versions:
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/vchan.c 193640 2009-06-07 19
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/sound.c 231762 2012-02-15 14
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/sndstat.c 235157 2012-05-09
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/mixer.c 232405 2012-03-02 21
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/feeder_volume.c 193640 2009-
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/feeder_rate.c 209193 2010-06
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/feeder_mixer.c 193640 2009-0
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/feeder_matrix.c 193640 2009-
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/feeder_format.c 193640 2009-
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/feeder_eq.c 209193 2010-06-1
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/feeder_chain.c 193640 2009-0
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/feeder.c 193640 2009-06-07 1
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/dsp.c 225505 2011-09-12 08:3
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/channel.c 233164 2012-03-19
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/buffer.c 233164 2012-03-19 0
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/ac97_patch.c 193640 2009-06-
$FreeBSD: release/9.1.0/sys/dev/sound/pcm/ac97.c 193640 2009-06-07 19:
$FreeBSD: release/9.1.0/sys/dev/sound/pci/hda/hdacc.c 232798 2012-03-1
$FreeBSD: release/9.1.0/sys/dev/sound/pci/hda/hdac.c 233878 2012-04-04
$FreeBSD: release/9.1.0/sys/dev/sound/pci/hda/hdaa_patches.c 238131 20
$FreeBSD: release/9.1.0/sys/dev/sound/pci/hda/hdaa.c 240988 2012-09-27
$FreeBSD: release/9.1.0/sys/dev/sound/pci/ich.c 216518 2010-12-18 14:2
$FreeBSD: release/9.1.0/sys/dev/sound/pci/csapcm.c 193640 2009-06-07 1
$FreeBSD: release/9.1.0/sys/dev/sound/pci/csa.c 231047 2012-02-05 20:0
$FreeBSD: release/9.1.0/sys/dev/sound/isa/sndbuf_dma.c 193640 2009-06-

Код: Выделить всё

# pciconf -lv
hostb0@pci0:0:0:0:      class=0x060000 card=0x00671025 chip=0x25908086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:0:2:0:     class=0x030000 card=0x00671025 chip=0x25928086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 915GM/GMS/910GML Express Graphics Controller'
    class      = display
    subclass   = VGA
vgapci1@pci0:0:2:1:     class=0x038000 card=0x00671025 chip=0x27928086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile 915GM/GMS/910GML Express Graphics Controller'
    class      = display
hdac0@pci0:0:27:0:      class=0x040300 card=0x00671025 chip=0x26688086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller'
    class      = multimedia
    subclass   = HDA
pcib1@pci0:0:28:0:      class=0x060400 card=0x00671025 chip=0x26608086 rev=0x04 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:28:1:      class=0x060400 card=0x00671025 chip=0x26628086 rev=0x04 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2'
    class      = bridge
    subclass   = PCI-PCI
pcib3@pci0:0:28:2:      class=0x060400 card=0x00671025 chip=0x26648086 rev=0x04 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3'
    class      = bridge
    subclass   = PCI-PCI
uhci0@pci0:0:29:0:      class=0x0c0300 card=0x00671025 chip=0x26588086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:29:1:      class=0x0c0300 card=0x00671025 chip=0x26598086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI'
    class      = serial bus
    subclass   = USB
uhci2@pci0:0:29:2:      class=0x0c0300 card=0x00671025 chip=0x265a8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI'
    class      = serial bus
    subclass   = USB
uhci3@pci0:0:29:3:      class=0x0c0300 card=0x00671025 chip=0x265b8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:29:7:      class=0x0c0320 card=0x00671025 chip=0x265c8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller'
    class      = serial bus
    subclass   = USB
pcib4@pci0:0:30:0:      class=0x060401 card=0x00000000 chip=0x24488086 rev=0xd4 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 Mobile PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:      class=0x060100 card=0x00671025 chip=0x26418086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FBM (ICH6M) LPC Interface Bridge'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:1:    class=0x01018a card=0x00671025 chip=0x266f8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller'
    class      = mass storage
    subclass   = ATA
ichsmb0@pci0:0:31:3:    class=0x0c0500 card=0x00671025 chip=0x266a8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
bge0@pci0:6:6:0:        class=0x020000 card=0x00671025 chip=0x169c14e4 rev=0x03 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'NetXtreme BCM5788 Gigabit Ethernet'
    class      = network
    subclass   = ethernet
cbb0@pci0:6:7:0:        class=0x060700 card=0x00671025 chip=0x8031104c rev=0x00 hdr=0x02
    vendor     = 'Texas Instruments'
    device     = 'PCIxx21/x515 Cardbus Controller'
    class      = bridge
    subclass   = PCI-CardBus
fwohci0@pci0:6:7:2:     class=0x0c0010 card=0x00671025 chip=0x8032104c rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments'
    device     = 'OHCI Compliant IEEE 1394 Host Controller'
    class      = serial bus
    subclass   = FireWire
none0@pci0:6:7:3:       class=0x018000 card=0x00671025 chip=0x8033104c rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments'
    device     = 'PCIxx21 Integrated FlashMedia Controller'
    class      = mass storage
iwi0@pci0:6:8:0:        class=0x028000 card=0x27018086 chip=0x42208086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'PRO/Wireless 2200BG [Calexico2] Network Connection'
    class      = network

Код: Выделить всё

# mixer
Mixer speaker  is currently set to 100:100
Recording source: dig1
... вот...

Re: ... и снова HDA

Добавлено: 2013-01-09 18:50:03
BirdGovorun
Ничего не понял :unknown:
Всё должно работать, но mixer не видет каналов
Вот у меня:

Код: Выделить всё

 cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <Realtek ALC880 (Analog 7.1/2.0 Line-out)> (play/rec) default
pcm1: <Realtek ALC880 (Rear Digital)> (play/rec)
pcm2: <Realtek ALC880 (Front Analog Mic)> (rec)

hdac0@pci0:0:27:0:      class=0x040300 card=0x81961043 chip=0x26688086 rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller'
    class      = multimedia
    subclass   = HDA


% mixer
Mixer vol      is currently set to  56:56
Mixer pcm      is currently set to 100:100
Mixer speaker  is currently set to  75:75
Mixer igain    is currently set to   0:0
% 
А у вас эта хрень Sigmatel STAC9220
Вам в man snd_hda, там дофига настроек

Re: ... и снова HDA

Добавлено: 2013-01-09 18:56:44
W0R0N
Ну да, Вы првы, вот здесь http://lib.misto.kiev.ua/MAMBURUNIX/snd_hda.txt русский man, хорошо всё описано, но там настройки применимы, когда аналоговые каналы работают, но нужно чего - нибудь "допилить". Я упёрся в то, что не знаю как включить то, что [DISABLED]. А звуковуха в M$ Windows работает и Sigmatel 9220 в списке поддерживаемого оборудования есть. Как настроить?

Re: ... и снова HDA

Добавлено: 2013-01-10 8:16:41
W0R0N
Исходя из этого:

Код: Выделить всё

hdaa0: Disabling unassociated widgets...
hdaa0:  Disabling unassociated nid 2.
hdaa0:  Disabling unassociated nid 3.
hdaa0:  Disabling unassociated nid 5.
hdaa0:  Disabling unassociated nid 6.
hdaa0:  Disabling unassociated nid 7.
hdaa0:  Disabling unassociated nid 9.
hdaa0:  Disabling unassociated nid 10.
hdaa0:  Disabling unassociated nid 11.
hdaa0:  Disabling unassociated nid 12.
hdaa0:  Disabling unassociated nid 13.
hdaa0:  Disabling unassociated nid 14.
hdaa0:  Disabling unassociated nid 15.
hdaa0:  Disabling unassociated nid 16.
hdaa0:  Disabling unassociated nid 18.
hdaa0: Disabling nonselected inputs...
думаю явно указать через hint. с чем ассоциированы nid-ы, но возник вопрос: "Кто такой" cad и как определить его номер? Согласно man-у этот параметр должен быть указан явно...