Touchscreen Callibration Error

Post Reply
Virtue Es
Posts: 15
Joined: Sun Jan 28, 2018 5:22 am
languages_spoken: english
Contact:

Touchscreen Callibration Error

Unread post by Virtue Es » Sun Jul 29, 2018 10:43 am

Hey again!

Despite weird HDMI issues I was able to get the touchscreen to appear. That was good. Unfortunately now the touchscreen is not usable.
Here is the problem

Symptoms:
-The stylus does not select anything out of a tiny box (for example if I try to press the home icon the farthest the curser moves is about 1/3 down from the top)
-The values in the .rclocal file do nothing. Or when I do xinput_calibrator DISPLAY=:0 and manually put in different inputs the exact same problem happens
-When the stylus is slid across the screen, the cursor seems to move at .7 or .5 the rate that I am moving the stylus (for every 20 pixels I move my stylus the cursor moves ~10)
-Swap Axis command does not work either.
-When I callibrate the touchscreen it says misclick detected and resets when I press the last point on the callibration even though it should not.

Troubleshooting steps:
-Burned and reconfigured new image
-Tested it on a brand new odroid and a new 3.5in LCD shield with the same results
-Modded the xinput file as I said above.

Thanks again
(hopefully this will be the last problem for a while)

User avatar
odroid
Site Admin
Posts: 29369
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: Touchscreen Callibration Error

Unread post by odroid » Mon Jul 30, 2018 9:28 am

Which OS image did you use?
Let me know the file name.

Virtue Es
Posts: 15
Joined: Sun Jan 28, 2018 5:22 am
languages_spoken: english
Contact:

Re: Touchscreen Callibration Error

Unread post by Virtue Es » Tue Jul 31, 2018 2:40 am

The OS image was:
ubuntu-18.04-3.10-mate-odroid-c1-20180726.img.xz

User avatar
odroid
Site Admin
Posts: 29369
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: Touchscreen Callibration Error

Unread post by odroid » Tue Jul 31, 2018 7:20 am

We will check the calibration functionality on Ubuntu 18.04 early next week since many Hardkernel people have a summer vacation now.

Virtue Es
Posts: 15
Joined: Sun Jan 28, 2018 5:22 am
languages_spoken: english
Contact:

Re: Touchscreen Callibration Error

Unread post by Virtue Es » Tue Jul 31, 2018 2:43 pm

Oh thats awesome :D! They didn't bring you along? ;)
Would a temporary patch be using the older Ubuntu 16?

Thanks

Virtue Es
Posts: 15
Joined: Sun Jan 28, 2018 5:22 am
languages_spoken: english
Contact:

Re: Touchscreen Callibration Error

Unread post by Virtue Es » Wed Aug 01, 2018 9:22 am

Okay, So I got ubuntu 16 loaded on the odroid and the same exact problem happened. One thing I did notice was that it is more accurate in the center but gets exponentially off when you got the top or bottom.

joshua.yang
Posts: 113
Joined: Fri Sep 22, 2017 5:54 pm
languages_spoken: English
ODROIDs: XU4, XU4Q + Cloudshell2
Contact:

Re: Touchscreen Callibration Error

Unread post by joshua.yang » Thu Aug 02, 2018 2:41 pm

Virtue Es wrote:Okay, So I got ubuntu 16 loaded on the odroid and the same exact problem happened. One thing I did notice was that it is more accurate in the center but gets exponentially off when you got the top or bottom.
Hi @Virtue Es,

We've confirmed that the instruction for calibrating touch screen is broken, so have found that some additional necessary steps.
Could you try the following guide?
1. sudo apt install xserver-xorg-input-evdev
2. Execute "DISPLAY=:0 xinput_calibrator" again.
3. Add 'Driver "evdev"' into the result.
Then the result will be like,

Code: Select all

Section "InputClass"
	Identifier	"calibration"
	MatchProduct	"SX865X Touchscreen"
	Driver  "evdev"
	Option	"Calibration"	"89 3848 254 3854"
	Option	"SwapAxes"	"0"
EndSection
4. Copy that as a file names 99-calibration.conf to /usr/share/X11/xorg.conf.d/
5. sudo service lightdm restart

Wiki also updated: https://wiki.odroid.com/accessory/displ ... alibration

Post Reply

Return to “3.5inch LCD Shield”

Who is online

Users browsing this forum: No registered users and 1 guest