分页: 1 / 1

[其它]ATI SB450南桥+ALC655板载声卡安装alsa无效

发表于 : 2007-01-11 14:07
mystlynx
我的声卡:
ATI SB450南桥+ALC655板载声卡

modinfo soundcore
输出:
filename: /lib/modules/2.6.17-10-generic/kernel/sound/soundcore.ko
description: Core sound module
author: Alan Cox
license: GPL
alias: char-major-14-*
vermagic: 2.6.17-10-generic SMP mod_unload 586 REGPARM gcc-4.1
depends:
srcversion: C2D094BCAA551D6738DF488
aplay -l
输出:
aplay: device_list:204: no soundcards found...
lspci -v
输出:
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC'97 Audio Controller (rev 80)
Subsystem: ATI Technologies Inc IXP SB400 AC'97 Audio Controller
Flags: 66MHz, slow devsel, IRQ 217
Memory at fdff8000 (32-bit, non-prefetchable)
Capabilities: [40] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-


我到alsa-project.org下载了最新的1.4rc1源代码,开始编译,编译的步骤按照alsa-project.org网站上的文档进行,编译安装的过程没有出错:

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=atiixp --with-sequencer=yes;make;make install


./snddevices
输出:
Creating mixer?...done.
Creating sequencer...done.
Creating midi0?...done.
Creating dsp?...done.
Creating audio?...done.
Creating sndstat...done.
Creating music...done.
Creating dmmidi?...done.
Creating dmfm?...done.
Creating amixer?...done.
Creating adsp?...done.
Creating amidi?...done.
Creating admmidi?...done.
rm: 无法删除‘/dev/snd’: Is a directory
Creating snd/control?...done.
Creating snd/seq...done.
Creating snd/timer...done.
Creating snd/hw??...done.
Creating snd/midi??...done.
Creating snd/pcm??p...done.
Creating snd/pcm??c...done.
Creating aload?...done.
Creating aloadSEQ...done.


chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
无输出

再编译安装alsa-lib包和alsa-utils包,也没有出错:
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


modprobe snd-atiixp;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
无输出

alsamixer
输出:
alsamixer: function snd_ctl_open failed for default: No such device


然后创建/etc/modules.conf和/etc/modutils/alsa两个文件,写入相同的内容:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-atiixp
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss


然后编辑~/.asoundrc,写入如下内容:
pcm.atiixp {
type hw
card 0
}

ctl.atiixp {
type hw
card 0
}


重启之后还是没有声音,点右上角的小喇叭,提示“没有找到音量控制插件和/或设备”。[/quote]

发表于 : 2007-01-11 21:25
lisir
我的声卡是NF61V主板上集成的ALC861,安装6.06后也没有声音,但升级内核后,再编译安装从alsa-project上下载的那四个包,然后运行alsaconf就可以了。

Re: [其它]ATI SB450南桥+ALC655板载声卡安装alsa无效

发表于 : 2009-12-02 22:37
phlise
mystlynx, 你好,不知道你的ALC655声卡的问题解决了没有 ,我的声卡为什么断断续续,很难受 ,如果你知道,谢谢你的回信

Re: [其它]ATI SB450南桥+ALC655板载声卡安装alsa无效

发表于 : 2009-12-04 12:31
ydw1209
解决办法:
终端下命令: sudo gedit /etc/modprobe.d/alsa-base.conf

找到文档底部很多options的地方,加入以下内容:

options snd-atiixp ac97_codec=0

重启,就可以了。