So you are saying that the verticle movement is still inverted?Originally Posted by htd
Don't use /dev/input/mouse0, use the event interface. The mouse handle attempts to give coordinates in relative data, and this simply seems broken (Which can not be fixed in this driver, but in the linux input subsystem instead). If you look back at the howto, you will see the the event interface is used. (ex: /dev/input/event1). The howto should help you find the appropriate event handle. Sorry, I should have clarified this in my last post. In short, use the entire howto to help you get the device working. Although it is for mtouchusb (3m touch controllers), you should get the same results, only using a different device. Make sure you build the kernel for touchkitusb and not mtouchusb with this device thoughOriginally Posted by htd
.
For evtest, you can d/l it from:
http://groomlakelabs.com/grandamp/co.../applications/
To build, just do:
gcc -o evtest evtest.c
chmod 755 evtest
./evtest /dev/input/event1 (Or what ever event interface is assigned to the device)
Hope this helps!
So you are saying that the verticle movement is still inverted?Originally Posted by htd
ok i got it working all nice and prefect
Do what tejohnson said to do #8-11 on
http://www.groomlakelabs.com/granda...creen-HowTo.txt
then
1) vi /usr/src/linux/drivers/usb/input/touchkitusb.c
go to line 55
55:#define TOUCHKIT_GET_X(dat) (((dat)[3] << 7) | (dat)[4])
56:#define TOUCHKIT_GET_Y(dat) (((dat)[1] << 7) | (dat)[2])
and swap the X and the Y so it looks like this
#define TOUCHKIT_GET_Y(dat) (((dat)[3] << 7) | (dat)[4])
#define TOUCHKIT_GET_X(dat) (((dat)[1] << 7) | (dat)[2])
recompile the module or kernel which ever and load.
2) Put this in your X config
Section "InputDevice"
Identifier "touchscreen0"
Driver "evtouch"
Option "Device" "/dev/input/event2"
Option "DeviceName" "touchscreen"
Option "MinX" "49"
Option "MaxX" "1980"
Option "MinY" "100"
Option "MaxY" "1960"
Option "ScreenNumber" "1"
Option "DragTimer" "200"
Option "MoveLimit" "600"
Option "ReportingMode" "Raw"
EndSection
3) start X and it should work.
i have the screen Number on there because im running dual monitors, you might not need this
hope this helps![]()
FYI... these drivers also work with the xenarc monitors. I just got my serial xenarc monitor working under Gentoo tonight.![]()
--Craig
ismell: thanks for your patch info of the linux source.
I tried to fix it in evtouch X11-driver code (adding an option like InvY for mouse), i never thought of hacking the kernel driver directly, seems like i didn't see the forest because of all the trees![]()
Yeah i have gotten my Lilliput to work under Gentoo with the usb touch. Just used the fc2 driver pack from egalax, and ran the make commands manually, the only hickup was that it wanted to find the rc.local config file, just touch it and it will compile and install perfectly.
Hope this helps someone.
Matthew
Mitsubishi Lancer Hatch
VIA EPIA 800V
128RAM - 10 GB HDD
200 Watt PSU - 300 Watt Inverter
Lilliput 7" Touchscreen
D-Link USB FM Radio
Dlink DWL-520+ b/g Wifi Card
Fortuna GPSmart
Alpine Amp and Splits
Gentoo Linux/Windows 2000
Hey, just wondering what exact commands i need to type to manually make the FC2 shell script for the lilliput. I tried make, make install, and a few others, beings as my only linux experience is with gentoo i'm at a loss of what to type in to "manually make" the install. Any help is appreciated. Thanks
Hi all!
I have a lilliput 619GL-70NP 7" touchscreen, and I would like to make it work under debian (for now...)
I tried to follow the steps of the howto linked above, but it still doesn't work...when i touch the screen, cursor goes always in one of the screen corner...
here is my lsmod:
Module Size Used by
[...]
ehci_hcd 32004 0
tsdev 7392 0
mousedev 10476 2
usbhid 32192 0
joydev 9984 0
touchkitusb 5440 0
ohci_hcd 21764 0
usbcore 119012 6 ehci_hcd,usbhid,touchkitusb,ohci_hcd
evdev 9600 1
[...]
then the content of /proc/bus/input/devices:
[...]
I: Bus=0003 Vendor=0eef Product=0001 Version=0100
N: Name="eGalax Inc."
P: Phys=usb-0000:00:03.0-1/input0
H: Handlers=event2 mouse0 ts0
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=3
[...]
i installed the X evtouch driver:
wget http://stz-softwaretechnik.com/~ke/l...h-0.6.1.tar.gz
tar xfz evtouch-0.6.1.tar.gz
cp evtouch-0.6.1/evtouch_drv.o /usr/X11R6/lib/modules/input
then I added the lines to /etc/X11/XF86Config-4:
Section "InputDevice"
Identifier "touchscreen0"
Driver "evtouch"
Option "Device" "/dev/input/event2"
Option "DeviceName" "touchscreen"
Option "MinX" "2300"
Option "MinY" "2300"
Option "MaxX" "14000"
Option "MaxY" "14000"
Option "DragTimer" "200"
Option "MoveLimit" "600"
Option "ReportingMode" "Raw"
EndSection
and <<InputDevice "touchscreen0">> under serverlayout.
what's wrong?
maybe I should modify some option?
thanks in advance!
bye
barb3tta
Now It works, thanks to ismell...
But I can't reach borders... cursor is a bit distant from where I touch the screen and i stops follow the pen about 5px before the borders...
I think I should adjust options in XF86Config-4 ... but how?
thanks in advance.
bye
Bookmarks