How to map dual screen and dual touch on IMX6Q's wayland platform

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to map dual screen and dual touch on IMX6Q's wayland platform

370 Views
didyoudo
Contributor I

Currently my system has two screens, corresponding to framebuffer /dev/fb0, /dev/fb2, and two touch devices, /dev/input/touchscreen0, /dev/input/touchscreen1


The system uses DISTRO=fslc-wayland

and when the system boots, weston is only displayed on one screen, so I changed the weston startup service (/lib/systemd/system/weston.service) as follows:


ExecStart=/usr/bin/weston-launch -- --log=/var/log/weston.log $OPTARGS --use-g2d=1 --device=/dev/fb0,/dev/fb2 --idle-time=0

 

After modification, I am able to extend the display, but the role position of both touch devices are on the same screen, is there any way to bind the touch devices to the screen correspondingly?

 

0 Kudos
1 Reply

353 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Which version BSP are you using?

0 Kudos