Results 1 to 9 of 9

Thread: Lilliput woes

  1. #1
    Newbie
    Join Date
    Mar 2005
    Location
    NJ
    Posts
    51

    Lilliput woes

    OK, I am on the verge of declaring my touchscreen "broken", but figured I'd get a second/third opinion - kev000 I hope you're listening...

    I decided to try and tackle my touchscreen yet again tonight. Problem here is, it works, it's just not the least bit accurate. I started this evening with gentoo, xorg 7.1, and evtouch 0.8.1. long story short, everytime I calibrate my screen I get ridiculous values - like this:

    Option "MinX" "300"
    Option "MinY" "1810"
    Option "MaxX" "236"
    Option "MaxY" "1811"

    notice how the min/max values for both x and y are too close to each other - 14 for x, 1 for y!!!

    When I try to use the touchscreen, the mouse either is offscreen all the time, hangs out in one corner, not moving much, or shoots all the way across the screen when I move my finger half an inch.

    I have played with all the relavant evtouch options - Rotate, SwapXY, SwapX, SwapY. At one point I tried manually playing with the values, and got it SORTA working with the following:

    Option "MinX" "45"
    Option "MinY" "1725"
    Option "MaxX" "575"
    Option "MaxY" "2035"
    Option "ReportingMode" "Raw"
    Option "SendCoreEvents" "On"
    Option "SwapX" "0"
    Option "Swapy" "0"
    Option "TapTimer" "150"
    Option "LongTouchTimer" "300"
    Option "Rotate" "CW"

    Problem is, I could (and have) spend hours tweaking the min/max values MANUALLY to the point it's perfect, then reboot, and the accuracy is shot again - it KINDA works, but the mouse will be slightly off, and accelerate to fast, etc.

    Now tonight, I started by upgrading to the latest driver, 0.8.6 and running the calibrator kev000 put out there. Unfortunately, kev's calibrator would not run on my system (wrong glibc version), and the .cpp file would not compile. I tried the older calibrator, but got the same results from the values it generated.

    In desperation, I tried installing ubuntu 7.04. The os installed with no problem, and after installing the needed packages to compile evtouch I went through the calibration process again. This time I was able to use kev's calibrator successfully, but it spit out the same useless values. So now I am stuck with a fresh installed system with a non functional touchscreen.

    So does anyone have any advise? Does is sound like I have a busted touchscreen? Even if people using the same screen (lilliput 7") could post the touchscreen section of their X configs at least then I could see what valid values look like and try them out.

    For any questions about the specifics of my hardware/software, you can go to http://www.timekiller.org/carpc

    thanks in advance
    Mazda 3
    Via Epia M10k w/ Lilliput 7"
    Gentoo,MythTV,iGuidance v3
    See the hardware and software

  2. #2
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    If you plug in your TS to a windows box using touchkit drivers, is it the same deal?

    If so then I would say busted overlay. Are there any cracks or deep scratches or anything on the overlay? Anything in the casing pressing against the screen somewhere? Do you have your screen mounted somewhere where it could be twisting, like a custom housing that was too small but managed to squeeze it in there somehow?

    My bet is that a new overlay will fix your problems. $50 from either the store here, digitalww, or eBay.
    Fusion Brain Version 6 Released!
    1.9in x 2.9in -- 47mm x 73mm
    30 Digital Outputs -- Directly drive a relay
    15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
    Buy now in the MP3Car.com Store

  3. #3
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    I don't know if you have the same problem but this was a discussion in the ICE forum a couple weeks ago.

    He also had a lilliput. I need to roll out a new version of the calibrator to work with these kinds of touchscreens. unfortunately I'm spread kinda thin and haven't gotten around to coding the calibrator. It'll get done though.

    Hope this helps.
    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.

  4. #4
    Newbie
    Join Date
    Mar 2005
    Location
    NJ
    Posts
    51
    ok, so this morning I tried hooking the touchscreen up to a windows box, installed the driver, and did the calibration. It wasn't perfect, but it was a lot better than in linux. The far right of the screen was perfect, but as I got closer to the left side, the accuracy got worse - the pointer was at the left edge when my finger was about an inch away. After several calibrations, the result was the same. - But at least i know it's not broken altogether.

    kev: thanks for the link, I will try patching the calibrator when I get home. From that post, it looks like I have to downgrade to 0.8.1 for the Rotate option to work ? It seemed to be working fine in 0.8.6, but maybe I'm wrong - I will try both and post my results.


    On a side note, I read you post about Linux users working together and couldn't agree more. That's sorta why I took the time/effort to post my software walkthrough - https://www.timekiller.org/carpc/software.php for anyone who still hasn't seen it.

    I would like to lend a hand with linux ice anywhere I can. I'm not much or a C programmer, beyond patching, etc. But I can script, and know my way around a linux box. I could also help with graphics, and ui design.

    Let me know if I can help.
    Mazda 3
    Via Epia M10k w/ Lilliput 7"
    Gentoo,MythTV,iGuidance v3
    See the hardware and software

  5. #5
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    kev: thanks for the link, I will try patching the calibrator when I get home. From that post, it looks like I have to downgrade to 0.8.1 for the Rotate option to work ? It seemed to be working fine in 0.8.6, but maybe I'm wrong - I will try both and post my results.
    Nope, rotate works with 0.8.6.

    Your software walkthrough has been a huge help for myself personally. I really appreciate it. In fact I just saw in the LICE wiki your via kernel config. I'll have to try it out.

    There is lots of work anyone can do in LICE, whether its loading the thing up and testing it or documenting optimizing tips. Next release we are going to build in our own kernel. If you feel you can help in optimizing or even building it let me know, or anything else you feel that's needed.
    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.

  6. #6
    Newbie
    Join Date
    Mar 2005
    Location
    NJ
    Posts
    51
    Ok, I'm trying to download LinuxICE-Feisty.iso now, but there's no movement on the torrent - can you fire up a seed so I can give this a whirl ?
    Mazda 3
    Via Epia M10k w/ Lilliput 7"
    Gentoo,MythTV,iGuidance v3
    See the hardware and software

  7. #7
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    You'll probably want to download from the direct link. I'm not at home at the moment so I can't start up a seed .

    Speaking for myself (but I'm sure the others would agree) we appreciate all the help we can get.
    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.

  8. #8
    Newbie
    Join Date
    Mar 2005
    Location
    NJ
    Posts
    51
    kev000,
    having a problem compiling calibrator.cpp (even unpatched) - can you give me the command you used to compile it ?

    thanks.
    Mazda 3
    Via Epia M10k w/ Lilliput 7"
    Gentoo,MythTV,iGuidance v3
    See the hardware and software

  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
    the command to compile it should be on line 5 of calibrator.cpp. you'll need xserver-xorg-dev to compile it.

    Code:
    sudo apt-get install xserver-xorg-dev
    Then run:
    Code:
    g++ -L/usr/X11R6/lib/ -lX11 -o calibrator calibrator.cpp
    I believe that should work.
    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.

Similar Threads

  1. Replies: 118
    Last Post: 10-22-2010, 04:05 PM
  2. Lilliput touchscren woes
    By Dluvr22 in forum LCD/Display
    Replies: 0
    Last Post: 07-09-2005, 08:00 PM
  3. xenarc first impressions, tried lilliput before
    By emdzey01 in forum LCD/Display
    Replies: 7
    Last Post: 06-09-2005, 07:26 PM
  4. Lilliput Woes
    By nick9871 in forum LCD/Display
    Replies: 5
    Last Post: 05-11-2004, 11:00 PM
  5. Replies: 5
    Last Post: 04-01-2004, 05:37 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
  •