Calibration from a single terminal.

Due to overwhelming demand, we have created a forum just dedicated to Toughbook users who use Linux!
Message
Author
User avatar
mklym
Posts: 907
Joined: Fri Feb 22, 2013 3:10 pm
Location: Edmonton, Alberta

Re: Calibration from a single terminal.

#51 Post by mklym »

This really should be a sticky!
CF-29LTQ,CF-31SBM,CF-52youngGUN,

Life's Journey is not to arrive safely at the grave in a well preserved body, but rather to skid in sideways totally worn-out shouting 'Woo Hoo! What a ride!

Motorsports - the only real sport. If it doesn't have a motor, it is just a game.

There is always something waiting at the end of the road, if you are not willing to see what it is, you probably shouldn't be out there in the first place.

User avatar
kode-niner
Posts: 700
Joined: Sat Jun 07, 2014 7:39 am
Location: Canada

Re: Calibration from a single terminal.

#52 Post 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
Daily drives a CF-31

User avatar
kode-niner
Posts: 700
Joined: Sat Jun 07, 2014 7:39 am
Location: Canada

Re: Calibration from a single terminal.

#53 Post 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.
Daily drives a CF-31

User avatar
Shawn
Posts: 2960
Joined: Fri Jan 18, 2013 11:35 am

Re: Calibration from a single terminal.

#54 Post by Shawn »

At least it did not fall onto your head..
Life will beat you into submission.

User avatar
kode-niner
Posts: 700
Joined: Sat Jun 07, 2014 7:39 am
Location: Canada

Re: Calibration from a single terminal.

#55 Post 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
Daily drives a CF-31

User avatar
Shawn
Posts: 2960
Joined: Fri Jan 18, 2013 11:35 am

Re: Calibration from a single terminal.

#56 Post 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
Life will beat you into submission.

User avatar
kode-niner
Posts: 700
Joined: Sat Jun 07, 2014 7:39 am
Location: Canada

Re: Calibration from a single terminal.

#57 Post by kode-niner »

Just as xinput_calibrator --list indicated, this particular MK4 is all Wacom.
Daily drives a CF-31

User avatar
Shawn
Posts: 2960
Joined: Fri Jan 18, 2013 11:35 am

Re: Calibration from a single terminal.

#58 Post by Shawn »

wacom makes dual touch devices..hmm Lenovo uses them also.

calibrate info here

http://linuxwacom.sourceforge.net/wiki/ ... alibration
Life will beat you into submission.

User avatar
SHEEPMAN!
Posts: 2239
Joined: Thu Oct 14, 2010 1:13 pm
Location: TDR-HQ California

Re: Calibration from a single terminal.

#59 Post 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.
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/

User avatar
kode-niner
Posts: 700
Joined: Sat Jun 07, 2014 7:39 am
Location: Canada

Re: Calibration from a single terminal.

#60 Post by kode-niner »

Not having any luck finding out how to do right-click long press emulation with xsetwacom.
Daily drives a CF-31

Post Reply

Return to “The LINUX forum!!!”