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?