I have a lenovo yoga bluetooth mouse, connected to my XPS13 (ubuntu 18.04).
The mouse is laggy.
I try evhz (from here https://gitlab.com/iankelling/evhz). With this mouse, I have about 22Hz
Lenovo YOGA Mouse Mouse: Latest 22Hz, Average 21Hz
Lenovo YOGA Mouse Mouse: Latest 21Hz, Average 21Hz
Lenovo YOGA Mouse Mouse: Latest 22Hz, Average 21Hz
Lenovo YOGA Mouse Mouse: Latest 21Hz, Average 21Hz
Lenovo YOGA Mouse Mouse: Latest 22Hz, Average 21Hz
Lenovo YOGA Mouse Mouse: Latest 21Hz, Average 21Hz
Lenovo YOGA Mouse Mouse: Latest 22Hz, Average 21Hz
Lenovo YOGA Mouse Mouse: Latest 22Hz, Average 21Hz
Lenovo YOGA Mouse Mouse: Latest 22Hz, Average 21Hz
I have "0" here:
$ cat /sys/module/usbhid/parameters/mousepoll
0
My touchpad or other mouse show about 125Hz which is ok for me.
I found a few forum/howto explaining how to change "mousepoll" of USBHID. but I still get 0 in /sys/module/usbhid/parameters/mousepoll and still 22Hz. Moreover, I have a bluetooth mouse....not sure if USBHID can influence here?
by the way, If I do "rmmod usbhid", I immediatly loose my USB keyboard, USB mouse, but the laptop keyboard, touchpad and my laggy bluetooth mouse still works (and still laggy)... I guess it means the mouse is not managed by usbhid....
I also found this:
$ systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2019-04-11 17:13:11 CEST; 17min ago
Docs: man:bluetoothd(8)
Main PID: 1507 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bluetooth.service
└─1507 /usr/lib/bluetooth/bluetoothd
avril 11 17:13:36 celestin bluetoothd[1507]: bt_uhid_send: Invalid argument (22)
avril 11 17:13:36 celestin bluetoothd[1507]: bt_uhid_send: Invalid argument (22)
avril 11 17:13:36 celestin bluetoothd[1507]: bt_uhid_send: Invalid argument (22)
avril 11 17:13:36 celestin bluetoothd[1507]: bt_uhid_send: Invalid argument (22)
avril 11 17:13:36 celestin bluetoothd[1507]: bt_uhid_send: Invalid argument (22)
avril 11 17:13:36 celestin bluetoothd[1507]: bt_uhid_send: Invalid argument (22)
avril 11 17:13:45 celestin bluetoothd[1507]: Endpoint unregistered: sender=:1.119 path=/MediaEndpoint/A2DPSource
avril 11 17:13:45 celestin bluetoothd[1507]: Endpoint unregistered: sender=:1.119 path=/MediaEndpoint/A2DPSink
avril 11 17:13:50 celestin bluetoothd[1507]: Endpoint registered: sender=:1.138 path=/MediaEndpoint/A2DPSource
avril 11 17:13:50 celestin bluetoothd[1507]: Endpoint registered: sender=:1.138 path=/MediaEndpoint/A2DPSink
Any ideas ?