Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The reason why Linux Aplay can't be played and its solution

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail the reasons why Linux Aplay can not be played and the solutions. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

My motherboard is 939NF4G-SATA2 built-in sound card, Nforce4 410 controller, Realtek ALC850 AC97 codec. I did not install the OSS sound card driver provided by Nvidia (NFORCE-Linux-x86_64-1. 0-0310-pkg1.run). Instead, I installed alsa-XXX-1.0.10.Linux Aplay that could not play and there was an error.

Start / proc/asound/cards always-- no soundcards--. Later, I added "{0x10derecast 0x026b recompiled" to alsa-driver-1.0.10/sound/pci/intel8x0.c, and recompiled it. Now the sound card can finally be detected. Sound can be made with systen-config-soundcard.

The following error occurs when playing with 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

Playing with xmms also indicates that there is a problem and cannot be played.

It feels like there is any configuration of Linux Aplay that has not been modified accordingly. (/ etc/alsa/???)

I configured it with alsaconf. It didn't work.

The following is the Linux Aplay problem resolution code

[root@localhost ~] # cat / proc/asound/cards 0 [ICH]: NFORCE-Intel ICH Intel ICH with ALC850 at 0xfebdc000, irq 209 lspci-v ouput: 00proc/asound/cards 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 amp O ports at d800 [size=256] O ports at d400 [size=256] Memory at febdc000 (32-bit) Non-prefetchable) [size=4K] Capabilities: [44] Power Management version 2 is here to share the reasons why Linux Aplay cannot be played and the solutions. I hope the above content can be of some help to you and learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report