CarTFT.com - CarPC Forum
TFT Touchscreen with eGalax Touch driver + USB Mouse -> weired mouse pointer action
By: c.monty
Rank: Starfleet Lieutenant, Junior Grade
Postings: 8
From: Germany
Posted: So Aug 23, 2009 - 09:28

hi!

i'm running ubuntu 9.04, kernel 2.6.28-15-generic, X server X.Org X Server 1.6.0 Release Date: 2009-2-25 X Protocol Version 11, Revision 0.

to get the TFT touchscreen working, i've installed package xserver-xorg-input-evtouch and driver eGalax Touch driver for 32bit Linux kernel 2.6.x, version 2.06.2905-32b-k26.

output of cat /proc/bus/input/devices

I: Bus=0003 Vendor=0eef Product=0001 Version=0112
N: Name="eGalax Inc. Touch"
P: Phys=usb-0000:00:1d.0-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input5
U: Uniq=
H: Handlers=mouse1 event3
B: EV=1b
B: KEY=401 0 30000 0 0 0 0 0 0 0 0
B: ABS=f
B: MSC=10

everthing works fine UNTIL i plugin USB mouse controller.
then the mouse controller is not working properly, means the pointer is moving on the screen, but i cannot select anything.

this problem is described here
"Since Xorg 7.2 there is always a default-mouse-pointer which will run simultaneously with evtouch if you do not prevent it from loading. It is extremely important that you add the following to your configuration. Otherwise you will get double click events and all kind of strange things."

but as HAL is used i don't know how this should be implemented.

can someone assist here?

THX
By: admin
Rank: Starfleet Vice Admiral
Postings: 463
From: Germany
Avatar
Posted: So Aug 23, 2009 - 02:28

See http://www.xbmc.org/forum/showthread.php?s=774b7521f3d5ddec46cf9ce3fa5c7ed5&t=47263&page=3

"

here is what i did
googlin'around i found that with input-event i could see what was going on on an event device, and noticed that NOTHING was registered on /dev/input/eventX (where X was the event device attached to my touchscreen)
that was why it wasn't receiving taps, even if it was receiving mouse locations, don't know why
ok, so what i did was REMOVING evtouch xorg driver and setting the touchscreen to use default evdev, but nothing was registered yet, because the touchscreen fell back to use synaptics xorg driver... so what next remove xserver-xorg-input-synaptics did it, now i have many events in /dev/input/eventX but what i lost my calibration
ok, i still have what came out from evtouch calibration, so all i have to do is making some xinput set-int-prop to set the calibration limits and the axis swapping/inverting
and now the touchscreen is working as it is intended to even in jaunty, without any code modifications

"
By: c.monty
Rank: Starfleet Lieutenant, Junior Grade
Postings: 8
From: Germany
Posted: Mo Aug 24, 2009 - 06:23

hi!

the problem is NOT that the touchscreen is not working.
in fact, it works in both cases, means if USB mouse is plugged-in or not.

the problem is rather that with USB mouse plugged in, i can only mark areas on the desktop when moving the pointer via touchscreen, i cannot select a desktop item any more.

as soon as i unplug the USB mouse, everything is fine again.
By: admin
Rank: Starfleet Vice Admiral
Postings: 463
From: Germany
Avatar
Posted: Fr Aug 28, 2009 - 11:37

If the kernel module "usbhid" , "touchkitusb" or "usbtouchscreen" is loaded for USB touch device, the user has to modify the mouse setting in the file "xorg.conf" as well to prevent from the mouse driver read the data from the specified device node.
For details, please see the driver guide in the driver package.

There also are new Linux drivers available now. Please check http://www.cartft.com/support/drivers/TFT
 
Welcome Anonymous User
Sa Aug 17, 2024 - 08:18
Your Options:
· Home
· Log In
Quick Search:
Quick Jump:
Change Language:
System Announcements
No System Announcements
Latest Postings