From: Werner Sembach <wse@tuxedocomputers.com>
To: nick42d@gmail.com, "Hans de Goede" <hansg@kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Miguel Ojeda" <ojeda@kernel.org>,
"Boqun Feng" <boqun@kernel.org>, "Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"Trevor Gross" <tmgross@umich.edu>,
"Danilo Krummrich" <dakr@kernel.org>,
"Daniel Almeida" <daniel.almeida@collabora.com>,
"Tamir Duberstein" <tamird@kernel.org>,
"Alexandre Courbot" <acourbot@nvidia.com>,
"Onur Özkan" <work@onurozkan.dev>
Cc: Armin Wolf <W_Armin@gmx.de>,
linux-kernel@vger.kernel.org,
platform-driver-x86@vger.kernel.org,
rust-for-linux@vger.kernel.org
Subject: Re: [PATCH 0/4] platform/x86: clevo-laptop: add initial Rust driver for keyboard backlight
Date: Mon, 23 Nov 2026 14:58:04 +0100 [thread overview]
Message-ID: <a07938a4-32e8-4aa5-984c-d17df8054df1@tuxedocomputers.com> (raw)
In-Reply-To: <20261122-clevo-laptop-v1-0-881debf4d4b0@gmail.com>
Hi,
First: I never have touched rust code, but I'm not opposed to it in principle.
Just to excuse a little bit of knowledge gap.
Am 22.11.26 um 05:35 schrieb Nick Dowsett via B4 Relay:
> This series adds a new Rust platform driver MVP (`clevo-laptop`) for
> Clevo barebones and rebranded laptops (Metabox, Tuxedo, Sager, XMG,
> etc.), starting with 5-step white keyboard backlight control.
The driver will have to interact at least with these subsystems when finished
(If I haven't forgotten any):
- Platform/ACPI
- WMI
- Power Supply/Battery
- LEDs
- Input
- HWMon
And maybe:
- Thermal
- HID
- Component
I don't know how much this influences the feasibility of doing it in rust.
>
> It is intended as the first in-tree user of the Rust WMI abstractions,
> and a starting point to be extended to additional Clevo models and EC
> features.
>
> What's included:
> - Minimal driver skeleton, Kconfig/Makefile plumbing, and MAINTAINERS
> entry.
> - Type-safe EC WMI query interface.
> - Driver registration and backlight type detection following
> tuxedo-drivers business rules.
Just wanna make sure what you are referring to here exactly?
Best regards,
Werner
>
> Dependencies (not yet merged):
> - Markus Probst's Rust LED classdev abstractions (v28):
> https://lore.kernel.org/all/20261113-rust_leds-v28-0-b8cf2f74fa57@posteo.de/
> - Rust WMI abstractions (change-id: 20261119-rust-wmi-c6b0e0fe97a7)
> https://lore.kernel.org/all/20261122-rust-wmi-v1-0-63111d9e824c@gmail.com/
> - Rust DMI abstractions (change-id: 20261121-rust-dmi-c49d2041d7e2)
> https://lore.kernel.org/all/20261122-rust-dmi-v1-1-4ace9449f872@gmail.com/
>
> Tested on a Clevo/Metabox NL57AU laptop.
>
> Signed-off-by: Nick Dowsett <nick42d@gmail.com>
> ---
> Nick Dowsett (4):
> platform/x86: clevo-laptop: add minimal WMI driver skeleton and Kbuild plumbing
> platform/x86: clevo-laptop: add EC WMI query interface and BIOS feature check
> platform/x86: clevo-laptop: probe keyboard backlight type and detect 5-step white backlight
> platform/x86: clevo-laptop: register 5-step white keyboard backlight LED device
>
> MAINTAINERS | 6 +
> drivers/platform/x86/Kconfig | 17 ++
> drivers/platform/x86/Makefile | 3 +
> drivers/platform/x86/clevo-laptop.rs | 387 +++++++++++++++++++++++++++++++++++
> 4 files changed, 413 insertions(+)
> ---
> base-commit: 4843f6873f7c4835e62f2c73ba0fd538e57a2f22
> change-id: 20261120-clevo-laptop-170d658cd678
>
> Best regards,
> --
> Nick Dowsett <nick42d@gmail.com>
>
>
prev parent reply other threads:[~2026-11-23 13:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 4:35 Nick Dowsett via B4 Relay
2026-11-22 4:35 ` [PATCH 1/4] platform/x86: clevo-laptop: add minimal WMI driver skeleton and Kbuild plumbing Nick Dowsett via B4 Relay
2026-11-23 14:12 ` Werner Sembach
2026-11-22 4:35 ` [PATCH 2/4] platform/x86: clevo-laptop: add EC WMI query interface and BIOS feature check Nick Dowsett via B4 Relay
2026-11-22 4:35 ` [PATCH 3/4] platform/x86: clevo-laptop: probe keyboard backlight type and detect 5-step white backlight Nick Dowsett via B4 Relay
2026-11-22 4:35 ` [PATCH 4/4] platform/x86: clevo-laptop: register 5-step white keyboard backlight LED device Nick Dowsett via B4 Relay
2026-11-23 13:58 ` Werner Sembach [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=a07938a4-32e8-4aa5-984c-d17df8054df1@tuxedocomputers.com \
--to=wse@tuxedocomputers.com \
--cc=W_Armin@gmx.de \
--cc=a.hindborg@kernel.org \
--cc=acourbot@nvidia.com \
--cc=aliceryhl@google.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun@kernel.org \
--cc=dakr@kernel.org \
--cc=daniel.almeida@collabora.com \
--cc=gary@garyguo.net \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lossin@kernel.org \
--cc=nick42d@gmail.com \
--cc=ojeda@kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=tamird@kernel.org \
--cc=tmgross@umich.edu \
--cc=work@onurozkan.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
all inboxes | Powered by JetHome®