DualMonitorSupport

Some sunxi devices (such as Mele A1000/A2000, Cubietruck and A20-OLinuXino) have both HDMI and VGA connector available. It is possible to connect two different monitors to these connectors simultaneously. As explained in the `disp_init` section of the Fex Guide some tweaks are necessary in the fex file too.

Working configurations:
 * A20-OLinuXino

An example of a working fex configuration tweak:

[disp_init] disp_mode = 2 screen0_output_type = 4 screen1_output_type = 3 screen0_output_mode = 11 screen1_output_mode = 5

This sets the dual monitor mode and the same 1280x720 screen resolution for both VGA (/dev/fb0) and HDMI (/dev/fb1) monitors.

Support dual monitors in the X11 desktop
You can use something like the following /etc/X11/xorg.conf file ("fbturbo" can be also replaced with "fbdev" there): Section "Device" Identifier     "FBDEV 0" Driver         "fbturbo" Option         "fbdev" "/dev/fb0" EndSection

Section "Device" Identifier     "FBDEV 1" Driver         "fbturbo" Option         "fbdev" "/dev/fb1" EndSection

Section "Screen" Identifier     "VGA" Device         "FBDEV 0" Monitor        "Monitor name 0" EndSection

Section "Screen" Identifier     "HDMI" Device         "FBDEV 1" Monitor        "Monitor name 1" EndSection

Section "ServerLayout" Identifier     "Default Layout" Screen         0 "VGA" Screen         1 "HDMI" RightOf "VGA" EndSection