Comment 46 for bug 123775

Revision history for this message
linuxonbute (normanelliott) wrote : Re: [Bug 123775] Re: Elantech touchpad is incorrectly recogonised as a "ImPS/2 Logitech Wheel Mouse"

On 09/01/2008, Alan <email address hidden> wrote:
>
> 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
> +++ 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.
>
> Thanks,
>
> Alan
>
> ** Changed in: linux (Ubuntu)
> Sourcepackagename: xorg => linux
>
> --
> Elantech touchpad is incorrectly recogonised as a "ImPS/2 Logitech Wheel
> Mouse"
> https://bugs.launchpad.net/bugs/123775
> You received this bug notification because you are a direct subscriber
> of the bug.
>

The end of the file is not the same. It is :

+#ifdef CONFIG_MOUSE_PS2_ELANTECH
+ {
+ .type = PSMOUSE_ELANTECH,
+ .name = "ETPS/2",
+ .alias = "elantech",
+ .detect = elantech_detect,
+ .init = elantech_init,
+ },
+#endif
        {
                .type = PSMOUSE_AUTO,
+++ linux-2.6.22.6.new/drivers/input/mouse/psmouse.h 2007-09-14 00:09:
07.000000000 +0200
@@ -88,6 +88,7 @@ enum psmouse_type {
        PSMOUSE_LIFEBOOK,
        PSMOUSE_TRACKPOINT,
        PSMOUSE_TOUCHKIT_PS2,
+ PSMOUSE_ELANTECH,
        PSMOUSE_AUTO /* This one should always be last */
 };

I edited drivers/input/mouse/psmouse.h NOT /drivers/input/mouse/psmouse.h

as there is no such file or directory as /drivers/input/mouse/psmouse.h

Followed the rest of your instructions but it has made things worse in that
with the new kernel I have lost both wireless and sound.

There was still no section in /proc/bus/input/devices for the synaptics
driver.

When I first got the PC I had no sound which was due to the version of alsa
( 1.0.14 rather than 1.0.15 if I remember correctly ).

I have not tried installing it with the new kernel, just reverted to my
original settings for now.

If you want me to try this again should I clear out the changes and start
from scratch?

If so what do I need to do to return to the clean position I was in?

thanks,
Norman