You are not logged in.

#1 2008-08-28 17:12:04

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Can only play sound as root (Solved)

I followed these steps: http://wiki.archlinux.org/index.php/ALSA to get my sound working. However, I can only play sound when logged in as root, even though I've added my user to the audio group.

I am getting this output:

Can't load plugin libffmpeg_decoder: libavformat.so.52: cannot open shared object file: No such file or directory
Can't load plugin libmusepack_decoder: libtag_c.so.0: cannot open shared object file: No such file or directory
Running the server...
Trying JACK...
Trying ALSA...
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:2144:(snd_pcm_open_noupdate) Unknown PCM default
Trying OSS...

FATAL_ERROR: No valid sound driver


FATAL_ERROR: Server exited

Last edited by dmz (2008-08-29 17:56:54)

Offline

#2 2008-08-28 19:32:58

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: Can only play sound as root (Solved)

22:31:39 papio@baboon:~$ ls -la /dev/snd
total 0
drwxr-xr-x  2 root root        0 2008-08-27 20:59 .
drwxr-xr-x 19 root root        0 2008-08-28 17:11 ..
crw-rw----  1 root audio 116, 10 2008-08-27 20:59 controlC0
crw-rw----  1 root audio 116,  9 2008-08-27 20:59 hwC0D0
crw-rw----  1 root audio 116,  8 2008-08-27 20:59 hwC0D1
crw-rw----  1 root audio 116,  7 2008-08-28 14:09 pcmC0D0c
crw-rw----  1 root audio 116,  6 2008-08-28 22:03 pcmC0D0p
crw-rw----  1 root audio 116,  5 2008-08-27 20:59 pcmC0D1p
crw-rw----  1 root audio 116,  4 2008-08-27 20:59 pcmC0D2c
crw-rw----  1 root audio 116,  3 2008-08-27 20:59 seq
crw-rw----  1 root audio 116,  2 2008-08-27 20:59 timer
22:32:19 papio@baboon:~$

check if it is rw for group as in mine


Zygfryd Homonto

Offline

#3 2008-08-29 04:06:22

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Can only play sound as root (Solved)

zyghom, thanks for answering. Seems like I did everything right except for one thing - I forgot to actually log out. What a shame. Now everything works just fine.

Offline

#4 2008-08-29 17:56:06

Onwards
Member
From: Pakistan
Registered: 2007-04-18
Posts: 108

Re: Can only play sound as root (Solved)

Mark this thread as [Solved]  please !!

Offline

Board footer

Powered by FluxBB