Keyboard and mouse stuttering on Ubuntu 18.04 with a new laptop
772
On my LG Gram 17" (i7 8-th generation), I've got the problem in ubuntu.
Keyboard and mouse sometimes are starting to stutter, repeat once pressed keys and lag.
Found the workaround so far - setting the poll rate for keyboard and mouse to 1000 Hz (originally written he 125Hz by mistake):
sudo su
echo 1 > /sys/module/usbhid/parameters/kbpoll
echo 1 > /sys/module/usbhid/parameters/mousepoll
and replugged the usb hub.
As a permanent solution - these two parameters usbhid.kbpoll=1 usbhid.mousepoll=1 should be added to the end of the GRUB_CMDLINE_LINUX_DEFAULT variable in the /etc/default/grub file.
So the variable should be looking like this:
Found the workaround so far - setting the poll rate for keyboard and mouse to 1000 Hz (originally written he 125Hz by mistake):
and replugged the usb hub.
As a permanent solution - these two parameters
usbhid.kbpoll=1 usbhid.mousepoll=1
should be added to the end of theGRUB_CMDLINE_LINUX_DEFAULT
variable in the/etc/default/grub
file. So the variable should be looking like this:...and perform the: