Tuesday, June 17, 2008

freebsd 7.0, dell latitude d830, intel snd_hda

The latitude d830 I have uses intel's HDA - snd_hda.ko, this driver works, but i could only get sound out of the headphone / audio out jack...not the speakers.

so i enabled snd_hda_load="YES" in /boot/loader.conf
(this also loads sound.ko (sound core))

then added some device hints to /boot/device.hints for the snd_hda driver.
i went ahead and added all 'gpio' hints, even though i don't know what they mean ;p
hint.pcm.0.config="gpio0,gpio1,gpio2,gpio3,gpio4,gpio5,gpio6,gpio7"

There are several other hints in the snd_hda man page...dunno what they do.
Anyway, after adding the gpio flags Sound worked from the internal speakers! ;)
Not sure which flag exactly did it...but one of them did!

No comments:

Post a Comment