Skip to contentSkip to conversation

HID: Kysona: Add support for Kysona M600V2 variant

PATCH Applied Tjark Effenberger 3 participants 3 messages Sep 26 – Oct 16 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: Kysona: Add support for Kysona M600V2 variant

The M600V2 has a different HID ID on the wireless dongle.

---
 drivers/hid/hid-ids.h    | 1 +
 drivers/hid/hid-kysona.c | 1 +
 2 files changed, 2 insertions(+)
drivers/hid/hid-ids.h +1 -0
index 9a473f72c8cb..7ac47f585910 100644
@@ -822,6 +822,7 @@
 
 #define USB_VENDOR_ID_KYSONA		0x3554
 #define USB_DEVICE_ID_KYSONA_M600_DONGLE	0xF57C
+#define USB_DEVICE_ID_KYSONA_M600V2_DONGLE	0xf5d5
 #define USB_DEVICE_ID_KYSONA_M600_WIRED	0xF57D
 
 #define USB_VENDOR_ID_LABTEC		0x1020
drivers/hid/hid-kysona.c +1 -0
index ccbd8380064e..8457cb7df7bb 100644
@@ -272,6 +272,7 @@ static void kysona_remove(struct hid_device *hdev)
 static const struct hid_device_id kysona_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KYSONA, USB_DEVICE_ID_KYSONA_M600_DONGLE) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KYSONA, USB_DEVICE_ID_KYSONA_M600_WIRED) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_KYSONA, USB_DEVICE_ID_KYSONA_M600V2_DONGLE) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_VXE, USB_DEVICE_ID_VXE_DRAGONFLY_R1_PRO_DONGLE) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_VXE, USB_DEVICE_ID_VXE_DRAGONFLY_R1_PRO_WIRED) },
 	{ }
Signature · 1 line
2.55.0
Tested-by on v1 1/1
#1 lore raw
Quoted 3 lines · Tjark Effenberger

The M600V2 has a different HID ID on the wireless dongle.

Tested on Arch Linux (kernel 7.2.3-arch1-3) with a Kysona Aztec mouse (dongle shows up as "CX 2.4G Wireless Receiver", USB ID 3554:f5d5).

Adding the PID via new_id binds hid-kysona to both interfaces and the battery shows up correctly in /sys/class/power_supply with accurate capacity and charging status.

Note: this dongle PID is used by a Kysona Aztec, not an M600V2 - it seems to be shared across models. Thanks for the patch!