From: Werner Sembach <wse@tuxedocomputers.com>
To: hdegoede@redhat.com, ilpo.jarvinen@linux.intel.com,
wse@tuxedocomputers.com, ukleinek@kernel.org, jdelvare@suse.com,
linux@roeck-us.net
Cc: linux-kernel@vger.kernel.org,
platform-driver-x86@vger.kernel.org, linux-pwm@vger.kernel.org,
linux-hwmon@vger.kernel.org
Subject: [RFC PATCH 0/1] platform/x86/tuxedo: Implement TUXEDO TUXI ACPI TFAN via hwmon
Date: Wed, 5 Feb 2025 17:19:19 +0100 [thread overview]
Message-ID: <20250205162109.222619-1-wse@tuxedocomputers.com> (raw)
This Implements fan controls for userspace for the TUXEDO Sirius 16 Gen 1 & 2.
It also adds safeguards that userspace cannot go below certain fanspeeds at
certain temperatures. My suspicion that this is necessary was proven correct
during testing of this patch: The former version had the highest safeguard level
as 40% fanspeed at temperatures above 90°C. But after letting the device run
like that with a CPU + GPU load for a short period of time, it turned off.
It was hot to the touch above the keyboard and it doesn't turn on anymore since
then. Even after letting it cool down overnight. So I probably fried the
mainboard.
This cut my testing short for the time being and is the reason why this is send
as an RFC. It should however work and now has two additional min fanspeeds: 60%
at 95°C and 100% at 100°C.
Enforcing these minimum fanspeeds at the EC-firmware level is not possible as we
only have access to the EC-firmware as a binary blob.
Werner Sembach (1):
platform/x86/tuxedo: Implement TUXEDO TUXI ACPI TFAN via hwmon
MAINTAINERS | 6 +
drivers/platform/x86/Kconfig | 2 +
drivers/platform/x86/Makefile | 3 +
drivers/platform/x86/tuxedo/Kbuild | 6 +
drivers/platform/x86/tuxedo/Kconfig | 6 +
drivers/platform/x86/tuxedo/nbxx/Kbuild | 9 +
drivers/platform/x86/tuxedo/nbxx/Kconfig | 13 +
.../x86/tuxedo/nbxx/acpi_tuxi_hwmon.c | 421 ++++++++++++++++++
.../x86/tuxedo/nbxx/acpi_tuxi_hwmon.h | 14 +
.../platform/x86/tuxedo/nbxx/acpi_tuxi_init.c | 60 +++
.../platform/x86/tuxedo/nbxx/acpi_tuxi_init.h | 16 +
.../platform/x86/tuxedo/nbxx/acpi_tuxi_util.c | 58 +++
.../platform/x86/tuxedo/nbxx/acpi_tuxi_util.h | 84 ++++
13 files changed, 698 insertions(+)
create mode 100644 drivers/platform/x86/tuxedo/Kbuild
create mode 100644 drivers/platform/x86/tuxedo/Kconfig
create mode 100644 drivers/platform/x86/tuxedo/nbxx/Kbuild
create mode 100644 drivers/platform/x86/tuxedo/nbxx/Kconfig
create mode 100644 drivers/platform/x86/tuxedo/nbxx/acpi_tuxi_hwmon.c
create mode 100644 drivers/platform/x86/tuxedo/nbxx/acpi_tuxi_hwmon.h
create mode 100644 drivers/platform/x86/tuxedo/nbxx/acpi_tuxi_init.c
create mode 100644 drivers/platform/x86/tuxedo/nbxx/acpi_tuxi_init.h
create mode 100644 drivers/platform/x86/tuxedo/nbxx/acpi_tuxi_util.c
create mode 100644 drivers/platform/x86/tuxedo/nbxx/acpi_tuxi_util.h
--
2.43.0
next reply other threads:[~2025-02-05 16:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-05 16:19 Werner Sembach [this message]
2025-02-05 16:19 ` [RFC PATCH 1/1] platform/x86/tuxedo: Implement TUXEDO TUXI ACPI TFAN via hwmon Werner Sembach
2025-02-05 18:01 ` Guenter Roeck
2025-02-06 9:28 ` Werner Sembach
2025-02-06 18:57 ` Guenter Roeck
2025-02-06 22:55 ` Werner Sembach
2025-02-21 11:50 ` Werner Sembach
2025-02-06 9:51 ` Ilpo Järvinen
2025-02-06 15:38 ` Werner Sembach
2025-02-07 11:53 ` Ilpo Järvinen
2025-02-07 18:44 ` Werner Sembach
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=20250205162109.222619-1-wse@tuxedocomputers.com \
--to=wse@tuxedocomputers.com \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jdelvare@suse.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=platform-driver-x86@vger.kernel.org \
--cc=ukleinek@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