All of lore.kernel.org
 help / color / mirror / Atom feed
* ASUS T302CHI keyboard dock (0b05:182f) missing from hid-asus, brightness keys dead
@ 2026-09-07 22:11 dontfindmymail
  0 siblings, 0 replies; 3+ messages in thread
From: dontfindmymail @ 2026-09-07 22:11 UTC (permalink / raw)
  To: linux-input@vger.kernel.org

Hi,
The keyboard dock of the ASUS Transformer Book T302CHI is missing from
the hid-asus device table, so its brightness keys do not work.

The dock (USB 0b05:182f) reports brightness on the ASUS vendor usage
page 0xff31, usages 0x10 and 0x20, which hid-asus already maps to
KEY_BRIGHTNESSDOWN / KEY_BRIGHTNESSUP. Because the device is not in
asus_devices[], it is claimed by hid-generic, which ignores the vendor
page entirely, so Fn+F5 and Fn+F6 produce no input events at all - not
even a scancode. Keys on the standard consumer page (volume) on the
same device work fine, which makes this look like a backlight or ACPI
problem rather than a HID one.

From /sys/kernel/debug/hid/<dev>/events, pressing Fn+F5 then Fn+F6:

  report (size 6) (numbered) =  5a 10 00 00 00 00
  ff31.0010 = 1
  report (size 6) (numbered) =  5a 00 00 00 00 00
  ff31.0010 = 0
  report (size 6) (numbered) =  5a 20 00 00 00 00
  ff31.0020 = 1
  report (size 6) (numbered) =  5a 00 00 00 00 00
  ff31.0020 = 0

Confirmed fix: after

  echo "0003 0B05 182F" > /sys/bus/hid/drivers/asus/new_id

and rebinding that interface from hid-generic to hid-asus, both keys
work correctly in all desktop environments.

The device exposes three HID interfaces, one of which is a touchpad
handled by hid-multitouch, so I believe this wants the same
HID_GROUP_GENERIC match already used for the T101HA dock:

  hid-ids.h:
    #define USB_DEVICE_ID_ASUSTEK_T302CHI_KEYBOARD 0x182f

  hid-asus.c, in asus_devices[]:
    { HID_DEVICE(BUS_USB, HID_GROUP_GENERIC,
        USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_T302CHI_KEYBOARD) },

Kernel: "7.2.2-zen1-1-zen", Arch Linux.

I am not set up to submit a proper patch, so I am reporting it here in
the hope that someone can pick it up.

Thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-16 13:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <OCupKvK8JTzwwSrGfH05iZGTNOuUCg3cPoiTlNgdDUUt24LbtaNYWciyGx1C90egfE2C8EdnANX7sXM6IwBh5xfycQNq-ji_xAuNLRAVvQQ=@pm.me>
2026-10-16 13:06 ` ASUS T302CHI keyboard dock (0b05:182f) missing from hid-asus, brightness keys dead Jiri Kosina
2026-10-16 13:48   ` Benjamin Tissoires
2026-09-07 22:11 dontfindmymail

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.