Page 2 of 5 FirstFirst 12345 LastLast
Results 11 to 20 of 45

Thread: Touchscreen whose drivers play nice with Linux

  1. #11
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    stumped... do any of you know how to check to see if xorg is actually using the "evtouch" driver? I think the problem is that it never loads that driver for some reason.

  2. #12
    Newbie
    Join Date
    Oct 2005
    Posts
    10
    i installed Ubuntu 6.06.1!...i install the driver from eGalax site, and when i launch the config tool on the terminal appear the image in attachment!....please help me!
    Attached Images Attached Images  

  3. #13
    Constant Bitrate
    Join Date
    Jun 2006
    Location
    Chicago, IL
    Posts
    143
    did you actually compile the driver? tkpanel0 and 1 are kernel device nodes, and the tool seem have a problem opening any of them, make sure you have such devices in /dev first, then launch the tool. With egalax driver you also have one more driver, for Xorg, or X11 that you need to compile and load with X
    EPIA TC 1G 256MB 60GB Linux,WindowMaker, Roadnav, Xine, XMMS, iGuidance3
    Lilliput 8", Pharos i360, WUSB11v2.6 WiFi

  4. #14
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494

    simple request

    Is there anyway I could get one of you with a working touchscreen to output the results of:
    Code:
    ls /usr/X11R6/lib/modules/input/
    for me. It appears that by ubuntu edgy distro doesn't even have this directory by default. I wonder if xorg will even look in this directory for the drivers.

    thanks

    [edit]SOLVED: I fixed the problem, I made a symbolic link to the driver and put it in the folder /usr/lib/xorg/modules/input/

  5. #15
    Newbie
    Join Date
    Dec 2006
    Location
    Norway
    Posts
    8
    hi,

    I had some trouble getting the touchscreen on my Lilliput 619GL-70NP/C/T to work.
    After much fumbling and trying I found the evtouch driver was using the mouse interfaces in some way and not the correct touchscreen entry in /dev/input.

    The solution was to make a new udev rule.
    I made a new file in /etc/udev/rules.d and named the file 010-local.rules :
    SUBSYSTEMS=="usb", DRIVERS=="usbtouchscreen", NAME="input/touchscreen"
    Now all touchscreens handled by the "usbtouchscreen" kernel module will be found at /dev/input/touchscreen.
    Both me and the computer is happy, we always know what entry to use

    See http://www.reactivated.net/writing_udev_rules.html
    for more information about udev.

    So this is the relevant part of my xorg.conf:
    Section "InputDevice"
    Identifier "touchscreen"
    Driver "evtouch"
    Option "Device" "/dev/input/touchscreen"
    Option "DeviceName" "touchscreen"
    Option "MinX" "165" #Not calibrated yet
    Option "MinY" "165" #Not calibrated yet
    Option "MaxX" "1845"#Not calibrated yet
    Option "MaxY" "1945"#Not calibrated yet
    Option "ReportingMode" "Raw"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout" "50"
    Option "SendCoreEvents" "Off"
    Option "SwapX" "0"
    Option "Swapy" "1"
    #Option "Calibrate" "1"
    EndSection
    Now, my problem is to calibrate the damn thing a bit better.
    How does the Min and Max parameters work?

  6. #16
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    The maxX and maxY seem to be very different for every touchscreen.

    I found this calibrator program online. You may need the xorg-dev libraries to compile it. It works pretty good.

    Touchscreen Calibrator.c. You can compile it with this line:
    Code:
    gcc -L/usr/X11R6/lib/ -lX11 -o calibrator calibrator.c
    Good luck.

    EDIT: I had to change the code a bit for my resolution. I don't why but it took the lowest possible resolution from my system and calibrated to that resolution. Here is the relevant code. My changes have been commented out for width and height:
    Code:
    	/* get screen size from display structure macro */
    	
    	width = DisplayWidth(display, screen);//change this to width = [my res width];
    	height = DisplayHeight(display, screen);//change this to height = [my res height];
    
    	win = XCreateWindow(display, RootWindow(display, screen),
    	                    0, 0, width, height, 0,
    	                    CopyFromParent, InputOutput, CopyFromParent,
    	                    CWOverrideRedirect | CWBackPixel | CWEventMask |
    	                    CWCursor, &xswa);
    	XMapWindow(display, win);
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  7. #17
    Newbie
    Join Date
    Dec 2006
    Location
    Norway
    Posts
    8
    Kev: Thanks, I will try it and report back as soon as the Christmascraze slows down a bit

  8. #18
    Newbie
    Join Date
    Dec 2006
    Location
    Norway
    Posts
    8
    oki:
    I had to comment out line 22 in calibrator.c as I got a error message:
    calibrator-org.c:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘namespace’
    The change:
    ///added
    -using namespace std;
    +///using namespace std;
    Now I have a calibrated touchscreen

    I had no need to hardcode the resolution, mybe because xorg.conf has only one resolution config for this screen..

  9. #19
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    I had to comment out line 22 in calibrator.c as I got a error message:
    Thanks, I've fixed the calibrator code on the server.

    -kev
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  10. #20
    Newbie
    Join Date
    Mar 2005
    Location
    NJ
    Posts
    51
    Anybody know the status of the evtouch driver ( http://stz-softwaretechnik.com/~ke/t...n/evtouch.html ) ? I have been pulling my hair out because I updated my carpc, and now this driver does not compile. The latest version works with xorg 6.8, but most distros have moved past 6.8. I use gentoo, so the latest/greatest for me is 7.1. I have a lilliput 7" touchscreen, and REALLY want it to work.

    Before anyone says it: I have tried the company supplied linux driver, and it sucks! I used this page as a reference: http://tzilla.is-a-geek.com/articles/egalax/ - modifying where appropriate for gentoo. The driver is functional, but the accuracy is just god awful, even after calibrating it 100 times over (and gets worse the more you use it). And, yes I made sure the touchkitusb kernel module was not loaded!

    I guess, my bottom line question is, does anyone have xorg newer than 6.8 and a lilliput (egalax) touchscreen working to their satisfaction ?

    I'm at my wits end here, because I actually have a working GPS in linux, and the TOUCHSCREEN is what makes it less usable...that just blows.

    thanks for any feedback.

Page 2 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. New Frontend for Windows and Linux
    By gbr in forum Other Cool Front Ends
    Replies: 68
    Last Post: 01-21-2009, 09:55 PM
  2. Searching for touchscreen drivers
    By sct73 in forum Input Devices
    Replies: 16
    Last Post: 07-07-2008, 10:41 PM
  3. Replies: 2
    Last Post: 04-12-2006, 01:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •