Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2008 02:37:30 -0300
From:      "Carlos A. M. dos Santos" <unixmania@gmail.com>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: problem with Intel 82801H - only through headphone
Message-ID:  <e71790db0808102237g5a920147t8eca23b1ade918e7@mail.gmail.com>
In-Reply-To: <e71790db0808102220l6c56855bq79957b8011a5e848@mail.gmail.com>
References:  <2c91a67a0808101608q6d63a042ybb5df49f748be8b@mail.gmail.com> <e71790db0808101835s1236b960g5bfa4b98f6e8e228@mail.gmail.com> <2c91a67a0808102001lb9544f5nb6094bf89bb84e4b@mail.gmail.com> <e71790db0808102220l6c56855bq79957b8011a5e848@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, we forgot to keep the list in the thread. This is a copy of the
message I just sent to Angel.

On Mon, Aug 11, 2008 at 2:20 AM, Carlos A. M. dos Santos
<unixmania@gmail.com> wrote:
>2008/8/10 Carlos A. M. dos Santos <>:
>>
>> Questions:
>>
>> 1. What are your computer/motherboard brand and model?
>
>It's a DELL inspiron 1420
>
>>
>> 2. What is your os version (run "uname -r")?
>
>freebsd-7-RELEASE
>
>>
>> 2. What does "pciconf -lv" says about your audio device? I once fixed
>> the driver because on my PC the output was going to the speaker, not
>> to "line out". You may have a similar problem.
>
>$> pciconf -lv
>pcm0@pci0:0:27:0:       class=0x040300 card=0x01f31028 chip=0x284b8086
>rev=0x02 hdr=0x00
>   vendor     = 'Intel Corporation'
>   device     = '82801H &SUBSYS_81EC1043&REV_02\3&11583659&0&D8'
>   class      = multimedia
>
>>
>> Instructions:
>>
>> 1. Boot with either the GENERIC kernel or a custom kernel without any
>> sound driver.
>
>Ok, I commented snd_hda_load="YES" in loader.conf
>
>>
>> 2. Set the sound debugging messages knob:
>
>First I load the sound module.
>
>$>kldload sound
>
>Now I can change the verbose level
>
>$>sysctl hw.snd.verbose=4
>hw.snd.verbose: 1 -> 4
>
>
>>
>>     sysctl hw.snd.verbose=4
>>
>> 3. Load the driver:
>>
>>     kldload snd_hda
>>
>> 4. Get the driver debugging messages:
>>
>>     sed -n 's/.* pcm0: //p' /var/log/messages > hda_log.txt
>>
>> Send a message to this list with the contents of hda_log.txt.
>
>
>At the end is the hda_log.txt. I don't know if it is allow to attached files.
>
>Thanks for your help.
>
>
>Angel
>
>#######################################################
>hda_log.txt
>
>
>HDA_DEBUG: hdac_widget_connection_parse: nid=21 entries=9 found=9
>HDA_DEBUG: hdac_widget_connection_parse: nid=22 entries=9 found=9
>HDA_DEBUG: hdac_widget_connection_parse: nid=23 entries=9 found=9
>HDA_DEBUG: hdac_widget_connection_parse: nid=24 entries=1 found=1
>HDA_DEBUG: hdac_widget_connection_parse: nid=25 entries=1 found=1
>HDA_DEBUG: hdac_widget_connection_parse: nid=26 entries=1 found=1
>HDA_DEBUG: hdac_widget_connection_parse: nid=27 entries=3 found=3
>HDA_DEBUG: hdac_widget_connection_parse: nid=28 entries=3 found=3
>HDA_DEBUG: hdac_widget_connection_parse: nid=29 entries=3 found=3
>HDA_DEBUG: hdac_widget_connection_parse: nid=32 entries=1 found=1
>HDA_DEBUG: hdac_widget_connection_parse: nid=33 entries=5 found=5
>HDA_DEBUG: hdac_widget_connection_parse: nid=36 entries=4 found=4
>HDA_DEBUG: Parsing Ctls...
>HDA_DEBUG: Parsing vendor patch...
>HDA_DEBUG: Building AFG tree...
>HDA_DEBUG: HWiP: HDA Widget Parser - Revision 1
>HDA_DEBUG: HWiP: 0 DAC path found! Retrying parser using
>HDA_PARSE_DIRECT strategy.
>HDA_DEBUG: HWiP: Found 4 DAC path using HDA_PARSE_DIRECT strategy.
>HDA_DEBUG: AFG commit...
>HDA_DEBUG: Ctls commit...
>[ 3] Ctl nid=4 Bind to NONE
>[ 5] Ctl nid=6 Bind to NONE
>[ 9] Ctl nid=24 childnid=21 Bind to NONE
>[10] Ctl nid=25 childnid=22 Bind to NONE
>[11] Ctl nid=26 childnid=23 Bind to NONE
>HDA_DEBUG: PCMDIR_PLAY setup...
>HDA_DEBUG: PCMDIR_REC setup...
>HDA_DEBUG: OSS mixer initialization...
>HDA_DEBUG: Forcing Soft PCM volume
>HDA_DEBUG: Registering PCM channels...
>clone manager: deadline=750ms flags=0x8000001e
>hdac_dma_alloc: size=4096 -> roundsz=4096
>hdac_dma_alloc: size=4096 -> roundsz=4096
><HDA Codec: Sigmatel (Unknown)>
><HDA Codec ID: 0x83847616>
><HDA Driver Revision: 20071129_0050>
>
>HDA config/quirks: softpcmvol forcestereo ivref50 ivref80 ivref100 ivref
>
>+-------------------+
>| DUMPING HDA NODES |
>+-------------------+
>
>Default Parameter
>-----------------
>    Stream cap: 0x00000001
>        Format: PCM
>       PCM cap: 0x000e07e0
>      PCM size: 16 20 24
>      PCM rate: 44 48 88 96 176 192
>        IN amp: 0x00050e00
>       OUT amp: 0x80027f7f
>
>           nid: 2 [ANALOG]
>          name: audio output
>    widget_cap: 0x000d0c05
>   Parse flags: 0x00000001
>     Ctl flags: 0x00000011
>    Stream cap: 0x00000001
>        Format: PCM
>       PCM cap: 0x000e07e0
>      PCM size: 16 20 24
>      PCM rate: 44 48 88 96 176 192
>    Output amp: 0x80027f7f
>                mute=1 step=127 size=2 offset=127
>   connections: 0
>
>           nid: 3 [ANALOG]
>          name: audio output
>    widget_cap: 0x000d0c05
>   Parse flags: 0x00000001
>     Ctl flags: 0x00000011
>    Stream cap: 0x00000001
>        Format: PCM
>       PCM cap: 0x000e07e0
>      PCM size: 16 20 24
>      PCM rate: 44 48 88 96 176 192
>    Output amp: 0x80027f7f
>                mute=1 step=127 size=2 offset=127
>   connections: 0
>
>           nid: 4 [ANALOG]
>          name: audio output
>    widget_cap: 0x000d0c05
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000000
>    Stream cap: 0x00000001
>        Format: PCM
>       PCM cap: 0x000e07e0
>      PCM size: 16 20 24
>      PCM rate: 44 48 88 96 176 192
>    Output amp: 0x80027f7f
>                mute=1 step=127 size=2 offset=127
>   connections: 0
>
>           nid: 5 [ANALOG]
>          name: audio output
>    widget_cap: 0x000d0c05
>   Parse flags: 0x00000001
>     Ctl flags: 0x00000011
>    Stream cap: 0x00000001
>        Format: PCM
>       PCM cap: 0x000e07e0
>      PCM size: 16 20 24
>      PCM rate: 44 48 88 96 176 192
>    Output amp: 0x80027f7f
>                mute=1 step=127 size=2 offset=127
>   connections: 0
>
>           nid: 6 [ANALOG]
>          name: vendor widget
>    widget_cap: 0x00fd0c05
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000000
>    Output amp: 0x80027f7f
>                mute=1 step=127 size=2 offset=127
>   connections: 0
>
>           nid: 7 [ANALOG]
>          name: audio input
>    widget_cap: 0x001d0541
>   Parse flags: 0x00000002
>     Ctl flags: 0x00000800
>    Stream cap: 0x00000001
>        Format: PCM
>       PCM cap: 0x000e07e0
>      PCM size: 16 20 24
>      PCM rate: 44 48 88 96 176 192
>   connections: 1
>         |
>         + <- nid=27 [audio selector]
>
>           nid: 8 [ANALOG]
>          name: audio input
>    widget_cap: 0x001d0541
>   Parse flags: 0x00000002
>     Ctl flags: 0x00000800
>    Stream cap: 0x00000001
>        Format: PCM
>       PCM cap: 0x000e07e0
>      PCM size: 16 20 24
>      PCM rate: 44 48 88 96 176 192
>   connections: 1
>         |
>         + <- nid=28 [audio selector]
>
>           nid: 9 [ANALOG]
>          name: audio input
>    widget_cap: 0x001d0541
>   Parse flags: 0x00000002
>     Ctl flags: 0x00000800
>    Stream cap: 0x00000001
>        Format: PCM
>       PCM cap: 0x000e07e0
>      PCM size: 16 20 24
>      PCM rate: 44 48 88 96 176 192
>   connections: 1
>         |
>         + <- nid=29 [audio selector]
>
>           nid: 10 [ANALOG]
>          name: pin: headphones out (jack)
>    widget_cap: 0x00400181
>   Parse flags: 0x00000001
>     Ctl flags: 0x00000000
>       Pin cap: 0x0000173f
>                ISC TRQD HP OUT IN VREF[ 50 80 GROUND HIZ ] : UNSOL
>    Pin config: 0x0221101f
>   Pin control: 0x000000c0 HP OUT
>   connections: 2
>         |
>         + <- nid=2 [audio output] (selected)
>         |
>         + <- nid=3 [audio output]
>
>           nid: 11 [ANALOG] [DISABLED]
>          name: pin: other (none)
>    widget_cap: 0x00400181
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000000
>       Pin cap: 0x0000173f
>                ISC TRQD HP OUT IN VREF[ 50 80 GROUND HIZ ] : UNSOL
>    Pin config: 0x40f000f0
>   Pin control: 0x000000e0 HP IN OUT
>   connections: 2
>         |
>         + <- nid=2 [audio output]
>         |
>         + <- nid=3 [audio output]
>
>           nid: 12 [ANALOG] [DISABLED]
>          name: pin: other (none)
>    widget_cap: 0x00400181
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000000
>       Pin cap: 0x00001737
>                ISC TRQD OUT IN VREF[ 50 80 GROUND HIZ ] : UNSOL
>    Pin config: 0x40f000f1
>   Pin control: 0x00000060 IN OUT
>   connections: 1
>         |
>         + <- nid=3 [audio output]
>
>           nid: 13 [ANALOG]
>          name: pin: speaker (fixed)
>    widget_cap: 0x00400181
>   Parse flags: 0x00000001
>     Ctl flags: 0x00000000
>       Pin cap: 0x0000173f
>                ISC TRQD HP OUT IN VREF[ 50 80 GROUND HIZ ] : UNSOL
>    Pin config: 0x90170110
>   Pin control: 0x00000040 OUT
>   connections: 1
>         |
>         + <- nid=2 [audio output]
>
>           nid: 14 [ANALOG]
>          name: pin: line in (jack)
>    widget_cap: 0x00400181
>   Parse flags: 0x00000002
>     Ctl flags: 0x00000040
>       Pin cap: 0x00001737
>                ISC TRQD OUT IN VREF[ 50 80 GROUND HIZ ] : UNSOL
>    Pin config: 0x02811030
>   Pin control: 0x00000024 IN
>   connections: 1
>         |
>         + <- nid=4 [audio output]
>
>           nid: 15 [ANALOG]
>          name: pin: line out (jack)
>    widget_cap: 0x00400181
>   Parse flags: 0x00000001
>     Ctl flags: 0x00000000
>       Pin cap: 0x00001737
>                ISC TRQD OUT IN VREF[ 50 80 GROUND HIZ ] : UNSOL
>    Pin config: 0x02011020
>   Pin control: 0x00000040 OUT
>   connections: 1
>         |
>         + <- nid=5 [audio output]
>
>           nid: 16 [ANALOG] [DISABLED]
>          name: pin: other (none)
>    widget_cap: 0x00400181
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000000
>       Pin cap: 0x00000037
>                ISC TRQD OUT IN : UNSOL
>    Pin config: 0x40f000f2
>   Pin control: 0x00000060 IN OUT
>   connections: 1
>         |
>         + <- nid=4 [audio output]
>
>           nid: 17 [ANALOG] [DISABLED]
>          name: pin: other (none)
>    widget_cap: 0x00400181
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000000
>       Pin cap: 0x00000037
>                ISC TRQD OUT IN : UNSOL
>    Pin config: 0x40f000f3
>   Pin control: 0x00000060 IN OUT
>   connections: 1
>         |
>         + <- nid=3 [audio output]
>
>           nid: 18 [ANALOG] [DISABLED]
>          name: pin: other (none)
>    widget_cap: 0x00400001
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000000
>       Pin cap: 0x00000020
>                IN
>    Pin config: 0x40f000f4
>   Pin control: 0x00000020 IN
>   connections: 0
>
>           nid: 19 [ANALOG]
>          name: pin: Mic in (fixed)
>    widget_cap: 0x00400001
>   Parse flags: 0x00000002
>     Ctl flags: 0x00000000
>       Pin cap: 0x00000020
>                IN
>    Pin config: 0x90a60040
>   Pin control: 0x00000020 IN
>   connections: 0
>
>           nid: 20 [ANALOG] [DISABLED]
>          name: pin: other (none)
>    widget_cap: 0x00400001
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000000
>       Pin cap: 0x00000020
>                IN
>    Pin config: 0x40f000f5
>   Pin control: 0x00000020 IN
>   connections: 0
>
>           nid: 21 [ANALOG]
>          name: audio selector
>    widget_cap: 0x0030010d
>   Parse flags: 0x00000002
>     Ctl flags: 0x00000040
>    Output amp: 0x00270400
>                mute=0 step=4 size=39 offset=0
>   connections: 9
>         |
>         + <- nid=14 [pin: line in (jack)] (selected)
>         |
>         + <- nid=18 [pin: other (none)] [DISABLED]
>         |
>         + <- nid=15 [pin: line out (jack)]
>         |
>         + <- nid=11 [pin: other (none)] [DISABLED]
>         |
>         + <- nid=12 [pin: other (none)] [DISABLED]
>         |
>         + <- nid=13 [pin: speaker (fixed)]
>         |
>         + <- nid=10 [pin: headphones out (jack)]
>         |
>         + <- nid=16 [pin: other (none)] [DISABLED]
>         |
>         + <- nid=17 [pin: other (none)] [DISABLED]
>
>           nid: 22 [ANALOG]
>          name: audio selector
>    widget_cap: 0x0030010d
>   Parse flags: 0x00000002
>     Ctl flags: 0x00000040
>    Output amp: 0x00270400
>                mute=0 step=4 size=39 offset=0
>   connections: 9
>         |
>         + <- nid=14 [pin: line in (jack)] (selected)
>         |
>         + <- nid=18 [pin: other (none)] [DISABLED]
>         |
>         + <- nid=15 [pin: line out (jack)]
>         |
>         + <- nid=11 [pin: other (none)] [DISABLED]
>         |
>         + <- nid=12 [pin: other (none)] [DISABLED]
>         |
>         + <- nid=13 [pin: speaker (fixed)]
>         |
>         + <- nid=10 [pin: headphones out (jack)]
>         |
>         + <- nid=16 [pin: other (none)] [DISABLED]
>         |
>         + <- nid=17 [pin: other (none)] [DISABLED]
>
>           nid: 23 [ANALOG]
>          name: audio selector
>    widget_cap: 0x0030010d
>   Parse flags: 0x00000002
>     Ctl flags: 0x00000040
>    Output amp: 0x00270400
>                mute=0 step=4 size=39 offset=0
>   connections: 9
>         |
>         + <- nid=14 [pin: line in (jack)] (selected)
>         |
>         + <- nid=18 [pin: other (none)] [DISABLED]
>         |
>         + <- nid=15 [pin: line out (jack)]
>         |
>         + <- nid=11 [pin: other (none)] [DISABLED]
>         |
>         + <- nid=12 [pin: other (none)] [DISABLED]
>         |
>         + <- nid=13 [pin: speaker (fixed)]
>         |
>         + <- nid=10 [pin: headphones out (jack)]
>         |
>         + <- nid=16 [pin: other (none)] [DISABLED]
>         |
>         + <- nid=17 [pin: other (none)] [DISABLED]
>
>           nid: 24 [ANALOG]
>          name: audio selector
>    widget_cap: 0x00300103
>   Parse flags: 0x00000002
>     Ctl flags: 0x00000000
>     Input amp: 0x00050e00
>                mute=0 step=14 size=5 offset=0
>   connections: 1
>         |
>         + <- nid=21 [audio selector]
>
>           nid: 25 [ANALOG]
>          name: audio selector
>    widget_cap: 0x00300103
>   Parse flags: 0x00000002
>     Ctl flags: 0x00000000
>     Input amp: 0x00050e00
>                mute=0 step=14 size=5 offset=0
>   connections: 1
>         |
>         + <- nid=22 [audio selector]
>
>           nid: 26 [ANALOG]
>          name: audio selector
>    widget_cap: 0x00300103
>   Parse flags: 0x00000002
>     Ctl flags: 0x00000000
>     Input amp: 0x00050e00
>                mute=0 step=14 size=5 offset=0
>   connections: 1
>         |
>         + <- nid=23 [audio selector]
>
>           nid: 27 [ANALOG]
>          name: audio selector
>    widget_cap: 0x0030090d
>   Parse flags: 0x00000006
>     Ctl flags: 0x00000800
>    Output amp: 0x80000000
>                mute=1 step=0 size=0 offset=0
>   connections: 3
>         |
>         + <- nid=24 [audio selector] (selected)
>         |
>         + <- nid=19 [pin: Mic in (fixed)]
>         |
>         + <- nid=20 [pin: other (none)] [DISABLED]
>
>           nid: 28 [ANALOG]
>          name: audio selector
>    widget_cap: 0x0030090d
>   Parse flags: 0x00000006
>     Ctl flags: 0x00000800
>    Output amp: 0x80000000
>                mute=1 step=0 size=0 offset=0
>   connections: 3
>         |
>         + <- nid=25 [audio selector] (selected)
>         |
>         + <- nid=19 [pin: Mic in (fixed)]
>         |
>         + <- nid=20 [pin: other (none)] [DISABLED]
>
>           nid: 29 [ANALOG]
>          name: audio selector
>    widget_cap: 0x0030090d
>   Parse flags: 0x00000006
>     Ctl flags: 0x00000800
>    Output amp: 0x80000000
>                mute=1 step=0 size=0 offset=0
>   connections: 3
>         |
>         + <- nid=26 [audio selector] (selected)
>         |
>         + <- nid=19 [pin: Mic in (fixed)]
>         |
>         + <- nid=20 [pin: other (none)] [DISABLED]
>
>           nid: 30 [DIGITAL] [DISABLED]
>          name: audio output
>    widget_cap: 0x00040211
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000000
>    Stream cap: 0x00000005
>        Format: AC3 PCM
>       PCM cap: 0x000e07e0
>      PCM size: 16 20 24
>      PCM rate: 44 48 88 96 176 192
>   connections: 0
>
>           nid: 31 [DIGITAL] [DISABLED]
>          name: vendor widget
>    widget_cap: 0x00f30201
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000000
>   connections: 0
>
>           nid: 32 [DIGITAL] [DISABLED]
>          name: audio input
>    widget_cap: 0x00140311
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000000
>    Stream cap: 0x00000005
>        Format: AC3 PCM
>       PCM cap: 0x000e0160
>      PCM size: 16 20 24
>      PCM rate: 44 48 96
>   connections: 1
>         |
>         + <- nid=34 [pin: other (none)] [DISABLED]
>
>           nid: 33 [DIGITAL] [DISABLED]
>          name: pin: SPDIF out (jack)
>    widget_cap: 0x00400301
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000000
>       Pin cap: 0x00000010
>                OUT
>    Pin config: 0x034410a0
>   Pin control: 0x00000040 OUT
>   connections: 5
>         |
>         + <- nid=30 [audio output] [DISABLED]
>         |
>         + <- nid=31 [vendor widget] [DISABLED]
>         |
>         + <- nid=27 [audio selector]
>         |
>         + <- nid=28 [audio selector]
>         |
>         + <- nid=29 [audio selector]
>
>           nid: 34 [DIGITAL] [DISABLED]
>          name: pin: other (none)
>    widget_cap: 0x00430681
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000000
>       Pin cap: 0x00010024
>                IN EAPD : UNSOL
>    Pin config: 0x40f000f6
>   Pin control: 0x00000020 IN
>          EAPD: 0x00000002
>   connections: 0
>
>           nid: 35 [ANALOG]
>          name: beep widget
>    widget_cap: 0x0070000c
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000021
>    Output amp: 0x00170303
>                mute=0 step=3 size=23 offset=3
>   connections: 0
>
>           nid: 36 [ANALOG]
>          name: volume widget
>    widget_cap: 0x00600000
>   Parse flags: 0x00000000
>     Ctl flags: 0x00000000
>   connections: 4
>         |
>         + <- nid=2 [audio output] (selected)
>         |
>         + <- nid=3 [audio output]
>         |
>         + <- nid=4 [audio output]
>         |
>         + <- nid=5 [audio output]
>
>+------------------------+
>| DUMPING HDA AMPLIFIERS |
>+------------------------+
>
> 1: nid=2 dir=0x1 index=0 ossmask=0x00000011 ossdev=4 [DISABLED]
> 2: nid=3 dir=0x1 index=0 ossmask=0x00000011 ossdev=4 [DISABLED]
> 3: nid=4 dir=0x1 index=0 ossmask=0x00000000 ossdev=0
> 4: nid=5 dir=0x1 index=0 ossmask=0x00000011 ossdev=4 [DISABLED]
> 5: nid=6 dir=0x1 index=0 ossmask=0x00000000 ossdev=0
> 6: nid=21 dir=0x1 index=0 ossmask=0x00000040 ossdev=6
> 7: nid=22 dir=0x1 index=0 ossmask=0x00000040 ossdev=6
> 8: nid=23 dir=0x1 index=0 ossmask=0x00000040 ossdev=6
> 9: nid=24 cnid=21 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
> 10: nid=25 cnid=22 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
> 11: nid=26 cnid=23 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
> 12: nid=27 dir=0x1 index=0 ossmask=0x00000800 ossdev=0
> 13: nid=28 dir=0x1 index=0 ossmask=0x00000800 ossdev=0
> 14: nid=29 dir=0x1 index=0 ossmask=0x00000800 ossdev=0
> 15: nid=35 dir=0x1 index=0 ossmask=0x00000021 ossdev=5
>
>+-----------------------------------+
>| DUMPING HDA AUDIO/VOLUME CONTROLS |
>+-----------------------------------+
>
>Master Volume (OSS: vol)
>  |
>  +-  nid: 35 index:  0           mute: 0 step:   3 size:  23 off:
>3 dir=0x1 ossmask=0x00000021
>
>Line-in Volume (OSS: line)
>  |
>  +-  nid: 21 index:  0           mute: 0 step:   4 size:  39 off:
>0 dir=0x1 ossmask=0x00000040
>  |
>  +-  nid: 22 index:  0           mute: 0 step:   4 size:  39 off:
>0 dir=0x1 ossmask=0x00000040
>  |
>  +-  nid: 23 index:  0           mute: 0 step:   4 size:  39 off:
>0 dir=0x1 ossmask=0x00000040
>
>Recording Level (OSS: rec)
>  |
>  +-  nid: 27 index:  0           mute: 1 step:   0 size:   0 off:
>0 dir=0x1 ossmask=0x00000800
>  |
>  +-  nid: 28 index:  0           mute: 1 step:   0 size:   0 off:
>0 dir=0x1 ossmask=0x00000800
>  |
>  +-  nid: 29 index:  0           mute: 1 step:   0 size:   0 off:
>0 dir=0x1 ossmask=0x00000800
>
>Speaker/Beep (OSS: speaker)
>  |
>  +-  nid: 35 index:  0           mute: 0 step:   3 size:  23 off:
>3 dir=0x1 ossmask=0x00000021
>
>Playback path:
>
>   nid=10 [pin: headphones out (jack)]
>     ^
>     |
>     +-----<------+
>                  ^
>                  |
>                nid=2 [audio output]
>
>   nid=13 [pin: speaker (fixed)]
>     ^
>     |
>     +-----<------+
>                  ^
>                  |
>                nid=2 [audio output]
>
>   nid=15 [pin: line out (jack)]
>     ^
>     |
>     +-----<------+
>                  ^
>                  |
>                nid=5 [audio output]
>
>Recording sources:
>
>   nid=27 [audio selector]
>     |
>     + <- nid=24 [audio selector]
>     |
>     + <- nid=19 [pin: Mic in (fixed)]
>
>   nid=28 [audio selector]
>     |
>     + <- nid=25 [audio selector]
>     |
>     + <- nid=19 [pin: Mic in (fixed)]
>
>   nid=29 [audio selector]
>     |
>     + <- nid=26 [audio selector]
>     |
>     + <- nid=19 [pin: Mic in (fixed)]
>
>+--------------------------------------+
>| DUMPING PCM Playback/Record Channels |
>+--------------------------------------+
>
>  PCM Playback: 1
>    Stream cap: 0x00000001
>        Format: PCM
>       PCM cap: 0x000e07e0
>      PCM size: 16 20 24
>      PCM rate: 44 48 88 96 176 192
>           DAC: 2 3 5
>
>    PCM Record: 1
>    Stream cap: 0x00000001
>        Format: PCM
>       PCM cap: 0x000e07e0
>      PCM size: 16 20 24
>      PCM rate: 44 48 88 96 176 192
>           ADC: 7 8 9
><Intel 82801H High Definition Audio Controller> mem
>0xfe9fc000-0xfe9fffff irq 21 at device 27.0 on pci0
>TCSEL: 0x07 -> 0x00
>DMA Coherency: Uncacheable / vendor=0x8086
>[ITHREAD]
>hdac_dma_alloc: size=1024 -> roundsz=1024
>hdac_dma_alloc: size=2048 -> roundsz=2048
>HDA_DEBUG: HDA Config: on=0x00000000 off=0x00000000
>HDA_DEBUG: Starting CORB Engine...
>HDA_DEBUG: Starting RIRB Engine...
>HDA_DEBUG: Enabling controller interrupt...
>HDA_DEBUG: Scanning HDA codecs [start index=0] ...
>HDA_DEBUG: Probing codec: 0
>HDA_DEBUG:      startnode=1 endnode=2
>HDA_DEBUG:      Found AFG nid=1 [startnode=1 endnode=2]
>HDA_DEBUG: Parsing AFG nid=1 cad=0
>      Vendor: 0x00008384
>      Device: 0x00007616
>    Revision: 0x00000002
>    Stepping: 0x00000001
>PCI Subvendor: 0x01f31028
>       Nodes: start=2 endnode=37 total=35
>   CORB size: 256
>   RIRB size: 256
>     Streams: ISS=4 OSS=4 BSS=0
>        GPIO: 0xc0000003
>              NumGPIO=3 NumGPO=0 NumGPI=0 GPIWake=1 GPIUnsol=1

