From: Armin Wolf <W_Armin@gmx.de>
To: Werner Sembach <wse@tuxedocomputers.com>,
ilpo.jarvinen@linux.intel.com, hdegoede@redhat.com,
chumuzero@gmail.com, corbet@lwn.net, cs@tuxedo.de,
ggo@tuxedocomputers.com
Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
platform-driver-x86@vger.kernel.org
Subject: Re: [RFC PATCH 0/3] platform/x86: Add support for Uniwill laptop features
Date: Wed, 18 Jun 2025 00:02:45 +0200 [thread overview]
Message-ID: <a01af201-328b-4017-ab17-16cbc4ecfff4@gmx.de> (raw)
In-Reply-To: <50c4d166-0254-4f5e-b006-85aef8d9dd02@tuxedocomputers.com>
Am 16.06.25 um 14:59 schrieb Werner Sembach:
> Hi Armin,
>
> Am 15.06.25 um 19:59 schrieb Armin Wolf:
>> This patch series adds support for the various features found on
>> laptops manufactured by Uniwill. Those features are:
>>
>> - battery charge limiting
>> - RGB lightbar control
>> - hwmon support
>> - improved hotkey support
>> - keyboard-related settings
>>
>> This patch series is based on the following out-of-tree drivers:
>>
>> - https://github.com/pobrn/qc71_laptop
>> - https://github.com/tuxedocomputers/tuxedo-drivers
> Better use
> https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers
>>
>> Additionally the OEM software of the Intel Nuc x15 was
>> reverse-engineered to have a better understanding about the underlying
>> hardware interface.
>>
>> The first patch introduces the uniwill-wmi driver used for handling
>> WMI events on Uniwill devices. Due to a grave design error inside the
>> underlying WMI firmware interface (the WMI GUID was copied from the
>> Windows driver samples and is thus not unique) the driver cannot be
>> autoloaded. Instead drivers using this module will load it as an
>> module dependency.
>>
>> The second patch introduces the uniwill-laptop driver that does the
>> majority of the work. This driver talks to the embedded controller
>> yet another WMI interface to control the various features. Sadly this
>> WMI firmware interfaces suffers from the exact same issue (the WMI
>> GUID is not unique) and thus a DMI whitelist has to be used for
>> loading the driver.
>>
>> The last patch finally adds some documentation for configuring and
>> using both drivers.
>>
>> Special thanks go to:
>>
>> - github user cyear for bring up this topic on the lm-sensors issue
>> tracker and being the tester for various prototype versions
>> - github user dumingqiao for testing the battery, lightbar and
>> keyboard-related features
>> - Tuxedo computers for giving advice on how to design the userspace
>> interface
>>
>> I send this series as an RFC to gather feedback and to request any
>> involved developers if they want to have their Co-developed-by tags
>> on the final patch series.
>
> Afaik most of the initial uniwill module in tuxedo-drivers was written
> by Christoffer, he is currently on holiday, but I will ask him when he
> is back. I also did later added to it later.
>
> Since this driver is a complete rewrite I'm not sure if a Co-developed
> by for Christoffer and me is appropriate, but we would ofc be happy
> about it. Maybe for finding out the EC register meanings that you
> probably at least partially copied over from tuxedo-drivers?
>
I did, but i mostly relied on the reverse-engineered OEM application for that.
> Or do you see another label more fitting?
>
I could also include your names inside the individual driver source code in a special thank-you section.
Thanks,
Armin Wolf
> Best regards,
>
> Werner
>
>>
>> Armin Wolf (3):
>> platform/x86: Add Uniwill WMI driver
>> platform/x86: Add Uniwill laptop driver
>> Documentation: laptops: Add documentation for uniwill laptops
>>
>> .../ABI/testing/sysfs-driver-uniwill-laptop | 53 +
>> Documentation/admin-guide/laptops/index.rst | 1 +
>> .../admin-guide/laptops/uniwill-laptop.rst | 68 +
>> Documentation/wmi/devices/uniwill-laptop.rst | 109 ++
>> Documentation/wmi/devices/uniwill-wmi.rst | 52 +
>> MAINTAINERS | 17 +
>> drivers/platform/x86/Kconfig | 2 +
>> drivers/platform/x86/Makefile | 3 +
>> drivers/platform/x86/uniwill/Kconfig | 49 +
>> drivers/platform/x86/uniwill/Makefile | 8 +
>> drivers/platform/x86/uniwill/uniwill-laptop.c | 1477 +++++++++++++++++
>> drivers/platform/x86/uniwill/uniwill-wmi.c | 178 ++
>> drivers/platform/x86/uniwill/uniwill-wmi.h | 122 ++
>> 13 files changed, 2139 insertions(+)
>> create mode 100644
>> Documentation/ABI/testing/sysfs-driver-uniwill-laptop
>> create mode 100644
>> Documentation/admin-guide/laptops/uniwill-laptop.rst
>> create mode 100644 Documentation/wmi/devices/uniwill-laptop.rst
>> create mode 100644 Documentation/wmi/devices/uniwill-wmi.rst
>> create mode 100644 drivers/platform/x86/uniwill/Kconfig
>> create mode 100644 drivers/platform/x86/uniwill/Makefile
>> create mode 100644 drivers/platform/x86/uniwill/uniwill-laptop.c
>> create mode 100644 drivers/platform/x86/uniwill/uniwill-wmi.c
>> create mode 100644 drivers/platform/x86/uniwill/uniwill-wmi.h
>>
prev parent reply other threads:[~2025-06-17 22:02 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-15 17:59 Armin Wolf
2025-06-15 17:59 ` [RFC PATCH 1/3] platform/x86: Add Uniwill WMI driver Armin Wolf
2025-06-15 18:46 ` Randy Dunlap
2025-06-15 19:05 ` ALOK TIWARI
2025-06-17 20:58 ` Armin Wolf
2025-06-15 20:32 ` Randy Dunlap
2025-06-16 9:21 ` Hans de Goede
2025-06-17 21:10 ` Armin Wolf
2025-06-18 7:23 ` Hans de Goede
2025-06-16 11:14 ` Werner Sembach
2025-06-15 17:59 ` [RFC PATCH 2/3] platform/x86: Add Uniwill laptop driver Armin Wolf
2025-06-15 19:00 ` Randy Dunlap
2025-06-17 21:40 ` Armin Wolf
2025-06-15 20:39 ` Randy Dunlap
2025-06-16 8:10 ` Ilpo Järvinen
2025-06-17 21:47 ` Armin Wolf
2025-06-16 12:32 ` Werner Sembach
2025-06-17 21:50 ` Armin Wolf
2025-06-18 11:15 ` Werner Sembach
2025-06-22 18:58 ` Armin Wolf
2025-06-16 12:46 ` Werner Sembach
2025-06-17 21:52 ` Armin Wolf
2025-06-19 9:47 ` Lee Jones
2025-06-19 12:30 ` Hans de Goede
2025-06-19 15:17 ` Lee Jones
2025-06-19 20:03 ` Hans de Goede
2025-06-22 19:19 ` Armin Wolf
2025-06-22 21:37 ` Pőcze Barnabás
2025-06-22 22:36 ` Armin Wolf
2025-06-25 15:59 ` Pőcze Barnabás
2025-06-27 23:09 ` Armin Wolf
2025-06-30 12:32 ` Werner Sembach
2025-06-30 12:40 ` Armin Wolf
2025-06-30 12:55 ` Werner Sembach
2025-06-30 13:21 ` Armin Wolf
2025-06-15 17:59 ` [RFC PATCH 3/3] Documentation: laptops: Add documentation for uniwill laptops Armin Wolf
2025-06-18 6:23 ` Randy Dunlap
2025-06-18 20:06 ` Armin Wolf
2025-06-16 12:59 ` [RFC PATCH 0/3] platform/x86: Add support for Uniwill laptop features Werner Sembach
2025-06-17 22:02 ` Armin Wolf [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=a01af201-328b-4017-ab17-16cbc4ecfff4@gmx.de \
--to=w_armin@gmx.de \
--cc=chumuzero@gmail.com \
--cc=corbet@lwn.net \
--cc=cs@tuxedo.de \
--cc=ggo@tuxedocomputers.com \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=wse@tuxedocomputers.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
all inboxes | Powered by JetHome®