[ltp] hdaps axis fix for tp_smapi on Thinkpad R61

linux-thinkpad@linux-thinkpad.org linux-thinkpad@linux-thinkpad.org
Fri, 15 Feb 2008 16:32:56 +0100


--Boundary-00=_oCbtHwGwIbLIJbQ
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Please apply this to the tp_smapi sourcecode (patch against 0.36). The reason 
should be clear:

--Boundary-00=_oCbtHwGwIbLIJbQ
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="tp_r61_axis.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="tp_r61_axis.patch"

--- tp_smapi-0.36/hdaps.c	2008-01-27 23:39:27.000000000 +0100
+++ tp_smapi-0.36/hdaps.c	2008-02-15 16:17:27.000000000 +0100
@@ -789,6 +789,7 @@
 	HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad R60", HDAPS_ORIENT_INVERT_XY),
 	HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad T41p", HDAPS_ORIENT_INVERT_XY),
 	HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad T42p", HDAPS_ORIENT_INVERT_XY),
+	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad R61", HDAPS_ORIENT_INVERT_XY),
 	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad T60", HDAPS_ORIENT_INVERT_XY),
 	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad T61", HDAPS_ORIENT_INVERT_XY),
 	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X40", HDAPS_ORIENT_INVERT_Y),

--Boundary-00=_oCbtHwGwIbLIJbQ--