Skip to content

Commit ea912d3

Browse files
flukejonesgregkh
authored andcommitted
hid-asus: add ROG Ally X prod ID to quirk list
[ Upstream commit d1aa95e ] The new ASUS ROG Ally X functions almost exactly the same as the previous model, so we can use the same quirks. Signed-off-by: Luke D. Jones <luke@ljones.dev> Signed-off-by: Jiri Kosina <jkosina@suse.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 1815b32 commit ea912d3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

drivers/hid/hid-asus.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,6 +1282,9 @@ static const struct hid_device_id asus_devices[] = {
12821282
{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
12831283
USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY),
12841284
QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD },
1285+
{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
1286+
USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY_X),
1287+
QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD },
12851288
{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
12861289
USB_DEVICE_ID_ASUSTEK_ROG_CLAYMORE_II_KEYBOARD),
12871290
QUIRK_ROG_CLAYMORE_II_KEYBOARD },

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@
210210
#define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_KEYBOARD3 0x1a30
211211
#define USB_DEVICE_ID_ASUSTEK_ROG_Z13_LIGHTBAR 0x18c6
212212
#define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY 0x1abe
213+
#define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY_X 0x1b4c
213214
#define USB_DEVICE_ID_ASUSTEK_ROG_CLAYMORE_II_KEYBOARD 0x196b
214215
#define USB_DEVICE_ID_ASUSTEK_FX503VD_KEYBOARD 0x1869
215216

0 commit comments

Comments
 (0)