Patch for drivers/platform/x86/compal-laptop.c

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

 



*****
  Please CC me on answers i'm not subscribed to the list.
*****

Hi, this patch adds support for my compal laptop model.

I've checked the values the driver uses against 
http://ftp.compal.com/Download/NB/KHLBX/Service Manual/KHLB2_SM_PDF.pdf and 
they match and i've been using the driver for a while and it helps me with my 
fan speed problem (as i can change the fan to be controled by the OS instead 
of by the motherboard).

Albert
diff --git a/drivers/platform/x86/compal-laptop.c b/drivers/platform/x86/compal-laptop.c
index 097083c..034572b 100644
--- a/drivers/platform/x86/compal-laptop.c
+++ b/drivers/platform/x86/compal-laptop.c
@@ -872,6 +872,14 @@ static struct dmi_system_id __initdata compal_dmi_table[] = {
 		},
 		.callback = dmi_check_cb_extra
 	},
+	{
+		.ident = "KHLB2",
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "KHLB2"),
+			DMI_MATCH(DMI_BOARD_VERSION, "REFERENCE"),
+		},
+		.callback = dmi_check_cb_extra
+	},
 	{ }
 };
 

[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux