Results 1 to 3 of 3

Thread: Calibrate and rotate input of a TouschScreen

  1. #1
    Join Date
    May 2010
    Beans
    2

    Calibrate and rotate input of a TouchScreen

    Hello everyone.
    I've got a Nexoc S621II (notebook/tablet pc) with a TouchPack Touchscreen. Everything is working fine after I installed a Vanilla Kernel (issue with the touchscreen which is fixed in 2.6.34). My only problem is now that I can't find a way to rotate the input of the touchscreen if I rotate the screen with xrandr.

    The modified Synaptics-Driver which is available makes it possible to use the touchpad, but the touchscreen input isn't rotated. Also, it has a little divergence towards the right side, so how can I calibrate it?

    Anyone an idea on that one?

    Quote Originally Posted by lsusb
    Bus 008 Device 002: ID 1bfd:1688 TouchPack Resistive Touch Screen
    Last edited by Robert_Zenz; May 28th, 2010 at 02:38 PM.

  2. #2
    Join Date
    May 2010
    Beans
    2

    Re: Calibrate and rotate input of a TouschScreen

    I found it!

    I'll write a complete How-To later on how to get the whole notebook up and running, for now it's this to get the touchscreen working.

    Use this to determine the device:
    Code:
    xinput list
    Calibration:
    Code:
    xinput set-prop 12 "Evdev Axis Calibration" 0 4132 0 4135
    Rotation:
    Code:
    #Normal
        xinput set-prop 12 "Evdev Axis Inversion" 0, 0
        xinput set-prop 12 "Evdev Axes Swap" 0
    
    #Right
        xinput set-prop 12 "Evdev Axis Inversion" 1, 0
        xinput set-prop 12 "Evdev Axes Swap" 1
    
    # Inverted
        xinput set-prop 12 "Evdev Axis Inversion" 1, 1
        xinput set-prop 12 "Evdev Axes Swap" 0
    
    # Right
        xinput set-prop 12 "Evdev Axis Inversion" 0, 1
        xinput set-prop 12 "Evdev Axes Swap" 1

  3. #3
    Join Date
    Jun 2011
    Beans
    1

    Re: Calibrate and rotate input of a TouschScreen

    Thanks a lot! This helped me get the touchscreen on my Asus All-in-One PC going. I had looked all over for this.

    One helpful thing for beginners to note is that in your code the 12 after "set-prop" needs to be changed to whatever the identifier of your touchscreen happens to be. (You find this when you run xinput list).

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •