LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: hjhee

[解决中]Gentoo没有声音

[复制链接]
 楼主| 发表于 2008-6-16 21:29:28 | 显示全部楼层
Post by 亞利艾爾;1862702
是“No supported PnP and PCI card found”吧?你看看 Sound -> ALSA -> PCI Card -> Intel HDA 有没有选上,选上 M 了就试试 modprobe 一下你的模块。


modprobe
  1. Gentoo Music # modprobe snd-hda-intel
  2. WARNING: Error inserting snd_hwdep (/lib/modules/2.6.24-gentoo-r8/kernel/sound/core/snd-hwdep.ko): Invalid module format
复制代码

但是alsaconf找到声卡了hda-intel  Intel Corporation 82801G (ICH7 Family) High Definition Audi

而alsamixer还是No mixer elems found
回复 支持 反对

使用道具 举报

发表于 2008-6-16 22:01:45 | 显示全部楼层
让hal启动了吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-16 22:29:50 | 显示全部楼层
hald吗?
Gentoo gentoo # /etc/init.d/hald status
* status:  started
回复 支持 反对

使用道具 举报

发表于 2008-6-17 07:31:34 | 显示全部楼层
那我就不知道了。
回复 支持 反对

使用道具 举报

发表于 2008-6-17 11:04:02 | 显示全部楼层
还需要在/etc/modules.autoload.d/kernel-2.6加载声卡模块吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-17 22:48:13 | 显示全部楼层
我把Relteck HD Audio 编译成了模块
执行make moduels_install 输出了这些模块
我查找了一下intel的关键字,有三个符合
snd-intel8x0
snd-intel8x0m
snd-hda-intel
其中最后一个有反应,另两个什么也没有输出
最后面有内核加载的信息
.config在我的帖子里
唉声音真难搞阿
  1.   INSTALL drivers/ieee1394/ieee1394.ko
  2.   INSTALL drivers/ieee1394/ohci1394.ko
  3.   INSTALL drivers/ieee1394/raw1394.ko
  4.   INSTALL drivers/rtc/rtc-isl1208.ko
  5.   INSTALL drivers/scsi/scsi_wait_scan.ko
  6.   INSTALL drivers/watchdog/softdog.ko
  7.   INSTALL sound/ac97_bus.ko
  8.   INSTALL sound/core/seq/instr/snd-ainstr-fm.ko
  9.   INSTALL sound/core/seq/instr/snd-ainstr-simple.ko
  10.   INSTALL sound/core/seq/snd-seq-instr.ko
  11.   INSTALL sound/core/seq/snd-seq-midi-emul.ko
  12.   INSTALL sound/core/snd-hwdep.ko
  13.   INSTALL sound/drivers/mpu401/snd-mpu401-uart.ko
  14.   INSTALL sound/drivers/opl3/snd-opl3-lib.ko
  15.   INSTALL sound/drivers/opl3/snd-opl3-synth.ko
  16.   INSTALL sound/drivers/vx/snd-vx-lib.ko
  17.   INSTALL sound/i2c/other/snd-ak4114.ko
  18.   INSTALL sound/i2c/other/snd-ak4xxx-adda.ko
  19.   INSTALL sound/i2c/other/snd-pt2258.ko
  20.   INSTALL sound/i2c/snd-cs8427.ko
  21.   INSTALL sound/i2c/snd-i2c.ko
  22.   INSTALL sound/isa/sb/snd-sb-common.ko
  23.   INSTALL sound/isa/sb/snd-sb16-dsp.ko
  24.   INSTALL sound/oss/ac97_codec.ko
  25.   INSTALL sound/oss/ad1848.ko
  26.   INSTALL sound/oss/aedsp16.ko
  27.   INSTALL sound/oss/kahlua.ko
  28.   INSTALL sound/oss/mpu401.ko
  29.   INSTALL sound/oss/msnd.ko
  30.   INSTALL sound/oss/msnd_classic.ko
  31.   INSTALL sound/oss/msnd_pinnacle.ko
  32.   INSTALL sound/oss/opl3.ko
  33.   INSTALL sound/oss/pas2.ko
  34.   INSTALL sound/oss/pss.ko
  35.   INSTALL sound/oss/sb.ko
  36.   INSTALL sound/oss/sb_lib.ko
  37.   INSTALL sound/oss/sound.ko
  38.   INSTALL sound/oss/sscape.ko
  39.   INSTALL sound/oss/trident.ko
  40.   INSTALL sound/oss/trix.ko
  41.   INSTALL sound/oss/uart401.ko
  42.   INSTALL sound/oss/uart6850.ko
  43.   INSTALL sound/oss/v_midi.ko
  44.   INSTALL sound/pci/ac97/snd-ac97-codec.ko
  45.   INSTALL sound/pci/ac97/snd-ak4531-codec.ko
  46.   INSTALL sound/pci/ali5451/snd-ali5451.ko
  47.   INSTALL sound/pci/au88x0/snd-au8810.ko
  48.   INSTALL sound/pci/au88x0/snd-au8820.ko
  49.   INSTALL sound/pci/au88x0/snd-au8830.ko
  50.   INSTALL sound/pci/ca0106/snd-ca0106.ko
  51.   INSTALL sound/pci/cs46xx/snd-cs46xx.ko
  52.   INSTALL sound/pci/cs5535audio/snd-cs5535audio.ko
  53.   INSTALL sound/pci/echoaudio/snd-darla20.ko
  54.   INSTALL sound/pci/echoaudio/snd-darla24.ko
  55.   INSTALL sound/pci/echoaudio/snd-echo3g.ko
  56.   INSTALL sound/pci/echoaudio/snd-gina20.ko
  57.   INSTALL sound/pci/echoaudio/snd-gina24.ko
  58.   INSTALL sound/pci/echoaudio/snd-indigo.ko
  59.   INSTALL sound/pci/echoaudio/snd-indigodj.ko
  60.   INSTALL sound/pci/echoaudio/snd-indigoio.ko
  61.   INSTALL sound/pci/echoaudio/snd-layla20.ko
  62.   INSTALL sound/pci/echoaudio/snd-layla24.ko
  63.   INSTALL sound/pci/echoaudio/snd-mia.ko
  64.   INSTALL sound/pci/echoaudio/snd-mona.ko
  65.   INSTALL sound/pci/emu10k1/snd-emu10k1-synth.ko
  66.   INSTALL sound/pci/emu10k1/snd-emu10k1.ko
  67.   INSTALL sound/pci/emu10k1/snd-emu10k1x.ko
  68.   INSTALL sound/pci/hda/snd-hda-intel.ko
  69.   INSTALL sound/pci/ice1712/snd-ice1712.ko
  70.   INSTALL sound/pci/ice1712/snd-ice1724.ko
  71.   INSTALL sound/pci/ice1712/snd-ice17xx-ak4xxx.ko
  72.   INSTALL sound/pci/korg1212/snd-korg1212.ko
  73.   INSTALL sound/pci/mixart/snd-mixart.ko
  74.   INSTALL sound/pci/nm256/snd-nm256.ko
  75.   INSTALL sound/pci/pcxhr/snd-pcxhr.ko
  76.   INSTALL sound/pci/riptide/snd-riptide.ko
  77.   INSTALL sound/pci/rme9652/snd-hdsp.ko
  78.   INSTALL sound/pci/rme9652/snd-hdspm.ko
  79.   INSTALL sound/pci/rme9652/snd-rme9652.ko
  80.   INSTALL sound/pci/snd-ad1889.ko
  81.   INSTALL sound/pci/snd-als300.ko
  82.   INSTALL sound/pci/snd-als4000.ko
  83.   INSTALL sound/pci/snd-atiixp-modem.ko
  84.   INSTALL sound/pci/snd-atiixp.ko
  85.   INSTALL sound/pci/snd-azt3328.ko
  86.   INSTALL sound/pci/snd-bt87x.ko
  87.   INSTALL sound/pci/snd-cmipci.ko
  88.   INSTALL sound/pci/snd-cs4281.ko
  89.   INSTALL sound/pci/snd-cs5530.ko
  90.   INSTALL sound/pci/snd-ens1370.ko
  91.   INSTALL sound/pci/snd-ens1371.ko
  92.   INSTALL sound/pci/snd-es1938.ko
  93.   INSTALL sound/pci/snd-es1968.ko
  94.   INSTALL sound/pci/snd-fm801.ko
  95.   INSTALL sound/pci/snd-intel8x0.ko
  96.   INSTALL sound/pci/snd-intel8x0m.ko
  97.   INSTALL sound/pci/snd-maestro3.ko
  98.   INSTALL sound/pci/snd-rme32.ko
  99.   INSTALL sound/pci/snd-rme96.ko
  100.   INSTALL sound/pci/snd-sonicvibes.ko
  101.   INSTALL sound/pci/snd-via82xx-modem.ko
  102.   INSTALL sound/pci/snd-via82xx.ko
  103.   INSTALL sound/pci/trident/snd-trident-synth.ko
  104.   INSTALL sound/pci/trident/snd-trident.ko
  105.   INSTALL sound/pci/vx222/snd-vx222.ko
  106.   INSTALL sound/pci/ymfpci/snd-ymfpci.ko
  107.   INSTALL sound/sound_firmware.ko
  108.   INSTALL sound/synth/emux/snd-emux-synth.ko
  109.   INSTALL sound/synth/snd-util-mem.ko
