Home Home > 2010 > 12 > 08 > eGalax touchscreen on CTFTAB how to make it work
Sign up | Login

eGalax touchscreen on CTFTAB how to make it work

December 8th, 2010 by

I’ve been playing with CTFTAB and was trying to make touch screen work on openSUSE 11.3. First everything went easy but then troubles arised!

Trouble number one

openSUSE 11.3 uses new Xorg autoconfiguration system that feels sometime that this is more complex than earlier one. After seeking from web I found this Fedora wiki entry (SHAME ON YOU openSUSE!) how to use ‘/etc/X11/xorg.conf.d’ and I was able to tune my Xorg to work. Don’t use unichrome-driver on X with CTFTAB it just doesn’t work!

Trouble number two

I try to make this short story. After installation you just launch Xorg and try to use touchscreen it does not work. Cursor just jumps at the left-top of screen and nothing else happens. I was little bit stunned because this was working in earlier versions of openSUSE. Next comes very technical stuff and you can skip them as you wish for solution.

Some details

Actually touchscreen was configured correct by usbhid-driver in kernel (or was it?). Problem was that Xorg is stunned because it expects that eGalax have multitouch capability and this one does not have multitouch at all (use just one finger baby!). If you check with evtest from /dev/input/event1 (that seems to be input device allways) it shows that ABS_X ja ABS_Y that comes from usbhid are nothing allways. Then ABS_Z is correct X value and ABS_RX is correct Y value. I was about to patch evdev-driver but then I found this from JooJoo forums and noticed that they have same problem. They even provided solution!

The solution

Solution is really easy. Split you usbhid input with quirks to two parts. If you make modifications to file ‘/boot/grub/menu.lst’ in kernel part ‘usbhid.quirks=0x0eef:0×0001:0×40′ and boot CTFTAB again. After that you almost have working system. You also need to but ‘/etc/X11/xorg.conf.d’ this kind of file (like ‘/etc/X11/xorg.conf.d/50-egalax.conf’):

Section "InputClass"
        Identifier "eGalax Calibration from /etc/X11/xorg.conf.d/50-egalax.conf"
        MatchProduct "eGalax"
        MatchDevicePath "/dev/input/event*"
        Option "SwapAxes" "on"
        Option "Calibration" "180 3960 180 3960"
EndSection

After that restart Xorg and it should work™

So what?

So if you don’t have CTFTAB but have problems with D-WAV Scientific Co., Ltd eGalax TouchScreen that isn’t with same vendor:product code then you have to use lsusb to find correct quirks like this:

usbhid.quirks=vendor:product:0x40

This is it. Now I start to use touchscreen. Hopefully someone fixes this in yast/somewhere or can tell me how to make openSUSE work out of box in CTFTAB (so I can have my own pad working with openSUSE out of box)

Both comments and pings are currently closed.

2 Responses to “eGalax touchscreen on CTFTAB how to make it work”

  1. Bruno Friedmann

    I don’t understand the shame ? Why didn’t you update the wiki ???

  2. Ricardo Chung

    Yes. Now you can make a contribution to the wiki. That is the way how a community grows up.