How to Switch Display From Touchscreen to DVIout with Matrix
Return to the Sitara Linux Software Developer's Guide
A DVI display can be used instead of the LCD touchscreen with the Matrix GUI by following these steps.
First stop the matrix application by running the following command.
A stale output from matrix will still show on the LCD even though the application is now dead.
Run commands to Switch the Display
The following set of commands will switch the display output from the LCD to the DVI port. The stale output from when matrix was killed will now be sent to the DVI port at 480p resolution.
echo 0 > /sys/devices/platform/omapdss/display0/enabled echo 0 > /sys/devices/platform/omapdss/overlay0/enabled echo "" > /sys/devices/platform/omapdss/overlay0/manager echo "720,480" > /sys/class/graphics/fb0/virtual_size fbset -fb /dev/fb0 -xres 720 -yres 480 echo "lcd" > /sys/devices/platform/omapdss/overlay0/manager echo "dvi" > /sys/devices/platform/omapdss/manager0/display echo 1 > /sys/devices/platform/omapdss/display2/enabled # DVI out timing can be configured at boottime # for 480p, the boot argument is "omapfb.mode=dvi:720x480@60" # By default DVI display timings are configured at VGA resolution echo "27903,720/24/96/96,480/10/32/3" > /sys/devices/platform/omapdss/display2/timings echo 1 > /sys/devices/platform/omapdss/overlay0/enabled
Run the script below to start up matrix. It will start matrix without rotation and with a mouse as default input.
Matrix will now be displayed to the DVI port. Depending on the type of display/monitor connected to the DVI port, it may necessary to adjust the setting to get the proper display. Refer to the instructions for the particular display or monitor that you are using.