Touchscreen USB Elo works only halfways

Problems and successes with specific brands/models of computer video hardware
Post Reply
Message
Author
englischrot
Posts: 13
Joined: Fri 30 Jan 2009, 18:34

Touchscreen USB Elo works only halfways

#1 Post by englischrot »

Hi everyone,
I got an Elo usb Intellitouch monitor plugged in and started up puppy 4.2.
Touch worked, but the mouse pointer runs inverted.
So I tried for a new driver and installed the pet package for usb touchscreen and reedited xorg.config after tempestouses howto.

x was working after a restart, but absolutely nothing changed for the mousepointer.
touching right up sets the pointer to left down.

I tried for elos drivers and description, but this didn'regard puppy and was to complicated for me.
I loaded usbtouchscreen module and it is loaded on every boot.
Is there a way to get this fixed an what additional information shall I provide.
I have all elo's documentation where I can resarch the x and y values for calibration, but I can't resolve if this is a calibration or a driver problem.

Thanks in advance for helping me

englischrot

User avatar
hondasid
Posts: 259
Joined: Fri 31 Oct 2008, 14:59
Location: Perry, OK
Contact:

#2 Post by hondasid »

it sounds like a command got switched somewhere if it runs the opposite of what it needs to be. are there any config files you set, maybe something got switched?

englischrot
Posts: 13
Joined: Fri 30 Jan 2009, 18:34

#3 Post by englischrot »

hello ,
no I didn't modify any configs apart from xorg.config and the mouse pointer ran inverted at default, without changing anything.

I wonder why the changing of xorg.config hadn't any effects.

greetings

englischrot

englischrot
Posts: 13
Joined: Fri 30 Jan 2009, 18:34

#4 Post by englischrot »

correction: puppy version 4.1.2 is used

and I paste a part of xorg.config

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "touchscreen" "CorePointer"
InputDevice "dummy"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "de" #xkeymap0
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2" #mouse0protocol
Option "Device" "/dev/mouse"
#Option "Emulate3Buttons"
#Option "Emulate3Timeout" "50"
Option "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "InputDevice"
Identifier "touchscreen"
Driver "evtouch"
Option "Device" "/dev/input/event0"
Option "DeviceName" "touchscreen"
Option "MinX" "98"
Option "MinY" "43"
Option "MaxX" "940"
Option "MaxY" "925"
Option "ReportingMode" "RAW"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "SendCoreEvents" "On"
EndSection

Section "InputDevice"
Identifier "dummy"
Driver "void"
Option "Device" "/dev/input/mice"
EndSection

Section "Monitor"
#DisplaySize 300 230 # mm
Identifier "Monitor0"
VendorName "ELO"
ModelName "8UWC-1"
### Comment all HorizSync and VertRefresh values to use DDC:
Option "DPMS"
HorizSync 31.0-60.0
VertRefresh 55.0-75.0
#UseModes "Modes0" #monitor0usemodes
Option "PreferredMode" "1024x768"
EndSection

Section "Modes"
Identifier "Modes0"
#modes0modeline0
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
#Option "DualHead" # [<bool>]
Identifier "Card0"
Driver "nv" #card0driver
VendorName "nVidia Corporation"
BoardName "NV6 [Vanta/Vanta LT]"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1024x768"
EndSubsection
EndSection

#PuppyHardwareProfile=NVidiaIntelliTouch

englischrot
Posts: 13
Joined: Fri 30 Jan 2009, 18:34

#5 Post by englischrot »

looks as if I would have to resolve the inverted axis problem only.
But I'm not that apted to add the right options.

here another scrap of the xorg.conf

Section "InputDevice"
Identifier "touchscreen"
Driver "evtouch"
Option "Device" "/dev/input/event0"
Option "DeviceName" "touchscreen"
Option "MinX" "98"
Option "MinY" "43"
Option "MaxX" "940"
Option "MaxY" "925"
Option "ReportingMode" "RAW"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "SendCoreEvents" "On"
Option "SwapX" "On"
Option "SwapY" "On"
EndSection


Is it silly to believe that editing the xorg.conf could solve the problem?
thanks
englischrot

User avatar
hondasid
Posts: 259
Joined: Fri 31 Oct 2008, 14:59
Location: Perry, OK
Contact:

#6 Post by hondasid »

no, that's not silly at all since the mouse is controlled by xorg. i would comment over the emulate 3 buttons option, but it looks like that swap command was what you needed. i'm glad i know that now, i have a touchscreen puppy and would have been stumped if that ever happened.

englischrot
Posts: 13
Joined: Fri 30 Jan 2009, 18:34

#7 Post by englischrot »

i'm sorry that it looked like it works now, but it doesn't.
It seems that changing the xorg.conf has no effect on the touch behaviour.
By looking up the xorg.conf in X11 I discovered a 2nd xorg file named xorg.conf.NvidiaIntellitouch.
This was autogenerated.

Its content wasn't helpful, either, as follows:

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "de" #xkeymap0
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto" #mouse0protocol
Option "Device" "/dev/mouse"
#Option "Emulate3Buttons"
#Option "Emulate3Timeout" "50"
Option "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "Monitor"
#DisplaySize 300 230 # mm
Identifier "Monitor0"
VendorName "ELO"
ModelName "8UWC-1"
### Comment all HorizSync and VertRefresh values to use DDC:
Option "DPMS"
HorizSync 31.0-60.0
VertRefresh 55.0-75.0
#UseModes "Modes0" #monitor0usemodes
Option "PreferredMode" "1024x768"
EndSection

Section "Modes"
Identifier "Modes0"
#modes0modeline0
EndSection

I ran
#cat/proc/bus/input/devices

but I cant copy*paste the results,
but the elo screen was there.

Can someone sort this out?

Thnx
englischrot

englischrot
Posts: 13
Joined: Fri 30 Jan 2009, 18:34

#8 Post by englischrot »

After doing more research in puppy I found more information about the module usbtouchscreen:

parm: swap_xy:If set X and Y axes are swapped. (bool)

Obviously one can set this parameter, but where and how?

Or shall I change to the software section of the forum?

User avatar
hondasid
Posts: 259
Joined: Fri 31 Oct 2008, 14:59
Location: Perry, OK
Contact:

#9 Post by hondasid »

it would be in the usbtouchscreen config file, wherever that is. then just set the value to false

Post Reply