[Hampshire] touchscreen and touchpad at the same time

Top Page

Reply to this message
Author: Peter Salisbury
Date:  
To: Hampshire LUG Discussion List
Subject: [Hampshire] touchscreen and touchpad at the same time
Hi, I'm really struggling with the way the touchscreen is handled on
my new (to me) laptop. It's a Fujitsu Lifebook with a touchscreen and
one of those tiny joy-stick jobs in the keyboard (touchpad, trackpoint
whatever).

In brief I can't get them both working at the same time - either one,
yes, but not both.

Both pointing devices are handled by the kernel psmouse driver and
udev loads up four devices in /dev/input when psmouse is modprobed:
event2, event3, mouse0, mouse1

According to udevinfo the touchscreen is handled by mouse0 and event2,
the touchpad by mouse1 and event3.

When I cat /dev/input/mouse0 or mouse1 it only responds to actions on
the touchscreen or touchpad respectively. That's what I'd expect.
/dev/input/mice responds to either; again what I'd expect.

BUT when I cat /dev/input/event2 it gives output when I use EITHER
screen or pad, similarly with event3. In other words there doesn't
seem to be a dedicated event device I can hand to an X driver.

My xorg.conf uses the 'mouse' driver for the pad (device mouse0 or
event2 will work) and 'evtouch' for the screen (only device event3
will work). Both touchscreen and touchpad will work on their own, but
if I try to activate them both at the same time then the touchscreen
works, but the touchpad just flickers the cursor around the screen a
bit, and ends up not moving. I've tried most combinations but settled
on the touchpad being CorePointer and touchscreen SendCoreEvents as
the most likely to work.

I don't know what else to try. Needless to say it all works fine in
Windows so SWMBO is finding it hard to understand why I'm bothering -
help!

Does anyone know if the event nodes should only respond to their own
device (i.e. there's a bug in psmouse)?
Or what's the difference between a mouse node and an event node, and
why would I need both?

ANY help or suggestions gratefully received before I consign this
machine to the dark side.

ATB, Peter