You are not logged in.

#1 2010-04-07 00:15:18

Chimera
Member
From: Run Level 7
Registered: 2010-03-28
Posts: 43

[solved] alsa cannot find card '0'

Hi guys! I'm a recent convert from fedora and I'm still trying to get things set up.

My current problem is when I try to play online music. I have flash installed, and youtube videos work, but music doesn't. When I try to play a song, I get these errors from alsa:

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_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:4154:(_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:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib pcm_hw.c:1399:(_snd_pcm_hw_open) Invalid value for card

Interestingly, these errors show up in my root terminal, NOT my regular user terminal, where I ran firefox from.
And I have used alsaconf to configure my sound card.

This might be a related problem: when I run alsamixer as regular user, I get the error: "cannot open mixer: No such file or directory"

thanks in advance for the help!

Last edited by Chimera (2010-04-15 14:11:58)

Offline

#2 2010-04-07 00:36:57

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [solved] alsa cannot find card '0'

Did you install alsa-utils?

Offline

#3 2010-04-07 01:21:29

Chimera
Member
From: Run Level 7
Registered: 2010-03-28
Posts: 43

Re: [solved] alsa cannot find card '0'

yep. I wasn't sure what I needed so I got alsa-utils, alsa-firmware, alsa-lib and alsa-oss

Offline

#4 2010-04-07 01:23:24

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: [solved] alsa cannot find card '0'

Offline

#5 2010-04-07 01:43:26

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: [solved] alsa cannot find card '0'

Chimera wrote:

yep. I wasn't sure what I needed so I got alsa-utils, alsa-firmware, alsa-lib and alsa-oss

ls /usr/bin | grep alsa

See if alsamixer is there

Last edited by cesura (2010-04-07 01:43:55)

Offline

#6 2010-04-07 01:53:59

Chimera
Member
From: Run Level 7
Registered: 2010-03-28
Posts: 43

Re: [solved] alsa cannot find card '0'

I do have alsamixer--I'm able to run it as root, just not as a regular user

And also, I followed the wiki, and I was able to play the example wav file. I also no longer get the errors in my terminal, but music still doesn't play. If it helps, the website is playlist.com. I think it's closer to flash than alsa, actually, except videos still work fine, but without sound.

Offline

#7 2010-04-07 03:58:52

Michael C.
Member
From: Vancouver, BC
Registered: 2009-12-16
Posts: 33

Re: [solved] alsa cannot find card '0'

Correct me if I'm wrong, but this sounds like a missing /etc/group entry? "usermod -G audio" and all that?

Offline

#8 2010-04-07 14:07:47

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: [solved] alsa cannot find card '0'

Michael C. wrote:

Correct me if I'm wrong, but this sounds like a missing /etc/group entry? "usermod -G audio" and all that?

probably, but i supposed he follows the wiki doc without missing a step.

Offline

#9 2010-04-15 14:11:37

Chimera
Member
From: Run Level 7
Registered: 2010-03-28
Posts: 43

Re: [solved] alsa cannot find card '0'

I know nobody's reading this anymore, but I just wanted to say it's working now. It just started working one day hmm
thx for the help everyone.

Offline

#10 2011-02-27 19:04:30

fakedrake
Member
Registered: 2011-02-09
Posts: 18

Re: [solved] alsa cannot find card '0'

same problem here sad
didnt fix itself so far...

Offline

#11 2021-11-16 04:29:38

Z3r0CooL
Member
Registered: 2021-11-16
Posts: 1

Re: [solved] alsa cannot find card '0'

Run Spotifyd as sudo, if it works as sudo but not as user, you an make group permission adjustments

Last edited by Z3r0CooL (2021-11-16 04:29:53)

Offline

#12 2021-11-16 05:25:06

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [solved] alsa cannot find card '0'

@Z3r0CooL
We appreciate the intention to help but the last post in this thread is over 10 years old. Please read our policy about necrobumping.

Closed.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB