snd_hda: no sound at all.

Yasir Khalid y.k.thalib at gmail.com
Sat Dec 26 15:43:38 UTC 2009


On Sat, Dec 26, 2009 at 8:23 AM, Alexander Motin <mav at freebsd.org> wrote:

> Yasir Khalid wrote:
> > On Sat, Dec 26, 2009 at 4:36 AM, Alexander Motin <mav at freebsd.org
> > <mailto:mav at freebsd.org>> wrote:
> >
> >     Yasir Khalid wrote:
> >     > hdac0: GPIO: 0x40000004 NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0
> >     GPIUnsol=1
> >
> >     This codec has 4 GPIO pins. In different systems they gave different
> >     meaning. In laptops they are often control external amplifiers an
> >     muters, so if not configured properly they may block the sound. You
> >     should try to set all 16 combinations of them with hint.hdac.0.config
> >     loader tunable.
>

hint.hdac.0.config="gpio0"
hint.hdac.0.config="gpio1"
hint.hdac.0.config="gpio2"
hint.hdac.0.config="gpio3"

hint.hdac.0.config="gpio0, gpio1"
hint.hdac.0.config="gpio0, gpio2"
hint.hdac.0.config="gpio0, gpio3"

hint.hdac.0.config="gpio1, gpio0"
hint.hdac.0.config="gpio1, gpio2"
hint.hdac.0.config="gpio1, gpio3"

hint.hdac.0.config="gpio2, gpio0"
hint.hdac.0.config="gpio2, gpio1"
hint.hdac.0.config="gpio2, gpio3"

hint.hdac.0.config="gpio3, gpio0"
hint.hdac.0.config="gpio3, gpio1"
hint.hdac.0.config="gpio3, gpio2"

I have tried all 16 combination ( 1 by 1), I check the sound with this
command *cat /dev/random > /dev/dsp*.  with hw.snd.default_unit=1. And I do
try with/without the earphone.
all of them just them same, *cant* hear any sound.


> >     According to codec configuration you should have digital output
> >     somewhere also. May be front connector is somehow dual-functional and
> so
> >
> >     it lights when you play via digital output device. May be switching
> is
> >     also controller by GPIOs.
> >
> > Do you think my internal speaker in front side of my laptop could be my
> > digital output?
>
> It's not usual, but it can be both. I don't hane different explanation
> for that LED light.
>
> --
> Alexander Motin
>

Any other suggestions ?
Really thank you for the responds


-- 
- Yasir -


More information about the freebsd-multimedia mailing list