LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 727|回复: 3

ac97

[复制链接]
发表于 2003-3-15 11:43:52 | 显示全部楼层 |阅读模式
我的主板是磐英的8khl+,还有什么via8223.ac97板载什卡,下载了个声卡驱动那个好人帮忙认认是什么意思哦
echo -e " -------- install start --------"

#147 Shell script for RedHat 7.1

#check kernel version
uname -r > myver

if ! grep "2.4.2-2" myver > mycheck ;
echo -e " wrong kernel version ,should not install 147audio"

else
cp viaudio.o /lib/modules/2.4.2-2/kernel/drivers/sound/viaudio.o

cp soundcore.o /lib/modules/2.4.2-2/kernel/drivers/sound/soundcore.o


if [ ! -f /lib/modules/2.4.2-2/modules.dep.old ] ; then

cp /lib/modules/2.4.2-2/modules.dep /lib/modules/2.4.2-2/modules.dep.old

echo -e " backup modules.dep to modules.dep.old"

else

echo -e " modules.dep.old already exist"

fi

#backup config.modules


if [ ! -f /etc/modules.conf.old ] ; then

cp /etc/modules.conf /etc/modules.conf.old

echo -e " backup modules.conf to modules.conf.old"

        else

        echo -e " modules.conf already exist"

        fi

        chmod u+x modconf

        ./modconf

        if [ -f modules.conf.tmp ] ; then

         cp modules.conf.tmp /etc/modules.conf

        rm modules.conf.tmp

        fi


        insmod soundcore.o
        insmod viaudio.o
fi
rm myver

rm mycheck

echo -e " -------- vinstall end --------"
帮忙吧步骤说一下
我对他不是太懂
发表于 2003-3-15 20:57:43 | 显示全部楼层
上面说的是一个安装过程,你可以照他说的去做,也可以,
#make install
 楼主| 发表于 2003-3-16 07:26:06 | 显示全部楼层
#make install
就完事了吗
,什么再也不用管吗
发表于 2003-3-16 12:08:20 | 显示全部楼层
好象是在这个目录下直接执行./vinstall就可以了
好久没用这个了
这个是via提供的驱动,安装很简单的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表