[systemd-devel] [udev] Giving exclusive rights over a sound card to a user

Léo Gillot-Lamure leo.gillot at navaati.net
Sat Jan 10 16:00:00 PST 2015


Brilliant, worked like a charm :

$ ls -l /dev/snd/
total 0
drwxr-xr-x  2 root    root       60 11 janv. 00:52 by-id
drwxr-xr-x  2 root    root      100 11 janv. 00:52 by-path
crw-rw----+ 1 root    audio 116,  2 11 janv. 00:52 controlC0
crw-rw----+ 1 root    audio 116,  7 11 janv. 00:52 controlC1
crw-rw----  1 navaati audio 116, 12 11 janv. 00:52 controlC2
crw-rw----+ 1 root    audio 116,  6 11 janv. 00:52 hwC0D0
crw-rw----+ 1 root    audio 116, 11 11 janv. 00:52 hwC1D0
crw-rw----+ 1 root    audio 116,  3 11 janv. 00:55 pcmC0D3p
crw-rw----+ 1 root    audio 116,  4 11 janv. 00:55 pcmC0D7p
crw-rw----+ 1 root    audio 116,  5 11 janv. 00:55 pcmC0D8p
crw-rw----+ 1 root    audio 116,  9 11 janv. 00:55 pcmC1D0c
crw-rw----+ 1 root    audio 116,  8 11 janv. 00:55 pcmC1D0p
crw-rw----+ 1 root    audio 116, 10 11 janv. 00:52 pcmC1D2c
crw-rw----  1 navaati audio 116, 13 11 janv. 00:55 pcmC2D0p <=== SUCCESS !
crw-rw----+ 1 root    audio 116,  1 11 janv. 00:52 seq
crw-rw----+ 1 root    audio 116, 33 11 janv. 00:52 timer

And pulseaudio gets it right, I get exactly the desired behaviour.

Thanks a lot !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150111/413403da/attachment.html>


More information about the systemd-devel mailing list