Re: touchpad doesn't work under 2.6.0-test1-ac2

From: Petr Vandrovec (vandrove@vc.cvut.cz)
Date: Thu Jul 24 2003 - 16:24:16 EST


On Thu, Jul 24, 2003 at 10:27:51PM +0200, Michael Schierl wrote:
> David Benfell <benfell@greybeard95a.com> wrote:
>
> However, giving 'psmouse_noext' as kernel param helped for me to make
> the touchpad work (using /dev/input/mice (protocol autops2) as source
> for gpm and gpm repeater as source for x, as I did in 2.4.x kernels).
>
> Setting "#define DEBUG" in drivers/input/serio/i8042.c caused lots of
> lines of text on my console whenever i touched either the touchpad or
> one of the (four) buttons.

In the drivers/input/mousedev.c there is (beside other entries) only
one entry for absolute devices:

{
        .flags = INPUT_DEVICE_ID_MATCH_EVBIT | INPUT_DEVICE_ID_MATCH_KEYBIT | INPUT_DEVICE_ID_MATCH_ABSBIT,
        .evbit = { BIT(EV_KEY) | BIT(EV_ABS) },
        .keybit = { [LONG(BTN_TOUCH)] = BIT(BTN_TOUCH) },
        .absbit = { BIT(ABS_X) | BIT(ABS_Y) },
}, /* A tablet like device, at least touch detection, two absolute axes */

This entry requires that device reports BTN_TOUCH - but Synaptics tablet
does not have any BTN_TOUCH, it has only "normal" LEFT, RIGHT buttons.
So I created additional entry, which listed "[LONG(BTN_LEFT)] = BIT(BTN_LEFT)"
for .keybit instead.

After this change gpm sees some events, but vertical movement is reversed
(although synaptics does not report that...) and whenever I take finger
up from touchpad mouse randomly jumps over screen.

And worse - after booting with Synaptics protocol enabled touching flatpannel
with finger stops working as left button until machine is powered off.

This all happens on Compaq EVO N800C. I strongly believe that we need a
build time option for disabling Synaptics detection, or at least input_synaptics=0
runtime option, until it can work at least as well as it works like ps/2
device.

Needless to say that small joystick on the keyboard does not work in synaptics
mode, and it does not create separate input device.

                                        Best regards,
                                                Petr Vandrovec
                                                vandrove@vc.cvut.cz
                                                

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:23 EST