LinuxSir.cn,穿越时空的Linuxsir!

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

求助:我的ALSA没有声音!

[复制链接]
发表于 2005-7-14 16:27:53 | 显示全部楼层 |阅读模式
我的声卡用lspci来看是:
bash-2.05b# lspci -v | grep -i audio
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 11)

内核配置与gentoo网站上的基本相同,附在最后。

其他几个命令的执行结果是:

bash-2.05b# alsaconf
modinfo: could not find module snd
modinfo: could not find module snd
modinfo: could not find module snd
No supported PnP or PCI card found.
Would you like to probe legacy ISA sound cards/chips?
(我只好选no)

bash-2.05b# /etc/init.d/alsasound start
* Loading ALSA modules...                                                [ ok ]
* Restoring Mixer Levels...
* No mixer config in /etc/asound.state, you have to unmute your card!    [ ok ]

bash-2.05b# cat /dev/urandom > /dev/dsp
(无声音)

附内核相关选项:
Device Drivers  --->
   Sound  --->
<×> Sound card support        <-----------就这点不一样,gentoo网站上是“M”

Open Sound System   --->
   < > Open Sound System (DEPRECATED)

Advanced Linux Sound Architecture  --->
   <M> Advanced Linux Sound Architecture
   <M> Sequencer support
   <M> OSS Mixer API
   <M> OSS PCM (digital audio) API

PCI devices   --->
<*> Intel/SiS/nVidia/AMD/ALi AC97 Controller          <----------------------我的声卡

大家有什么建议吗?我的gentoo到现在还没有声音:(

另外,我在gnome里开的命令行窗口里的提示符不对啊,如何设置为合适的格式如:
“oldcastle@oldcastle / #”这样的呢?
发表于 2005-7-14 17:40:48 | 显示全部楼层
跟我的情况一样,搞不定。
以前在Arch里有点小问题,手工调整一下就OK了。现在在Gentoo里倒遇到这个问题,一点头绪都没有。
回复 支持 反对

使用道具 举报

发表于 2005-7-14 17:56:39 | 显示全部楼层
No mixer config in /etc/asound.state, you have to unmute your card! [ ok ]

Seems the mixer has been muted, so you cannot hear anything.
回复 支持 反对

使用道具 举报

发表于 2005-7-14 18:03:26 | 显示全部楼层
输AMIXER看看,是一堆东西还是错误提示
就看看http://gentoo.linuxsir.cn/doc/cn ... XER的设置
PS:AMIXER是开声道的
回复 支持 反对

使用道具 举报

发表于 2005-7-14 20:13:02 | 显示全部楼层
emerge -av alsa-driver先,然后再alsaconf看是否仍然错误
回复 支持 反对

使用道具 举报

发表于 2005-7-14 20:44:44 | 显示全部楼层
I'm OK now, but alsaconf still says "No support pnp or PCI card found".
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-14 23:49:22 | 显示全部楼层
Post by jjj311
输AMIXER看看,是一堆东西还是错误提示
就看看http://gentoo.linuxsir.cn/doc/cn ... XER的设置
PS:AMIXER是开声道的


amixer的输出附在最后,没有声音:(

你给的网址我还正在看。gentoo的网站上说内核方法和alsa-driver方法是不能同时使用的,好象网址上说的方法就是同时使用的?

amixer输出:
bash-2.05b$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 19 [61%] [on]
  Front Right: Playback 19 [61%] [on]
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [off]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
Simple mixer control '3D Control - Center',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%]
Simple mixer control '3D Control - Depth',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%]
Simple mixer control '3D Control - Switch',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [off]
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Mic Select',0
  Capabilities:
  Mono:
Simple mixer control 'Video',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [off]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Playback AC97-SPSA',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Limits: 0 - 3
  Mono: 1 [33%]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 0 [0%] [off]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Mono Output Select',0
  Capabilities:
  Mono:
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [on]
  Front Right: Capture 0 [0%] [on]
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'External Amplifier',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-14 23:50:06 | 显示全部楼层
Post by xiaoma
I'm OK now, but alsaconf still says "No support pnp or PCI card found".

你怎么搞OK的?
回复 支持 反对

使用道具 举报

发表于 2005-7-14 23:52:21 | 显示全部楼层
alsamixer.
如果正常运行了,上面会显示你的声卡的名称的。然后把所有的东西都调到100,并且每个都要按M,消除静音。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-15 00:19:49 | 显示全部楼层
Post by blackwhite
alsamixer.
如果正常运行了,上面会显示你的声卡的名称的。然后把所有的东西都调到100,并且每个都要按M,消除静音。


可以啦!!!!!

如你所说,上面显示了声卡名称,我前面虽然调整了音量大小,但是没有按M!

多谢多谢,这么晚了还上网来帮助我!!

bow!
回复 支持 反对

使用道具 举报

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

本版积分规则

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