我的主板是939NF4G-SATA2内置声卡,Nforce4 410 controller, Realtek ALC850 AC97 codec.我没有装Nvidia提供的OSS 声卡驱动(NFORCE-Linux-x86_64-1.0-0310-pkg1.run),而是安装alsa-XXX-1.0.10.Linux Aplay不能播放并出现错误。
开始时/proc/asound/cards始终 --no soundcards--.后来我在alsa-driver-1.0.10/sound/pci/intel8x0.c中加上 "{0x10de,0x026b,PCI_ANY_ID,0,0,DEVICE_NFORCE},"后,重新编译。现在终于可以检测到声卡了。用systen-config-soundcard可以发出声音。
但用Linux Aplay播放时出现如下错误:
- [root@localhost ~]# aplay /usr/lib/openoffice.org2.0/share/gallery/sounds/space3.wav
- ALSA lib conf.c:2841:(snd_config_hook_load) cannot access file /etc/alsa/cards/aliases.conf
- ALSA lib pcm.c:1969:(snd_pcm_open_conf) Invalid type for PCM default definition (id: default, value: cards.pcm.default)
- aplay: main:544: audio open error: Invalid argument
用xmms播放也提示有问题,不能播放。
感觉Linux Aplay还有哪儿配置没有作出相应修改。(/etc/alsa/???)
我用alsaconf配置过。也没有作用。
以下是Linux Aplay问题解决代码
- [root@localhost ~]# cat /proc/asound/cards
- 0 [ICH ]: NFORCE - Intel ICH
- Intel ICH with ALC850 at 0xfebdc000, irq 209
- lspci -v ouput:
- 00:10.2 Multimedia audio controller: nVidia Corporation MCP51 AC97 Audio Control ler (rev a2)
- Subsystem: ASRock Incorporation: Unknown device 0850
- Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 209
- I/O ports at d800 [size=256]
- I/O ports at d400 [size=256]
- Memory at febdc000 (32-bit, non-prefetchable) [size=4K]
- Capabilities: [44] Power Management version 2
【编辑推荐】