Panasonic CF-18 / touchscreen / evdev / calibration issue
Tias
tias at ulyssis.org
Thu Mar 18 07:18:13 PDT 2010
On Sat, Mar 13, 2010 at 09:02:10PM -0600, John R. wrote:
> Hello,
>
> I am running kernel 2.6.33, xorg server 1.7.5 on a gentoo based
> Panasonic CF-18. Kernel reports:
>
> input: LBPS/2 Fujitsu Lifebook TouchScreen as
> /devices/platform/i8042/serio3/input/input6
>
> X server reports:
>
> (**) Touchscreen: doesn't report core events
> (**) Touchscreen: Device: "/dev/input/event6"
> (II) Touchscreen: Found absolute axes
> (II) Touchscreen: Found x and y absolute axes
> (II) Touchscreen: Found absolute touchscreen
> (II) Touchscreen: Configuring as touchscreen
> (**) Touchscreen: YAxisMapping: buttons 4 and 5
> (**) Touchscreen: EmulateWheelButton: 4, EmulateWheelInertia: 10,
> EmulateWheelTimeout: 200
> (II) XINPUT: Adding extended input device "Touchscreen" (type: TOUCHSCREEN)
> (**) Touchscreen: (accel) keeping acceleration scheme 1
> (**) Touchscreen: (accel) acceleration profile 0
> (II) Touchscreen: initialized for absolute axes.
>
> xorg.conf contains:
>
> Section "InputDevice"
> Identifier "Touchscreen"
> Driver "evdev"
> Option "Device" "/dev/input/event6"
> Option "DeviceName" "Touchscreen"
> Option "Calibration" "64 602 -60 470"
> #Option "ReportingMode" "Raw"
> #Option "SwapY"
> EndSection
>
> I can run xinput_calibrator_x11 v0.6.0. This results in correct values
> in the output of 'xinput list-props "Touchscreen"':
>
> Device 'Touchscreen':
> Device Enabled (136): 1
> Device Accel Profile (244): 0
> Device Accel Constant Deceleration (245): 1.000000
> Device Accel Adaptive Deceleration (247): 1.000000
> Device Accel Velocity Scaling (248): 10.000000
> Evdev Reopen Attempts (253): 10
> Evdev Axis Inversion (254): 0, 0
> Evdev Axis Calibration (255): 62, 519, -10, 434
> Evdev Axes Swap (256): 0
> Axis Labels (257): "Abs X" (251), "Abs Y" (252)
> Button Labels (258): "Button Unknown" (250), "Button Unknown"
> (250), "Button Unknown" (250), "Button Wheel Up" (140), "Button Wheel
> Down" (141)
> Evdev Middle Button Emulation (259): 2
> Evdev Middle Button Timeout (260): 50
> Evdev Wheel Emulation (261): 0
> Evdev Wheel Emulation Axes (262): 0, 0, 4, 5
> Evdev Wheel Emulation Inertia (263): 10
> Evdev Wheel Emulation Timeout (264): 200
> Evdev Wheel Emulation Button (265): 4
> Evdev Drag Lock Buttons (266): 0
>
> However, the clicks on the touchscreen do not result in cursor going to
> where the click occurs. Also, if I rerun xinput_calibrator_x11 it
> results in new calibration values each time it is executed (values vary
> quite a bit...not just what one might expect from being slightly off
> when calibrating).
>
> This touchscreen worked with evtouch.
>
> Any ideas?
Not sure, perhaps your starting calibration gives you a false start,
leading to a wrong calibration ?
Try starting without any calibration set, or set it to smth safe like
xinput set-int-prop "Touchscreen" "Evdev Axis Calibration" 32 0 1000 0 1000
If that does not help, then we should figure out why you get different
calibration results with different runs.
Try running running the calibrator a few times starting with the same
base calibration values (eg 0 1000 0 1000) and check by adding the -v
flag what clicks are registered and what calibraton is calculated.
This will at least show if the problem is on the calibration part or
somewhere below : )
Kind regards,
Tias
More information about the xorg
mailing list