How to set group of video and audio devices automatically

Mikkel L. Ellertson mikkel at infinity-ltd.com
Thu May 21 01:47:12 UTC 2009


Derek Tattersall wrote:
> 
> I found that adding this to
> /etc/security/console.perms.d/50-default.perms works:
> 
> <video>=/dev/video*
> <audio>=/dev/snd/* /dev/mixer* /dev/dsp*
> 
> <console>  0660 <video>      0660 root.pulse
> <console>  0660 <audio>      0660 root.pulse
> 
> Then add any users who might want to use those devices to the pulse group
> 
> Unfortunately  this only applies to devices that are plugged in on boot
> up. Are devices that are plugged in after boot up handled by udev?
> 
Have you tried it? I have not looked lately, but I know that udev
used to call console.perms when a device was hotplugged, so it could
set permissions if necessary.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090520/76caa5b6/attachment-0001.sig>


More information about the fedora-list mailing list