Discussion:
Panasonic ToughBook CF-18 touchscreen issues
Mart van de Wege
2008-05-03 11:55:33 UTC
Permalink
Hi,

I happen to have acquired a ToughBook CF-18 convertible
Notebook/Tablet. It's the Mark I hardware revision, so it uses a
Fujitsu/Siemens touchscreen, not a Wacom-compatible digitizer.

The touchscreen is the only component not working correctly:

1. Using evtouch, the calibrate script seems to work OK, and outputs
values that look sane to me. However, deactivating the "Calibrate
"1"" option and starting the X-server, my cursor jumps around in a
seemingly random manner. Even if it would work, following the
official instructions means I can't use a USB mouse or the touchpad
in parallel, as the evtouch maintainer suggests loading the 'void'
driver for the mouse.

2. Using evdev, the cursor tracks perfectly well until I hit the edges
of the screen, then the cursor keeps hanging some tens of pixels
away from the edge.

I would prefer to get evdev working, as I then can keep using a mouse
or the touchpad in parallel. It would appear that I need to adjust
some things to map the output from evdev (which gives 60,60 as the
origin and 965,965 as the lower right corner[1]) to actual screen
coordinates. However, googling and reading the manpage for evdev gives
me no suggestion as to where to set the parameters to calibrate the
touchscreen.

The driver source seems to suggest that there is a mapping from
absolute evdev axis events to X-Input Absolute axis events.

How do I proceed to calibrate my touchscreen?

I'd be willing to provide documentation patches if I get a working
solution.

Mart

[1] values are approximate.
--
"We will need a longer wall when the revolution comes."
--- AJS, quoting an uncertain source.
John R.
2008-05-03 13:16:05 UTC
Permalink
I have both touchscreen and touchpad working with the following
xorg.conf snippets:

in section ServerLayout:

InputDevice "Mouse0" "CorePointer"
InputDevice "Touchscreen" "CorePointer"

As I recall, one of the above CorePointer devices is redundant and xorg
disables it.

Section "InputDevice"
Identifier "Mouse0"
# I tried to make evdev work for driver or protocol but it
# breaks Emulate3Buttons. That stops paste from working.
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/input/mouse1"
# Option "Device" "/dev/input/event5"
# Option "evBits" "+1-2"
# Option "keyBits" "~272-287"
# Option "relBits" "~0-2 ~6 ~8"
# Option "Pass" "3"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "100"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
Identifier "Touchscreen"
Driver "evtouch"
Option "Device" "/dev/input/event5"
Option "DeviceName" "Touchscreen"
Option "MinX" "75"
Option "MinY" "932"
Option "MaxX" "955"
Option "MaxY" "60"
Option "ReportingMode" "Raw"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "SendCoreEvents" "On"
Option "SwapY"
EndSection

evtouch from the maintainer does not work on recent xorg-xerver (1.4).
Some of the distros have patched it but I could not get them to work
(details escape me).

It would be a good thing if evtouch was part of xorg.

John
Mart van de Wege
2008-05-03 14:55:06 UTC
Permalink
Post by John R.
I have both touchscreen and touchpad working with the following
<snip config>

The config I used to try and get evtouch working was almost identical.
Yet I kept having a pointer jumping all over the place.
Post by John R.
evtouch from the maintainer does not work on recent xorg-xerver (1.4).
Some of the distros have patched it but I could not get them to work
(details escape me).
Hmm.

Apparently Debian unstable is one of the distros that doesn't work at
the moment?

Mart
John R.
2008-05-03 15:26:59 UTC
Permalink
[snip]
Post by Mart van de Wege
Apparently Debian unstable is one of the distros that doesn't work at
the moment?
It could be. I couldn't get server 1.4 working at all. I vaguely
recall it being the jumpy mouse problem but it could have been the
cursor didn't move at all. I am running 1.3.0.0.

John

Loading...