With the official UDOObuntu distro using your LVDS is very easy!! Follow these simple steps:

Open the "UDOO DUAL/QUAD configuration tool" you can find in desktop or in the applications top bar. Select "Set Default Video Output (LVDS\HDMI)". Select the output video you need. Reboot the system.

That's it!!!
To use your LVDS with other UDOO DUAL/QUAD distros you need to follow these instructions:

Make sure you have the lastest U-Boot and kernel. If not you can use the simple update procedure.

With the last U-Boot version (release 2.1 - v.119) you need to change the "video" environment variables with:

15" --> video=mxcfb0:dev=ldb,1366x768M@60,if=RGB24,bpp=32

7" --> video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666,bpp=32

hdmi --> video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 (default environment variable)

To do this you need to connect an external pc to the debug serial of UDOO DUAL/QUAD and stop the boot procedure at U-Boot. For more info see the Tutorial connecting via serial cable or the UDOO DUAL/QUAD starting manual at the “Establish serial debug connection with UDOO DUAL/QUAD” section.

These are the commands you need to insert in the U-Boot console:  

15" linux:


setenv mmcargs setenv bootargs console=${console},${baudrate} root=${mmcroot} ${hdmi_patch} fbmem=24M video=mxcfb0:dev=ldb,LDB-WXGA,if=RGB24,bpp=32

15" android:


setenv bootargs console=ttymxc1,115200 init=/init video=mxcfb0:dev=ldb,1366x768M@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=28M vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale mem=1024M

7" linux:


setenv mmcargs setenv bootargs console=${console},${baudrate} root=${mmcroot} ${hdmi_patch} fbmem=24M video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666,bpp=32

7" android:


setenv bootargs console=ttymxc1,115200 init=/init video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=28M vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale mem=1024M

hdmi linux:


setenv mmcargs setenv bootargs console=${console},${baudrate} root=${mmcroot} ${hdmi_patch} fbmem=24M video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32

hdmi android:


setenv bootargs console=ttymxc1,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=28M vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale mem=1024M

At the next boot the video source will again be the default one unless you save the configuration you just inserted with the command:


saveenv

In Android you can also boot UDOO DUAL/QUAD from both HDMI and LVDS panel at the same time inserting these variables in a different frame buffer:

e.g. boot on lvds 7" and hdmi.


setenv bootargs console=ttymxc1,115200 init=/init video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb2:off fbmem=28M vmalloc=400M androidboot.console=ttymxc1 androidboot.hardware=freescale mem=1024M

If you have any problem with touch calibration in Linux distros try to modify the text file:

/etc/X11/xorg.conf.d/99-calibration.conf

with this text:


Section "InputClass"
Identifier      "calibration"
MatchProduct    "3M 3M USB Touchscreen - EX II"
Option  "Calibration"   "-75 65106 2318 65008"
Option  "SwapAxes"      "0"
Option  "InvertX"      "1"
Option  "InvertY"      "0"
EndSection

Section "InputClass"
Identifier      "calibration"
MatchProduct    "sitronix-i2c-touch-mt"
Option  "Calibration"   "10 802 11 479"
EndSection

If the calibration is not good enough you can connect a mouse to UDOO DUAL/QUAD and launch the "Calibrate Touchscreen" application from the top bar:

Application -> System Tools -> Administration -> Calibrate Touchscreen

or run in a terminal the command:


xinput_calibrator

and follow the video instruction to change your calibration.

This page was last updated on Monday, March 21, 2022 at 5:19 AM.