]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
hid-asus: add ROG Ally X prod ID to quirk list
authorLuke D. Jones <luke@ljones.dev>
Wed, 24 Jul 2024 22:31:25 +0000 (10:31 +1200)
committerJiri Kosina <jkosina@suse.com>
Fri, 2 Aug 2024 10:51:07 +0000 (12:51 +0200)
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>
drivers/hid/hid-asus.c
drivers/hid/hid-ids.h

index 37e6d25593c211d202ccb8f6996b1cd2818ee69e..a282388b7aa5c1df7d05e53f5712cfb5f6ef6958 100644 (file)
@@ -1248,6 +1248,9 @@ static const struct hid_device_id asus_devices[] = {
        { HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
            USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY),
          QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD },
+       { HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
+           USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY_X),
+         QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD },
        { HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
            USB_DEVICE_ID_ASUSTEK_ROG_CLAYMORE_II_KEYBOARD),
          QUIRK_ROG_CLAYMORE_II_KEYBOARD },
index 72d56ee7ce1b98c6e5a23b67eb83cd9818db8be3..6e322338908022d9426e93f9993c438d7eda85a3 100644 (file)
 #define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_KEYBOARD3       0x1a30
 #define USB_DEVICE_ID_ASUSTEK_ROG_Z13_LIGHTBAR         0x18c6
 #define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY            0x1abe
+#define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY_X          0x1b4c
 #define USB_DEVICE_ID_ASUSTEK_ROG_CLAYMORE_II_KEYBOARD 0x196b
 #define USB_DEVICE_ID_ASUSTEK_FX503VD_KEYBOARD 0x1869