Web lists-archives.com

Re: Sound in Stretch




On Tue 11 Sep 2018 at 08:23:58 +0200, deloptes wrote:

> Joe wrote:
> 
> > On Mon, 10 Sep 2018 22:54:26 +0200
> 
> > 
> > OK, aplay -l as root sees my USB device as card 1.
> 
> why as root - are you in the audio group?

Having a user in the audio group is unnecessary. ACLs on the devices are
used.

brian@desktop:~$ ls -l /dev/snd/
total 0
drwxr-xr-x  2 root root       60 Jul  9 09:45 by-path
crw-rw----+ 1 root audio 116,  2 Jul  9 09:45 controlC0
crw-rw----+ 1 root audio 116,  4 Aug 28 18:56 pcmC0D0c
crw-rw----+ 1 root audio 116,  3 Sep 10 20:45 pcmC0D0p
crw-rw----+ 1 root audio 116,  6 Jul  9 09:45 pcmC0D1c
crw-rw----+ 1 root audio 116,  5 Jul  9 09:45 pcmC0D1p
crw-rw----+ 1 root audio 116,  1 Jul 14 20:58 seq
crw-rw----+ 1 root audio 116, 33 Jul 14 20:58 timer

brian@desktop:~$ getfacl /dev/snd/timer
getfacl: Removing leading '/' from absolute path names
# file: dev/snd/timer
# owner: root
# group: audio
user::rw-
user:brian:rw-
group::rw-
mask::rw-
other::---

-- 
Brian.