--- trunk/udev/udev-hid2hci.rules.magellan 2010/04/06 23:46:22 1016 +++ trunk/udev/udev-hid2hci.rules.magellan 2010/08/18 02:24:13 1088 @@ -1,5 +1,5 @@ # /etc/udev/rules/70-hid2hci.rules: device naming rules for udev -# $Header: /root/magellan-cvs/src/udev/udev-hid2hci.rules.magellan,v 1.2 2010-04-06 23:46:22 niro Exp $ +# $Header: /root/magellan-cvs/src/udev/udev-hid2hci.rules.magellan,v 1.3 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="hid2hci_end" +ACTION=="remove", GOTO="hid2hci_end" SUBSYSTEM!="usb", GOTO="hid2hci_end" # Variety of Dell Bluetooth devices - match on a mouse device that is @@ -28,8 +28,10 @@ ATTRS{bDeviceClass}=="00", ATTRS{idVendor}=="413c", ATTRS{bmAttributes}=="e0", \ RUN+="hid2hci --method=dell --devpath=%p", ENV{HID2HCI_SWITCH}="1" -# Logitech devices (hidraw) -KERNEL=="hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \ +# Logitech devices +KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[35e]", \ + RUN+="hid2hci --method=logitech-hid --devpath=%p" +KERNEL=="hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[4abc]|c71[34bc]", \ RUN+="hid2hci --method=logitech-hid --devpath=%p" ENV{DEVTYPE}!="usb_device", GOTO="hid2hci_end"