You must enable SSH to connect to the target device. For instructions, see Sign in using SSH.
-
To kill the Weston client application, run the following command in the device shell:
-
To kill all Weston processes, run the following command:
Running only the
systemctl stop weston.servicecommand generates the following warning:
Stopping weston.service, but its triggering units are still active: weston.socket
This behavior is expected because Weston is configured as a socket-activated service. To completely stop the display subsystem, stop both the socket and the service using the command in Step 2. -
To change permissions of the modetest application, run the following command:
-
To view the connector IDs and modes, run the following command:
-
To verify DRM modes and connector information, pull the
/opt/drm_mode.txtfile locally on your host computer. Use the Secure Copy Protocol (SCP) to pull thedrm_mode.txtfile from the device to your host computer. For example:When prompted for a password, enteroelinux123.
/opt/drm_mode.txt file.

-
To set the connector ID and mode name, use the following syntax with the relevant values from the
/opt/drm_mode.txtfile:
Where<Connector id>and<mode name>are the values retrieved from the/opt/drm_mode.txtfile. -
To start the modetest application, run the following sample command using the connector ID and the mode name retrieved from the
/opt/drm_mode.txtfile. For example:Start the DRM test application and ignore the warning log:Failed to set gamma: Function not implemented. -
To kill the modetest application, select CTRL + C.
Ensure that you Relaunch Weston.

