From: Kelsios <K3lsios@proton.me>
To: "Antheas Kapenekakis" <lkml@antheas.dev>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: platform-driver-x86@vger.kernel.org, linux-input@vger.kernel.org,
LKML <linux-kernel@vger.kernel.org>,
Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <bentiss@kernel.org>,
Corentin Chary <corentin.chary@gmail.com>,
"Luke D . Jones" <luke@ljones.dev>,
Hans de Goede <hansg@kernel.org>,
Denis Benato <benato.denis96@gmail.com>
Subject: Re: [PATCH v10 00/11] HID: asus: Fix ASUS ROG Laptop's Keyboard backlight handling
Date: Wed, 10 Dec 2025 17:19:05 +0000 [thread overview]
Message-ID: <84c35953-51ec-4c61-853c-cfd324382271@proton.me> (raw)
In-Reply-To: <CAGwozwFJfZ2ATVR+N4pwb0unsXOpJbThtefigrtax9iYcPto7A@mail.gmail.com>
On 12/9/25 11:49 AM, Antheas Kapenekakis wrote:
> On Tue, 9 Dec 2025 at 10:17, Ilpo Järvinen
> <ilpo.jarvinen@linux.intel.com> wrote:
>>
>> On Sat, 6 Dec 2025, Antheas Kapenekakis wrote:
>>
>>> On Sat, 6 Dec 2025 at 00:03, Antheas Kapenekakis <lkml@antheas.dev> wrote:
>>>>
>>>> On Fri, 5 Dec 2025 at 23:13, Kelsios <K3lsios@proton.me> wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> I would like to report a regression affecting keyboard backlight brightness control on my ASUS ROG Zephyrus G16 (model GU605CW).
>>>>>
>>>>> Using kernel 6.17.9-arch1-1.1-g14 with the latest HID ASUS patchset v10, keyboard *color* control works correctly, but *brightness* control no longer responds at all. The issue is reproducible on every boot. This problem is not present when using patchset v8, where both color and brightness work as expected.
>>>>>
>>>>> Important detail: the issue occurs even **without** asusctl installed, so it must be within the kernel HID/WMI handling and is unrelated to userspace tools.
>>>>>
>>>>> Output of dmesg is available here [1], please let me know if any additional information is required.
>>>>>
>>>>> Thank you for your time and work on supporting these ASUS laptops.
>>>>>
>>>>> Best regards,
>>>>> Kelsios
>>>>>
>>>>> [1] https://pastebin.com/ZFC13Scf
>>>>
>>>> [ 1.035986] asus 0003:0B05:19B6.0001: Asus failed to receive handshake ack: -32
>>>>
>>>> Oh yeah, asus_kbd_init no longer works with spurious inits so it broke
>>>> devices marked with QUIRK_ROG_NKEY_LEGACY
>>>>
>>>> There are three ways to approach this. One is to ignore the error...
>>>> second is to drop the quirk... third is to check for the usages for ID1, ID2...
>>>>
>>>> I would tend towards dropping the ID2 init and ignoring the error for
>>>> ID1... Unless an EPIPE would cause the device to close
>>>
>>> Benjamin correctly caught the deviation
>>
>> BTW, we want to record this knowledge also into the changelog so that the
>> next person who'd want to make the check stricter does not need to guess
>> whether it was based on a real observed problem or mere guessing there
>> could be a problem.
>
> If we keep the spurious inits, the stricter check will catch them and
> throw errors. This is problematic.
>
> Kelsios, you have a device that allegedly would not work without those
> inits. Perhaps you could try removing the legacy quirk from your
> device and see if everything is ok?
>
> If it is, then we have a tested device and a case for removing the
> legacy quirk altogether
>
> Antheas
>
>> --
>> i.
>>
>>
>
Hello,
I was able to narrow it down while testing linux-next with the v10 HID ASUS patchset.
Just like you mentioned in the previous email, on this machine the ID2 initialization returns a negative value. Though, when I comment out the two lines that return early after the FEATURE_KBD_LED_REPORT_ID2 init call, brightness control starts working normally again, even after sending the LED reports.
Patchset v8 did not show this behavior.
Best regards,
Kelsios
next prev parent reply other threads:[~2025-12-10 17:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-05 22:13 [PATCH v10 00/11] HID: asus: Fix ASUS ROG Laptop's Keyboard backlight handling Kelsios
2025-12-05 23:03 ` Antheas Kapenekakis
2025-12-05 23:04 ` Antheas Kapenekakis
2025-12-09 9:17 ` Ilpo Järvinen
2025-12-09 9:49 ` Antheas Kapenekakis
2025-12-10 17:19 ` Kelsios [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-11-22 11:00 Antheas Kapenekakis
2025-11-26 13:37 ` Antheas Kapenekakis
2025-11-26 15:23 ` Ilpo Järvinen
2025-11-26 15:28 ` Antheas Kapenekakis
2025-11-26 15:29 ` Antheas Kapenekakis
2025-11-26 15:31 ` Ilpo Järvinen
2025-11-26 19:58 ` Denis Benato
2025-11-26 17:34 ` Hans de Goede
2025-11-26 19:57 ` Denis Benato
2025-12-02 11:28 ` Benjamin Tissoires
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=84c35953-51ec-4c61-853c-cfd324382271@proton.me \
--to=k3lsios@proton.me \
--cc=benato.denis96@gmail.com \
--cc=bentiss@kernel.org \
--cc=corentin.chary@gmail.com \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@antheas.dev \
--cc=luke@ljones.dev \
--cc=platform-driver-x86@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).