summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2008-03-13 15:57:33 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-03-13 15:57:33 +0100
commit0d57399d92cfc6ff082df22ff0047e41927490d1 (patch)
treef673b8f5e78dd620dc4ade9356ffcd16072ced71
parent35ea39e277338192f1140492234ce993a56ecb2c (diff)
rules: Fedora update
-rw-r--r--etc/udev/redhat/40-redhat.rules4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/udev/redhat/40-redhat.rules b/etc/udev/redhat/40-redhat.rules
index 30da7d3bdc..446cc6d1d5 100644
--- a/etc/udev/redhat/40-redhat.rules
+++ b/etc/udev/redhat/40-redhat.rules
@@ -5,12 +5,10 @@ KERNEL=="hd*[0-9]", ATTRS{media}=="floppy", ATTRS{removable}=="1", SYMLINK+="flo
KERNEL=="fw*", PROGRAM="fw_unit_symlinks.sh %k %n", SYMLINK+="$result"
-ACTION=="add", KERNEL=="sg[0-9]*", BUS=="scsi", ATTRS{type}=="[36]", SYMLINK+="scanner scanner-%k", MODE="0660"
+ACTION=="add", KERNEL=="sg[0-9]*", BUS=="scsi", ATTRS{type}=="3|6", SYMLINK+="scanner scanner-%k", MODE="0660"
ACTION=="add", KERNEL=="sg[0-9]*", BUS=="scsi", ATTRS{type}=="8", SYMLINK+="changer changer-%k", MODE="0660", GROUP="disk"
-ACTION=="add", SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0644"
-
BUS=="usb", KERNEL=="sd*", ATTRS{bInterfaceClass}=="08", ATTRS{bInterfaceSubClass}=="04", GROUP="floppy", MODE="0660", SYMLINK+="floppy floppy-%k"
KERNEL=="fd[0-9]*", SYMLINK+="floppy floppy-%k"