use UQ_ALWAYS_OPEN for various PixArt/Logitech USB mice. ok bru miod
authorsthen <sthen@openbsd.org>
Tue, 27 Aug 2024 12:41:18 +0000 (12:41 +0000)
committersthen <sthen@openbsd.org>
Tue, 27 Aug 2024 12:41:18 +0000 (12:41 +0000)
commitaa905350146e0e75b480e46170feac67dfa34e04
treec35824e98e5cc58d25ae0c3c0ae93762502d8f6f
parenta27aded294634db9a7911563a4d78ba4482c3926
use UQ_ALWAYS_OPEN for various PixArt/Logitech USB mice. ok bru miod

Some USB mice are known to have problems if the device isn't polled
regularly (seems to be something in the firmware overflows). Symptoms
are frequent disconnect/reconnect cycles unless either X or wsmoused
are used.

jcs and kurt figured out a related problem with the Surface Type Cover
and added UQ_ALWAYS_OPEN in 2021 (similar to linux HID_QUIRK_ALWAYS_POLL
and NetBSD UQ_ALWAYS_ON) which also works around the problem with these
mice.

I've added the list of vid/pid from NetBSD, plus the mouse which I've
been having problems with which they didn't have.
sys/dev/usb/usb_quirks.c