Page 6 of 10

Re: Calibration from a single terminal.

Posted: Mon Mar 07, 2016 1:40 pm
by mklym
This really should be a sticky!

Re: Calibration from a single terminal.

Posted: Sun Apr 23, 2017 8:22 pm
by kode-niner
This CF-19 MK4 fell out of the sky and into my lap. It's a dual touch. Anybody here manage to calibrate the pen and touch devices?

Code: Select all

root@cf-19:/home/commander# xinput_calibrator --list
Device "Wacom ISDv4 93 Pen stylus" id=9
Device "Wacom ISDv4 93 Finger touch" id=10
Device "Wacom ISDv4 93 Pen eraser" id=15

Re: Calibration from a single terminal.

Posted: Mon Apr 24, 2017 11:33 am
by kode-niner
Apparently you don't use xinput_calibrator but xsetwacom. That also means that putting values in /etc/X11/xorg.conf.d/<file> doesn't do anything. I think there's a way to issue the xsetwacom command with the proper parameters each time you boot the machine by creating a file in /etc/Xsession.d. I'll figure this out soon.

Re: Calibration from a single terminal.

Posted: Mon Apr 24, 2017 1:51 pm
by Shawn
At least it did not fall onto your head..

Re: Calibration from a single terminal.

Posted: Tue Apr 25, 2017 3:33 pm
by kode-niner
Shawn wrote:At least it did not fall onto your head..
No, just my nuts. Don't worry, it landed softly.

So here's the deal. The stylus seems to use absolute coordinates so it doesn't need to be calibrated? I may be wrong on this one.

It's the finger touch aspect that needed tweaking in my case. The problem is, this took several tries to get the right values and I don't know why.

Run xinput_calibrator --list to figure out what is the device name for the touch device.

Code: Select all

root@cf-19:/home/commander# xinput_calibrator --list
Device "Wacom ISDv4 93 Pen stylus" id=9
Device "Wacom ISDv4 93 Finger touch" id=10
Device "Wacom ISDv4 93 Pen eraser" id=15
Just note the id number, 10 with the above example. You probably need a regular touch screen stylus or another pointy object to calibrate the Finger touch device. This won't work properly with the digitizer pen. Run xinput_calibrator while specifying the device ID number and tap on the crosses as usual. Sudo or su as needed of course.

Code: Select all

sudo xinput_calibrator --device 10
You now have calibration values. Note only the min and max X and Y values.

Code: Select all

Section "InputClass"
     Identifier        "calibration"
     MatchProduct      "!!Name_Of_TouchScreen!!"
     Option    "MinX" "207"
     Option    "MaxX" "4008"     
     Option    "MinY" "17"
     Option    "MaxY" "3800"
     Option    "SwapXY"         .etc..... irrelevant stuff
Notice that after running this, it does absolutely nothing. Your touch screen is still not calibrated. You have to transcribe the min-max values as arguments to the xsetwacom program. The thing is, xsetwacom accepts the min-max values in different order. First both Min values, then the Max numbers. Of course, use your own calibration numbers. What follows bellow matches what I got above and may not apply to you but I surmise that it should be similar. If you get negative values or numbers very dissimilar to what I got, it probably won't work. I really had to try several times!

Code: Select all

xsetwacom --set 10 Area 207 17 4008 3800


Now you should be calibrated if xinput_calibrator didn't screw up and gave you wrong numbers. Otherwise try again before making the changes permanent.

And to make it permanent, put the above command in a text file and dump it in /etc/X11/Xsession.d . I created a file 10-wacom (use your favourite text editor) as sudo or root and saved it in the Xsession.d directory. It should only contain the xsetwacom command with your Area values like the one above. As usual, preface the command with sudo or run as root with nano, pico or whatever text editor you use. Personally I use vi out of habit.

Code: Select all

sudo nano /etc/X11/Xsession.d/10-wacom

Re: Calibration from a single terminal.

Posted: Wed Apr 26, 2017 4:38 pm
by Shawn
The digitizers do not need calibrated. The touchpanels do.

The wacom thingy is for the touchpanel??
Very odd as the touchpanel is probably a Fujitsu unit and the digitizer is made by wacom

Re: Calibration from a single terminal.

Posted: Wed Apr 26, 2017 5:24 pm
by kode-niner
Just as xinput_calibrator --list indicated, this particular MK4 is all Wacom.

Re: Calibration from a single terminal.

Posted: Wed Apr 26, 2017 6:43 pm
by Shawn
wacom makes dual touch devices..hmm Lenovo uses them also.

calibrate info here

http://linuxwacom.sourceforge.net/wiki/ ... alibration

Re: Calibration from a single terminal.

Posted: Fri Apr 28, 2017 6:20 pm
by SHEEPMAN!

Code: Select all

[quote]zorin@zorin:~$ xinput_calibrator --list
Device "eGalax Inc. USB TouchController" id=9
Device "eGalax Inc. USB TouchController" id=10[/quote]
Interesting. Getac B300. Two controllers? What's that about.

For Zorin:

Code: Select all

sudo apt install xinput-calibrator #not apt-get
Odds and ends.

Re: Calibration from a single terminal.

Posted: Sun Jul 02, 2017 11:16 am
by kode-niner
Not having any luck finding out how to do right-click long press emulation with xsetwacom.