[PATCH 0/3] platform/x86: uniwill-laptop: Support the Eluktronics RP-15

From: Farhan via B4 Relay

Date: Sat Dec 05 2026 - 03:11:02 EST


This series adds support for the Eluktronics RP-15 (Red Pill Gen 1), a
Tongfang/Uniwill laptop with an AMD Ryzen 7 4800H and an NVIDIA RTX 2060,
similar to the TUXEDO Polaris 15 Gen1 AMD.

Patch 1 fixes the keyboard backlight keys on ECs that report the new level
but leave applying it to the driver (as the RP-15 does once manual control
is enabled). It is a descriptor flag, so other devices are unaffected.
Patch 2 adds the RP-15 with the features verified on the device. Patch 3
makes Fn lock and super key lock changes pollable, for on-screen displays.

Note for the RP-15 class: the EC registers at 0x0743-0x0746, which this
driver uses for NVIDIA cTGP control, hold the manual fan PWM levels here
(confirmed from the vendor software's register constants), so the cTGP
feature must stay disabled on this device.

Testing
-------
- Device: Eluktronics RP-15, BIOS N.1.21ELU09, EC project ID 0x10.
- Build: the series on for-next (fea9dfe6c) compiles in-tree with W=1
without warnings.
- Runtime: the running kernel is Ubuntu 7.0.0-38, so the driver from this
series was built out-of-tree against it, with two lines removed that need
newer core APIs (mc_subled.max_intensity, wmi_driver.min_event_size).
Checked:
- CPU/GPU temperatures and both fans, including under load;
- RGB keyboard backlight: colour, and the brightness keys now change the
level, with brightness and brightness_hw_changed in agreement (without
patch 1: brightness 3, brightness_hw_changed 4, no visible change);
- poll() on fn_lock and super_key_enable wakes for sysfs writes and for
the Fn+Esc / super key lock keys.
- Not tested, and therefore not enabled for the RP-15: battery charge
modes and USB-C power priority. Both attributes read sane values with
the Polaris descriptor.

Tool use
--------
These patches, including the changelogs, were written with an AI coding
assistant (Claude Code, Anthropic's Claude Opus 5.5) in an interactive
session. It reverse-engineered the EC interface on the device (ACPI
tables, EC RAM dumps, the vendor application's metadata), wrote an
out-of-tree driver, and ported the relevant changes to for-next. I
directed the work, ran the hardware tests, and reviewed the patches.
Each patch carries an Assisted-by tag.

Future work: the vendor's performance modes (Office/Gaming/Beast, mode
button and its LEDs), power limits and fan boost work on this device with
the same EC. I would like to propose them as platform_profile and hwmon
pwm1_enable support in a follow-up RFC.

---
Farhan (3):
platform/x86: uniwill-laptop: Optionally apply keyboard backlight levels
platform/x86: uniwill-laptop: Add support for the Eluktronics RP-15
platform/x86: uniwill-laptop: Notify userspace about Fn and super key lock changes

.../ABI/testing/sysfs-driver-uniwill-laptop | 6 ++
drivers/platform/x86/uniwill/uniwill-acpi.c | 69 ++++++++++++++++++----
2 files changed, 64 insertions(+), 11 deletions(-)
---
base-commit: fea9dfe6c4d93dc3f4b4b3534dc25bf283eaef08
change-id: 20261015-rp15-e1ad915492de

Best regards,
--
Farhan <khan.10.0412@xxxxxxxxx>