From: Jonas Haugk <j.haugk@gmx.de>
To: linux-hwmon@vger.kernel.org
Cc: pali@kernel.org, linux@roeck-us.net,
linux-kernel@vger.kernel.org, Jonas Haugk <j.haugk@gmx.de>
Subject: [PATCH] hwmon: dell-smm-hwmon: Add fan control for OptiPlex Micro 7020
Date: Sun, 2 Aug 2026 23:03:18 +0200 [thread overview]
Message-ID: <20260802210318.345995-1-j.haugk@gmx.de> (raw)
Add the Dell OptiPlex Micro 7020 to the fan control whitelist using
the 0x34a3/0x35a3 SMM command pair.
Manual fan control was tested successfully with PWM values 64, 128,
and 255. The fan speed changed accordingly. Restoring automatic BIOS
fan control through pwm1_enable also worked correctly.
Tested on a Dell OptiPlex Micro 7020.
Signed-off-by: Jonas Haugk <j.haugk@gmx.de>
---
drivers/hwmon/dell-smm-hwmon.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
index 20920d4bd..23773421a 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -1655,6 +1655,15 @@ static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = {
},
.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_30A3_31A3],
},
+ {
+ .ident = "Dell OptiPlex Micro 7020",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME,
+ "OptiPlex Micro 7020"),
+ },
+ .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
+ },
{ }
};
--
2.39.5
next reply other threads:[~2026-08-02 21:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-02 21:03 Jonas Haugk [this message]
2026-08-02 23:35 ` Armin Wolf
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=20260802210318.345995-1-j.haugk@gmx.de \
--to=j.haugk@gmx.de \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=pali@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®