复制代码
  1. Gentoo gentoo # dmesg | grep -i intel
  2. [    9.829109] Intel machine check architecture supported.
  3. [    9.829182] Intel machine check reporting enabled on CPU#0.
  4. [    9.848282] CPU0: Intel(R) Pentium(R) Dual  CPU  E2160  @ 1.80GHz stepping 0d
  5. [    9.940120] Intel machine check architecture supported.
  6. [    9.940123] Intel machine check reporting enabled on CPU#1.
  7. [    9.940417] CPU1: Intel(R) Pentium(R) Dual  CPU  E2160  @ 1.80GHz stepping 0d
  8. [   10.281157] intel_rng: FWH not detected
  9. [   10.281341] agpgart: Detected an Intel G33 Chipset.
  10. [   15.080288] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.02 (26-Jul-2007)
  11. [   15.390295]   #1: HDA Intel at 0xfea78000 irq 16
  12. [   17.513896] sysfs: duplicate filename 'snd_hda_intel' can not be created
  13. [   17.513920] kobject_add failed for snd_hda_intel with -EEXIST, don't try to register things with the same name in the same directory.
复制代码
回复 支持 反对

使用道具 举报

发表于 2008-6-17 23:37:55 | 显示全部楼层
snd-hda-intel
应该是这个
不过要保证用新内核启动之后,再加载与这个内核一同编译出来的模块
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-18 12:41:13 | 显示全部楼层
用原来下载的内核文件编译几次没问题吧?
我编译了几次,模块日期和编译时间是一样的
gentoo@Gentoo /lib/modules/2.6.24-gentoo-r8/kernel/sound/pci/hda $ ls -l
总计 344
-rw-r--r-- 1 root root 350810 06-17 22:25 snd-hda-intel.ko
回复 支持 反对

使用道具 举报

发表于 2008-6-18 17:15:37 | 显示全部楼层
是不是这个模块,你用liveCD启动一下,看看liveCD加载的是哪一个模块。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-18 17:50:50 | 显示全部楼层
用了ubuntu 8.04的dvd
附件是dmesg信息
在它里面发现神秘信息:
[  121.923274] hda_codec: Unknown model for ALC662, trying auto-probe from BIOS...

在截图中[声音事件]使用它、alsa、oss、pulesaudio都能播放声音
[默认声音轨道]有
'[HDA] Intel (Alsa mixer)'、
'Realtek ALC662 rev1 (OSS Mixer)'、
'Playback:ALSA PCM on font 0ALC6)...'、
'Capture : Monitor Source ALSA PCM...'和
'Capture : ALSA PCM on font : 0(ALC66...'

make modules_install 的列表并没有这模块或字眼

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

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

本版积分规则

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