[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to set group of video and audio devices automatically



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!

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]