FC12 udev rules

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


Hi all,
I need to set up a custom rule to give me mode 666 on a custom USB device
(or on all the otherwise un-handled USB devices).
I used to do this (in FC9) by modifying ruleset 50-udev-default.rules at
the libusb entry (I know this was not the 'correct' way, but I could never
understand udev enough to work out what *was* the correct way).

Now that I've moved to FC12, this 50- rulest doesnt exist, and I cant find
where the libusb stuff is now handled. Can someone please tell me how to
correctly add a custom rule. Presumably I have to use a filename which causes
it to be executed in the right order. Does udev stop processing subsequent
rules files when it hits a rule which matches?

In ruleset 50-udev-default.rules I used to have:

###SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0666"


users mailing list
[email protected]
To unsubscribe or change subscription options:
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux