Sunday, April 27, 2008

Egalax TouchKit Driver for Linux

On the Egalax website is a link to a Debian Linux Touchkit driver like shows up on Sambutu in windows. Shouldn't this be compatible with Ubuntu?  I think I've hit the Nooobie Wall. I've tried following the instructions and installing everything on my system but nothing happens.  The touchscreen is recognized by default in Hardy but I'm having a hard time getting it calibrated.  Can anyone help me figure this out? Thanks!

7 comments:

rgregori said...

Hi,
Did you manage to make the egalax driver to work with ubuntu hardy? The version I've downloaded from EETI was incompatible with my xorg, when using ubuntu hardy. It worked well on Gusty (7.10) though!

You can take a look at Xorg log file (/var/log/Xorg.0.log , I guess) and then find for eGalax there....
You'ĺl probably find it in a line with (EE) indicating that there was an error trying to load the egalax module!

I was able to make it work (with a lot of effort) using evtouch driver. (but then I reinstalled Gutsy, to give the EETI drivers a try). I'll try again the evtouch driver.

If I have any success I'll inform you.

Taxman45 said...

Hi cerebro,

I read that Dan at Thoughtfix is trying an Ubuntu install on his Samsung Q1-UV. Hopefully, he'll get to the bottom of this Egalax/Hardy thingy and update us.

rgregori said...

Hi TaxMan!

Good news, take a look at EETI:

http://210.64.17.162/web20/TouchKitDriver/linuxDriver.htm

they have drivers for kernel 2.6 and Xorg 1.4.0 (that we have on ubuntu 8.04)

give it a try!

They've also included an installer which also made our work a lot easier!

If you need any help feel free to get in touch!

Ryan said...

I haven't had much success on my Q1P yet. I got the driver installed and it is "functional," but only in that it detects when I put the pen on the screen. With no calibration, the cursor tracks very closely to the bottom left 9th of the screen. When I move outside that region it gets out of whack. Once I go through the 4 point calibration, the cursor "sticks" to the outside edges of the screen only. Finally when I do the 25 point calibration I regain the ability to use other parts of the screen, but nothing is mapped correctly.

Obviously unusable in this state.

Taxman45 said...

Hey Ryan,
Thanks for the update on trying out the Egalax TouchKit driver. I've been spending most of my Linux time lately with the eee pc. I'd love to hear success stories with Hardy Heron, in particular on the Samsung Q1. Please keep me posted.

Ryan said...

I've done everything up to and including compiling my own kernel module. No dice. Depending on the port I connect to, the cursor behaves VERY differently. As an input event, the cursor behaves as I have described. As an hiddev port, things are close. The cursor moves correctly at all points on the screen, however the behavior is more like a touchpad. I believe the driver registers with X in this mode as a mouse driver (rather than the HID device we're trying to register. I believe it is because of this that screen taps are not registered while calibrating. If I could some how get the calibration to work, I think it would work.

Unknown said...

I don't know if you're still interested in this (probably not, since more recent posts indicate you have a new machine), but this post ranks fairly highly in searches for "eGalax Touchkit". Consequently, I'm going to rattle on briefly about how I managed to set up an egalax-based touchscreen in case it helps someone else.

The process was essentially as documented below. The egalax "official" driver can be downloaded from http://home.eeti.com.tw/web20/TouchKitDriver/linuxDriver.htm (this is an incredibly slow website, up to five or ten minutes to load the page, so keep the faith).

The first step is to get touchscreen support in the kernel. This may be a little tricky at the newbie level, but the documentation is plentiful (I'm not going to go into kernel rebuilds, but the internet is full of tutorials). Enable [Device Drivers -> Input device support -> Event interface] and [Device Drivers -> USB support -> USB touchscreen] (may be named differently, support for the eGalax Touchkit USB Touchscreen).

Place egalax_drv.so in /usr/X11R6/lib/modules/input

Edit xorg.conf:
1. In 'ServerLayout' add the line 'InputDevice "EETI" "SendCoreEvents"'
2. Declare an input device:

Section "InputDevice"
Identifier "EETI"
Driver "egalax"
# Where 'X' is the event number of the device, check /proc.
Option "Device" "/dev/input/eventX"
# File to store calibration, must be writeable.
Option "Parameters" "/etc/touchscreen.calibration"
Option "ScreenNo" "0"
EndSection

Start X, and use the "Touchkit" executable supplied with the driver to calibrate the touchscreen.

"easy" when you know how. Good luck :)

My  Blog is Still Here...Where am I? My last blog entry was in January 2021, yet my blog is  still here.  I've seen too many blog posts ...