LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-22-2020, 11:47 PM   #1
TB-CF19MK2
LQ Newbie
 
Registered: Feb 2020
Location: New Zealand
Distribution: Looking for most appropriate one.
Posts: 4

Rep: Reputation: 0
Thumbs down 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
 
Old 06-28-2020, 12:40 AM   #2
TB-CF19MK2
LQ Newbie
 
Registered: Feb 2020
Location: New Zealand
Distribution: Looking for most appropriate one.
Posts: 4

Original Poster
Rep: Reputation: 0
Just an update. I am still researching this problem on the net using any new source I can find. I appears however, that this has been a long term problem that has never really been resolved. There are so many posts on numerous forums, etc. with no responses, or not SOLVED. However, it is obviously not main stream enough for people with old equipment. If I eventually do find something I will certainly post the solution.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." xxxindigo Linux Mint 22 09-01-2019 09:21 AM
LinuxMint or Xenialpuppy and Fujitsu P1610 Touchscreen didn't work nemwar Linux - Laptop and Netbook 2 12-11-2018 06:45 PM
[SOLVED] LinuxMint 18 Host with LinuxMint 18 Guest in VirtualBox 5.1 Error TedCleggett Linux - Virtualization and Cloud 8 09-16-2016 02:40 PM
[SOLVED] Can't make a usable dvd of linuxmint 32bit garrydb Linux Mint 3 11-14-2010 04:42 PM
Fedora 13 32bit and then Linux Mint 32bit and then Ubuntu 10.04 32bit ciao303 Linux - Newbie 3 08-09-2010 11:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration