Tiny Core Extensions > TCE Tips & Tricks
HOWTO: Install a Elo Touchscreen USB
brian-au:
--- Quote from: gerald_clark on February 18, 2014, 10:25:20 AM ---You have it backwards.
xorg-server.tcz is a dep of Xorg-7.7.tcz.
--- End quote ---
I'm just learning.
When you say "is a dep of" do you mean "1 dependent on 2" or "1 dependency of 2" (which one requires the other?)
I'm looking for 10-evdev-rules.conf, an earlier reply said it was part of evdev-input and claimed "provides" says that, but I said no...provides tells me it's in xorg-server, and xorg-server pulled in a few deps BUT DID NOT PULL in Xorg!
--- Quote from: gerald_clark on February 18, 2014, 10:25:20 AM ---Which X server were you using?
Xvesa?
Xorg-7.7?
Xfbdev?
If you were running Xorg-7.7, installing xorg-server would not have caused a problem, as it is one of Xorg's dependencies.
You can manually edit the etc/onboot.lst file if you really need to.
--- End quote ---
As far as I can tell, from the stock ISO I have xvesa, but I _think_ that in order to use xinput/xset arguments to manually calibrate my touchscreen that I need Xorg? I am not clear from reading and searching how to make that switch (I'm sure it's here somewhere), and is it only either/or? or does Xorg load over the top of xvesa?
I'm looking at manual editing and manual wgets now, because tc is only booting to text prompt as it stands. The repo was 'down' a few hours ago so I will be trying tomorrow my time to sort this out.
gerald_clark:
run 'tce-load -iw Xorg-7.7"
Then edit your onboot.lst and remove the Xvesa.tcz line.
Then reboot
Juanito:
--- Quote from: brian-au on February 18, 2014, 11:00:16 AM ---I'm looking for 10-evdev-rules.conf, an earlier reply said it was part of evdev-input and claimed "provides" says that, but I said no...provides tells me it's in xorg-server
--- End quote ---
I actually replied from memory, but at least you know how to do it properly now ;)
brian-au:
--- Quote from: gerald_clark on February 18, 2014, 11:07:04 AM ---run 'tce-load -iw Xorg-7.7"
Then edit your onboot.lst and remove the Xvesa.tcz line.
Then reboot
--- End quote ---
What I seemed to have to do after the install was do a startx from home/tc, then do maintenance on the onboot system to add in Xorg-7.7, then backup, then reboot.
When I tried reboot after install from text with tce-load, it rebooted back to text and not into X. Does that make any sense?
--- Quote from: Juanito on February 18, 2014, 12:44:40 PM ---
--- Quote from: brian-au on February 18, 2014, 11:00:16 AM ---I'm looking for 10-evdev-rules.conf, an earlier reply said it was part of evdev-input and claimed "provides" says that, but I said no...provides tells me it's in xorg-server
--- End quote ---
I actually replied from memory, but at least you know how to do it properly now ;)
--- End quote ---
I tried to edit the 10-evdev.conf file after getting Xorg installed, and it says read-only, even logged in as sudo and from the live location or the tmp/tcloop location that links over to /usr/local/share....but in any case, with the new extension xinput-calibrator.tcz that Juanito built for us all today, I created a new 99-calibration.conf file to hold the touchscreen calibration data, and added that new conf file to the backup list.
But just to close-out the original enquiry, is the 10-evdev.conf file meant to be editable or is it system locked?
brian-au:
SOLUTION for ELO touchscreen on tinycore linux
Start off with a mouse plugged in as well, you'll need it at least to get going...
remove Xvesa and add Xorg,
OR start with frugal/text and go straight to Xorg without Xvesa
dmesg | less
/ (find) ELO <Enter>, or > (go to end) and arrow up to check that the screen is being recognised by evdev
add the extension xinput-calibrator-tcz, this should add the calibration program onto wbar
Run the calibration tool, screen should dynamically recalibrate so you can test it live before making the permanent conf file
Take note of the terminal output from xinput-calibrator
Create a new file as instructed 99-calibration.conf, at /usr/local/share/X11/xorg.conf.d/ (same place as 10-evdev.conf)
I used vi for this (in a separate terminal), press 'i' key to insert in the new file, scrape mouse over the output snippet from xinput-calibrator, leave it highlighted, then click back inside the vi window and press shift+insert to paste. Careful of the word-wrap in output from xinput-calibrator, I had to touch up the Match line by removing a bunch of extra spaces
type
esc
:
wq <Enter>
ls -l to check it's there, and cat the new 99 file to verify the contents.
Add a new backup rule (control panel), and include this new 99 file in the list of things to be backed up
Reboot and test
Hope it works for you too.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version