On 02/02/2015 03:10 PM, sean darcy wrote:
I'm trying to play some sound as a user. But pulseaudio can't
find any
outputs:
$ aplay -l
aplay: device_list:268: no soundcards found...
But, as root, aplay sees the integrated sound card:
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT2020 Analog [VT2020 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: VT2020 Digital [VT2020 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: VT2020 Alt Analog [VT2020 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
I'd just use root if I could, by pulseaudio doesn't like that.
sean
OK, thanks to archwiki, solved this by adding the user to group audio
usermod -a -G audio [user]
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: VT2020 Analog [VT2020 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
.......
But pulseaudio still only has the dummy soundcard:
pacmd list-sinks
1 sink(s) available.
* index: 0
............
properties:
device.description = "Dummy Output"
device.class = "abstract"
device.icon_name = "audio-card"
Puzzled why this is so complicated.
sean