Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alsa problems - plays as su but not regular user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Sat Feb 24, 2007 8:53 pm    Post subject: Alsa problems - plays as su but not regular user Reply with quote

I'm getting this error when I try to play an mp3:

ylerm@Station-LV426 ~ $ mpg321 05\ Crawl\ Away.mp3
ALSA lib confmisc.c:848:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:397:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1248:(snd_func_refer) error evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3972:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default
No default libao driver available.


But if I su to root and play the song it plays. The regular user is indeed part of the audio group.

Any ideas?
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sun Feb 25, 2007 1:35 am    Post subject: Reply with quote

Try removing and then reinstalling both alsa-driver and alsa-lib.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
Thaidog
Veteran
Veteran


Joined: 19 May 2004
Posts: 1053

PostPosted: Sun Feb 25, 2007 1:59 am    Post subject: Reply with quote

yabbadabbadont wrote:
Try removing and then reinstalling both alsa-driver and alsa-lib.


Well I recompiled the kernel making all the alsa M's to *'s and now everything works correctly with the normal user account.

Those docs and wiki's on AlSA never work correctly for me. fyi.
_________________
Registered Linux User: 437619
"I'm a big believer in technology over politics" - Linus Torvalds
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum