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

[PATCH] thinkpad-acpi: module autoloading for newer Lenovo ThinkPads.

From: Andrew Lutomirski <luto@xxxxxxx>

From: Manoj Iyer <manoj.iyer@xxxxxxxxxxxxx>
Date: Mon, 7 Mar 2011 17:26:47 -0600

The newer Lenovo ThinkPads have HKEY HID of LEN0068 instead
of IBM0068. Added new HID so that thinkpad_acpi module will
auto load on these newer Lenovo ThinkPads.

Acked-by: Henrique de Moraes Holschuh <hmh@xxxxxxxxxx>
Cc: stable@xxxxxxxxxx
Signed-off-by: Manoj Iyer <manoj.iyer@xxxxxxxxxxxxx>
Signed-off-by: Andy Lutomirski <luto@xxxxxxx>

Hi, mjg-

Can you add this to your tree for 2.6.39 (or 2.6.40 if you think it's
too late for a missing device ID)?  This is needed on a bunch of new
ThinkPad laptops (including mine).  Henrique asked me to forward my patch
or this one, and I think this one is slightly prettier.

hmh's email:


original patch from Manoj Iyer:


 drivers/platform/x86/thinkpad_acpi.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index eb99223..125d891 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -128,7 +128,8 @@ enum {
 /* ACPI HIDs */
-#define TPACPI_ACPI_HKEY_HID		"IBM0068"
 #define TPACPI_ACPI_EC_HID		"PNP0C09"
 /* Input IDs */
@@ -3879,7 +3880,8 @@ errexit:
 static const struct acpi_device_id ibm_htk_device_ids[] = {
 	{"", 0},

WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
ibm-acpi-devel mailing list

[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux