[Solved] Need sudo for Hifiberry Digi to work

Hey, I want to set up Volumio 1.4 for a friend on a Raspberry Pi B with Hifiberry Digi. I made a fresh install on a 16GB SD card. However I can’t use any command without using sudo. wget for example doesn’t work without sudo. The Hifiberry Digi also only works with sudo:

volumio@volumio:~$ aplay -l aplay: device_list:268: no soundcards found... volumio@volumio:~$ sudo aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HifiBerry Digi HiFi wm8804-spdif-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 volumio@volumio:~$

What should I do?

If you login as root you won’t need sudo command for anything.

Yeah but the problem was that the music player didn’t recognize the Hifiberry Digi and didn’t output any sound because it had no root permissions.

I was able to fix this with

sudo addgroup volumio audio

So problem solved!