HID: Add quirk for HP X1200 PIXART OEM mouse
authorSebastian Parschauer <s.parschauer@gmx.de>
Wed, 24 Jul 2019 18:40:03 +0000 (20:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Aug 2019 10:22:14 +0000 (12:22 +0200)
commit41052c98e41f8b5f31425919284ec36996ad895b
treeba0afa22d64b26acb04f78a907189df9a5e41ca9
parent0cb65f3a0d18f45d93199c4cf653940354d9d2fa
HID: Add quirk for HP X1200 PIXART OEM mouse

commit 49869d2ea9eecc105a10724c1abf035151a3c4e2 upstream.

The PixArt OEM mice are known for disconnecting every minute in
runlevel 1 or 3 if they are not always polled. So add quirk
ALWAYS_POLL for this one as well.

Jonathan Teh (@jonathan-teh) reported and tested the quirk.
Reference: https://github.com/sriemer/fix-linux-mouse/issues/15

Signed-off-by: Sebastian Parschauer <s.parschauer@gmx.de>
CC: stable@vger.kernel.org
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-ids.h
drivers/hid/usbhid/hid-quirks.c