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

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

 



Mikkel L. Ellertson wrote:
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
Yes I did try it. When the device was plugged into the USB port on boot up, the permissions were set as I wanted them to be.

When the device (A USB audio card) was plugged in after boot up, the permissions were not set properly.

I may have to mess with the udev rules further. Maybe if I write some kind of post-install script that manually sets the permissions.

Derek Tattersall

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux