Same issue with Lenovo Yoga Pro 2. I've tried a bunch of things and so far nothing.. [SOLUTION BELOW]
UPDATE #1:
So far this seems to work for me:
echo -1 | sudo tee /sys/bus/usb/devices/2-4/power/autosuspend_delay_ms
(where 2-4 is the USB id of the bluetooth card)
UPDATE #2:
I had what felt like it should have been a disconnect and the mouse wouldn't work for a couple of seconds but then it recovered!
The log showed this:
Code:
Feb 12 10:21:44 riker kernel: [ 5533.421298] hid-generic 0005:0A5C:0001.0008: unknown main item tag 0x0
Feb 12 10:21:44 riker kernel: [ 5533.489341] input: Bluetooth 3.0 mouse as /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0/bluetooth/hci0/hci0:256/input18
Feb 12 10:21:44 riker kernel: [ 5533.489748] hid-generic 0005:0A5C:0001.0008: input,hidraw1: BLUETOOTH HID v1.29 Mouse [Bluetooth 3.0 mouse] on 5c:51:4f:a9:0d:b1
Will update again if an actual disconnect happens.
UPDATE #3:
After a whole day without disconnects, I'm relatively convinced that it works!
I added the following to my rc.local:
Code:
# Prevents the Bluetooth USB card from getting reset which disconnects the mouse
BTUSB_DEV="8087:07dc"
BTUSB_BINDING="$(lsusb -d "$BTUSB_DEV" |
cut -f 1 -d : |
sed -e 's,Bus ,,' -e 's, Device ,/,' |
xargs -I {} udevadm info -q path -n /dev/bus/usb/{} |
xargs basename)"
echo "Disabling autosuspend for Bluetooth USB Soundcard: $BTUSB_BINDING..."
echo -1 > "/sys/bus/usb/devices/$BTUSB_BINDING/power/autosuspend_delay_ms"
Pls post if this works/doesn't for you.
Bookmarks