--- trunk/udev/udev-persistent-input.rules.magellan 2010/08/18 00:57:31 1087 +++ trunk/udev/udev-persistent-input.rules.magellan 2010/08/18 02:24:13 1088 @@ -1,5 +1,5 @@ # /etc/udev/rules/60-persistent-input.rules: device naming rules for udev -# $Header: /root/magellan-cvs/src/udev/udev-persistent-input.rules.magellan,v 1.9 2010-04-06 23:46:22 niro Exp $ +# $Header: /root/magellan-cvs/src/udev/udev-persistent-input.rules.magellan,v 1.10 2010-08-18 02:24:12 niro Exp $ # # There are a number of modifiers that are allowed to be used in some # of the different fields. They provide the following subsitutions: @@ -18,7 +18,7 @@ # file that can be run before this one. # -ACTION!="add|change", GOTO="persistent_input_end" +ACTION=="remove", GOTO="persistent_input_end" SUBSYSTEM!="input", GOTO="persistent_input_end" KERNEL=="input[0-9]*", GOTO="persistent_input_end" @@ -45,7 +45,7 @@ SYMLINK+="input/by-id/$env{ID_BUS}-$env{ID_SERIAL}-event-if$attr{bInterfaceNumber}" # by-path -SUBSYSTEMS=="usb|platform", IMPORT{program}="path_id %p" +SUBSYSTEMS=="pci|usb|platform", IMPORT{program}="path_id %p" ENV{ID_PATH}=="?*", KERNEL=="mouse*|js*", ENV{.INPUT_CLASS}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-$env{.INPUT_CLASS}" ENV{ID_PATH}=="?*", KERNEL=="event*", ENV{.INPUT_CLASS}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-event-$env{.INPUT_CLASS}" # allow empty class for platform and usb devices; platform supports only a single interface that way