Hey, Logitech usb bluetooth dongles that have a HID mode need to be retriggered into HCI mode after S3 just like Dell ones otherwise they'll just disappear and my bluetooth stops working :/ See attached patch for a potential fix. Sjoerd -- Death is God's way of telling you not to be such a wise guy.
>From 95c18dd070e00a3a641b70fbedcbccb878e817ad Mon Sep 17 00:00:00 2001 From: Sjoerd Simons <sjoerd.simons@xxxxxxxxxxxxxxx> Date: Tue, 23 Mar 2010 23:31:38 +0000 Subject: [PATCH] hid2hci: re-trigger switching for logitech devices after S3 When going to S3 logitech usb dongles will loose their bluetooth interface, so the switch needs to be retriggered afterwards in the same way that's needed for Dell devices. --- extras/hid2hci/70-hid2hci.rules | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/extras/hid2hci/70-hid2hci.rules b/extras/hid2hci/70-hid2hci.rules index 01ff30d..8150419 100644 --- a/extras/hid2hci/70-hid2hci.rules +++ b/extras/hid2hci/70-hid2hci.rules @@ -12,14 +12,15 @@ ATTR{bInterfaceClass}=="03", ATTR{bInterfaceSubClass}=="01", ATTR{bInterfaceProt # Logitech devices KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \ - RUN+="hid2hci --method=logitech-hid --devpath=%p" + RUN+="hid2hci --method=logitech-hid --devpath=%p", ENV{HID2HCI_SWITCH}="1" 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", \ +# When a Dell device recovers from S3 or a logitech usb dongle is connected +# during 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|046d", \ ENV{REMOVE_CMD}="/sbin/udevadm trigger --action=change --subsystem-match=usb --property-match=HID2HCI_SWITCH=1" # CSR devices -- 1.7.0.3