[PATCH] dell-smm-hwmon: Blacklist Dell Studio XPS 8100

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



CPU fan speed going up and down on Dell Studio XPS 8100 for
unknown reason. Without future debuggning on affected machine
it is not possible to detect where is problem. For more see:
https://bugzilla.kernel.org/show_bug.cgi?id=100121

Signed-off-by: Pali Rohár <pali.rohar@xxxxxxxxx>
Tested-by: Jan C Peters <jcpeters89@xxxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx # before v4.2 apply to file drivers/char/i8k.c
---
 drivers/hwmon/dell-smm-hwmon.c |   20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
index 37c16af..92c572c 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -929,6 +929,23 @@ static struct dmi_system_id i8k_dmi_table[] __initdata = {
 
 MODULE_DEVICE_TABLE(dmi, i8k_dmi_table);
 
+static struct dmi_system_id i8k_blacklist_dmi_table[] __initdata = {
+	{
+		/*
+		 * CPU fan speed going up and down on Dell Studio XPS 8100 for
+		 * unknown reason. Without future debuggning on affected machine
+		 * it is not possible to detect where is problem. For more see:
+		 * https://bugzilla.kernel.org/show_bug.cgi?id=100121
+		 */
+		.ident = "Dell Studio XPS 8100",
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Studio XPS 8100"),
+		},
+	},
+	{ }
+};
+
 /*
  * Probe for the presence of a supported laptop.
  */
@@ -940,7 +957,8 @@ static int __init i8k_probe(void)
 	/*
 	 * Get DMI information
 	 */
-	if (!dmi_check_system(i8k_dmi_table)) {
+	if (!dmi_check_system(i8k_dmi_table) ||
+	    dmi_check_system(i8k_blacklist_dmi_table)) {
 		if (!ignore_dmi && !force)
 			return -ENODEV;
 
-- 
1.7.9.5


_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux