]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
hwmon: (dell-smm) Add Dell OptiPlex 7060 to DMI table
authorArmin Wolf <W_Armin@gmx.de>
Fri, 28 Jun 2024 21:47:23 +0000 (23:47 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 30 Jun 2024 16:13:08 +0000 (09:13 -0700)
The BIOS on this machine is buggy and will in some cases return
an error when trying to get the fan state, but reading of the
RPM values and the temperature sensors still works.

Closes: https://github.com/vitorafsr/i8kutils/issues/38
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Acked-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20240628214723.19665-1-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/dell-smm-hwmon.rst
drivers/hwmon/dell-smm-hwmon.c

index 977263cb57a837b6352b7eb93ea277bc819ed453..74905675d71f9943109f9cee10a445ed7ac0bca9 100644 (file)
@@ -360,6 +360,8 @@ Firmware Bug                                            Affected Machines
 ======================================================= =================
 Reading of fan states return spurious errors.           Precision 490
 
+                                                        OptiPlex 7060
+
 Reading of fan types causes erratic fan behaviour.      Studio XPS 8000
 
                                                         Studio XPS 8100
index 48a81c64f00d2535d84dd15aca6c081e2f275207..c75bfe93f2f6bd7ae46cbf9948830a5e7502ae3c 100644 (file)
@@ -1263,6 +1263,13 @@ static const struct dmi_system_id i8k_dmi_table[] __initconst = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "MP061"),
                },
        },
+       {
+               .ident = "Dell OptiPlex 7060",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "OptiPlex 7060"),
+               },
+       },
        {
                .ident = "Dell Precision",
                .matches = {