All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch for drivers/platform/x86/compal-laptop.c
@ 2010-12-18 20:09 Albert Astals Cid
  2010-12-20 16:11 ` Matthew Garrett
  0 siblings, 1 reply; 5+ messages in thread
From: Albert Astals Cid @ 2010-12-18 20:09 UTC (permalink / raw)
  To: Cezary Jackiewicz, platform-driver-x86

[-- Attachment #1: Type: Text/Plain, Size: 443 bytes --]

*****
  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

[-- Attachment #2: khlb2.patch --]
[-- Type: text/x-patch, Size: 518 bytes --]

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
+	},
 	{ }
 };
 

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-07 22:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-18 20:09 Patch for drivers/platform/x86/compal-laptop.c Albert Astals Cid
2010-12-20 16:11 ` Matthew Garrett
2010-12-20 22:49   ` Albert Astals Cid
2010-12-20 22:51     ` Matthew Garrett
2011-01-07 22:30     ` Matthew Garrett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.