You are not logged in.

#1 2019-05-09 14:43:13

dreivier
Member
Registered: 2016-04-07
Posts: 36

Bluetooth mouse lags after some time

My Logitech MX900 works well with the builtin bluetooth support of my dell optiplex 7050.
However, after some time without use, e.g. typing this post the mouse will be unresponsive for a couple of seconds.

The same btw is true for my Apple Magic Trackpad v1 that also shows the same symptoms.

This looks like autosuspend as described in the wiki but reading lsusb there is no entry for my bluetooth adapter:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 8087:0a2b Intel Corp.
Bus 001 Device 012: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 003: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So I'm wondering what to do. Any ideas?

Offline

#2 2019-05-09 14:47:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,237

Re: Bluetooth mouse lags after some time

run that lsusb with the -t argument, hint, it's likely the intel corp device.

Otherwise check dmesg, it will likely contain information on which device is used for bluetooth

Last edited by V1del (2019-05-09 14:50:20)

Offline

#3 2019-05-09 14:49:19

dreivier
Member
Registered: 2016-04-07
Posts: 36

Re: Bluetooth mouse lags after some time

There we go smile

lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 5: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 7: Dev 12, If 0, Class=Hub, Driver=hub/4p, 480M
    |__ Port 9: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 9: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M

Offline

#4 2019-05-09 14:50:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,237

Re: Bluetooth mouse lags after some time

And as noted it's the intel corp device. So try to disable autosuspend on that.

Offline

#5 2019-05-13 10:06:19

dreivier
Member
Registered: 2016-04-07
Posts: 36

Re: Bluetooth mouse lags after some time

after getting all the ids via:

me@home:~ lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 5: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 7: Dev 11, If 0, Class=Hub, Driver=hub/4p, 480M
    |__ Port 9: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 9: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
me@home:~ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2b Intel Corp.
Bus 001 Device 011: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I set up autosuspend via a blacklist according to https://wiki.archlinux.org/index.php/Po … utosuspend:

# /etc/udev/rules.d/50-usb_autosuspend.rules
# blacklist for usb autosuspend
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="8087", ATTR{idProduct}=="0a2b", GOTO="power_usb_rules_end"

ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="auto"
LABEL="power_usb_rules_end"

Tio make sure it works I reloaded udev:

sudo udevadm control --reload

It still lags after completing this reply. Are the rules correct?

Offline

Board footer

Powered by FluxBB