红联Linux门户
Linux帮助

FC6 LINUX声卡SB450问题解决方案

发布时间:2008-02-12 11:55:48来源:红联作者:OnlyGE
我的PC是SigmaTel STAC9200的声卡芯片,就是SB450系列,一开始装上FC6后发现机器的声卡没有声音,就是音乐可以播放,但没有声音。真的很SHIT!

后来在GOOGLE上搜,在GOOGLE上当然是搜国外的网站啦,这次发现百度真的很烂。

真的学到不少东西,在这里和可能看到我这篇文章的人分享一下吧:

linux对音频的软件控制有两种架构,简称分别是 alsa 和 oss,通常系统里这两种模块都有。

我的是用的alsa。

之所以没有声音是因为系统安装时的声卡驱动有问题。具体问题我不太清楚,好像是驱动芯片的GPIO需要修改,简而言之就是驱动需要更新

找了很久,下载了ALSA的原代码,和补丁文件,但是在编译和安装的时候出了很多问题。

到ALSA的官方网站找到针对SB450的安装方法,乖乖,还是最新的,看来我的笔记本还不错,呵呵。

剩下的就是编译问题了,发现按部就班不行,于是决定重装一下系统,之后,再次安装更新ALSA的DRIVER,在测试声卡的时候就有声音了,具体做法如下:

go to www.alsa-project.org and download these files :

alsa-driver-1.0.15rc1.tar.bz2

alsa-lib-1.0.15rc1.tar.bz2

.alsa-utils-1.0.15rc1.tar.bz2

Open a terminal and type : su then make a directory called alsa into /usr/local/src. Copy the files to this directory and unpack them (tar xjvf alsa-... for every file).

go to https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3036 and download the file patch_sigmatel.c.patch-1.0.15rc1-simple. Copy the patch to /usr/local/src/alsa.

type this :

patch alsa-driver-1.0.15rc1/alsa-kernel/pci/hda/patch_sigmatel.c < patch_sigmatel.c.patch-1.0.15rc1-simple.

Make a directory to store the alsa source code in:

cd /usr/src
mkdir alsa
cd alsa
cp /downloads/alsa-* .
Now unzip and install the alsa-driver package:

bunzip2 alsa-driver-xxx
tar -xf alsa-driver-xxx
cd alsa-driver-xxx
./configure --with-cards=hda-intel --with-sequencer=yes ; make ; make install
./snddeviceschmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
Now unzip and install the alsa-lib package: cd ..
bunzip2 alsa-lib-xxx
tar -xf alsa-lib-xxx
cd alsa-lib-xxx
./configure ; make ; make install
Now unzip and install the alsa-utils package: cd ..
bunzip2 alsa-utils-xxx
tar -xf alsa-utils-xxx
cd alsa-utils-xxx
./configure ; make ; make install
Now insert the modules into the kernel: modprobe snd-hda-intel ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; modprobe snd-seq-oss
文章评论

共有 0 条评论