Issue with Callibration Fujitsu Touch Panel linuxmint-19.3-xfce-32bit Cinnamon
Hi from the 'Land of the Long White Cloud', Aotearoa, aka New Zealand.
This machine belongs to my niece who is in her 60's. She lives in a housebus, and has disabilities leaving her with very little feeling in her hands. Hence someone sold her an old toughbook some years ago so she could keep in touch with her family and friends. She uses the touchscreen for ease of control.
The OS is Windows 7, and thus no longer secure. I thought Linux would be the answer.
Any help will be greatly appreciated. If I can't get Linux Mint to work, I thought I might try Puppy Linux, but would probably run into the same calibration issues?
My Questions:
1. Have I calculated the new lib file 800x600 resolution correctly?
2. Why is the calibration so far out?
3. If there any alternative to getting it right rather than fiddling around with the settings in the 99-calibration.conf file?
Note: My maths are non-existent and my only experience of Linux was with Puppy Linux years ago.:
SPECS:
Toughbook CF-19MK1 = Matsushita Electric Industrial Co.,Ltd. CF-19CHBAXBM 001
Processor: 1.07 gigahertz Intel Core Duo U2400
64 kilobyte primary memory cache
2048 kilobyte secondary memory cache
Multi-core (2 total)
Not hyper-threaded
BIOS:Phoenix Technologies Ltd. V1.00L16 12/27/2007
HDD:1660.19 Gigabytes Usable Capacity
RAM:'DIMM 1' has 2048 MB,'DIMM 2' has 2048 MB
DISPLAY:Mobile Intel(R) 945 Express Chipset Family [Display adapter] (2x)
Digital Flat Panel 10.4 inches diagonal 8.4 inches x 6.3 inches (1024x768 60Hz) [Monitor] (s/n 3)]
COMMS: Intel(R) PRO/Wireless 3945ABG Network Connection
Realtek RTL8139/810x Family Fast Ethernet NIC
TOUCHSCREEN:FCL Touch Panel (USB) Event ID9
CURRENT SETTINGS
Display set to 800x600 - vision problems
Desktop Settings - Windows Manager = Xfwm4 + Compositing
STEPS TAKEN
1. See last paragraph under heading "libinput: misclick" from <a href="http://www.katjaas.nl/linux/touch.html#libinput">touch screens and GNU/Linux</a>
Quote "By the way this is on Xubuntu 18.04 with libinput version 1.10. One question is, why is the touch screen interpreted as tablet tool? And another, why is panel size reported incorrectly as 256x256mm while its real size is 210x156mm? Device data for "Fujitsu Component USB Touch Panel" is registered in /lib/udev/hwdb.d/60-evdev.hwdb. The incorrect size appears there."
I verified the presence and only listing as above of a Fujitsu Touch Panel USB in /lib/udev/hweb.d/60-evdev.hwdb
This is the listing for the square screen, not a landscape one
#####
# Sun
#####
# Fujitsu Component - USB Touch Panel
evdev:input:b0003v0430p0530*
EVDEV_ABS_00=0:4096:16
EVDEV_ABS_01=0:4096:16
2. I calculated the equivalent EVDEV entries.
#To add local entries, create a new file
# /etc/udev/hwdb.d/61-evdev-local.hwdb
#and add your rules there. To load the new rules execute (as root):
# systemd-hwdb update
# udevadm trigger /dev/input/event9
a. Created file as follows and updated
#
#########################################
# Panasonic
#########################################
# Fujitsu Component - USB Touch Panel
evdev:input:b0003v0430p0530*
EVDEV_ABS_00=0:3376:16
EVDEV_ABS_01=0:2512:16
#
b. I verified the presence of my new file now in hwdb.d - So far so good.
3. Again following the instructions from the above link, I continued to try to calibrate the touch panel.
~$ xinput_calibrator --device 9
Calibrating standard Xorg driver "Fujitsu Component USB Touch Panel"
current calibration values: min_x=0, max_x=65535 and min_y=0, max_y=65535
If these values are estimated wrong, either supply it manually with the --precalib option, or run the 'get_precalib.sh' script to automatically get it (through HAL).
--> Making the calibration permanent <--
copy the snippet below into '/usr/share/X11/xorg.conf.d/99-calibration.conf'
Section "InputClass"
Identifier "Callibration"
MatchProduct "Fujitsu Component USB Touch Panel"
Option "MinX" "5270"
Option "MaxX" "63050"
Option "MinY" "1547"
Option "MaxY" "58199"
Option "SwapXY" "0" #unless it was already set to 1
Option "InvertX" "0" #unless it was already set
Option "InvertY" "0" #unless it was already set
EndSection
The stylus mouse point using these settings is anything from 1 inch away on the left hand side of the screen to 1/2 inch on the right hand side.
Since I couldn't figure out how to
"use the --precalib option, or run the 'get_precalib.sh' script to automatically get it (through HAL).",
I manually changed the numbers in the 99-calibration.conf file and restarted the machine.
I used the following expecting a major difference in the position of the stylus since the MaxX and MaxY entries are outside the max of 65535 but the changes weren't as major as I had hoped;
Section "InputClass"
Identifier "Callibration"
MatchProduct "Fujitsu Component USB Touch Panel"
Option "MinX" "50"
Option "MaxX" "75000"
Option "MinY" "150"
Option "MaxY" "70000"
Option "SwapXY" "0" #unless it was already set to 1
Option "InvertX" "0" #unless it was already set
Option "InvertY" "0" #unless it was already set
EndSection
Result;
Top left 3/4 inch inside, approx 1/4 inch below
Bottom left about 1 inch to the right and 1 inch above
Top right 1/4 in inside, about 1/8 inch below
Bottom right 1/2 above and about 1/4 inside
Last edited by TB-CF19MK2; 06-24-2020 at 10:22 PM.
Reason: Additional info re calibration
|