The HP 4000b mouse is an affordable bluetooth mouse that does work out of the box with Ubuntu but drops out after use for a few minutes or so. This post covers the solution to this problem that worked for me, and this post helpful for TLP users.
In summary, add the following to your rc.local file (the one I used was /etc/rc.local):
And in the TLP config (/etc/default/tlp), add the USB_BLACKLIST="8087:07da". The ID for my device was 8087:07dc as in the rc.local file. These IDs need to match and can be found using lsusb.# 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"
HTH
Cheers Shakes - L3mming
No comments:
Post a Comment