From: Armin Wolf <W_Armin@gmx.de>
To: "Mohamed Jouini" <amad3v@gmail.com>,
"Hans de Goede" <hansg@kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] platform/x86: uniwill-laptop: Add PCSpecialist Recoil 16 AMD
Date: Sat, 26 Sep 2026 01:44:37 +0200 [thread overview]
Message-ID: <00235605-05f0-48e7-8561-486b8ddc9c12@gmx.de> (raw)
In-Reply-To: <20260925211635.1422516-2-amad3v@gmail.com>
Am 25.09.26 um 23:16 schrieb Mohamed Jouini:
> The PCSpecialist Recoil 16 AMD is a rebadged TUXEDO Stellaris 16 Gen7 AMD
> but reports sys_vendor "PCSpecialist" and board name "X6FR57TY", so the
> existing entry does not match it.
>
> Use the Stellaris 16 Gen7 AMD feature set, but with the percentage charge
> limit instead of the charging profiles: on this firmware the "balanced"
> profile does not limit charging (the battery still charges to full),
> whereas the ACPI _BST method reads EC_ADDR_CHARGE_CTRL (CGLM) and reports
> the "charge limiting" state bit while it is set to 1-99. Setting
> charge_control_end_threshold to 90 on a full battery switches the
> reported status from "Full" to "Not charging", and charging stops at 90%.
Hi,
it is to be expected that the EC firmware will emulate a full charge to 100 percent even
when battery health conservation is enabled. I strongly warn you against enabling the
charge limit on machines other that Intel NUC-based models because apparently Uniwill
considers the charge limit feature as a preview on all other models, so accessing it
might permanently damage you battery!
I suggest you continue to use the battery charge modes.
Thanks,
Armin Wolf
> Signed-off-by: Mohamed Jouini <amad3v@gmail.com>
> ---
> drivers/platform/x86/uniwill/uniwill-acpi.c | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> diff --git a/drivers/platform/x86/uniwill/uniwill-acpi.c b/drivers/platform/x86/uniwill/uniwill-acpi.c
> index eeead0159..beba5a76a 100644
> --- a/drivers/platform/x86/uniwill/uniwill-acpi.c
> +++ b/drivers/platform/x86/uniwill/uniwill-acpi.c
> @@ -2787,6 +2787,19 @@ static struct uniwill_device_descriptor tux_featureset_4_nvidia_descriptor __ini
> UNIWILL_FEATURE_USB_POWERSHARE,
> };
>
> +static struct uniwill_device_descriptor pcs_recoil16_amd_descriptor __initdata = {
> + .features = UNIWILL_FEATURE_FN_LOCK |
> + UNIWILL_FEATURE_SUPER_KEY |
> + UNIWILL_FEATURE_BATTERY_CHARGE_LIMIT |
> + UNIWILL_FEATURE_CPU_TEMP |
> + UNIWILL_FEATURE_GPU_TEMP |
> + UNIWILL_FEATURE_PRIMARY_FAN |
> + UNIWILL_FEATURE_SECONDARY_FAN |
> + UNIWILL_FEATURE_NVIDIA_CTGP_CONTROL |
> + UNIWILL_FEATURE_AC_AUTO_BOOT |
> + UNIWILL_FEATURE_USB_POWERSHARE,
> +};
> +
> static int phxtxx1_probe(struct uniwill_data *data)
> {
> unsigned int value;
> @@ -3268,6 +3281,14 @@ static const struct dmi_system_id uniwill_dmi_table[] __initconst = {
> },
> .driver_data = &tux_featureset_4_nvidia_descriptor,
> },
> + {
> + .ident = "PCSpecialist Recoil 16 AMD",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "PCSpecialist"),
> + DMI_EXACT_MATCH(DMI_BOARD_NAME, "X6FR57TY"),
> + },
> + .driver_data = &pcs_recoil16_amd_descriptor,
> + },
> {
> .ident = "TUXEDO Stellaris 16 Gen7 Intel",
> .matches = {
next prev parent reply other threads:[~2026-09-25 23:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-25 21:16 [PATCH 0/3] platform/x86: uniwill-laptop: Support the " Mohamed Jouini
2026-09-25 21:16 ` [PATCH 1/3] platform/x86: uniwill-laptop: Add " Mohamed Jouini
2026-09-25 23:44 ` Armin Wolf [this message]
2026-09-26 0:24 ` Am Dev
2026-09-25 21:16 ` [PATCH 2/3] platform/x86: uniwill-laptop: Add platform profile support Mohamed Jouini
2026-09-25 23:54 ` Armin Wolf
2026-09-26 0:33 ` Am Dev
2026-09-25 21:16 ` [PATCH 3/3] platform/x86: uniwill-laptop: Map the screen rotation key Mohamed Jouini
2026-09-25 23:52 ` Armin Wolf
2026-09-29 23:22 ` Werner Sembach
2026-10-01 9:01 ` Christoffer Sandberg
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=00235605-05f0-48e7-8561-486b8ddc9c12@gmx.de \
--to=w_armin@gmx.de \
--cc=amad3v@gmail.com \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®