The MP3car.com Store The MP3car.com Store    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Linux

Reply
 
LinkBack Thread Tools Display Modes
Old 06-19-2007, 01:13 AM   #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
timekiller is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 06-19-2007, 01:22 AM   #2
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 7,449
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.
2k1Toaster is offline   Reply With Quote
Old 06-19-2007, 09:38 AM   #3
Variable Bitrate
 
kev000's Avatar
 
Join Date: Aug 2006
Location: Clearfield Utah USA
Posts: 398
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.
__________________
OpenICE - "The Car Entertainment Platform"
http://openice.org
LinuxICE IRC chatroom: #linuxice irc.freenode.com
kev000 is offline   Reply With Quote
Old 06-19-2007, 01:32 PM   #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
timekiller is offline   Reply With Quote
Old 06-19-2007, 02:06 PM   #5
Variable Bitrate
 
kev000's Avatar
 
Join Date: Aug 2006
Location: Clearfield Utah USA
Posts: 398
Quote:
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.
__________________
OpenICE - "The Car Entertainment Platform"
http://openice.org
LinuxICE IRC chatroom: #linuxice irc.freenode.com
kev000 is offline   Reply With Quote
Old 06-19-2007, 03:18 PM   #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
timekiller is offline   Reply With Quote
Old 06-19-2007, 05:22 PM   #7
Variable Bitrate
 
kev000's Avatar
 
Join Date: Aug 2006
Location: Clearfield Utah USA
Posts: 398
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.
__________________
OpenICE - "The Car Entertainment Platform"
http://openice.org
LinuxICE IRC chatroom: #linuxice irc.freenode.com
kev000 is offline   Reply With Quote
Old 06-19-2007, 07:42 PM   #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
timekiller is offline   Reply With Quote
Old 06-19-2007, 10:22 PM   #9
Variable Bitrate
 
kev000's Avatar
 
Join Date: Aug 2006
Location: Clearfield Utah USA
Posts: 398
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.
__________________
OpenICE - "The Car Entertainment Platform"
http://openice.org
LinuxICE IRC chatroom: #linuxice irc.freenode.com
kev000 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ: Everything you need to know about your Lilliput hevnsnt LCD/Display 119 10-08-2008 05:37 PM
Lilliput touchscren woes Dluvr22 LCD/Display 0 07-09-2005 07:00 PM
xenarc first impressions, tried lilliput before emdzey01 LCD/Display 7 06-09-2005 06:26 PM
Lilliput Woes nick9871 LCD/Display 5 05-11-2004 10:00 PM
Lilliput 7" TS into TM-701L casing install problems :( NS98GSR LCD/Display 5 04-01-2004 04:37 AM


All times are GMT -5. The time now is 09:23 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics