diff options
author | Marco d'Itri <md@Linux.IT> | 2006-08-23 01:20:56 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-08-23 01:20:56 +0200 |
commit | 49e7f5a05f7fc2a223aa9592530a6dbdc0ebfd4a (patch) | |
tree | a95ba4abb7accae025aa35c0c2be24c9592ea297 /etc/udev/debian/udev.rules | |
parent | 2f64aa4056835231ed297a79d39d5416e0045d0c (diff) |
update Debian rules
Diffstat (limited to 'etc/udev/debian/udev.rules')
-rw-r--r-- | etc/udev/debian/udev.rules | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/etc/udev/debian/udev.rules b/etc/udev/debian/udev.rules index 023337445c..6498a131da 100644 --- a/etc/udev/debian/udev.rules +++ b/etc/udev/debian/udev.rules @@ -3,7 +3,6 @@ # # %n the "kernel number" of the device. # For example, 'sda3' has a "kernel number" of '3' -# %e the smallest number for that name which does not matches an existing node # %k the kernel name for the device # %M the kernel major number for the device # %m the kernel minor number for the device @@ -14,21 +13,23 @@ # # workaround for devices which do not report media changes -BUS=="ide", KERNEL=="hd[a-z]", SYSFS{removable}=="1", \ +SUBSYSTEMS=="ide", KERNEL=="hd[a-z]", ATTRS{removable}=="1", \ ENV{ID_MODEL}=="IOMEGA_ZIP*", NAME="%k", OPTIONS+="all_partitions" +SUBSYSTEMS=="ide", KERNEL=="hd[a-z]", ATTRS{media}=="floppy", \ + OPTIONS+="all_partitions" # SCSI devices -BUS=="scsi", KERNEL=="sr[0-9]*", NAME="scd%n", SYMLINK+="sr%n" +SUBSYSTEMS=="scsi", KERNEL=="sr[0-9]*", NAME="scd%n", SYMLINK+="sr%n" # USB devices -BUS=="usb", KERNEL=="auer[0-9]*", NAME="usb/%k" -BUS=="usb", KERNEL=="cpad[0-9]*", NAME="usb/%k" -BUS=="usb", KERNEL=="dabusb*", NAME="usb/%k" -BUS=="usb", KERNEL=="hiddev*", NAME="usb/%k" -BUS=="usb", KERNEL=="legousbtower*", NAME="usb/%k" -BUS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k" -BUS=="usb", KERNEL=="ttyUSB*", \ - SYSFS{product}=="Palm Handheld*|Handspring Visor", \ +SUBSYSTEMS=="usb", KERNEL=="auer[0-9]*", NAME="usb/%k" +SUBSYSTEMS=="usb", KERNEL=="cpad[0-9]*", NAME="usb/%k" +SUBSYSTEMS=="usb", KERNEL=="dabusb*", NAME="usb/%k" +SUBSYSTEMS=="usb", KERNEL=="hiddev*", NAME="usb/%k" +SUBSYSTEMS=="usb", KERNEL=="legousbtower*", NAME="usb/%k" +SUBSYSTEMS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k" +SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", \ + ATTRS{product}=="Palm Handheld*|Handspring Visor|palmOne Handheld", \ SYMLINK+="pilot" # usbfs-like devices @@ -47,6 +48,7 @@ KERNEL=="card[0-9]*", NAME="dri/%k" # misc devices KERNEL=="hw_random", NAME="hwrng" KERNEL=="tun", NAME="net/%k" +KERNEL=="evtchn", NAME="xen/%k" KERNEL=="cdemu[0-9]*", NAME="cdemu/%n" KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/%n" |