2003-07-08 19:19:57

by Carl Thompson

[permalink] [raw]
Subject: Problems with touchpad on 2.5


I am not on the linux-kernel list so please CC me with any responses. The
post halloween document for 2.5 suggests that you are the person to whom I
should address this question with a CC to the linux-kernel list. If this
is not correct, please let me know. I could not find the answer to this
question with the usual google and lkml searches.

My laptop (emachines M5305 Widescreen) has a Synaptics touchpad with a
scroll area. This scroll area serves the same purpose as mouse wheel on a
normal ps2 mouse. The touchpad uses a ps2 interface.

Under 2.4, everything works fine. With X I just configure it to use
/dev/psaux with the IMPS/2 protocol. The touchpad and the scroll area work
correctly.

Under 2.5, there are two problems. The first problem is that the touchpad
won't work at all with normal settings. However, if I start the kernel
with "psmouse_noext" the touchpad works. I believe that the kernel should
not require any options to use this very common touchpad.

The second problem is that once I get the touchpad working with the boot
option above, the scroll area still will not work. I have tried the same
setup (X cofigured to point to /dev/psaux and using protocol IMPS/2). I
have also tried using /dev/input/mouse0 and /dev/input/mice. I have tried
the XFree86 Synaptics driver instead of the X built in "mouse" driver but
that does not work at all under 2.5 (works under 2.4). If I use "cat" to
show activity using any of these devices normal touchpad movements show
something but scroll area movements show nothing.

It appears that 2.5 is doing some undesirable filtering of the ps2 mouse
events?

I have attached my 2.5 .config in case you'd like to see it.

Do you have any idea what my problem might be?

Thank you,
Carl Thompson


Attachments:
(No filename) (1.73 kB)
.config (27.87 kB)
Download all attachments

2003-07-08 23:13:26

by Peter Osterlund

[permalink] [raw]
Subject: Re: Problems with touchpad on 2.5

Carl Thompson <[email protected]> writes:

> My laptop (emachines M5305 Widescreen) has a Synaptics touchpad with a
> scroll area. This scroll area serves the same purpose as mouse wheel on a
> normal ps2 mouse. The touchpad uses a ps2 interface.
>
> Under 2.4, everything works fine. With X I just configure it to use
> /dev/psaux with the IMPS/2 protocol. The touchpad and the scroll area work
> correctly.
>
> Under 2.5, there are two problems. The first problem is that the touchpad
> won't work at all with normal settings. However, if I start the kernel
> with "psmouse_noext" the touchpad works. I believe that the kernel should
> not require any options to use this very common touchpad.
>
> The second problem is that once I get the touchpad working with the boot
> option above, the scroll area still will not work. I have tried the same
> setup (X cofigured to point to /dev/psaux and using protocol IMPS/2). I
> have also tried using /dev/input/mouse0 and /dev/input/mice. I have tried
> the XFree86 Synaptics driver instead of the X built in "mouse" driver but
> that does not work at all under 2.5 (works under 2.4).

You need an updated driver with 2.5 support:

http://w1.894.telia.com/~u89404340/touchpad/index.html

(There is no GPM support yet unfortunately.) Boot without the
psmouse_noext option. Use something like this in your XF86Config file.

Section "InputDevice"
Identifier "TouchPad"
Driver "synaptics"
Option "Device" "/dev/input/event3"
Option "Protocol" "event"
Option "MinSpeed" "0.08"
Option "MaxSpeed" "0.10"
Option "AccelFactor" "0.0010"
Option "SHMConfig" "on"
EndSection

Note that you need to replace the "3" with the correct number for your
hardware setup.

Vojtech. Is it possible to figure out automatically from user space
which eventX device is connected to the touchpad? It's not very user
friendly to have to figure out this number manually, and it's quite
annoying that you get a different number if a USB mouse is connected
to the computer.

--
Peter Osterlund - [email protected]
http://w1.894.telia.com/~u89404340

2003-07-09 01:38:00

by Carl Thompson

[permalink] [raw]
Subject: Re: Problems with touchpad on 2.5

Thanks, this works for me. I had tried the Synaptics driver also, but with
the psmouse_noext option set which didn't work. It should be noted
somewhere (in the config help?) that the 2.4 behavior of just being able to
use the psaux device with the default X driver no longer works.

Now that this is taken care of and I have ported my 802.11a/b/g wireless
adapter's driver to use 2.5 I can try to use 2.5 full time. I take it's
about that time when the kernel folks want non-kernel folks to start
banging on 2.5 (soon to be 2.6pre) and send the lkml problem reports,
correct?

Thank you,
Carl Thompson

Quoting Peter Osterlund <[email protected]>:

> Carl Thompson <[email protected]> writes:
>
> > My laptop (emachines M5305 Widescreen) has a Synaptics touchpad with a
> > scroll area. This scroll area serves the same purpose as mouse wheel
> on a
> > normal ps2 mouse. The touchpad uses a ps2 interface.
> >
> > Under 2.4, everything works fine. With X I just configure it to use
> > /dev/psaux with the IMPS/2 protocol. The touchpad and the scroll area
> work
> > correctly.
> >
> > Under 2.5, there are two problems. The first problem is that the
> touchpad
> > won't work at all with normal settings. However, if I start the kernel
> > with "psmouse_noext" the touchpad works. I believe that the kernel
> should
> > not require any options to use this very common touchpad.
> >
> > The second problem is that once I get the touchpad working with the
> boot
> > option above, the scroll area still will not work. I have tried the
> same
> > setup (X cofigured to point to /dev/psaux and using protocol IMPS/2).
> I
> > have also tried using /dev/input/mouse0 and /dev/input/mice. I have
> tried
> > the XFree86 Synaptics driver instead of the X built in "mouse" driver
> but
> > that does not work at all under 2.5 (works under 2.4).
>
> You need an updated driver with 2.5 support:
>
> http://w1.894.telia.com/~u89404340/touchpad/index.html
>
> (There is no GPM support yet unfortunately.) Boot without the
> psmouse_noext option. Use something like this in your XF86Config file.
>
> Section "InputDevice"
> Identifier "TouchPad"
> Driver "synaptics"
> Option "Device" "/dev/input/event3"
> Option "Protocol" "event"
> Option "MinSpeed" "0.08"
> Option "MaxSpeed" "0.10"
> Option "AccelFactor" "0.0010"
> Option "SHMConfig" "on"
> EndSection
>
> Note that you need to replace the "3" with the correct number for your
> hardware setup.
>
> Vojtech. Is it possible to figure out automatically from user space
> which eventX device is connected to the touchpad? It's not very user
> friendly to have to figure out this number manually, and it's quite
> annoying that you get a different number if a USB mouse is connected
> to the computer.
>
> --
> Peter Osterlund - [email protected]
> http://w1.894.telia.com/~u89404340
>
>