From: Janne Grunau <j@jannau.net>
To: Armin Wolf <W_Armin@gmx.de>
Cc: Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <bentiss@kernel.org>,
Vishnu Sankar <vishnuocv@gmail.com>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Len Brown <lenb@kernel.org>,
linux-acpi@vger.kernel.org, linux-input@vger.kernel.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] HID: lenovo: Unbreak USB/BT keyboards on non-ACPI platforms
Date: Mon, 19 May 2025 00:03:05 +0200 [thread overview]
Message-ID: <20250518220305.GB2575813@robin.jannau.net> (raw)
In-Reply-To: <79124489-0a2f-42ca-85ae-6f442e42e2d3@gmx.de>
Hej,
On Sun, May 18, 2025 at 07:46:12PM +0200, Armin Wolf wrote:
> Am 18.05.25 um 11:43 schrieb Janne Grunau:
>
> >>
> >> static void __exit platform_profile_exit(void)
> >> {
> >> - sysfs_remove_group(acpi_kobj, &platform_profile_group);
> >> + if (acpi_kobj)
> >> + sysfs_remove_group(acpi_kobj, &platform_profile_group);
> >> +
> >> class_unregister(&platform_profile_class);
> >> }
> >> module_init(platform_profile_init);
> > thanks, patch works on the affected system and the HID device for the
> > Lenovo keyboard probes successfully. We still need to stub
> > platform_profile_cycle() to get rid of the ACPI Kconfig dependency. I'll
> > send that out separately.
> >
> > Reviewed-by: Janne Grunau <j@jannau.net>
> > Tested-by: Janne Grunau <j@jannau.net>
> >
> Alright, i will send this patch to the ACPI mailing list ASAP. Please keep in mind
> that merely stubbing out the affected functions is not enough, as the platform profile code
> needs to be moved out of drivers/acpi/ as well.
Thanks. I will go with patch which #ifdefs the platform_profile_cycle()
call out. It is only used for a special detachable tablet keyboard which
is ACPI enabled device anyway. So it will be hid-lenovo local change.
Janne
prev parent reply other threads:[~2025-05-18 22:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-12 21:55 [PATCH] HID: lenovo: Unbreak USB/BT keyboards on non-ACPI platforms Janne Grunau via B4 Relay
2025-05-15 22:05 ` Armin Wolf
2025-05-15 23:05 ` Janne Grunau
2025-05-17 15:58 ` Armin Wolf
2025-05-18 9:43 ` Janne Grunau
2025-05-18 17:46 ` Armin Wolf
2025-05-18 22:03 ` Janne Grunau [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=20250518220305.GB2575813@robin.jannau.net \
--to=j@jannau.net \
--cc=W_Armin@gmx.de \
--cc=bentiss@kernel.org \
--cc=jikos@kernel.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=stable@vger.kernel.org \
--cc=vishnuocv@gmail.com \
/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