Announcement

Collapse
No announcement yet.

Liliput 8" touchscreen XY flip

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Liliput 8" touchscreen XY flip

    I have installed LinuxICE on a computer with an attached an 8" touch screen. It appears as though the touch screen drivers are working as the touch screen does respond. However, the X and Y axis are switched. As motion occurs across the screen in the X direction, the cursor moves in the Y direction. I have also installed Gentoo and Ubuntu successfully and installed the e-galax drivers. They also give the same result. Has anyone else run into this issue? Any help would be appreciated. Thanks!
    - bobtheduck
    http://bobtheduck.com

  • #2
    providing you've run the calibrator (icetouch) under LinuxICE and you still have a swapped X and Y axis, you can add the following to xorg.conf evtouch device options:
    Code:
    option 'rotate' 'ccw'
    This will rotate the screen counter-clockwise and un-swap the X and Y.

    Hope this helps.

    BTW, if you've been able to get evtouch working in gentoo, could you mind giving kantlivelong a hand. He can't get the touchscreen to work at-all using gentoo (http://www.mp3car.com/vbulletin/linu...00-gentoo.html).
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

    Comment


    • #3
      Liliput 8" touchscreen XY flip

      I just managed to get that line added to my xorg.conf file and it's working now. The calibrator application didn't quite set the max and min's properly. I had to manually set those and play around a bit until it cooperated. I am having a bit of another problem though. It seems to assume that I always want to double click when I press on the screen and single click when I hold down for more than half a second. Is there any way I can reverse those, or at least turn off the double click? Thanks again!
      - bobtheduck
      http://bobtheduck.com

      Comment


      • #4
        can you post your xorg.conf? It'll help me not to make irrelevant suggestions if I can see what you have in there currently.

        thanks
        Former author of LinuxICE, nghost, nobdy.
        Current author of Automotive Message Broker (AMB).
        Works on Tizen IVI. Does not represent anyone or anything but himself.

        Comment


        • #5
          Liliput 8" touchscreen XY flip

          Here's my xorg.conf file.

          Code:
          Section "Files"
          	FontPath	"/usr/share/fonts/X11/misc"
          	FontPath	"/usr/share/fonts/X11/cyrillic"
          	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
          	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
          	FontPath	"/usr/share/fonts/X11/Type1"
          	FontPath	"/usr/share/fonts/X11/100dpi"
          	FontPath	"/usr/share/fonts/X11/75dpi"
          	# path to defoma fonts
          	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
          EndSection
          
          Section "Module"
          	Load	"i2c"
          	Load	"bitmap"
          	Load	"ddc"
          	Load	"dri"
          	Load	"extmod"
          	Load	"freetype"
          	Load	"glx"
          	Load	"int10"
          	Load	"vbe"
          EndSection
          
          Section "InputDevice"
          	Identifier	"Generic Keyboard"
          	Driver		"kbd"
          	Option		"CoreKeyboard"
          	Option		"XkbRules"	"xorg"
          	Option		"XkbModel"	"pc105"
          	Option		"XkbLayout"	"us"
          EndSection
          
          Section "InputDevice"
          	Identifier	"Configured Mouse"
          	Driver		"mouse"
          	Option		"CorePointer"
          	Option		"Device"		"/dev/input/mice"
          	Option		"Protocol"		"ImPS/2"
          	Option		"ZAxisMapping"		"4 5"
          	Option		"Emulate3Buttons"	"true"
          EndSection
          
          Section "InputDevice"
          	Identifier	"Synaptics Touchpad"
          	Driver		"synaptics"
          	Option		"SendCoreEvents"	"true"
          	Option		"Device"		"/dev/psaux"
          	Option		"Protocol"		"auto-dev"
          	Option		"HorizScrollDelta"	"0"
          EndSection
          
          Section "InputDevice"
          	Driver		"wacom"
          	Identifier	"stylus"
          	Option		"Device"	"/dev/input/wacom"
          	Option		"Type"		"stylus"
          	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
          EndSection
          
          Section "InputDevice"
          	Driver		"wacom"
          	Identifier	"eraser"
          	Option		"Device"	"/dev/input/wacom"
          	Option		"Type"		"eraser"
          	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
          EndSection
          
          Section "InputDevice"
          	Driver		"wacom"
          	Identifier	"cursor"
          	Option		"Device"	"/dev/input/wacom"
          	Option		"Type"		"cursor"
          	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
          EndSection
          
          Section "Device"
          	Identifier	"ATI Technologies Inc Radeon Mobility M6 LY"
          	Driver		"ati"
          	BusID		"PCI:1:0:0"
          EndSection
          
          Section "Monitor"
          	Identifier	"Generic Monitor"
          	Option		"DPMS"
          EndSection
          
          Section "Screen"
          	Identifier	"Default Screen"
          	Device		"ATI Technologies Inc Radeon Mobility M6 LY"
          	Monitor		"Generic Monitor"
          	DefaultDepth	24
          	SubSection "Display"
          		Depth		24
          		Modes		"800x600"
          	EndSubSection
          EndSection
          
          Section "ServerLayout"
          	InputDevice	"touchscreen"	"SendCoreEvents"
          	InputDevice	"dummy"
          	Identifier	"Default Layout"
          	Screen		"Default Screen"
          	InputDevice	"Generic Keyboard"
          	InputDevice	"Configured Mouse"
          	InputDevice     "stylus"	"SendCoreEvents"
          	InputDevice     "cursor"	"SendCoreEvents"
          	InputDevice     "eraser"	"SendCoreEvents"
          	InputDevice	"Synaptics Touchpad"
          EndSection
          
          Section "DRI"
          	Mode	0666
          EndSection
          
          Section "InputDevice"
          Identifier "dummy"
          Driver "void"
          Option "Device" "/dev/input/mice"
          EndSection
          
          Section	"InputDevice"
          	Identifier	"touchscreen"
          	Driver	"evtouch"
          	Option	"Device"	"/dev/input/touchscreen"
          	Option	"DeviceName"	"touchscreen"
          	Option	"MinX"		"100"
          	Option	"MinY"		"0"
          	Option	"MaxX"		"1900"
          	Option	"MaxY"		"2000"
          	Option	"SwapY"		"0"
          	Option  "SwapX"		"0"
          	Option	"maybetapped_action"	"down"
          	Option	"maybetapped_button"	"1"
          	Option	"longtouch_action"	"click"
          	Option	"longtouch_button"	"1"
          	Option	"ReportingMode"	"Raw"
          	Option	"Emulate3Buttons"
          	Option	"Emulate3Timeout"	"50"
          	Option	"SendCoreEvents"
          	Option 	"rotate"		"ccw"
          EndSection
          Thanks!
          - bobtheduck
          http://bobtheduck.com

          Comment


          • #6
            change your mouse line to /dev/input/mouse0 instead of mice. That should help there.
            Former author of LinuxICE, nghost, nobdy.
            Current author of Automotive Message Broker (AMB).
            Works on Tizen IVI. Does not represent anyone or anything but himself.

            Comment

            Working...
            X