[问题]如何安装声卡驱动

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
ncuzy
帖子: 1
注册时间: 2007-10-05 2:53

[问题]如何安装声卡驱动

#1

帖子 ncuzy » 2008-08-04 13:37

我的声卡是sis 7012,在ubuntu8.04下没有声音,刚刚去sis下了一个驱动,俺是菜鸟了~~初窥linux,半天没有找到安装的办法,请教一下

readme:

SiS 7012 Linux Driver Install Documentation


**Before install this driver, you should make sure that your kernel had
enable "sound card support" !
(the option of "sound" item in building kernel)

This driver is for kernel RedHat kernel 2.4.x. You can install this driver
by useing script "install" or follow steps descributed below:
Note : if there are soundcore.o and ac97_codec.o in your kernel, you can
skip step 3,4,6
(you can use command "insmod soundcore" and "insmod ac97_codec" to
test if there are these two modules)

1> Check that you have kernel-source in /usr/src/x.x.x

2> Change linux_src_directory to correct path in "config.in"

3> Copy soundcore and ac97_codec source to current directory

"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

"make soundcore.o"
"make ac97_codec.o"

5> Generate sis7012 driver module

"make"

6> Copy soundcore.o , ac97_codec.o to module directory

"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

"cp sis7012.o /lib/modules/x.x.x/kernel/drivers/sound

8> Modify the file "/etc/modules.conf". Add two lines into it :

alias sound-slot-0 sis7012

9> Reboot your computer and configurate sis7012.
上次由 ncuzy 在 2008-08-04 15:13,总共编辑 1 次。
yyz139
帖子: 84
注册时间: 2007-01-07 15:04

#2

帖子 yyz139 » 2008-08-04 13:51

包里有没有readme之类的文件?
回复