You are not logged in.
I have a relativly fresh arch install and was astonished how easy the installation of alsa was. I just installed the alsa-lib package and it automatically detected my PCI soundcard instead of using my onboard chip.
But suddenly (about some hours ago) Amarok refuses to playback on the right soundcard. Instead i get output on my onboard card. I'm using gnome and if i check the Audio settings everything is on "Alsa" and if i click on the "Test" button i get that annoying sine-sound - on the right soundcard. If i try to manually change the sound output in Amarok from "Autodetect" to "Alsa" i get a xine error and Amarok crashes.
Then i tried to define my default soundcard in my .asoundrc:
pcm.!default {
type hw
card 2
}
ctl.!default {
type hw
card 2
}
No luck. What's happening here?
Last edited by Alp (2008-09-29 23:16:35)
Offline
"card 2" would be the *third* card - C geeks start counting from zero. See alsa wiki.
Offline
I have also problem with alsa, dont want to make a new thread so maybe someone can help me here. This is what I have:
[obsrv@home ~]$ aplay
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:583: audio open error: No such file or directory
Any ideas?
"god@heaven$ emerge world"
~ Genesis on Gentoo
Offline
"card 2" would be the *third* card - C geeks start counting from zero. See alsa wiki.
Card 2 should be the right one, because if i start alsamixer i get the right soundcard mixer settings. When starting alsamixer with default card 1 i get an error message: "No mixer elems found"
Offline
Just needed to reboot the system, now it works, I'm such a noob :S
"god@heaven$ emerge world"
~ Genesis on Gentoo
Offline
I deactivated my onboard card in my BIOS and it works now. But this is not a good solution because i want to use mic input of my onboard card. Still searching for a way to use both.
Offline
Still the same problem. It worked for a while (no idea why and not every application), but now suddenly some sound comes out of the wrong soundcard and some doesnt work at all.
In Amarok i get sound from wrong soundcard. If i deactivate my onboard souncard, i get that annoying xine playback error.
In Gnome Audio Settings, all outputs are set to "Alsa" and if i click on the Test Button, i hear the test sound on the right sound card.
In Firefox/Youtube/Flash i get no sound at all atm.
What could i do? It seems to change randomly its mind, and i cant control it
Offline
I was looking for posts here to see if anyone is having sound problem recently, because after my latest system upgrade, sound stopped working..
I changed the settings in GNOME as Alp, and got sound working. It worked when I use GNOME applications, like totem. But does not work with vlc or mplayer for example.
My problem is now solved by adding the following to my /etc/rc.conf:
MODULES=(!snd_pcsp ... )
Posted this here in hope it helps someone with similar problem.
Offline
thanks for your reply. i added it to my rc.conf but didn't try a restart yet.
MODULES=(forcedeth slhc ac97_bus !snd_pcsp snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device snd-seq-midi-event snd-seq snd-page-alloc snd-pcm snd-rawmidi snd-timer snd snd-mpu401-uart snd-mpu401 snd-ak4114 snd-ak4xxx-adda snd-pt2258 snd-i2c snd-ac97-codec snd-ice1724 snd-ice17xx-ak4xxx snd-intel8x0 soundcore)
but my MODULES line is very long, do i really need so much stuff in there?
Last edited by Alp (2008-10-24 15:58:14)
Offline
You are welcome And yeah I needed a reboot for it to work.
I do not know enough to answer about most modules mentioned in your post, but am sure many of them can be safely removed, especially the ones that start with snd-, because surely you do not have that many soundcards installed in one machine.
Offline
Maybe there is a help page somewhere which describes all that modules?
Offline
1. http://wiki.archlinux.org/index.php/ALSA
2. http://alsa.opensrc.org/MultipleCards (temporary cached version: http://66.102.9.104/search?q=cache:5mQx … =firefox-a) + other links from this site should be very helpful.
EDIT: what type/brand of card are you trying to get working?
Last edited by UnbreakableMJ (2008-10-24 16:37:19)
Offline