LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: cn_popeye

intel82801 AC97声卡没有声音

[复制链接]
 楼主| 发表于 2008-6-24 15:46:58 | 显示全部楼层
Post by lingyunxs;1866596
是,编译进内核


编译内核不可以。

还是试试0626的方法看看吧。

Post by 0626;1866714
有一些ac97的声卡,驱动已经装好,但就是没有声音.
你可以试试以下的方法:

在/etc/modprobe.d/alsa-base的最后一部分加一行:

  1. options bt87x index=-2
  2. [color=red]options snd-intel8x0 index=0 ac97_quirk=6[/color]
  3. options cx88_alsa index=-2
  4. options snd-atiixp-modem index=-2
  5. options snd-intel8x0m index=-2
  6. options snd-via82xx-modem index=-2
复制代码

我就是加了红色的一行解决了问题.其中ac97_quirk=6的6可以是1~6,好像也有用3解决问题的.你可以都一一试试.据说这一行是专门解决ac97问题的!

我们的声卡一样

  1. #lspci|grep audio
  2. 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
复制代码


对于这个方法我可以寄予了很大的希望啊。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-24 23:43:50 | 显示全部楼层
/etc/modprobe.d/alsa-base 没这个文件
只有/etc/modules.d/alsa
  1. zc ~ # cat /etc/modules.d/alsa
  2. # Alsa kernel modules' configuration file.
  3. # ALSA portion
  4. # OSS/Free portion
  5. ##
  6. ## IMPORTANT:
  7. ## You need to customise this section for your specific sound card(s)
  8. ## and then run `update-modules' command.
  9. ## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
  10. ##
  11. ##  ALSA portion
  12. ## alias snd-card-0 snd-interwave
  13. ## alias snd-card-1 snd-ens1371
  14. ##  OSS/Free portion
  15. ## alias sound-slot-0 snd-card-0
  16. ## alias sound-slot-1 snd-card-1
  17. ##
  18. # OSS/Free portion - card #1
  19. ##  OSS/Free portion - card #2
  20. ## alias sound-service-1-0 snd-mixer-oss
  21. ## alias sound-service-1-3 snd-pcm-oss
  22. ## alias sound-service-1-12 snd-pcm-oss
  23. alias /dev/mixer snd-mixer-oss
  24. alias /dev/dsp snd-pcm-oss
  25. alias /dev/midi snd-seq-oss
  26. # Set this to the correct number of cards.
  27. # --- BEGIN: Generated by ALSACONF, do not edit. ---
  28. # --- ALSACONF version 1.0.16 ---
  29. alias snd-card-0 snd-intel8x0
  30. alias sound-slot-0 snd-intel8x0
  31. # --- END: Generated by ALSACONF, do not edit. ---
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-27 12:23:16 | 显示全部楼层
可以肯定声卡和耳麦是好的。
但是为什么就内核驱动声卡就没有声音呢?
我用的内核版本是2.6.24-r8
回复 支持 反对

使用道具 举报

发表于 2008-6-28 00:40:38 | 显示全部楼层
重装了一边,结果跟你的问题一样了:(,太奇怪了。有达人解答一下么?
回复 支持 反对

使用道具 举报

发表于 2008-6-28 13:01:06 | 显示全部楼层

help

Post by zhangmms;1866574
同样问题,能识别,但没有声音,我的是
Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)


my Audio card is the same to you,,i install the driver ,and start alsamixer success! but i can't hear any voice when I use madplay to play any mp3
回复 支持 反对

使用道具 举报

发表于 2008-6-28 21:18:15 | 显示全部楼层
http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix
严格按上面,再重新编译了内核,模块方式,现在我的声音又回来了,我估计上面的选项能编译成模块的就编译成模块,PCI-device也编译成模块试试。具体为什么,我也没搞懂。
重新安装模块后别忘alsaconf重来一边。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-3 10:30:49 | 显示全部楼层
新情况:
严格按照alsa手册安装内核驱动,alsaconf等。
播放音乐或电影,只能听到耳机里的电流声,音量大,电流声就大,音量小,电流声就小。
回复 支持 反对

使用道具 举报

发表于 2008-7-3 11:06:31 | 显示全部楼层
Post by cn_popeye;1866581
我的放MP3都没有声音,更别说gnome的主题声音了

/etc/init.d/alsasound启动了吗?
另外,用alsamixer看看master,phone,pcm有没有被静音,静音的显示为"MM",没有静音的显示为"OO"。
我的声卡和你的一样,2年前第一次装就没问题了,我的是编译成模块,因为要传递模块加载参数。
编译在内核中也是可以的,只是我这里会多出一个phone的声道。
Post by zhangmms;1866578
修正一下,放MP3有声音,但gnome的主题声音放不来。。。
gnome的声音是用esd的,你需要把esd也装上并在gnome启动前启动esound。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-7-3 15:59:10 | 显示全部楼层
alsamixer看看master,phone,pcm统统没有被静音,全是OO。
只是master的虽然状态是OO,但是音量确实最低,向上箭头也无法调整它的音量。
回复 支持 反对

使用道具 举报

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

本版积分规则

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