LinuxSir.cn,穿越时空的Linuxsir!

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

用ALSA配置声卡的问题

[复制链接]
发表于 2005-9-25 19:44:59 | 显示全部楼层 |阅读模式
我的本本在Debian下从来没出声过(在红旗4.1和FC4下正常),以前有音量图标出现,但找不到设备。
今天testing下装了最新内核,linux-image-2.6.12-1-686,gnome启动桌面后显示“没有找到音量控制元素或设备(No volume control elements and/or devices found.)”。
“首选项”->“多媒体系统选择器”中,选“OSS-Open SoundSystem”和“ALSA - Advanced Linux Sound Architecture)”测试,均显示“为...(这里指前面的两个之一)创建测试流水线失败”如"Failed to construct test pipeline for 'ALSA - Advanced Linux Sound Architecture'"。

运行alsaconf后流程见后:
----------------------------------------------------------
第一图:
ALSA CONFIGURATOR
version 1.0.9a
    This script is a configurator for
Advanced Linux Sound Architecture (ALSA) driver.
You should stop all sound aplications now.
<确定>
----------------------------------------------------------
Unloading ALSA sound driver modules: snd-intel8x0m snd-intel8x0 snd-ac97-codec s nd-pcm-oss snd-mixer-oss snd-pcm snd-timer snd-page-alloc.
Building card database...
----------------------------------------------------------
Search soundcard...
----------------------------------------------------------
第二图:
Soundcard Selection
    Following card(s) are found on your system.
intel8x0         Intel Corp. 82801DB/DBL/DBM (ICH4...  注:后面还没显示完整,但我知道这个是对的,因在FC4中安装声卡后也是显示这个
ligacy         Probe legacy ISA (non-PnP) chips
<确定> <取消>
选前一个
----------------------------------------------------------
第三图:
Configuring snd-intel8x0
Do you want to modify /etc/modprobe.d/sound
(and /etc/modprobe.conf if present)?
<是> <否>
选是
----------------------------------------------------------
第四图:
OK, sound driver is configured.
       ALSA CONFIGURATOR
    will prepare the card for playing now.
Now I will load the ALSA sound driver and use
amixer to raise the default volumes.
You can change the volume later via a mixer
<确定>
----------------------------------------------------------
Running update-modules...
Loading driver...
Setting default volumes...
Saving the mixer setup used for this in /var/lib/alsa/asound.state.
/usr/sbin/alsactl: save_state:1163: No soundcards found...

===============================================================================

Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.

Have a lot of fun!

----------------------------------------------------------
从前面几步看来是识别出了声卡的型号了,但在第四图之后显示的错误又说声卡没找到,为什么?结果当然是照旧了。下面应该怎么做?
 楼主| 发表于 2005-9-25 19:51:31 | 显示全部楼层
但如果先用gedit新建一个空文件(/var/lib/alsa/asound.state),则在第四图过将出现下面信息:
Running update-modules...
Loading driver...
Setting default volumes...
感觉应该没问题了,但在桌面、首选项、多媒体系统选择器 中已经看到不到ALSA的驱动了,怎么办?
这时/var/lib/alsa/asound.state文件里还是空的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-25 20:53:13 | 显示全部楼层
在不启动gdm的情况下,即在启动到字符界面时,用aptitude卸掉alsa和oss,只剩下esound,卸不掉的,除非把gnome一起卸掉。
重启。
再apt-get install alsa-base alsa-utils
还有这其中建议的包,一起装了。
再用alsaconf配置,在第四图后显示如下:
-------------------------
Running update-modules...
Loading driver...
PCI: IRQ 0 for device 0000:00:1f.5 doesn't match PIRQ mask-try pci=usepirqmask
PCI: No IRQ known for interrupt pin B of device 0000:00:1f.5. Please try using
pci=biosirq
unable to grab IRQ 0
Intel ICH: probe of 0000:00:1f.5 failed with error -16
Setting default volumes...
-------------------------
重启,进入桌面还是显示原来的错误。
观察到每次重启显示的错误中有一条有关/etc/init.d/alsa-utils运行中关于/usr/sbin/alsactl有什么错,结束得快,没看清
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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