Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH] HID: add ALWAYS_POLL quirk for YJX-CHIP EWEADN a8a4 units
@ 2026-11-01 12:45 Liang Haowen
  0 siblings, 0 replies; only message in thread
From: Liang Haowen @ 2026-11-01 12:45 UTC (permalink / raw)
  To: linux-input; +Cc: Jiri Kosina, Benjamin Tissoires, linux-kernel

Replacement receivers with VID 0xa8a4 first appeared here in
October 2026, and the mice themselves use the same VID when
connected by USB cable. The interface layout and endpoint match
the original 0xa8a5 units, and the endpoint carries the same
9-byte report 0x02 payload, so extend the quirk to keep those
pointers alive on boot and replug too.

Link: https://lore.kernel.org/r/20261012154240.33221-1-nbg2974@gmail.com
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>
---
 drivers/hid/hid-ids.h    | 1 +
 drivers/hid/hid-quirks.c | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 91319aa..1fc77cb 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -1654,6 +1654,7 @@
 
 #define USB_VENDOR_ID_YJXCHIP		0xa8a5
 #define USB_DEVICE_ID_YJXCHIP_MOUSE	0x2255
+#define USB_VENDOR_ID_YJXCHIP2		0xa8a4
 
 #define USB_VENDOR_ID_ZEROPLUS		0x0c12
 
diff --git a/drivers/hid/hid-quirks.c b/drivers/hid/hid-quirks.c
index 793db00..362768b 100644
--- a/drivers/hid/hid-quirks.c
+++ b/drivers/hid/hid-quirks.c
@@ -225,6 +225,8 @@ static const struct hid_device_id hid_quirks[] = {
 	{ 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_YJXCHIP2, 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 }
-- 
2.55.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-01 15:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-01 12:45 [PATCH] HID: add ALWAYS_POLL quirk for YJX-CHIP EWEADN a8a4 units Liang Haowen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox