USB device messages flooding dmesg (and console)

PixArt OEM mice are known to disconnect/reconnect every minute in runlevel 1 or 3 if they are not always polled on Linux. An internal buffer overflows, FW crashes, and they reconnect. The default behavior of the usbhid driver is just to wait for interrupts.

Basics: https://github.com/sriemer/fix-linux-mouse

I've submitted the patch for this mouse to the linux-usb mailing list now:

https://marc.info/?l=linux-usb&m=154159427814212&w=2

The kernel boot option usbhid.quirks=0x045e:0x00cb:0x00000400 would also enable HID_QUIRK_ALWAYS_POLL for you.

Another alternative is to activate the gpm service. Then gpm is polling the mouse and you can actually use it on the virtual terminal.