Comment 76 for bug 549447

Revision history for this message
Dave C (dave9111) wrote :

This diatribe of information was useful getting my 8" Xenarc 800TSV screen working with the evdev driver on Ubuntu 10.04 LTS but the volume of info was such that it was hard to figure out what was the right thing to do vs the wrong thing to do.
So I wanted to summarize what I did so others could avoid the pain.. My final solution works very well.

To make it clear I was not dealing with old conflicts, I did a fresh bare metal install of Ubuntu 10.04 LTS before starting this.

First I want to add that I tried to use the EETI.com.tw drivers and I had a couple of problems with them.
1. The xorg.conf file does not exist on a new Ubuntu 10.04 install, but the eGalax driver 3.07... at this time does not recognize that so the install silently fails. That is a pretty big bug. You have to create an xorg.conf file and put something in the file, like a single space character and then save it. Then run the driver script file install for it to operate properly.

2. On initial logon with the EETI.com.tw driver, with version 3.07. the touch screen does not function. If I log out and then back in, it works fine. While this might be acceptable for some, my application does not use a mouse or keyboard which means that logging in without a touchscreen is a dead end, total deal killer.

OK.. so on to what I did after a baremetal install of Ubuntu 10.04 LTS:

1. To be safe, edit /etc/modprobe.d/blacklist.conf and add a line at the end that says "blacklist usbtouchscreen" (don't include the quotes)
2. Following the directions in comment #18 above, edit the /etc/default/grub file and add the usbhid.quirks ... to the end of the line.
3. At a command prompt run: update-grub to make the grub changes permanent
4. Reboot your computer with your touch screen attached. It should work.. sort of .. the mouse pointer should respond to a tap and drag..
5. If you look at the X log file: /var/log/xorg.0.log and do a search for egalax, after some reading you will see that the OS has decided that you really have a tablet and not a touch screen.. You might say Oh no... but really who cares if it works!
6. Edit this file: /usr/lib/X11/xorg.conf.d/05-evdev.conf and add in the section called tablet catchall, a line after the line that says; Driver "evdev" . Make the next line this: Option "InvertY" "true"
7. Save the file and reboot. The X and Y axis movements via the touch screen should be correct, but the calibration will be wrong.
7. Go to this site http://www.freedesktop.org/wiki/Software/xinput_calibrator
8. Download the package labeled Ubuntu 10.04 and save the file.
9. Double click on the file and install the software.
10. Run the calibrator software that is installed under menu...system, administrative
11. Make a note of the calibration numbers it delivers - the first 4 numbers in sequence.
12. Again, edit the file: /usr/lib/X11/xorg.conf.d/05-evdev.conf and add a line below the InvertY line that says:
          Option "Calibration" "xx xx xx xx" where the xx's are the four numbers you just wrote down from the calibration routine.
13. Save the file and reboot.
14. The touchscreen should be fully functional! :-)

If you find any errors in this, please add a comment. Also if you can improve on this, please add a comment. We are all better off when we share our sucess. :-) Dave