All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch added to the 3.12 stable tree] HID: usbhid: add Chicony/Pixart usb optical mouse that needs QUIRK_ALWAYS_POLL
@ 2015-08-10 14:17 Jiri Slaby
  2015-08-10 14:17 ` [patch added to the 3.12 stable tree] mm: avoid setting up anonymous pages into file mapping Jiri Slaby
                   ` (25 more replies)
  0 siblings, 26 replies; 30+ messages in thread
From: Jiri Slaby @ 2015-08-10 14:17 UTC (permalink / raw)
  To: stable; +Cc: Herton R. Krzesinski, Jiri Kosina, Oliver Neukum, Jiri Slaby

From: "Herton R. Krzesinski" <herton@redhat.com>

This patch has been added to the 3.12 stable tree. If you have any
objections, please let us know.

===============

commit 7250dc3fee806eb2b7560ab7d6072302e7ae8cf8 upstream.

I received a report from an user of following mouse which needs this quirk:

usb 1-1.6: USB disconnect, device number 58
usb 1-1.6: new low speed USB device number 59 using ehci_hcd
usb 1-1.6: New USB device found, idVendor=04f2, idProduct=1053
usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.6: Product: USB Optical Mouse
usb 1-1.6: Manufacturer: PixArt
usb 1-1.6: configuration #1 chosen from 1 choice
input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/input/input5887
generic-usb 0003:04F2:1053.16FE: input,hidraw2: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:00:1a.0-1.6/input0

The quirk was tested by the reporter and it fixed the frequent disconnections etc.

[jkosina@suse.cz: reorder the position in hid-ids.h]
Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Cc: Oliver Neukum <ONeukum@suse.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 drivers/hid/hid-ids.h           | 1 +
 drivers/hid/usbhid/hid-quirks.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 2e65d7791060..6da09931a987 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -218,6 +218,7 @@
 #define USB_DEVICE_ID_CHICONY_TACTICAL_PAD	0x0418
 #define USB_DEVICE_ID_CHICONY_MULTI_TOUCH	0xb19d
 #define USB_DEVICE_ID_CHICONY_WIRELESS	0x0618
+#define USB_DEVICE_ID_CHICONY_PIXART_USB_OPTICAL_MOUSE	0x1053
 #define USB_DEVICE_ID_CHICONY_WIRELESS2	0x1123
 #define USB_DEVICE_ID_CHICONY_AK1D	0x1125
 
diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
index 8f884a6a8a8f..7bc98db768eb 100644
--- a/drivers/hid/usbhid/hid-quirks.c
+++ b/drivers/hid/usbhid/hid-quirks.c
@@ -69,6 +69,7 @@ static const struct hid_blacklist {
 	{ USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_PRO_PEDALS, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_3AXIS_5BUTTON_STICK, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_CH, USB_DEVICE_ID_CH_AXIS_295, HID_QUIRK_NOGET },
+	{ USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_PIXART_USB_OPTICAL_MOUSE, HID_QUIRK_ALWAYS_POLL },
 	{ USB_VENDOR_ID_DMI, USB_DEVICE_ID_DMI_ENC, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_ELAN, USB_DEVICE_ID_ELAN_TOUCHSCREEN, HID_QUIRK_ALWAYS_POLL },
 	{ USB_VENDOR_ID_ELAN, USB_DEVICE_ID_ELAN_TOUCHSCREEN_009B, HID_QUIRK_ALWAYS_POLL },
-- 
2.5.0


^ permalink raw reply related	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2015-08-11  8:26 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-10 14:17 [patch added to the 3.12 stable tree] HID: usbhid: add Chicony/Pixart usb optical mouse that needs QUIRK_ALWAYS_POLL Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] mm: avoid setting up anonymous pages into file mapping Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] freeing unlinked file indefinitely delayed Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] s390/sclp: clear upper register halves in _sclp_print_early Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] ARC: make sure instruction_pointer() returns unsigned value Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] genirq: Prevent resend to interrupts marked IRQ_NESTED_THREAD Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] ALSA: usb-audio: Add MIDI support for Steinberg MI2/MI4 Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] ALSA: usb-audio: add dB range mapping for some devices Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] ALSA: hda - Fix MacBook Pro 5,2 quirk Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] st: null pointer dereference panic caused by use after kref_put by st_open Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] mac80211: clear subdir_stations when removing debugfs Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] mmc: sdhci-esdhc: Make 8BIT bus work Jiri Slaby
2015-08-10 15:27   ` Joakim Tjernlund
2015-08-11  7:16     ` Jiri Slaby
2015-08-11  8:26       ` Joakim Tjernlund
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] mmc: sdhci-pxav3: fix platform_data is not initialized Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] md/raid1: fix test for 'was read error from last working device' Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] tile: use free_bootmem_late() for initrd Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] Input: usbtouchscreen - avoid unresponsive TSC-30 touch screen Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] blkcg: fix gendisk reference leak in blkg_conf_prep() Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] ata: pmp: add quirk for Marvell 4140 SATA PMP Jiri Slaby
2015-08-10 14:17 ` [patch added to the 3.12 stable tree] usb-storage: ignore ZTE MF 823 card reader in mode 0x1225 Jiri Slaby
2015-08-10 14:18 ` [patch added to the 3.12 stable tree] xhci: Calculate old endpoints correctly on device reset Jiri Slaby
2015-08-10 14:18 ` [patch added to the 3.12 stable tree] xhci: report U3 when link is in resume state Jiri Slaby
2015-08-10 14:18 ` [patch added to the 3.12 stable tree] xhci: prevent bus_suspend if SS port resuming in phase 1 Jiri Slaby
2015-08-10 14:18 ` [patch added to the 3.12 stable tree] xhci: do not report PLC when link is in internal resume state Jiri Slaby
2015-08-10 14:18 ` [patch added to the 3.12 stable tree] rds: rds_ib_device.refcount overflow Jiri Slaby
2015-08-10 14:18 ` [patch added to the 3.12 stable tree] vhost: actually track log eventfd file Jiri Slaby
2015-08-10 14:18 ` [patch added to the 3.12 stable tree] iscsi-target: Fix use-after-free during TPG session shutdown Jiri Slaby
2015-08-10 14:18 ` [patch added to the 3.12 stable tree] iscsi-target: Fix iser explicit logout TX kthread leak Jiri Slaby

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.