Touch panel question

More
07 Jun 2018 11:07 #111857 by tecno
Replied by tecno on topic Touch panel question
Section "InputClass"
Identifier "calibration"
MatchProduct "eGalax"
Option "calibration" "70000 1000 1000 70000"
EndSection

Just playing around with numbers, above results in cursor towards center in each corner. So it looks like numbers stick, will test some more. BRB

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

More
07 Jun 2018 11:14 - 07 Jun 2018 11:15 #111858 by tecno
Replied by tecno on topic Touch panel question
Sorry, false alarm! Still no change = numbers will not stick!
Last edit: 07 Jun 2018 11:15 by tecno.

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

More
07 Jun 2018 11:46 #111861 by InMyDarkestHour

Section "InputClass"
Identifier "calibration"
MatchProduct "eGalax"
Option "calibration" "70000 1000 1000 70000"
EndSection

Just playing around with numbers, above results in cursor towards center in each corner. So it looks like numbers stick, will test some more. BRB


Where and what name are you saving this file ?

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

More
07 Jun 2018 11:47 #111862 by tecno
Replied by tecno on topic Touch panel question
/etc/X11/xorg.conf

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

More
07 Jun 2018 12:25 #111865 by InMyDarkestHour
Have tried doing the following
sudo mkdir /etc/X11/xorg.conf.d

Then creating your conf file in /etc/X11/xorg.conf.d called 10-calibrate.conf

Which seems to be a recommended method according to the man page for xorg.conf

Or editing /usr/share/X11/xorg.conf.d/10-evdev.conf as per this page www.thefanclub.co.za/how-to/how-ubuntu-1...chscreen-calibration

Would still be interested in the output of
ls /dev/input/*

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

More
07 Jun 2018 12:34 #111866 by tecno
Replied by tecno on topic Touch panel question
bengt@combimill:~$ ls /dev/input/*
/dev/input/event0 /dev/input/event3 /dev/input/mice
/dev/input/event1 /dev/input/event4 /dev/input/mouse0
/dev/input/event2 /dev/input/event5 /dev/input/mouse1

/dev/input/by-id:
usb-1ea7_2.4G_Keyboard-event-kbd
usb-1ea7_2.4G_Keyboard-if01-event-mouse
usb-1ea7_2.4G_Keyboard-if01-mouse
usb-eGalax_Inc._USB_TouchController-event-if00

/dev/input/by-path:
pci-0000:00:1d.0-usb-0:1:1.0-event-kbd pci-0000:00:1d.1-usb-0:1:1.0-event
pci-0000:00:1d.0-usb-0:1:1.1-event-mouse platform-pcspkr-event-spkr
pci-0000:00:1d.0-usb-0:1:1.1-mouse
bengt@combimill:~$

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

More
07 Jun 2018 13:06 - 07 Jun 2018 13:07 #111871 by tecno
Replied by tecno on topic Touch panel question

Have tried doing the following
sudo mkdir /etc/X11/xorg.conf.d

Then creating your conf file in /etc/X11/xorg.conf.d called 10-calibrate.conf

Which seems to be a recommended method according to the man page for xorg.conf

Or editing /usr/share/X11/xorg.conf.d/10-evdev.conf as per this page www.thefanclub.co.za/how-to/how-ubuntu-1...chscreen-calibration

Would still be interested in the output of
ls /dev/input/*


Now we are getting somewhere, what we now know is that several conf files is not good as they seem to override each other . Deleted after some tests /etc/X11/xorg.conf and now the 10-evdev.conf seems to be working but I have to tweak the numbers.


Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
option "calibration" "355 2011 299 1904"
EndSection

Appears to be a bit non linear, if i point right side and move to left cursor moves faster away from my touchpoint.

Will have to play around a bit to find out acceptable numbers.

Cheers
Bengt
Last edit: 07 Jun 2018 13:07 by tecno.

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

More
07 Jun 2018 13:20 - 07 Jun 2018 13:23 #111873 by InMyDarkestHour
Well at least something is happening.
man evdev
Will give you some of the options available, I don't know which ones will help, but this one looks interesting


Option "GrabDevice" "boolean"
Force a grab on the event device. Doing so will ensure that no other driver can initialise the same device and it will also stop the device from sending events to /dev/kbd or /dev/input/mice. Events from this device will not be sent to virtual devices (e.g. rfkill or the Macintosh mouse button emulation). Default: disabled.
Last edit: 07 Jun 2018 13:23 by InMyDarkestHour.

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

More
07 Jun 2018 13:25 #111875 by tecno
Replied by tecno on topic Touch panel question
YEYYYYYYYYYYYY


Section "InputClass"

Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
option "calibration" "54 1949 118 1951"
EndSection


My lucky numbers = the touch on my milling machine is now working = spot on


THANK YOU GUYS FOR HELPING OUT WITH THIS = MUCH APPRECIATED

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

More
07 Jun 2018 13:29 #111877 by InMyDarkestHour
CONGRATULATIONS
:) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :)



Should make my life a little easier when I get around to it. ;)

After all this did you end up having to swap any wires or not ?

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

Time to create page: 0.127 seconds
Powered by Kunena Forum