Re: [RFC PATCH] HID: quirks: Add quirk for HP MSU1465 PIXART OEM mouse

From: Jiri Kosina
Date: Thu Nov 14 2019 - 08:00:49 EST


On Wed, 13 Nov 2019, Jinke Fan wrote:

> The PixArt OEM mouse disconnets/reconnects every minute on
> Linux. All contents of dmesg are repetitive:
>
> [ 1465.810014] usb 1-2.2: USB disconnect, device number 20
> [ 1467.431509] usb 1-2.2: new low-speed USB device number 21 using xhci_hcd
> [ 1467.654982] usb 1-2.2: New USB device found, idVendor=03f0,idProduct=1f4a, bcdDevice= 1.00
> [ 1467.654985] usb 1-2.2: New USB device strings: Mfr=1, Product=2,SerialNumber=0
> [ 1467.654987] usb 1-2.2: Product: HP USB Optical Mouse
> [ 1467.654988] usb 1-2.2: Manufacturer: PixArt
> [ 1467.699722] input: PixArt HP USB Optical Mouse as /devices/pci0000:00/0000:00:07.1/0000:05:00.3/usb1/1-2/1-2.2/1-2.2:1.0/0003:03F0:1F4A.0012/input/input19
> [ 1467.700124] hid-generic 0003:03F0:1F4A.0012: input,hidraw0: USB HID v1.11 Mouse [PixArt HP USB Optical Mouse] on usb-0000:05:00.3-2.2/input0
>
> So add HID_QUIRK_ALWAYS_POLL for this one as well.
> Test the patch, the mouse is no longer disconnected and there are no
> duplicate logs in dmesg.
>
> Reference:
> https://github.com/sriemer/fix-linux-mouse
>
> Signed-off-by: Jinke Fan <fanjinke@xxxxxxxx>

Applied, thanks.

--
Jiri Kosina
SUSE Labs