AnsweredAssumed Answered

Yocto BSP X11 multitouch support

Question asked by Ivan Nikolaenko on Feb 8, 2016
Latest reply on Jul 24, 2017 by Sonic Mu

Hi everybody.

 

I have a problem with Cypress capacitive touchscreen with multitouch support. Cypress has provided me with Linux kernel driver, and now I got /dev/input/event0 device, but the cursor on the screen is not moving. I looked at the /var/log/Xorg.0.log file and found this entry:

[1609714.552] (II) config/udev: Adding input device cyttsp5_mt (/dev/input/event0)

[1609714.552] (II) No input driver specified, ignoring this device.

 

I built a xf86-input-mtev (as I described here: https://community.freescale.com/message/599520#599520) and put it to the /usr/lib/xorg/modules/input, and added an entry to /etc/X11/xorg.conf:

Section "InputClass"

    Identifier              "internal-touchscreen"

    MatchIsTouchScreen      "on"

    Driver                  "mtev"

    Option                  "Ignore"                "off"

EndSection

 

Also I tried this:

Section "InputClass"

    Identifier          "touchscreen"

    MatchProduct        "cyttsp5_mt"

    MatchIsTouchScreen  "true"

    Driver  "mtev"

    Option  "Device"    "/dev/input/event0"

    Option  "Ignore"   "off"

    Option  "SwapAxes"      "0"

    Option  "CorePointer" "true"

EndSection

 

Some output from mtdev-test utility:

root@smartphone:~# mtdev-test /dev/input/event0

supported mt events:

   ABS_MT_SLOT

   ABS_MT_TOUCH_MAJOR

   ABS_MT_TOUCH_MINOR

   ABS_MT_ORIENTATION

   ABS_MT_POSITION_X

   ABS_MT_POSITION_Y

   ABS_MT_TOOL_TYPE

   ABS_MT_TRACKING_ID

   ABS_MT_PRESSURE

   ABS_MT_DISTANCE

01516038927b 00 3 0039 75

01516038927b 00 3 0035 415

01516038927b 00 3 0036 367

01516038927b 00 3 003a 26

01516038927b 00 3 0030 73

01516038927b 00 3 0031 73

01516038927b 00 0 0000 0

015160389297 00 3 0036 366

015160389297 00 0 0000 0

01516038929f 00 3 0036 365

01516038929f 00 0 0000 0

0151603892a7 00 3 0035 416

 

Please give me a direction to find a problem.
Thank you.
Best regards.

Outcomes