Fix That Laggy WiFi Mouse!

If you find your WiFi mouse acting very slow, or even "rubber banding", theres a simple fix!

The Raspberry Pi's USB poll rate for mice has been set slightly on the slow side, which has been causing issues with WiFi mice. By increasing the poll rate you can speed up and smooth out the laggy mouse movement. However it does come at a slight cost to CPU performance.

To change the poll rate simply edit the /boot/cmdline.txt file:

sudo nano /boot/cmdline.txt

And add the following text at the end of the single line:


You should end up with something like this:

dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline rootwait quiet splash plymouth.ignore-serial-consoles usbhid.mousepoll=8

You can change the number to anything from 0-8. The lower the number the smoother the mouse movement will be, but the higher the load on the CPU. 

That's it! Simply reboot your Raspberry Pi and say hello to a smooth, lag free mouse!