LinuxSir.cn,穿越时空的Linuxsir!

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

又是声卡问题-已解决。(Realtek HD Audio@神舟笔记本,ATI SB450 HD audio with Realtek

[复制链接]
发表于 2009-3-6 11:28:25 | 显示全部楼层 |阅读模式
在神舟笔记本上装了debian4,其他都挺好的,就是声卡一直没出声,之前手工安装国alsa-base什么的,还做过不少操作,有些不记得了,反正网上查了好方法,好像都不好使

现在使用alsaconf可以找到 hda-intel ATI Technologies Inc SB450 HDA Audio(rev 01)和legacy Probe legacy ISA(non-PnP) chips两项,无论选哪一些最后都没声音出来

使用xmms播放mp3会出现
Please check thar:
Your soundcard is configued properly
You have the correct output plugin selected
No other program is blocking the soundcard

1年多了,一直没解决,慢慢真的有些受不了了,麻烦大家帮帮忙呀!
发表于 2009-3-6 12:55:58 | 显示全部楼层
我也遇见国声卡问题,
你的信息不全面,首先你的声卡的型号要弄出来。alsaconfig有错误信息吗?
hda-intel ATI Technologies Inc SB450 HDA Audio(rev 01)这一项是管用的,另一项不管用。
/etc/init.d/alsasound restart 有反应吗?成功重启了吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-8 09:41:41 | 显示全部楼层
xp下看到的是Realtek HD Audio
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-8 09:49:01 | 显示全部楼层
好像是声卡型号不对吧?
alsaconfig没有错误提示
/etc/init.d/alsasound restart 成功重启
回复 支持 反对

使用道具 举报

发表于 2009-3-8 12:03:38 | 显示全部楼层
编辑/etc/modprobe.d/alsa-bas文件,在后面添加如下的代码:
  options snd-hda-intel index=0 model=toshiba position_fix=1
重启机器看看,也有把toshiba改为acer、hp的。
或者编辑/etc/modprobe.d/sound,根据realtek的说明,代码如下:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# ALSA portion
alias char-major-116 snd     
# 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

options snd-hda-intel index=0 model=toshiba position_fix=0
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-8 16:45:00 | 显示全部楼层
感谢楼上两位的回复!
我又试了试,还是不行。
我到realteck的网站下载了最新的驱动,安装,好像一切都很顺利,就是不出声!
按favoyun的方法仍然没有声音

不过这次使用/etc/init.d/alsasound restart 重启出现如下错误
Shutting down sound driver: ERROR: Module snd_hda_codec_realtek is in use
ERROR: Module snd_hda_codec is in use by snd_hda_codec_realtek
ERROR: Module snd_hwdep is in use by snd_hda_codec
ERROR: Module snd_pcm is in use by snd_hda_codec
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd is in use by snd_hda_codec_realtek,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
done
ALSA driver is already running.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-8 17:06:17 | 显示全部楼层
# lsmod|grep snd
snd_hda_codec_realtek   192132  0
snd_hda_codec          63008  1 snd_hda_codec_realtek
snd_hwdep               8964  1 snd_hda_codec
snd_pcm                68516  1 snd_hda_codec
snd_timer              21252  1 snd_pcm
snd                    55044  5 snd_hda_codec_realtek,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               9248  1 snd
snd_page_alloc         11016  1 snd_pcm
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-8 17:35:02 | 显示全部楼层
呵呵,搞定了!! :->
参考了下面这个帖子
http://www.linuxquestions.org/qu ... -on-toshiba-585577/

总结下:
1。xp下确定是Realtek HD Audio的声卡
2。到ealteck的网站下载最新的linux驱动,安装
3。运行alsamixer发信master音量为0,而且无法调节
4。于是按照上述帖子中的方法
在/etc/modprobe.d/aliases文件加入
alias snd-card-0 snd-hda-intel

在/etc/modprobe.d/alsa-base加入:
options snd-hda-intel enable=1 index=0

重启就可以了,哈哈,确实是一个困扰了1年多的问题了,原来也不是很复杂。
重启时就出声了,呵呵,因为话筒是打开的,听见开机时风扇声音被放大出来,呵呵,开心呀,希望遇到同样问题的朋友也能效仿解决!
回复 支持 反对

使用道具 举报

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

本版积分规则

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