Differences
This shows you the differences between two versions of the page.
en:xu4_cloudshell_lcd_xorg [2015/07/31 08:55] mdrjr created |
en:xu4_cloudshell_lcd_xorg [2015/08/03 01:11] (current) mdrjr |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Xorg on LCD ====== | ||
+ | [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143599699669|Where to buy]] | ||
+ | |||
+ | |||
+ | **Before attempting this guide, please make sure you are running the latest kernel. ** | ||
+ | |||
+ | You can update your kernel using ODROID Utility. | ||
+ | |||
+ | |||
+ | === Edit the /etc/X11/xorg.conf file and replace with the contents of what you need === | ||
+ | |||
+ | |||
+ | == Xorg on LCD with HDMI Cable Connected == | ||
+ | |||
+ | <code> | ||
+ | Section "Device" | ||
+ | Identifier "ODROID" | ||
+ | Driver "fbdev" | ||
+ | Option "fbdev" "/dev/fb1" | ||
+ | Option "Debug" "false" | ||
+ | Option "DPMS" "false" | ||
+ | EndSection | ||
+ | |||
+ | Section "Screen" | ||
+ | Identifier "Default Screen" | ||
+ | Device "ODROID" | ||
+ | EndSection | ||
+ | |||
+ | Section "ServerLayout" | ||
+ | Identifier "Default Layout" | ||
+ | Option "BlankTime" "0" | ||
+ | Option "StandbyTime" "0" | ||
+ | Option "SuspendTime" "0" | ||
+ | Option "OffTime" "0" | ||
+ | EndSection | ||
+ | |||
+ | Section "DRI" | ||
+ | Mode 0666 | ||
+ | EndSection | ||
+ | </code> | ||
+ | |||
+ | == Xorg on LCD with HDMI Cable Disconnected == | ||
+ | |||
+ | <code> | ||
+ | Section "Device" | ||
+ | Identifier "ODROID" | ||
+ | Driver "fbdev" | ||
+ | Option "fbdev" "/dev/fb0" | ||
+ | Option "Debug" "false" | ||
+ | Option "DPMS" "false" | ||
+ | EndSection | ||
+ | |||
+ | Section "Screen" | ||
+ | Identifier "Default Screen" | ||
+ | Device "ODROID" | ||
+ | EndSection | ||
+ | |||
+ | Section "ServerLayout" | ||
+ | Identifier "Default Layout" | ||
+ | Option "BlankTime" "0" | ||
+ | Option "StandbyTime" "0" | ||
+ | Option "SuspendTime" "0" | ||
+ | Option "OffTime" "0" | ||
+ | EndSection | ||
+ | |||
+ | Section "DRI" | ||
+ | Mode 0666 | ||
+ | EndSection | ||
+ | </code> | ||
+ | |||
+ | == Xorg on HDMI == | ||
+ | |||
+ | <code> | ||
+ | Section "Device" | ||
+ | Identifier "ODROID" | ||
+ | Driver "armsoc" | ||
+ | Option "fbdev" "/dev/fb0" | ||
+ | Option "Debug" "false" | ||
+ | Option "DPMS" "false" | ||
+ | EndSection | ||
+ | |||
+ | Section "Screen" | ||
+ | Identifier "Default Screen" | ||
+ | Device "ODROID" | ||
+ | EndSection | ||
+ | |||
+ | Section "ServerLayout" | ||
+ | Identifier "Default Layout" | ||
+ | Option "BlankTime" "0" | ||
+ | Option "StandbyTime" "0" | ||
+ | Option "SuspendTime" "0" | ||
+ | Option "OffTime" "0" | ||
+ | EndSection | ||
+ | |||
+ | Section "DRI" | ||
+ | Mode 0666 | ||
+ | EndSection | ||
+ | </code> | ||
+ | |||
+ | == Dual Head HDMI + LCD == | ||
+ | <code> | ||
+ | Section "Device" | ||
+ | Identifier "HDMIOUT" | ||
+ | Driver "armsoc" | ||
+ | Option "fbdev" "/dev/fb0" | ||
+ | Option "Debug" "false" | ||
+ | Option "DPMS" "false" | ||
+ | EndSection | ||
+ | |||
+ | Section "Device" | ||
+ | Identifier "FBTFT" | ||
+ | Driver "fbdev" | ||
+ | Option "fbdev" "/dev/fb1" | ||
+ | EndSection | ||
+ | |||
+ | Section "Monitor" | ||
+ | Identifier "monitor0" | ||
+ | Option "Primary" "true" | ||
+ | EndSection | ||
+ | |||
+ | Section "Monitor" | ||
+ | Identifier "monitor1" | ||
+ | Option "RightOf" "monitor0" | ||
+ | EndSection | ||
+ | |||
+ | Section "Screen" | ||
+ | Identifier "screen0" | ||
+ | Monitor "monitor0" | ||
+ | Device "HDMIOUT" | ||
+ | DefaultDepth 24 | ||
+ | EndSection | ||
+ | |||
+ | Section "Screen" | ||
+ | Identifier "screen1" | ||
+ | Device "FBTFT" | ||
+ | Monitor "monitor1" | ||
+ | DefaultDepth 16 | ||
+ | EndSection | ||
+ | |||
+ | Section "ServerLayout" | ||
+ | Identifier "Default Layout" | ||
+ | Option "BlankTime" "0" | ||
+ | Option "StandbyTime" "0" | ||
+ | Option "SuspendTime" "0" | ||
+ | Option "OffTime" "0" | ||
+ | Option "AutoAddDevices" "on" | ||
+ | Option "DontVTSwitch" "true" | ||
+ | Option "Xinerame" "on" | ||
+ | Screen 0 "screen0" | ||
+ | Screen 0 "screen1" RightOf "screen0" | ||
+ | EndSection | ||
+ | |||
+ | Section "DRI" | ||
+ | Mode 0666 | ||
+ | EndSection | ||
+ | </code> |