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.
hi Ivan,
have you got slove this problem? I have meet the same issue on Cypress Cytma568 on Ubuntu... do you get the correct multi-touch driver for it ? thanks.
Hi,
As far as I know the touch sensing library in yocto does not support multitouch capabilities.
You will have to change the touch sensing driver to work for single touch. You may find useful the attached example, the FORCE_SINGLE_EVENT macro enables the single touch feature.
Best Regards,
Alejandro