The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Linux

Reply
 
Thread Tools Search this Thread Display Modes
Old 06-01-2006, 05:17 PM   #1
Newbie
 
tallpat's Avatar
 
Join Date: Jun 2006
Location: Kent, Washington
Vehicle: 1998 Honda Accord
Posts: 4
My Photos: (0)
Configuring touchscreen "click" behavior

OK... So, I've successfully managed to get my Lilliput touchscreen functioning (for the most part). The calibration utility works and the cursor properly jumps to the correct co-ordinates when I touch the screen, but there is something strange going on with the click behavior...

It's a little difficult to describe, but here it goes:
When I touch the screen, the cursor jumps to the proper co-ordinates (as expected), but it almost appears as if there's a "second click" or "ghost click" simultaineously occurring at other (seemingly random) co-ordinates.

For example, if I touch the center of the screen, the cursor goes to the center of the screen, but it will also launch an icon in the toolbar... I can drag my finger across the screen and the cursor will follow, but also select/deselect various icons on my desktop.

Here's how I managed to make my touchscreen work:
1)I Downloaded the touchkit source from http://linux.chapter7.ch/touchkit/
2)I extracted a file called "evtouch_drv.o" from within a compressed file in "evtouch-0.5.1-src-tar.gz"
3)I copied "evtouch_drv.o" into /usr/X11R6/lib/modules/input
4)typed "modprobe evdev" into a root console
5)I compiled and ran the calibrator, which displayed the xorg.conf settings (needed when editing "xorg.conf")
6)I edited the "xorg.conf" as per the instructions on the mini-howto.txt
7)typed "rmmod touchkitusb"
8)typed "modprobe touchkitusb swap_xy"
9)restarted X
10)Everything works properly, with the exception of this "phantom clicking"
I've only been foolin' with Linux for about 18 months now, so I still consider myself sorta newbish.

Anybody have any ideas as to what might be going on here?
__________________
_____________________________
EPIA Mini-ITX M10000
8 GB Compact Flash card (bridged to the IDE channel)
1 GB DDR PC2100
Slax Standard 5.1.4
OPUS 150 W
Lilliput 7" 629GL-70NP
tallpat is offline   Reply With Quote
Sponsored Links
Old 06-01-2006, 07:20 PM   #2
Newbie
 
Join Date: Jul 2005
Posts: 43
My Photos: (0)
i thought that the lilliput came supplied with working linux drivers
spuzzdawg is offline   Reply With Quote
Old 06-01-2006, 08:22 PM   #3
Newbie
 
tallpat's Avatar
 
Join Date: Jun 2006
Location: Kent, Washington
Vehicle: 1998 Honda Accord
Posts: 4
My Photos: (0)
The cd which accompanied my Lilliput contains drivers for DOS and Windows only. I know people have been getting linux drivers for their Lilliputs from here: http://www.egalax.com.tw/eg/drivers.htm

However, I'm not working with one of the standard distros which they offer up drivers for, and I'm not having much success trying to finagle one of the other drivers into working for my distro (Slax).

Upon my very first attempt to boot Slax into an X environment, I noticed that the touchscreen seemed to function, albeit entirely improperly... Calibration was off, the Y axis was inverted, and the X and Y co-ordinates were swapped...

I noticed that the touchscreen would become disabled when I did a "rmmod touchkitusb", and worked from there. I found out that, provided the "evtouch_drv.o" is residing in the "/usr/X11R6/lib/modules/input/" folder, and a properly configured "xorg.conf" is in the "/etc/X11" folder, everthing works fine (that is, once I ran "modprobe evdev" and "modprobe touchkitusb swap_xy" again and restarted X), except for the little "phantom touch" behavior.

I dunno... I'm going to keep trying different things... maybe I'll figure it out. I guess I was just hoping maybe someone had experienced this sort of behavior before, and could provide some guidence... I'm thinking maybe I shouldn't need to modprobe both the touchkitusb and the evdev kernel drivers?

If I get everything working, I'm planning on making a Slax Module out of the driver and all of the calibration components. This way, should anyone else choose to attempt a Slax based car computer, there will always be a Lilliput module avaiable for Slax.
__________________
_____________________________
EPIA Mini-ITX M10000
8 GB Compact Flash card (bridged to the IDE channel)
1 GB DDR PC2100
Slax Standard 5.1.4
OPUS 150 W
Lilliput 7" 629GL-70NP
tallpat is offline   Reply With Quote
Old 06-02-2006, 09:28 PM   #4
Newbie
 
Join Date: Nov 2005
Posts: 2
My Photos: (0)
I'm curious. Does it work in windows?
mrzud is offline   Reply With Quote
Old 06-03-2006, 01:21 PM   #5
Newbie
 
tallpat's Avatar
 
Join Date: Jun 2006
Location: Kent, Washington
Vehicle: 1998 Honda Accord
Posts: 4
My Photos: (0)
It works flawlessly in Windows.

I'm wondering, isn't there some way to change the default click behavior? I mean, this may not be the solution I'm looking for... but perhaps I can tinker around with that setting (if such a setting is available). Correct me if I'm mistaken, but shouldn't there be options to change things like the "click rate" and "click properties"?
__________________
_____________________________
EPIA Mini-ITX M10000
8 GB Compact Flash card (bridged to the IDE channel)
1 GB DDR PC2100
Slax Standard 5.1.4
OPUS 150 W
Lilliput 7" 629GL-70NP
tallpat is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xbox Media Center 2.0 and Touchscreen blckwdw General MP3Car Discussion 26 06-17-2007 03:35 PM
Touchscreen from yuki - Crazy behavior Technofixer LCD/Display 4 04-18-2006 03:01 AM
Touchscreen problems with nlite and minlogon Ascension WinNT Based 1 06-01-2005 05:18 AM
Blew dust off, searched, and still no touchscreen on Lilliput - help! TheSpatulaOfLuv LCD/Display 4 10-13-2004 09:17 AM
7" Lilliput for sale NO TOUCHSCREEN CDesigns Classified Archive 11 05-24-2004 09:47 PM


All times are GMT -5. The time now is 11:17 AM.


Sponsored Links
The MP3car.com Store

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