X86 platform drivers
 help / color / mirror / Atom feed
From: Albert Astals Cid <aacid@kde.org>
To: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>,
	platform-driver-x86@vger.kernel.org
Subject: Patch for drivers/platform/x86/compal-laptop.c
Date: Sat, 18 Dec 2010 20:09:57 +0000	[thread overview]
Message-ID: <201012182009.57670.aacid@kde.org> (raw)

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

             reply	other threads:[~2010-12-18 20:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-18 20:09 Albert Astals Cid [this message]
2010-12-20 16:11 ` Patch for drivers/platform/x86/compal-laptop.c Matthew Garrett
2010-12-20 22:49   ` Albert Astals Cid
2010-12-20 22:51     ` Matthew Garrett
2011-01-07 22:30     ` Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201012182009.57670.aacid@kde.org \
    --to=aacid@kde.org \
    --cc=cezary.jackiewicz@gmail.com \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox