Comment 66 for bug 296610

Revision history for this message
Sebastian Kapfer (caci) wrote : Re: [Bug 296610] Re: ALPS DualPoint Touchpad flaky performance

On Do, 2009-11-12 at 03:43 +0000, Erik wrote:
> Sebastian,
>
> Your patch gets us most of the way there. There's still a minor
> problem, apparently with the mouse buttons. They can occasionally get
> stuck in a "pressed" state.

Erik,

I'm sorry, but I can't reproduce this. Are you sure you're using my
patch and not the one by Chapman? It had exactly this issue. Also,
what kind of hardware do you have? Mine is in a Dell E6500.

> To reproduce, in Ubuntu (Gnome):
> 1) Press and hold the touchpad's left mouse button while the pointer is on the desktop (or anywhere in Nautilus).
> 2) Drag with the trackpoint (the stick).
> 3) Stop dragging with the trackpoint.
> 4) Release the touchpad's left mouse button.
> 5) Notice that the computer still thinks that the left mouse button is down. This behavior continues until you initiate an event (movement or buttons) with the trackpoint.

I tried many times now, but it doesn't happen here. Did the hardware
initialize properly, i.e. no error messages from alps.c and two devices
in /dev/input?

> I fixed this
> by setting the button state for both devices any time the state for one
> of them changed.

It may well be unavoidable, because at some times, the hardware does not
distinguish properly between touchpad buttons and trackpoint buttons.
However, I'm pretty sure that I catched those corner cases.

> Incidentally, the Windows driver seems to handle the issue by disabling
> the touchpad and touchpad buttons any time it is processing events from
> the trackpoint. I'm not sure that's desirable, but it is likely the way
> that the manufacturer intended for the device to be used.

LOL, I love it when commercial companies fix crappy hardware design in
the Windows driver. :-)

--
Best Regards, | Hi! I'm a .signature virus. Copy me into
 Sebastian | your ~/.signature to help me spread!