Touch panel question

More
07 Jun 2018 09:37 - 07 Jun 2018 09:38 #111829 by tecno
Replied by tecno on topic Touch panel question
Progress also on the 17" on my milling machine = shifted X wires.

So now it is *only* the solving of conf file where and what text to be in that file.
Last edit: 07 Jun 2018 09:38 by tecno.

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 09:56 #111832 by andypugh
Replied by andypugh on topic Touch panel question

On the milling machine the touch is mounted in reverse to drawing = 4 wires go out left and here only clue what is back/front is the adhesive to set it on the monitor.
So this could very well explain why pointing left cursor goes right..


My monitors with factory-installed touch screens have all done that initially.

All I have ever done to fix that is to put an XY swap and a reverse in Xorg.conf.

Then I have hand-calibrated by editing the calibration numbers in the same file.

Section "InputClass"
    Identifier "calibration"
    MatchProduct "eGalax Inc. Touch"
    Option "Calibration" "1565 265 259 1590"
    Option "SwapAxes" "1"
EndSection

Option "Calibration" "min-x max-x min-y max-y"
Calibrates the X and Y axes for devices that need to scale to a
different coordinate system than reported to the X server. This
feature is required for devices that need to scale to a different
coordinate system than originally reported by the kernel (e.g.
touchscreens). The scaling to the custom coordinate system is done
in-driver and the X server is unaware of the transformation. Property:
"Evdev Axis Calibration".


You will see that my min-X is greater than my max-X. I did that to reverse the axis. I seem to recall finding that more dependable than using the axis reversal options.

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 09:59 #111833 by andypugh
Replied by andypugh on topic Touch panel question
To avoid a full reboot to check the new settings:
unix.stackexchange.com/questions/40655/a...f-without-restarting

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 09:59 #111834 by tecno
Replied by tecno on topic Touch panel question
Hi Andy,

I have tried that too but it will not work, if this is wrong conf in wrong place I do not know.

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 10:00 #111835 by tecno
Replied by tecno on topic Touch panel question
I usually just log out

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 10:06 #111836 by andypugh
Replied by andypugh on topic Touch panel question

Hi Andy,

I have tried that too but it will not work, if this is wrong conf in wrong place I do not know.


Which file are you editing?

And what is in there?

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 10:07 - 07 Jun 2018 10:07 #111837 by InMyDarkestHour

cat /proc/bus/input/devices is EMPTY


Completely ?

I found mention of editing /usr/share/X11/xorg.conf.d/10-evdev.conf at the link below

www.thefanclub.co.za/how-to/how-ubuntu-1...chscreen-calibration

Is there an entry in /dev/input for the touchscreen (should at least have entries for keyboard & mouse) ?
sudo ls /dev/input/*
Last edit: 07 Jun 2018 10:07 by InMyDarkestHour.

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 10:09 #111838 by tecno
Replied by tecno on topic Touch panel question
/etc/X11/xorg.conf
Section
"InputClass"
Identifier "calibration"
MatchProduct "eGalax Inc. USB TouchController"
Option "MinX" "63487"
Option "MaxX" "2662"
Option "MinY" "4373"
Option "MaxY" "62314"
Option "SwapXY" "0" # unless it was already set to 1
Option "InvertX" "1" # unless it was already set
Option "InvertY" "0" # unless it was already set
EndSection

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 10:10 #111839 by andypugh
Replied by andypugh on topic Touch panel question
use "xinput list" to find the string to use for the "matchproduct" entry.

Please Log in or Create an account to join the conversation.

More
07 Jun 2018 10:10 #111840 by tecno
Replied by tecno on topic Touch panel question
Yes

Been poking around in 10....... also = nothing happends

Please Log in or Create an account to join the conversation.

Time to create page: 0.103 seconds
Powered by Kunena Forum