Re: [PATCH] HID: asus: support the Zenbook A16 (UX3607OA) keyboard
Jiri Kosina <[email protected]> Mon, 3 Aug 2026 21:17:49 +0200 (CEST)
| Newsgroups | org.kernel.vger.linux-input,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 24 Jul 2026, Konrad Dybcio wrote:
> The ASUS Zenbook A16 (UX3607OA), a Qualcomm Snapdragon X2 Elite Extreme
> (Glymur)-based laptop, carries its main keyboard on an I2C-HID device
> with the ID 0B05:4B42. Its Fn/media hotkeys are emitted as vendor-page
> (HID_UP_ASUSVENDOR) usages on report 0x5A.
>
> Match the device in hid-asus with the standard I2C keyboard quirks and
> add the three usage mappings observed on the hardware:
>
> 0x85 -> KEY_CAMERA (Fn+F11, camera toggle)
> 0x86 -> KEY_PROG1 (Fn+F12, MyASUS key)
> 0x5f -> KEY_PROG2 (extra programmable key)
>
> The camera-toggle key reports its usage (0x85) together with a companion
> state byte in the same array report ("5a 85 01" / "5a 85 10"). The 0x10
> companion aliases the brightness-down vendor usage and spuriously dims
> the panel, so add QUIRK_FILTER_CAMERA_COMPANION to zero the companion
> slots for this device before input mapping. The quirk is device-gated so
> no other ASUS model is affected.
>
> Assisted-by: Claude Code:claude-opus-4-8
> Signed-off-by: Konrad Dybcio <[email protected]>
Applied, thanks.
--
Jiri Kosina
SUSE Labs