ALSA only working for root?

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

ALSA only working for root?

Postby gschoppe » Tue Jul 16, 2013 3:46 pm

I installed ALSA and configured my DAC, based on the instructions here: http://blog.qnology.com/2013/03/tutorial-pogoplug-e02-with-arch-linux.html

To be Precise, I ran:
$this->bbcode_second_pass_code('', '#Install some required packages
pacman -Sy libao alsa-utils avahi libpulse

#audio fix
echo "use_mmap=no" >> /etc/libao.conf

#Configure alsa - asound.conf file
#Try the following three files (in order).

#standard - will work with most usb dacs - CMedia, PCM2704
#Allow multiple sound sources at once
#(squeezelite and shairport)
cd /etc
wget https://dl.dropbox.com/u/42238/pogoplug/v2/asound.conf')

now, I have the following issue:

If I run speaker-test as root, it works fine. If I run it as any other user, such as http, it tells me that it has an invalid value for card. so, I ran "aplay -l" as root and as http, and compared:
$this->bbcode_second_pass_code('', '
[root@pianobar ~]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
[root@pianobar ~]# sudo -u http aplay -l
aplay: device_list:268: no soundcards found...
')

Why is root seeing the hardware, but not http? How can I fix this?
gschoppe
 
Posts: 28
Joined: Thu Feb 21, 2013 11:58 pm

Re: ALSA only working for root?

Postby xenoxaos » Tue Jul 16, 2013 4:34 pm

Is 'http' part of the audio group?
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: ALSA only working for root?

Postby gschoppe » Tue Jul 16, 2013 6:59 pm

Thank you! I had no idea there even was an audio group!
gschoppe
 
Posts: 28
Joined: Thu Feb 21, 2013 11:58 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 1 guest