summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-04-13 01:19:41 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:15 -0700
commite3f83d532e2e7415c003e2759750c96ecb635e81 (patch)
tree55623690a0a365bcc4f4d2866268b71b32868d2c /etc
parenta04913b56858448ed42724ab7d544f70289bb2bf (diff)
[PATCH] added rule to put USB printers in their proper places.
Thanks to Dan Weber <dan@mirrorlynx.com> for the info.
Diffstat (limited to 'etc')
-rw-r--r--etc/udev/udev.rules1
-rw-r--r--etc/udev/udev.rules.devfs1
-rw-r--r--etc/udev/udev.rules.gentoo1
3 files changed, 3 insertions, 0 deletions
diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules
index 27a11ae900..ef61eafb8d 100644
--- a/etc/udev/udev.rules
+++ b/etc/udev/udev.rules
@@ -34,6 +34,7 @@ KERNEL="hiddev*", NAME="usb/%k"
KERNEL="auer*", NAME="usb/%k"
KERNEL="legousbtower*", NAME="usb/%k"
KERNEL="dabusb*", NAME="usb/%k"
+BUS="usb", KERNEL="lp[0-9]*", NAME="usb/%k"
# CAPI devices
KERNEL="capi", NAME="capi20", SYMLINK="isdn/capi20"
diff --git a/etc/udev/udev.rules.devfs b/etc/udev/udev.rules.devfs
index f7903a0d23..3934fc6984 100644
--- a/etc/udev/udev.rules.devfs
+++ b/etc/udev/udev.rules.devfs
@@ -78,6 +78,7 @@ KERNEL="hiddev*", NAME="usb/%k"
KERNEL="auer*", NAME="usb/%k"
KERNEL="legousbtower*", NAME="usb/%k"
KERNEL="dabusb*", NAME="usb/%k"
+BUS="usb", KERNEL="lp[0-9]*", NAME="usb/%k"
# netlink devices
KERNEL="route", NAME="netlink/%k"
diff --git a/etc/udev/udev.rules.gentoo b/etc/udev/udev.rules.gentoo
index da41b3e2e5..ab6f3bd405 100644
--- a/etc/udev/udev.rules.gentoo
+++ b/etc/udev/udev.rules.gentoo
@@ -105,6 +105,7 @@ KERNEL="hiddev*", NAME="usb/%k"
KERNEL="auer*", NAME="usb/%k"
KERNEL="legousbtower*", NAME="usb/%k"
KERNEL="dabusb*", NAME="usb/%k"
+BUS="usb", KERNEL="lp[0-9]*", NAME="usb/%k"
# netlink devices
KERNEL="route", NAME="netlink/%k"