chiark / gitweb /
update Debian rules
authorMarco d'Itri <md@Linux.IT>
Mon, 1 May 2006 01:32:30 +0000 (03:32 +0200)
committerKay Sievers <kay.sievers@suse.de>
Mon, 1 May 2006 01:32:30 +0000 (03:32 +0200)
etc/udev/debian/permissions.rules
etc/udev/debian/persistent-input.rules
etc/udev/debian/persistent.rules

index b010353a22040c86d286d7384ed23dd738868720..8da35c3090e1491db66743be88110b901bb10606 100644 (file)
@@ -5,6 +5,8 @@ DEVPATH=="/devices/*", ENV{PHYSDEVBUS}=="?*",   WAIT_FOR_SYSFS="bus"
 SUBSYSTEM=="scsi",                             WAIT_FOR_SYSFS="ioerr_cnt"
 # only needed for kernels < 2.6.16
 SUBSYSTEM=="net",                              WAIT_FOR_SYSFS="address"
+# only needed for kernels < 2.6.17
+SUBSYSTEM=="net", ENV{PHYSDEVDRIVER}=="?*",    WAIT_FOR_SYSFS="device/driver"
 
 # default permissions for block devices
 SUBSYSTEM=="block",                            GROUP="disk"
index 95021b1646645b43f43e518ae8dc9435b953298c..339a365048bca39c1d05f11607b5705f76cd1702 100644 (file)
@@ -5,9 +5,9 @@ KERNEL=="input[0-9]*",                  GOTO="persistent_input_end"
 
 # usb devices
 BUS=="usb",                            IMPORT{program}="usb_id -x"
-BUS=="usb", SYSFS{bInterfaceClass}="03", SYSFS{bInterfaceProtocol}="01", \
+BUS=="usb", SYSFS{bInterfaceClass}=="03", SYSFS{bInterfaceProtocol}=="01", \
                                        ENV{ID_CLASS}="kbd"
-BUS=="usb", SYSFS{bInterfaceClass}="03", SYSFS{bInterfaceProtocol}="02", \
+BUS=="usb", SYSFS{bInterfaceClass}=="03", SYSFS{bInterfaceProtocol}=="02", \
                                        ENV{ID_CLASS}="mouse"
 
 # by-id links, generic and for the event devices
index 7fc86246f3dd604e83b8ec62b2e3ab71f66efafc..9f1887ddea1f18b4e1a299d38eb3bd0f6efa5458 100644 (file)
@@ -33,8 +33,7 @@ KERNEL=="*[!0-9]", \
        IMPORT{program}="edd_id --export $tempnode"
 
 # find the physical path of the device
-KERNEL=="*[!0-9]|sr*|st*",             ENV{ID_TYPE}=="?*", \
-       IMPORT{program}="path_id $devpath"
+KERNEL=="*[!0-9]|sr*|st*",             IMPORT{program}="path_id $devpath"
 
 # import the variables of partitions from the parent disks
 KERNEL=="*[0-9]",                      IMPORT{parent}="ID_*"