Ubuntu 8.04/8.10下SB600芯片声卡驱动问题的解决


我的台式机主板是昂达A69G, 声卡芯片是SB600,在 Ubuntu 8.04/8.10 下无法正常驱动声卡,参考了这篇E文帖子Comprehensive Sound Problem Solutions Guide v0.5e,终于不再忍受 sound of silence 了。

原因:

这个声卡的驱动模块是 snd_atiixp , 系统自带的这个模块无法正常驱动声卡,可能是由于声卡的地址[1002:4382] (lspci -nn 获得)没有被正确写到源代码里 /alsa-kernel/pci/atiixp.c 290行附近。尝试过用ubuntu的apt源获取alsa-source来重新编译,编译失败。而从alsa的官网下载就可以成功编译。

步骤:

1.执行 aplay -l , 如果看不到以下声卡的信息,说明声卡没被正确驱动.

**** List of PLAYBACK Hardware Devices ****
card 0: IXP [ATI IXP], device 0: ATI IXP AC97 [ATI IXP AC97]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: IXP [ATI IXP], device 1: ATI IXP IEC958 [ATI IXP IEC958 (AC97)]
Subdevices: 1/1
Subdevice #0: subdevice #0

2.到 ftp://ftp.alsa-project.org/pub/driver/ 下载最新的 alsa-driver 编译安装,我用的是 alsa-driver-1.0.18rc3.tar.bz2

mkdir alsa

cd alsa

sudo apt-get install build-essential linux-headers-$(uname -r)

wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.18rc3.tar.bz2

tar jxvf alsa-driver-1.0.18rc3.tar.bz2

cd alsa-driver-1.0.18rc3

sudo ./configure --with-kernel=/usr/src/linux-headers-$(uname -r) --with-cards=atiixp --with-oss=yes

sudo make

sudo make install

3.编译如无意外,reboot 系统,搞定!

相关内容