From: sashiko-bot@kernel.org
To: "Marcelo Niendicker Grando" <marcelogrando@icloud.com>,
linux-input@vger.kernel.org
Cc: dmitry.torokhov@gmail.com
Subject: Re: [PATCH] HID: asus: add support for the ASUS Zenbook A14 (UX3407QA) keyboard
Date: Fri, 27 Nov 2026 17:08:48 +0000 [thread overview]
Message-ID: <sashiko-outbox-237964@kernel.org> (raw)
In-Reply-To: <20261127164052.59518-1-marcelogrando@icloud.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] HID: asus: missing I2C_KEYBOARD_QUIRKS for Zenbook A14 I2C
keyboard
--
commit ddfdb63c8208f8d574ebd38f9f5c9b3f01175e08
Author: Marcelo Niendicker Grando <marcelogrando@icloud.com>
HID: asus: add support for the ASUS Zenbook A14 (UX3407QA) keyboard
This commit binds the ASUS Zenbook A14 UX3407QA internal I2C keyboard
(0B05:0220) to hid-asus so its vendor report 0x5a Fn hotkeys are mapped.
> diff --git a/drivers/hid/hid-asus.c b/drivers/hid/hid-asus.c
> index dcb3d50f9288e..8a8fa9fb588b1 100644
> --- a/drivers/hid/hid-asus.c
> +++ b/drivers/hid/hid-asus.c
> @@ -1907,6 +1907,8 @@ static const struct hid_device_id asus_devices[] = {
> { HID_I2C_DEVICE(USB_VENDOR_ID_ASUSTEK,
> USB_DEVICE_ID_ASUSTEK_I2C_ZENBOOK_KEYBOARD),
> I2C_KEYBOARD_QUIRKS | QUIRK_FILTER_CAMERA_COMPANION },
> + { HID_I2C_DEVICE(USB_VENDOR_ID_ASUSTEK,
> + USB_DEVICE_ID_ASUSTEK_I2C_ZENBOOK_A14_KEYBOARD) },
[Severity: Medium]
Should this entry set I2C_KEYBOARD_QUIRKS like the other ASUS I2C notebook
keyboards?
In the device's 132-byte report descriptor, Report ID 2 declares Logical
Maximum 0x65 at rdesc[55] alongside Usage Maximum 0xdd, and Report ID 3
declares a Consumer Control array spanning usages 0x0000..0x023c.
Without QUIRK_FIX_NOTEBOOK_REPORT from I2C_KEYBOARD_QUIRKS,
asus_report_fixup() leaves rdesc[55] at 0x65, so hid-core rejects all
Keyboard/Keypad usages above 0x65. Without QUIRK_NO_CONSUMER_USAGES,
asus_input_mapping() maps dummy Consumer usages from Report ID 3 (including
BTN_MISC, ABS_VOLUME and REL_HWHEEL) onto the merged keyboard input device,
causing userspace to classify the keyboard as a pointer device.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261127164052.59518-1-marcelogrando@icloud.com?part=1
prev parent reply other threads:[~2026-11-27 17:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 16:40 [PATCH] HID: asus: add support for the ASUS Zenbook A14 (UX3407QA) keyboard Marcelo Niendicker Grando
2026-11-27 17:08 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-237964@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=marcelogrando@icloud.com \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox