[PATCH 4/4] hwmon: (dell-smm) Add support for Dell OptiPlex 7040

Armin Wolf posted 4 patches 2 weeks ago
[PATCH 4/4] hwmon: (dell-smm) Add support for Dell OptiPlex 7040
Posted by Armin Wolf 2 weeks ago
The Dell OptiPlex 7040 supports the legacy SMM interface for reading
sensors and performing fan control. Whitelist this machine so that
this driver loads automatically.

Closes: https://github.com/Wer-Wolf/i8kutils/issues/15
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
---
 drivers/hwmon/dell-smm-hwmon.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
index 79befa13b699..cbe1a74a3dee 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -1330,6 +1330,13 @@ static const struct dmi_system_id i8k_dmi_table[] __initconst = {
 			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "OptiPlex 7050"),
 		},
 	},
+	{
+		.ident = "Dell OptiPlex 7040",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "OptiPlex 7040"),
+		},
+	},
 	{
 		.ident = "Dell Precision",
 		.matches = {
-- 
2.39.5
Re: [PATCH 4/4] hwmon: (dell-smm) Add support for Dell OptiPlex 7040
Posted by Guenter Roeck 1 week ago
On Wed, Sep 17, 2025 at 08:10:36PM +0200, Armin Wolf wrote:
> The Dell OptiPlex 7040 supports the legacy SMM interface for reading
> sensors and performing fan control. Whitelist this machine so that
> this driver loads automatically.
> 
> Closes: https://github.com/Wer-Wolf/i8kutils/issues/15
> Signed-off-by: Armin Wolf <W_Armin@gmx.de>

Applied.

Guenter