Skip to content

Commit 377f8e7

Browse files
NeroReflexJiri Kosina
authored andcommitted
HID: asus: add xg mobile 2023 external hardware support
XG mobile stations have the 0x5a endpoint and has to be initialized: add them to hid-asus. Signed-off-by: Denis Benato <denis.benato@linux.dev> Signed-off-by: Jiri Kosina <jkosina@suse.com>
1 parent ec3070f commit 377f8e7

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/hid/hid-asus.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,6 +1497,9 @@ static const struct hid_device_id asus_devices[] = {
14971497
{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
14981498
USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY_X),
14991499
QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD | QUIRK_ROG_ALLY_XPAD },
1500+
{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
1501+
USB_DEVICE_ID_ASUSTEK_XGM_2023),
1502+
},
15001503
{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
15011504
USB_DEVICE_ID_ASUSTEK_ROG_CLAYMORE_II_KEYBOARD),
15021505
QUIRK_ROG_CLAYMORE_II_KEYBOARD },

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@
229229
#define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY_X 0x1b4c
230230
#define USB_DEVICE_ID_ASUSTEK_ROG_CLAYMORE_II_KEYBOARD 0x196b
231231
#define USB_DEVICE_ID_ASUSTEK_FX503VD_KEYBOARD 0x1869
232+
#define USB_DEVICE_ID_ASUSTEK_XGM_2023 0x1a9a
232233

233234
#define USB_VENDOR_ID_ATEN 0x0557
234235
#define USB_DEVICE_ID_ATEN_UC100KM 0x2004

0 commit comments

Comments
 (0)