Page 1 of 4 1234 LastLast
Results 1 to 10 of 33

Thread: Linux + Touch screen problem.

  1. #1
    FLAC
    Join Date
    Oct 2006
    Posts
    1,025

    Linux + Touch screen problem.

    I cannot get touchscreen to work on linux no matter what i tried.
    I successfully installed ubuntu mobile on my desktop, but the touchscreen driver does not work. I can move cursor around but its totally wrong position.
    I tried calibrating, but it seem to have no effect. Anyone have a clue on what i should do to fix it?

  2. #2
    Constant Bitrate tdb30_'s Avatar
    Join Date
    Aug 2005
    Location
    Central MA
    Posts
    175
    Is the position inverted? Or just off by a lot?

  3. #3
    FLAC
    Join Date
    Oct 2006
    Posts
    1,025
    its seems weird... at the middle everything is ok, as u move towards the left the cursor moves to the right, and vice versa.

  4. #4
    Constant Bitrate tdb30_'s Avatar
    Join Date
    Aug 2005
    Location
    Central MA
    Posts
    175
    And if you move up the cursor goes down right?

    One of the posts in this forum suggested loading your touchscreen driver by doing this:

    modprobe touchkitusb swap_xy

    make sure the module isn't loaded already by doing an rmmod touchkitusb.

    I'm not sure if this is the driver you are using, but I'm guessing it might be.

  5. #5
    FLAC
    Join Date
    Oct 2006
    Posts
    1,025
    this is the ubuntu builtin driver, i'm trying to install the eeti driver but its not working
    the instruction say go into the USBSrc folder and type make all, but it doesnt work for me. No setup.sh file so i have no idea how to install it

  6. #6
    Constant Bitrate tdb30_'s Avatar
    Join Date
    Aug 2005
    Location
    Central MA
    Posts
    175
    The eeti drivers are binaries. If you get the package from their site you shouldn't have to compile anything. Just put the modules in the right directories and change the xorg.conf file

  7. #7
    FLAC
    Join Date
    Oct 2006
    Posts
    1,025
    Sorry for my stupidity, i just started with linux
    I'mve having problem understanding this part of the procedure.
    and i dont have this particular file "/var/lib/egalax.cal” should i put it there?

    b.) configure the xorg configuration file
    Edit the xorg configuration file (e.g. /etc/X11/xorg.conf) and add the configuration used by
    the driver to connect to the device installed on your system.

    (1) Add an Input device declaration in “ServerLayout” section.
    For example:

    Section “ServerLayout”


    InputDevice “EETI” “SendCoreEvents”
    EndSection

    Note: If more than one TouchKit controllers ( 2 or more TouchKit touchscreens ) are
    used for the system, please add multiple InputDevice declarations in the
    “ServerLayout” section with different names.

    For example:
    InputDevice “EETI1” “SendCoreEvents”
    InputDevice “EETI2” “SendCoreEvents”

    (2) Configure the Xorg module configuration for TouchKit device.
    For each InputDevice section declared in the “ServerLayout” section you will
    need to create additional separate configuration in the xorg.conf file.

    For only one USB device in the system:

    Section “InputDevice”
    Identifier “EETI”
    Driver “egalax”
    Option “Device” “usbauto”
    Option “Parameters” “/var/lib/egalax.cal”
    Option “ScreenNo” “0”
    EndSection

    Note: The Identifier line must be same as the name declared it in the section
    “ServerLayout”.

    For multiple devices ( RS232 and USB ) in the system:

    Section “InputDevice” ( For RS232 device )
    Identifier “EETI1”
    Driver “egalax”
    Option “Device” “/dev/ttyS0”
    Option “Parameters” “/var/lib/egalax1.cal”
    Option “ScreenNo” “0”
    EndSection

    Section “InputDevice” ( For USB device )
    Identifier “EETI2”
    Driver “egalax”
    Option “Device” “usbauto”
    Option “Parameters” “/var/lib/egalax2.cal”
    Option “ScreenNo” “0”

  8. #8
    FLAC
    Join Date
    Oct 2006
    Posts
    1,025
    the terminal report my X version to be 1.5.2 Which does not corespond to any driver.
    So i tried the following anyway:

    Here are the things i've tried: setup.sh for both version 1.3/1.4 from eeti website, neither gave me a response from the touch screen.
    After some diggin, i've gotten this far
    I've placed the egalax_drv.so into /usr/lib/xorg/modules/input
    Section "InputDevice"
    Identifier "EETI"
    Driver "egalax"
    Option "Device" "hiddevs"
    Option "Parameters" "/var/lib/egalax.cal"
    Option "ScreenNo" "0"
    EndSection
    ...
    Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Default Screen"
    InputDevice "EETI" "SendCoreEvents"
    EndSection

  9. #9
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    strange, I've setup egalax on half a dozen computers and it has worked every time...

    can you paste the output of `lsusb`?

    also, in ubuntu, `dpkg -l | grep xserver` should give you your version. This is what mine looks like in intrepid:

    kev@kev-desktop:~$ dpkg -l | grep xserver
    ii xserver-xorg 1:7.4~5ubuntu3 the X.Org X server
    i xserver-xorg-core 2:1.5.2-2ubuntu3 Xorg X server - core server

    since it looks like you are also running intrepid (based) ubuntu, we both may be out of luck with regard to touchscreen. Until the eeti people roll out a driver for 1.5... That sucks, I just upgraded my carPC to intrepid last night. I'll give egalax a try, but I'm not hopeful...

    edit: looks like they have a beta driver for 1.4.99. I assume the is the beginnings of a 1.5 driver. Maybe if enough of us shoot them an email asking for a 1.5 driver, they'll hurry it up :P.
    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. #10
    FLAC
    Join Date
    Oct 2006
    Posts
    1,025
    ok, so it appears you are right, we have the exact same versions:
    ii xserver-xorg 1:7.4~5ubuntu3 the X.Org X server
    i xserver-xorg-core 2:1.5.2-2ubuntu3 Xorg X server - core server

    output from lsusb is
    BUS 001 Device 002: ID 0eef:0001 D-Wav Scientif Co., Ltd eGalax TouchScreen

    I tried to go back to the instruction of the egalax driver
    when i do the make all in USBSrc, i keep getting the error
    "no rule to make target modules/2.6.27-4-lpia/build"

Page 1 of 4 1234 LastLast

Similar Threads

  1. In-dash touch screen vs touch screen overlay
    By vxcarpc in forum LCD/Display
    Replies: 7
    Last Post: 09-22-2008, 10:52 PM
  2. Review: TView 8" LCD Widescreen Touch Screen 56k Beware
    By AcuraTLFan in forum The Review Palace
    Replies: 26
    Last Post: 01-30-2008, 02:01 PM
  3. Lilliput 8" touch screen backwards - FC4
    By DJBigShow in forum Linux
    Replies: 9
    Last Post: 08-04-2006, 02:43 PM
  4. Lilliput touch screen Help..please
    By avn128 in forum LCD/Display
    Replies: 2
    Last Post: 08-03-2006, 04:20 PM
  5. Lilliput - linux supports usb touch screen?
    By chenko in forum LCD/Display
    Replies: 9
    Last Post: 10-03-2004, 05:58 PM

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
  •