1、kldload snd_driver
2、dmesg |grep pcm #查看聲卡驅動的信息
3、cat /dev/sndstat#查看聲卡狀態如下所示:
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0:
at io 0xfe77b800, 0xfe77b400 irq 17 bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default)
說明該聲卡的類型為:snd_ich
4、在內核文件裡加入:
device sound
device "snd_ich"
5、重新編譯內核