|
我用的是 Red Hat 9,内核是 2.4.20-8,声卡是 FM801.
我已经安装了 alsa-driver-1.0.1 alsa-lib-1.0.1 alsa-oss-1.0.1 alsa-utils-1.0.1
安装过程如下:
安装driver
cd alsa-driver-1.0.1
./configure --with-cards=fm801 --with-oss=yes --with-sequencer=yes --with-debug=none --with-isapnp=no
make
make install
安装Library
cd alsa-lib-1.0.1
./configure
make install
安装OSS Compat.Library
cd alsa-oss-1.0.1
./configure
make install
安装Utilities
cd alsa-utils-1.0.1
./configure
make install
运行alsaconf,按提示配置/etc/modules.conf,基本上就是一路回车
运行结果:
Loading driver...
Starting sound driver: snd-fm801 /lib/modules/2.4.20-8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: insmod snd-fm801 failed
done
Setting default volumes...
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1061: No soundcards found...
===============================================================================
Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.
Have a lot of fun!
运行alsamixer,调整音量
运行结果:
alsamixer: function snd_ctl_open failed for default: No such device
运行kmix,调整音量
运行ntsysv,启动服务里有alsasound一项
运行 #/etc/init.d/alsasound start
运行结果:
[root@DIF root]# /etc/init.d/alsasound start
Starting sound driver: snd-fm801 /lib/modules/2.4.20-8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: unresolved symbol schedule_work
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: insmod /lib/modules/2.4.20-8/kernel/sound/acore/snd.o failed
/lib/modules/2.4.20-8/kernel/sound/acore/snd.o: insmod snd-fm801 failed
done
运行 #lsmod
显示的结果中没有alsasound
然后reboot
在 KDE 启动后,弹出标题为:提示-art信息 的窗口,内容为:
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such device)
The sound server will continue, using the null output device.
启动时并没有听到启动的音乐。
不知我那的设置有问题。 |
|