Tiny Core Extensions > TCE Tips & Tricks
HOWTO: Install a Elo Touchscreen USB
malloc69:
Howto install a Elo ET1537L-7CWA-1-NPB-G (touchscreen) in tinycore.
install these extensions:
Xorg-7.5.tcz
joystick.tcz
Make the file xorg.conf:
cp /etc/X11/xorg.conf.vesa /etc/X11/xorg.conf
edit the file:
--------- fichero: /etc/X11/xorg.conf ------------
Section "ServerLayaout"
...
InputDevice "EloTouch" "CorePointer"
EndSection
Section "InputDevice"
Identifier "EloTouch"
Driver "evdev"
Option "Device" "/dev/input/event4" # put your device here
Option "Calibration" "550 3500 650 3400" # "min-x max-x min-y max-y"
Option "IgnoreRelativeAxes "1"
Option "InvertY" "1"
EndSection
----------------------------------------------------
add the file xorg.cong to the file /opt/.filetool.lst:
...
etc/X11/xorg.conf # without the first /
Reboot the system using backup
----===== HOWTO CALIBRATE THE TOUCHSCREEN =====----
We can use the program "evtest" from que extension joystick.tcz to calibrate the touchscreen:
Step 1. -> Load the extension: tce-load -i joystick.tcz
Step 2. -> Run: sudo evtest /dev/input/event4 # put your devide here
Using X and Y values to assign to the Option "Calibration" of the xorg.conf file.
I hope this can be useful for someone.
brian-au:
Hi all,
First post here, sorry if too nooby...
Looking at the above solution, I have just installed tinycore today, we are up to 7.7 now and joystick.tcz no longer presents in the apps list...so I'm wondering if there is a new method now (since xorg.conf seems to be on the way out)?
I have my touch connected and providing events to the screen, but it needs calibrating and some axis swapping. udev rules seem to be the new way to get this job done, but I can't seem to get xinput_calibrator to work and don't know how to load a new udev rule properly so that it will get reloaded at new boot time.
Appreciate if anyone can offer advice. I thought it good to post as a reply here since this post is exactly the problem but the solution seems out of date, others may land here looking for solution to the same.
Juanito:
Do you perhaps need to adjust this section in /usr/local/share/X11/xorg.conf.d/10-evdev.conf :
--- Code: ---Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
--- End code ---
brian-au:
--- Quote from: brian-au on February 14, 2014, 05:16:49 AM ---
I have my touch connected and providing events to the screen, but it needs calibrating and some axis swapping.
--- End quote ---
Sorry if the question was not clear, the touchscreen has connected with evdev out of the box without any messing about. It "works" but I need to calibrate it.
Can I put static calibration numbers into that 10-evdev.conf file?
edit: more googling suggests that I can configure via this file, I will test and comment later
brian-au:
--- Quote from: Juanito on February 14, 2014, 05:51:55 AM ---Do you perhaps need to adjust this section in /usr/local/share/X11/xorg.conf.d/10-evdev.conf :
--- End quote ---
That file does not exist on my tc system, do I guess correct that I will need to install Xorg.tcz first?
Navigation
[0] Message Index
[#] Next page
Go to full version