Seems like your audio hardware is similar to the Vostro 1500. I do not
have access to the machine, so I can only guess what to do. Please try
the following:

1. Save the attached file at /tmp/hda_inspirion_1420.diff and apply it
to the hda driver:

    cd /usr/src/sys/dev/sound/pci/hda
    patch < /tmp/hda_inspirion_1420.diff

2. Rebuild the snd_hda module and reinstall it:

    cd /usr/src/sys/modules/sound/driver/hda/
    make
    kldunload snd_hda
    truncate -s 0 /var/log/messages
    kldload ./snd_hda.ko
    sed -n 's/.* pcm0: //p' /var/log/messages > hda_log2.txt

Send me the out

--- hdac.c.orig	2008-07-24 00:38:03.000000000 -0300
+++ hdac.c	2008-08-11 01:40:30.000000000 -0300
@@ -197,6 +197,7 @@
 #define DELL_D820_SUBVENDOR	HDA_MODEL_CONSTRUCT(DELL, 0x01cc)
 #define DELL_V1500_SUBVENDOR	HDA_MODEL_CONSTRUCT(DELL, 0x0228)
 #define DELL_I1300_SUBVENDOR	HDA_MODEL_CONSTRUCT(DELL, 0x01c9)
+#define DELL_I1420_SUBVENDOR	HDA_MODEL_CONSTRUCT(DELL, 0x01f3)
 #define DELL_XPSM1210_SUBVENDOR	HDA_MODEL_CONSTRUCT(DELL, 0x01d7)
 #define DELL_OPLX745_SUBVENDOR	HDA_MODEL_CONSTRUCT(DELL, 0x01da)
 #define DELL_ALL_SUBVENDOR	HDA_MODEL_CONSTRUCT(DELL, 0xffff)
@@ -687,6 +688,8 @@
 	    0, 0, -1, 13, { 14, -1 }, -1 },
 	{ DELL_I1300_SUBVENDOR, HDA_CODEC_STAC9220, HDAC_HP_SWITCH_CTRL,
 	    0, 0, -1, 13, { 14, -1 }, -1 },
+	{ DELL_I1420_SUBVENDOR, HDA_CODEC_STACXXXX, HDAC_HP_SWITCH_CTRL,
+	    0, 0, -1, 10, { 13, -1 }, -1 },
 	{ DELL_OPLX745_SUBVENDOR, HDA_CODEC_AD1983, HDAC_HP_SWITCH_CTL,
 	    0, 0, -1, 6, { 5, 7, -1 }, -1 },
 	{ DELL_D630_SUBVENDOR, HDA_CODEC_STAC9205, HDAC_HP_SWITCH_CTRL,

--
If you think things can't get worse it's probably only
because you lack sufficient imagination.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e71790db0808102237g5a920147t8eca23b1ade918e7>