HDA sound driver mod for sigmatel 92xx

Norberto Meijome freebsd at meijome.net
Sun Jul 16 14:28:40 UTC 2006


On Thu, 13 Jul 2006 12:47:00 -0400 (EDT)
Daniel Eischen <deischen at freebsd.org> wrote:

> On Wed, 12 Jul 2006, Wesley Morgan wrote:
> >
> > The original hdac.tgz posted by Andrea, I believe can be found at:
> >
> > http://darkircop.org/hdac.tgz
> 
> This plus the patch from the previous thread seemed to work
> for me on my Dell Inspiron 1405.  I only had time to cat
> a small audio file.  But I do get mtx lock warnings when
> booting and rc tries to set the mixer.  It seems that pcm/mixer.c
> holds one of its locks (see mixer_set(), around line 148),
> then somehow calls into the driver in hdac_command_send_internal()
> around line 1401 where it does an msleep().  You're not suppose
> to sleep while holding mutex (pcm/mixer's mtx is held at
> this point).
> 
> I've placed the original driver with the patches applied at:
> 
>    http://people.freebsd.org/~deischen/hdac.tgz
> 

Thanks Daniel for this :) 
this works fine on my Thinkpad z60m (hdac = '82801FB/FR/FW/FRW Intel High
DefiNition Audio Controller' ), but :

 - volume is *very* low - it is barely discernible from background noise.
mixer reported initially a value of 77%, which i pushed to 100 with no change.
dev.acpi_ibm.0.volume was 14 (max) , so the speaker beeping was very loud, but
pcm wasn't at all.

- lack of recording (mic) / input - not sure if this patch was added to your
tar ball

Andrea's original package from darkircop.org doens't show the mic either, but
the sound volume works fine.

I'll test Andrea's -rec.tgz now.

Please let me know if you want any debug information :)

Cheers,
Beto


More information about the freebsd-mobile mailing list