Mouse and touch screen don't work with cog-imx8 container

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Based on the context provided, it seems that you are experiencing issues with the Cog container on a Verdin iMX8M-Plus module where the touch screen and mouse are not functioning as expected. Here are some points to consider:

  1. Fullscreen Issue: Cog not opening in fullscreen might be related to the configuration of the Weston compositor or the Cog container itself. Ensure that the Weston configuration (weston.ini) is set up correctly to support fullscreen applications. You might need to adjust the weston.ini file to ensure that the Cog application is launched in fullscreen mode.

  2. Touch Screen and Mouse Functionality: The touch screen and mouse not working with Cog but working with Chromium suggests a possible configuration or compatibility issue with Cog. Since Cog is a minimal launcher for WebKit WPE, it might not handle input devices the same way Chromium does. Ensure that the necessary input devices are correctly passed to the Cog container. You might need to check if the touch and mouse devices are being recognized by the container and if any additional configuration is required.

  3. Mouse Pointer Visibility: The issue with the mouse pointer being visible only outside of Cog could be related to how Cog handles input focus and rendering. This might require further investigation into the Cog container’s configuration or Weston settings.

Unfortunately, without more specific details or logs, it’s challenging to provide a definitive solution. You might want to check the logs of both the Weston and Cog containers for any errors or warnings that could provide more insight into the issue. Additionally, consulting the Toradex community or support channels might provide more targeted assistance for this specific behavior.

Please, also check if these links can help you solve your problem:

GPU performance in Chromium container on Torizon OS iMX8M-Plus.