chiark / gitweb /
[PATCH] added rule to put USB printers in their proper places.
authorgreg@kroah.com <greg@kroah.com>
Tue, 13 Apr 2004 08:19:41 +0000 (01:19 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:35:15 +0000 (21:35 -0700)
Thanks to Dan Weber <dan@mirrorlynx.com> for the info.

etc/udev/udev.rules
etc/udev/udev.rules.devfs
etc/udev/udev.rules.gentoo

index 27a11ae..ef61eaf 100644 (file)
@@ -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"
index f7903a0..3934fc6 100644 (file)
@@ -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"
index da41b3e..ab6f3bd 100644 (file)
@@ -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"