[SOLVED] Touchscreen (Input) trouble on Trekstor Surftab Twin 11.6
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2019
    Location
    SomewhereOverTheRainbow
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Touchscreen (Input) trouble on Trekstor Surftab Twin 11.6

    Hello all,

    days ago I have managed to install Fedora 29 on the above mentioned Tablet/Laptop. Everything works very smooth out of the box (no additional drivers installed) beside 2 small things that I can not solve:

    Problem #1:

    The touchscreen is working and I can also run xinput_calibrator. The problem is that the input is fully inverted ("up-left-touch" translates to "bottom-right-pop-up-window"; scrolling up is scrolling down etc.). Running "xinput list" is giving me this output:

    Click image for larger version. 

Name:	xinput_list.png 
Views:	19 
Size:	103.1 KB 
ID:	30122

    I assume that device #9 (xwayland-touch:15) would be the device I am looking for but neither disabling or enabling nor any changes in the coordinate transition matrix is doing anything to the touch input behavior. Is the touch input controlled somewhere else? Did I forget something?

    Problem #2:

    The display rotation is perfect but when rotating to the right the display rotates to the left - same for the other direction. Rotating upside down is ok (beside the above mentioned problem #1). Running any change in xrandr doesn´t do anything to the screen rotation. Do you have any idea?

    -----

    Thank you for helping me getting this device fully up and running.
    Have a great day.

    B

  2. #2
    Join Date
    Feb 2019
    Location
    SomewhereOverTheRainbow
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Touchscreen (Input) trouble on Trekstor Surftab Twin 11.6

    Problem #2 is solved (just in case someone is interested):

    The most current version of 60-sensor.hwdb (https://github.com/systemd/systemd/b...60-sensor.hwdb) is including the accelerator mount matrix for the above mentioned Trekstor tablet. In order to have the rotation right I had to change the values to -1, 0, 0; 0, 1, 0; 0, 0, -1. Now screen rotation is working as expected.

    Which leaves me with Problem #1 as touchscreen input on wayland is still inverted. Any ideas?
    Last edited by NewFeLi; 4th March 2019 at 05:16 PM.

  3. #3
    Join Date
    Feb 2019
    Location
    SomewhereOverTheRainbow
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Touchscreen (Input) trouble on Trekstor Surftab Twin 11.6

    After hours of research about how Wayland is working and how Libinput needs to be setup I have finally found a solution for problem #1 by providing the correct (inverted) coordination matrix to the touchscreen. Essentially was Zootboy´s information here: https://wiki.archlinux.org/index.php...ng_Touchscreen as well as the documentation on https://wiki.archlinux.org/index.php/touchscreen about touchscreen setup.


    For the mentioned TrekStor SurfTab twin 11.6 the name of the touchscreen vendor is not as obvious but the procedure is pretty straight forward:


    1) Identifying the device

    Code:
    less /proc/bus/input/devices

    I: Bus=0018 Vendor=2808 Product=50ab Version=0100
    N: Name="FTSC1000:00 2808:50AB"
    P: Phys=i2c-FTSC1000:00
    S: Sysfs=/devices/pci0000:00/808622C1:05/i2c-5/i2c-FTSC1000:00/0018:2808:50AB.0003/input/input10
    U: Uniq=
    H: Handlers=mouse1 event7
    B: PROP=2
    B: EV=1b
    B: KEY=400 0 0 0 0 0
    B: ABS=3273800000000003
    B: MSC=20


    and verifying it by

    Code:
    cat /dev/input/event7

    2) Getting the ATTRS {name} for the above mentioned device

    Code:
    udevadm info -a -p /sys/class/input/mouse1
    looking at parent device '/devices/pci0000:00/808622C1:05/i2c-5/i2c-FTSC1000:00/0018:2808:50AB.0003/input/input10':
    KERNELS=="input10"
    SUBSYSTEMS=="input"
    DRIVERS==""
    ATTRS{name}=="FTSC1000:00 2808:50AB"
    ATTRS{phys}=="i2c-FTSC1000:00"
    ATTRS{properties}=="2"
    ATTRS{uniq}==""



    3) Adding a new config for the touchscreen in udev rules:

    Code:
    nano /etc/udev/rules.d/98-touchscreen-cal.rules
    with the following content:

    Code:
    ATTRS{name}=="FTSC1000:00 2808:50AB", ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1"
    which according to wayland documentation (https://wayland.freedesktop.org/libi...ev_config.html) is providing a 180 degree clockwise rotated matrix.


    4) Safe the config file, reboot and enjoy the correctly (inverted) touchscreen.


    Hope this helps other users with the same device in the future. Only thing not working so far is the camera. Everything else works just great.


    ---
    All credits for this solution are going to the great documentation on archlinux, freedesktop and zootboy.

Similar Threads

  1. F15 Lenovo X220T touchscreen not recognized as an input device
    By h2kyeong in forum Hardware & Laptops
    Replies: 2
    Last Post: 8th September 2011, 08:40 AM
  2. Replies: 0
    Last Post: 12th July 2011, 03:53 PM
  3. Replies: 0
    Last Post: 8th October 2008, 11:03 PM
  4. HAL doesn't mount TrekStor Datastation
    By voice_of_buddha in forum Hardware & Laptops
    Replies: 1
    Last Post: 29th June 2008, 11:09 PM

Tags for this Thread

Posting Permissions

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