mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
HID: add ALWAYS_POLL quirk for YJX-CHIP EWEADN wireless receivers
The 2.4 GHz receiver in EWEADN G5 wireless mice (YJX-CHIP A8A5:2255) presents its mouse data on a standard interrupt IN endpoint. usbhid only submits read URBs for an input device while a userspace consumer holds it open, so on boot or replug the mouse pointer stays dead until something opens the node. The same receiver ships with a number of other EWEADN models (A6, A7, E7, E9, E11, G2SE A, GS02 Pro, S7, S9SE, X23), so the quirk covers the whole family. Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <bentiss@kernel.org> Cc: linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Liang Haowen <nbg2974@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
This commit is contained in:
parent
cbc13a78a8
commit
337cf8a2df
|
|
@ -1634,6 +1634,9 @@
|
|||
#define USB_VENDOR_ID_YEALINK 0x6993
|
||||
#define USB_DEVICE_ID_YEALINK_P1K_P4K_B2K 0xb001
|
||||
|
||||
#define USB_VENDOR_ID_YJXCHIP 0xa8a5
|
||||
#define USB_DEVICE_ID_YJXCHIP_MOUSE 0x2255
|
||||
|
||||
#define USB_VENDOR_ID_ZEROPLUS 0x0c12
|
||||
|
||||
#define USB_VENDOR_ID_ZYDACRON 0x13EC
|
||||
|
|
|
|||
|
|
@ -223,6 +223,8 @@ static const struct hid_device_id hid_quirks[] = {
|
|||
{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP_LTD2, USB_DEVICE_ID_SMARTJOY_DUAL_PLUS), HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_QUAD_USB_JOYPAD), HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_XIN_MO, USB_DEVICE_ID_XIN_MO_DUAL_ARCADE), HID_QUIRK_MULTI_INPUT },
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_YJXCHIP, USB_DEVICE_ID_YJXCHIP_MOUSE),
|
||||
HID_QUIRK_ALWAYS_POLL },
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_GROUP_AUDIO), HID_QUIRK_NOGET },
|
||||
|
||||
{ 0 }
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user