Touch panel question

More
8 years 4 months ago #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 to join the conversation.

More
8 years 4 months ago #111858 by tecno
Replied by tecno on topic Touch panel question
Sorry, false alarm! Still no change = numbers will not stick!

Please Log in to join the conversation.

  • ozzyrob
  • New Member
  • New Member
More
8 years 4 months ago #111861 by ozzyrob
Replied by ozzyrob on topic Touch panel question

tecno wrote: 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 to join the conversation.

More
8 years 4 months ago #111862 by tecno
Replied by tecno on topic Touch panel question
/etc/X11/xorg.conf

Please Log in to join the conversation.

  • ozzyrob
  • New Member
  • New Member
More
8 years 4 months ago #111865 by ozzyrob
Replied by ozzyrob on topic Touch panel question
Have tried doing the following
Code:
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
Code:
ls /dev/input/*

Please Log in to join the conversation.

More
8 years 4 months ago #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 to join the conversation.

More
8 years 4 months ago #111871 by tecno
Replied by tecno on topic Touch panel question

ozzyrob wrote: Have tried doing the following

Code:
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
Code:
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

Please Log in to join the conversation.

  • ozzyrob
  • New Member
  • New Member
More
8 years 4 months ago #111873 by ozzyrob
Replied by ozzyrob on topic Touch panel question
Well at least something is happening.
Code:
man evdev
Will give you some of the options available, I don't know which ones will help, but this one looks interesting
[hr]
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.

Please Log in to join the conversation.

More
8 years 4 months ago #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 to join the conversation.

  • ozzyrob
  • New Member
  • New Member
More
8 years 4 months ago #111877 by ozzyrob
Replied by ozzyrob on topic Touch panel question
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 to join the conversation.

Time to create page: 0.307 seconds
Powered by Kunena Forum