--- /dev/null
+# xorg.conf for DisplayLink from Takedown
+
+Section "Module"
+ Load "extmod"
+ Load "dbe"
+ Disable "glx"
+ Disable "dri"
+ Load "dri2"
+EndSection
+
+Section "ServerLayout"
+ Identifier "DefaultLayout"
+ Screen 0 "DisplayLinkScreen"
+ Screen 1 "Screen0" Below "DisplayLinkScreen"
+# Option "Xinerama" "on" # Not working on superzaxxon
+EndSection
+
+Section "Screen"
+ Identifier "Screen0"
+ Device "OMAPFB"
+ Monitor "Monitor0"
+ DefaultDepth 16
+ SubSection "Display"
+ Depth 16
+ Modes "800x480"
+ EndSubSection
+EndSection
+
+Section "Monitor"
+ Identifier "Monitor0"
+EndSection
+
+Section "Device"
+ Identifier "OMAPFB"
+ Driver "omapfb"
+EndSection
+
+Section "Device"
+ Identifier "FBDEV"
+ Driver "fbdev"
+ Option "ShadowFB" "false"
+EndSection
+
+Section "Files"
+ FontPath "/usr/share/fonts/X11/misc"
+ FontPath "/usr/share/fonts/X11/Type1"
+ FontPath "/usr/share/fonts/X11/Speedo"
+ FontPath "/usr/share/fonts/X11/100dpi"
+ FontPath "/usr/share/fonts/X11/75dpi"
+EndSection
+
+Section "Device"
+ Identifier "DisplayLinkDevice"
+ Driver "fbdev"
+ BusID "USB" # needed to use multiple DisplayLink devices
+ Option "fbdev" "/dev/fb3" # change to whatever device you want to use
+# Option "rotate" "CCW" # uncomment for rotation
+EndSection
+
+Section "Monitor"
+ Identifier "DisplayLinkMonitor"
+EndSection
+
+Section "Screen"
+ Identifier "DisplayLinkScreen"
+ Device "DisplayLinkDevice"
+ Monitor "DisplayLinkMonitor"
+ DefaultDepth 16
+EndSection
DESCRIPTION = "X.Org X server -- udlfb displaylink driver"
LICENSE = "GPL"
#RRECOMMENDS_${PN} = "kernel-module-udlfb"
-PR = "0"
+PR = "1"
SRCREV = "ace449b4d1f51e3ac94636a82ad56f80e6870ba4"
SRC_URI = " \
git://git.plugable.com/webdav/xf-video-udlfb;protocol=http;branch=master \
+ file://xorg.conf.displaylink \
"
S = "${WORKDIR}/git"
+do_install_append() {
+ install -d ${D}${sysconfdir}/X11
+ install -m 0644 ${WORKDIR}/xorg.conf.displaylink ${D}${sysconfdir}/X11/
+}
+FILES_${PN} += " ${sysconfdir} ${libdir}/xorg/modules"
inherit autotools