diff options
author | Mario Limonciello <mario_limonciello@dell.com> | 2009-07-22 00:33:27 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-07-22 00:33:27 +0200 |
commit | 5bacd2aadc854a0c01934bab76d4f575543d361e (patch) | |
tree | 1004c3f879ef850c835042466698ae879767ce21 /extras/hid2hci/70-hid2hci.rules | |
parent | be7fec4815ef3e96f2454b7fbcd08ac408f387d8 (diff) |
hid2hci: support to hid2hci for recovering Dell BT devices after S3
Diffstat (limited to 'extras/hid2hci/70-hid2hci.rules')
-rw-r--r-- | extras/hid2hci/70-hid2hci.rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extras/hid2hci/70-hid2hci.rules b/extras/hid2hci/70-hid2hci.rules index caf9120f53..47eec00abe 100644 --- a/extras/hid2hci/70-hid2hci.rules +++ b/extras/hid2hci/70-hid2hci.rules @@ -11,6 +11,11 @@ SUBSYSTEM!="usb", GOTO="hid2hci_end" ATTR{bInterfaceClass}=="03", ATTR{bInterfaceSubClass}=="01", ATTR{bInterfaceProtocol}=="02", ATTRS{bDeviceClass}=="00", ATTRS{idVendor}=="413c", ATTRS{bmAttributes}=="e0", \ RUN+="hid2hci --method dell -v $attr{idVendor} -p $attr{idProduct} --mode hci" +# 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", IMPORT{parent}="ID_*", ENV{REMOVE_CMD}="hid2hci --method dell -v $env{ID_VENDOR_ID} -p $env{ID_MODEL_ID} --mode hci -s 02" + ENV{DEVTYPE}!="usb_device", GOTO="hid2hci_end" # Logitech devices |