1 |
# /etc/udev/rules/50-udev.rules: device naming rules for udev |
# /etc/udev/rules/50-udev.rules: device naming rules for udev |
2 |
# $Header: /root/magellan-cvs/src/udev/udev.rules.magellan,v 1.10 2009-10-13 10:46:20 niro Exp $ |
# $Header: /root/magellan-cvs/src/udev/udev.rules.magellan,v 1.11 2009-12-27 02:27:13 niro Exp $ |
3 |
# |
# |
4 |
# There are a number of modifiers that are allowed to be used in some |
# There are a number of modifiers that are allowed to be used in some |
5 |
# of the different fields. They provide the following subsitutions: |
# of the different fields. They provide the following subsitutions: |
79 |
SUBSYSTEM=="usb", KERNEL=="lp*", NAME="usb/%k", SYMLINK+="usb%k", GROUP="lp" |
SUBSYSTEM=="usb", KERNEL=="lp*", NAME="usb/%k", SYMLINK+="usb%k", GROUP="lp" |
80 |
KERNEL=="lp[0-9]*", GROUP="lp" |
KERNEL=="lp[0-9]*", GROUP="lp" |
81 |
KERNEL=="irlpt[0-9]*", GROUP="lp" |
KERNEL=="irlpt[0-9]*", GROUP="lp" |
82 |
|
# hplip and cups 1.4+ use raw USB devices, so permissions should be similar to |
83 |
|
# the ones from the old usblp kernel module |
84 |
|
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="", IMPORT{program}="usb_id --export %p" |
85 |
|
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}==":0701*:", GROUP="lp", MODE="660" |
86 |
|
|
87 |
# block |
# block |
88 |
SUBSYSTEM=="block", GROUP="disk" |
SUBSYSTEM=="block", GROUP="disk" |