[ltp] Patch for proper invert in hdaps hwmon on a X60s
Damjan
linux-thinkpad@linux-thinkpad.org
Thu, 10 Jan 2008 07:55:54 +0100
At least this is true for my X60s 17045UG,
Bios: 7BETD2WW (2.13 ) 08/10/2007
EC: 7BHT40WW-1.13
--- drivers/hwmon/hdaps.c~ 2008-01-10 07:34:26.000000000 +0100
+++ drivers/hwmon/hdaps.c 2008-01-10 07:45:22.000000000 +0100
@@ -784,6 +784,7 @@
HDAPS_DMI_MATCH_INVERT("LENOVO","ThinkPad T61", HDAPS_ORIENT_INVERT_XY),
HDAPS_DMI_MATCH_INVERT("LENOVO","ThinkPad X40", HDAPS_ORIENT_INVERT_Y),
HDAPS_DMI_MATCH_INVERT("LENOVO","ThinkPad X41", HDAPS_ORIENT_INVERT_Y),
+ HDAPS_DMI_MATCH_INVERT("LENOVO","ThinkPad X60s", HDAPS_ORIENT_INVERT_Y),
HDAPS_DMI_MATCH_INVERT("LENOVO","ThinkPad X60", HDAPS_ORIENT_SWAP | HDAPS_ORIENT_INVERT_X),
// HDAPS_DMI_MATCH_INVERT("LENOVO","ThinkPad X60 Tablet", HDAPS_ORIENT_INVERT_Y),
HDAPS_DMI_MATCH_INVERT("LENOVO","ThinkPad X61s", HDAPS_ORIENT_SWAP | HDAPS_ORIENT_INVERT_X),
-------------------------------------------------------------------
ps.
Note to others, the order in the whitelist IS significant. If I put the
X60s after the X60, only the X60 is matched.
--
damjan | дамјан
This is my jabber ID --> damjan@bagra.net.mk
-- not my mail address, it's a Jabber ID --^ :)