FreeBSD 8.1 and sdn_hda no sound

Like many I have problem with my sound card. I tried a couple of thing and didn't succeed yet. I read a bit on snd_hda(4) but not so simple to reboot every time. Is there a better way?

Here is my /boot/loader.conf
Code:
snd_hda_load="YES"
nvidia_load="YES"
cuse4bsd_load="YES"

here is the result of cat /dev/sndstat
Code:
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA VIA VT1828S PCM #0 Analog> (play/rec) default
pcm1: <HDA VIA VT1828S PCM #1 HDMI> (play)
pcm2: <HDA VIA VT1828S PCM #2 Digital> (play)
 
Don't worry, richardpl. I wasn't offended. Thanks for correcting me. I will pay more attention in the future what I'm suggesting (after reading the manual carefully). I promise.:r

srivo: Sorry for the misleading information. Indeed I didn't know it's posible to dump and modify the kernel variables.
 
I tried selven perl scrip and didn't solve the sound problem. I also tried to had
Code:
hint.hdac.0.cad0.nid17.config="as=1 seq=15 device=Headphones"
hint.hdac.0.cad0.nid18.config="as=4 seq=0 device=Line-out"
hint.hdac.0.cad0.nid22.config="as=1 seq=0 device=Speaker
to the /boot/device.hints

I also test
Code:
hint.hdac.0.config="gpion"
n from 1 to 3 now

No result so far
 
It works! Strange but look like the problem was hardware and not BSD. I boot back into Ubuntu and the sound wasn't working nether. I remove hint parameter associate with the sound card.

I shutdown and unplug for 10 seconds and back into FreeBSD and now the sound work!
 
Back
Top