From b82f55e0174bc9b02c2f025d38cb81ea994f9618 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Sat, 23 Mar 2013 00:39:09 +0200 Subject: [PATCH] xf86-video-udlfb: add sample config --- .../xf86-video-udlfb/xorg.conf.displaylink | 69 +++++++++++++++++++ recipes/xorg-driver/xf86-video-udlfb_0.3.1.bb | 8 ++- 2 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 recipes/xorg-driver/xf86-video-udlfb/xorg.conf.displaylink diff --git a/recipes/xorg-driver/xf86-video-udlfb/xorg.conf.displaylink b/recipes/xorg-driver/xf86-video-udlfb/xorg.conf.displaylink new file mode 100644 index 0000000000..e76a553547 --- /dev/null +++ b/recipes/xorg-driver/xf86-video-udlfb/xorg.conf.displaylink @@ -0,0 +1,69 @@ +# 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 diff --git a/recipes/xorg-driver/xf86-video-udlfb_0.3.1.bb b/recipes/xorg-driver/xf86-video-udlfb_0.3.1.bb index 6598042dfe..48dd170c67 100644 --- a/recipes/xorg-driver/xf86-video-udlfb_0.3.1.bb +++ b/recipes/xorg-driver/xf86-video-udlfb_0.3.1.bb @@ -3,15 +3,21 @@ require xorg-driver-video.inc 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 -- 2.39.5