Talk:HOWTO Customizing UDEV
From Gentoo Linux Wiki
Is there really any need for this Wiki? The data already exists at Reactivated. Everything was just copied to Gentoo-Wiki. It's just something else that needs to be kept up when we could just redirect this page to the actual udev rules site. Just a thought. If some disagrees, please explain. Otherwise, I think this page should go up for Deletion (or at least changed to forward people to the correct page). Dark Ninja
- AFAIK, The creator of the HOWTO posted it here. If he wants it here, I don't think we should delete it. I posted a link to the original HOWTO on his web site, though. -Tro 05:20, 1 Mar 2005 (GMT)
Thanks for the Howto. Just one question: I've allowed users to mount (with the user param in fstab) usb devices - but ejecting doesn't seem to work. How can I fix this?
- don't agree
see etc/udev/rules.d/50-udev.rules
# /etc/udev/udev.rules: device naming rules for udev
#
# Gentoo specific rules, based a bit on devfs rules, but much simpler.
#
# There are a number of modifiers that are allowed to be used in some of the
# fields. See the udev man page for a full description of them.
intstead we need to make this tutorial compilant with gentoo
Contents |
[edit] Licence
why gpl2 instead of fdl?
just curious(i'm not critisizing)
[edit] Can you do that here?
Can you even choose your own license when posting to the wiki? I thought it had to take on the license of the wiki and the other articles therein.
--JBDubbs
[edit] Possible note for the how-to-find-right directory section
Hello,
thanks for the info on udev. I'm using SUSE and had to match up some /dev entries to sysfs entries. Using udevinfo didn't help. Instead I started udevmonitor ("udevmonitor -e" at the command line as root). Then I unplugged the USB-to-16 port serial hub I was investigating. udevmonitor reported a series of "remove" signals with enough detail that I could see both the /dev/ttyUSB* entries (which I knew) and the /sys/devices/pci* entries (which I had been looking for).
Hoping this note proves useful to others.
-SMesser
[edit] Correction regarding the possible keys
This document states that one isn't supposed to use rules from different sections of the udevinfo output. This is not entirely true. According to the udev man page, you can use ATTRS{file} keys from different sections without causing any problems. Also the DRIVER=="usb" keys seem to be depreceated. They are now called SUBSYSTEMS=="usb". bB
[edit] Documentation is old
The documentation here and in reactivated both seem old. At least, from what i understood is that ATTR and ATTRS are now used instead of SYSFS. But please correct me if i'm wrong. This is based on udev-114
xushi
