|
发表于 2004-9-27 12:57:12
|
显示全部楼层
SiS 7012 Linux Driver Install Documentation
SIS 7012 Linux 驱动安装文档
**Before install this driver, you should make sure that your kernel had enable
"sound card support" !
(the option of "sound" item in building kernel)
**在安装前,确信你的内核已开启"sound card support" !(“sound”选项内建内核中)
This driver is for kernel RedHat kernel 2.4.x.这个驱动是对RedHat内核 2.4.x
You can install this driver
by useing script "install" or follow steps descributed below:
你可以使用“install”脚本安装或遵从下列方式:
Note : if there are soundcore.o and ac97_codec.o in your kernel, you can
skip step 3,4,6
注意:如果内核中有 soundcore.o 和ac97_codec.o,可略过3,4,6步
(you can use command "insmod soundcore" and "insmod ac97_codec" to
test if there are these two modules)
(使用命令“insmod soundcore”和“insmod ac97_codec”测试是否有着两个模块)
1>Check that you have kernel-source in /usr/src/x.x.x
1》检查内核源代码 在/usr/src/x.x.x 目录下
2>Change linux_src_directory to correct path in "config.in"
2》改变 linux_src_目录 以和“config。in”中的path路径一样
3>Copy soundcore and ac97_codec source to current directory
3》拷贝soundcore 和 ac97_codec 源文件到当前目录 然后执行"make snd_install"
"make snd_install"
or :
或者下列命令
"cp /usr/src/x.x.x/drivers/sound/sound_core.* ./"
"cp /usr/src/x.x.x/drivers/sound/sound_firmware.* ./"
"cp /usr/src/x.x.x/drivers/sound/os.h ./"
"cp /usr/src/x.x.x/drivers/sound/ac97_codec.* ./"
4>Generate soundcore and ac97_codec module
4》生成soundcore 和 ac97_codec 模块
执行下列命令
"make soundcore.o"
"make ac97_codec.o"
5>Generate sis7012 driver module
5》生成 sis7012驱动模块
执行
"make"
6>Copy soundcore.o , ac97_codec.o to module directory
6》拷贝soundcore.o 和 ac97_codec.o 到模块目录,执行下列命令
"cp soundcore.o /lib/modules/x.x.x/kernel/drivers/sound
"cp ac97_codec.o /lib/modules/x.x.x/kernel/drivers/sound
7>Copy sis7012.o to module directory
7》拷贝sis7012.o到模块目录
执行下列命令
"cp sis7012.o /lib/modules/x.x.x/kernel/drivers/sound
8>Modify the file "/etc/modules.conf". Add two lines into it :
8》修改文件"/etc/modules.conf",增加两行:
alias sound-slot-0 sis7012
9>Reboot your computer and configurate sis7012.
9》重启机器,配置sis7012 ,大致就这些了 |
|