Page 8 of 10

Re: Calibration from a single terminal.

Posted: Sun Apr 07, 2019 3:38 pm
by mklym
I believe I did an 'apt get' in a terminal, but can't remember for sure. It was a few very hectic months back when I set up the ssd in the CF-30Mk3.

Re: Calibration from a single terminal.

Posted: Sun Apr 07, 2019 3:52 pm
by SHEEPMAN!
I've been getting single packages from "debian package name" and installing with gdebi.

https://packages.debian.org/sid/utils/xinput-calibrator

Just for grins, go into synaptic and completely remove then re-install calibrator.

Then run it from the Mint menu.

I'm thinking a clean install might be in order for your new machine. Nice piece of kit.

Re: Calibration from a single terminal.

Posted: Sun Apr 07, 2019 3:57 pm
by SHEEPMAN!
A battery pull reset might be beneficial.....just the main battery.

Hey, do you have a 99-calibration file someplace for the CF-30? Like maybe in /etc/X11?????

If so delete it...

Re: Calibration from a single terminal.

Posted: Sun Apr 07, 2019 4:05 pm
by mklym
After doing a complete uninstall than reinstall through synaptic there is not change. Ran xinput_calibrator from the menu, (open menu, type 'cali' and hit enter) with no change.

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 '/etc/X11/xorg.conf.d/99-calibration.conf' (/usr/share/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
Identifier "calibration"
MatchProduct "Fujitsu Component USB Touch Panel"
Option "MinX" "2331"
Option "MaxX" "62532"
Option "MinY" "4914"
Option "MaxY" "64931"
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

That is what I am thinking as well. If that does not work than maybe a BIOS update.

Thanks. I think it is almost a full load, missing the smart card reader. I might put a rubber kb on it.

Re: Calibration from a single terminal.

Posted: Sun Apr 07, 2019 4:12 pm
by mklym
Okay, I deleted the 99-calibration file from usr/share/Xll/xorg.config.d, nothing in etx/X11/xorg.conf.d.

Running from the menu, no change:

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 '/etc/X11/xorg.conf.d/99-calibration.conf' (/usr/share/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
Identifier "calibration"
MatchProduct "Fujitsu Component USB Touch Panel"
Option "MinX" "2459"
Option "MaxX" "62404"
Option "MinY" "4814"
Option "MaxY" "64603"
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

Re: Calibration from a single terminal.

Posted: Sun Apr 07, 2019 4:15 pm
by mklym
When you say battery pull reset, you mean no main power, pull the battery then cycle the power button until the stupid gets drained out of the unit?

Re: Calibration from a single terminal.

Posted: Sun Apr 07, 2019 4:25 pm
by mklym
I am doing this while the BIOS touchscreen setting is set to "Touchscreen mode". If set to "Auto" or "Tablet mode" xinput_calibrator finds no calibratable devices.

Interesting thing is that when I ran dmesg | grep input -i and it shows an entry for the TS, the BIOS was set to "Auto".

Re: Calibration from a single terminal.

Posted: Sun Apr 07, 2019 4:27 pm
by SHEEPMAN!
Teo one time said the thing about booting twice. It writes over / deletes anomalies in the secret recesses between bios and the OS. Like registry in a way.

I was thinking the old 99-calib file was asking for the touchscreen v.s. tablet. The numbers, if there, were way outside tablet parameters.

Strange....

By the way there is a man page "$man xinput_calibrator"

That's the one.

battery pull reset
[F2][F9][F10]
REBOOT TWICE

Re: Calibration from a single terminal.

Posted: Sun Apr 07, 2019 4:33 pm
by mklym
Okay, will do the power pull reset. Will report back in a few minutes.

Re: Calibration from a single terminal.

Posted: Sun Apr 07, 2019 4:34 pm
by SHEEPMAN!
jay@jaymint18 ~ $ xinput_calibrator -v
DEBUG: XInputExtension version is 2.3
DEBUG: Skipping virtual master devices and devices without axis valuators.
DEBUG: Skipping device 'Virtual core XTEST pointer' id=4, does not report Absolute events.
DEBUG: Skipping device 'ImPS/2 Generic Wheel Mouse' id=12, does not report Absolute events.
DEBUG: Selected device: Fujitsu Component USB Touch Panel
DEBUG: Not usbtouchscreen calibrator: Not a usbtouchscreen device
DEBUG: Read axes swap value of 0.
DEBUG: Read InvertX=0, InvertY=0.
Calibrating EVDEV driver for "Fujitsu Component USB Touch Panel" id=10
current calibration values (from XInput): min_x=124, max_x=3917 and min_y=303, max_y=4000
DEBUG: Found that 'Fujitsu Component USB Touch Panel' is a sysfs name.
DEBUG: Adding click 0 (X=129, Y=85)
DEBUG: Adding click 1 (X=896, Y=93)
DEBUG: Adding click 2 (X=137, Y=672)
DEBUG: Adding click 3 (X=904, Y=670)

Doing dynamic recalibration:
Setting calibration data: 143, 3931, 264, 4000
DEBUG: Successfully applied axis calibration.
--> Making the calibration permanent <--
DEBUG: Found that 'Fujitsu Component USB Touch Panel' is a sysfs name.
copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf' (/usr/share/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
Identifier "calibration"
MatchProduct "Fujitsu Component USB Touch Panel"
Option "Calibration" "143 3931 264 4000"
Option "SwapAxes" "0"
EndSection
jay@jaymint18 ~ $