其中 “sound-slot-0”是声音驱动,“via82cxxx_audio”是module的名称。(You can use the module name as the second argument of modprobe to remove the audio
driver and modules.) 另外一个删处已经载入系统的声卡module方法是与/etc/modules.conf进行比较。找出原来已经安装在系统上的声卡驱动,删处或注释掉那一行。就象下面的例子那样
#alias-char-major-14 soundcore
alias sound off
alias midi off
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
#alias char-major-116 off
四 OS built-in驱动(VT8233/VT8233C现在还不支持)
(The OS will automatically detect the on-chip audio controller and install the driver for it)为了检验驱动是否真的已经被安装好了,可以运行 lsmod 命令来检查声卡module是否已经载入核心了。如果已经成功的载入核心了,你可以看到module的名字和大小,就象下面那样:
# ./configure --with-kernel=/usr/src/linux-2.4.8
# make
# make install
# ./snddevices
D:自动载入声卡module
在/etc/modules.conf文件中加入下面几行,并重新启动系统。
alias char-major-116 snd
alias snd-card-0 snd-card-via686a (for 686B, 8231)
alias snd-card-0 snd-card-via8233 (for 8233)
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
(Navigate through the GUI interface to install audio driver; choose the target directory located at the uncompressed OSS packages;)记得在退出前保存设置。接下来,在/usr/lib/oss目录下运行./soundon来载入相关的声卡module到核心中去。也可以运行./soundoff删除OSS的声卡module。这样重新启动的时候声卡module就不会载入系统了。