Not entirely sure why it did that, can you clarify that the last few lines of the patch file look like:
--- linux-source-2.6.22-2.6.22/drivers/input/mouse/psmouse.h 2007-07-09 00:32:17.000000000 +0100
+++ elantech-linux-source-2.6.22-2.6.22/drivers/input/mouse/psmouse.h 2008-01-05 11:32:06.000000000 +0000
@@ -88,6 +88,7 @@ enum psmouse_type {
PSMOUSE_LIFEBOOK,
PSMOUSE_TRACKPOINT,
PSMOUSE_TOUCHKIT_PS2,
+ PSMOUSE_ELANTECH,
PSMOUSE_AUTO /* This one should always be last */
};
ensure there is nothing after the semi-colon at the end, no blank lines etc...
if that still doesn't work, try removing what i have printed above, and edit /drivers/input/mouse/psmouse.h adding the line "PSMOUSE_ELANTECH," in the same position as above, don't put in the "+" that is something diff uses. you'll still need to run all commands as per my instructions.
Hi,
Not entirely sure why it did that, can you clarify that the last few lines of the patch file look like:
--- linux-source- 2.6.22- 2.6.22/ drivers/ input/mouse/ psmouse. h 2007-07-09 00:32:17.000000000 +0100 linux-source- 2.6.22- 2.6.22/ drivers/ input/mouse/ psmouse. h 2008-01-05 11:32:06.000000000 +0000 TRACKPOINT, TOUCHKIT_ PS2,
+++ elantech-
@@ -88,6 +88,7 @@ enum psmouse_type {
PSMOUSE_LIFEBOOK,
PSMOUSE_
PSMOUSE_
+ PSMOUSE_ELANTECH,
PSMOUSE_AUTO /* This one should always be last */
};
ensure there is nothing after the semi-colon at the end, no blank lines etc... input/mouse/ psmouse. h adding the line "PSMOUSE_ELANTECH," in the same position as above, don't put in the "+" that is something diff uses. you'll still need to run all commands as per my instructions.
if that still doesn't work, try removing what i have printed above, and edit /drivers/
Thanks,
Alan