From e3f83d532e2e7415c003e2759750c96ecb635e81 Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Tue, 13 Apr 2004 01:19:41 -0700 Subject: [PATCH] added rule to put USB printers in their proper places. Thanks to Dan Weber for the info. --- etc/udev/udev.rules | 1 + etc/udev/udev.rules.devfs | 1 + etc/udev/udev.rules.gentoo | 1 + 3 files changed, 3 insertions(+) (limited to 'etc') 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" -- cgit v1.2.3-54-g00ecf