- 论坛徽章:
- 0
|
由于本本使用的是hda的声卡,
先期使用opensound的oss,ports安装,可是xmms,及mixer都调不了声音,绐终那么大(声音很大),尝试了N种方法后,无果!(不过好像mplayer可以调)郁闷!
而cat /dev/sndstat后显示无声音设备
bsd@root 17:20 ~#cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
就使用了hdac.ko,kldload后之后又发觉声音很小很小,几乎听不见(不过有声音),郁闷!
bsd@root 17:20 ~#cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel 82801G High Definition Audio Controller> w00t (1p/0r/0v channels default)
大家不知道有没有遇到这种情况,希望得到大家帮助!谢谢!
特把解决方案写出来,希望大家遇到困难的,能给予你们帮助!:
1)分别到http://people.freebsd.org/~ariff/lowlatency/下载sndkld_releng6_i386_vpc.tar.gz,soundcard.h
2)如果以前在内核加过device sound,请去掉,重新编译内核
3)备份cp /boot/kernel/snd* /home/dp/bak.snd/
4)#rm /boot/kernel/snd*
#tar zxfv sndkld_releng6_i386_vpc.tar.gz -C /boot/kernel
#kldxref /boot/kernel/
#mv soundcard.h /usr/include/sys
#添加snd_hda_load="YES"到/boot/loader.conf
#reboot
5)我的cat /dev/sndstat
bsd@dp 11:53 ~%cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2007071200/i386)
Installed devices:
pcm0: <Intel 82801G High Definition Audio Controller> at memory 0xd0240000 irq 22 kld snd_hda [20070710_0047] [MPSAFE] (1p:1v/1r:1v channels duplex default)
[ 本帖最后由 For.you 于 2007-8-3 11:59 编辑 ] |
|