Skip to content

Commit 1815b32

Browse files
flukejonesgregkh
authored andcommitted
HID: asus: add ROG Z13 lightbar
[ Upstream commit e901f10 ] Add init of the lightbar which is a small panel on the back of the ASUS ROG Z13 and uses the same MCU as keyboards. 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 5ec4596 commit 1815b32

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
@@ -1276,6 +1276,9 @@ static const struct hid_device_id asus_devices[] = {
12761276
{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
12771277
USB_DEVICE_ID_ASUSTEK_ROG_NKEY_KEYBOARD3),
12781278
QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD },
1279+
{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
1280+
USB_DEVICE_ID_ASUSTEK_ROG_Z13_LIGHTBAR),
1281+
QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD },
12791282
{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
12801283
USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY),
12811284
QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD },

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@
208208
#define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_KEYBOARD 0x1866
209209
#define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_KEYBOARD2 0x19b6
210210
#define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_KEYBOARD3 0x1a30
211+
#define USB_DEVICE_ID_ASUSTEK_ROG_Z13_LIGHTBAR 0x18c6
211212
#define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY 0x1abe
212213
#define USB_DEVICE_ID_ASUSTEK_ROG_CLAYMORE_II_KEYBOARD 0x196b
213214
#define USB_DEVICE_ID_ASUSTEK_FX503VD_KEYBOARD 0x1869

0 commit comments

Comments
 (0)