chiark / gitweb /
hid2hci: remove superfluous bmAttributes match
authorMario Limonciello <Mario_Limonciello@dell.com>
Thu, 20 Aug 2009 17:43:51 +0000 (19:43 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 20 Aug 2009 17:43:51 +0000 (19:43 +0200)
For the retrigger of the device on remove we were trying to match bmAttributes
of self powered which is unnecessary.

extras/hid2hci/70-hid2hci.rules

index b332c168e981682eb58e29699b64f7b154fb6663..e133afd62546a37a598ffd317badd0cb7081823e 100644 (file)
@@ -19,8 +19,7 @@ ENV{DEVTYPE}!="usb_device", GOTO="hid2hci_end"
 # When a Dell device recovers from S3, the mouse child needs to be repoked
 # Unfortunately the only event seen is the BT device disappearing, so the mouse
 # device needs to be chased down on the USB bus.
-ATTR{bDeviceClass}=="e0", ATTR{bDeviceSubClass}=="01", ATTR{bDeviceProtocol}=="01", \
-  ATTR{idVendor}=="413c", ATTR{bmAttributes}=="e0", \
+ATTR{bDeviceClass}=="e0", ATTR{bDeviceSubClass}=="01", ATTR{bDeviceProtocol}=="01", ATTR{idVendor}=="413c", \
   ENV{REMOVE_CMD}="/sbin/udevadm trigger --action=change --subsystem-match=usb --property-match=HID2HCI_SWITCH=1"
 
 # CSR devices