From: Adrian Alonso Date: Wed, 24 Aug 2011 22:24:13 +0000 (-0500) Subject: x11-common: xserver mouse option to use tslib X-Git-Tag: 2.1~2004 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bea63a83fa1a480bdcecbcc00ef036f96d132500;p=meta-freescale.git x11-common: xserver mouse option to use tslib * Sets xserver mouse option to use tslib on Freescale iMx targets, this is only used if Kdrive (Tiny X) Xserver is used. * Current xserver used is xserver-xf86-lite. Signed-off-by: Adrian Alonso --- diff --git a/meta-fsl-arm/recipes-graphics/x11-common/x11-common/Xserver-imx53-platform-support.patch b/meta-fsl-arm/recipes-graphics/x11-common/x11-common/Xserver-imx53-platform-support.patch new file mode 100644 index 00000000..17348f3f --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/x11-common/x11-common/Xserver-imx53-platform-support.patch @@ -0,0 +1,13 @@ +Index: x11-common/etc/X11/Xserver +=================================================================== +--- x11-common.orig/etc/X11/Xserver ++++ x11-common/etc/X11/Xserver +@@ -56,6 +56,8 @@ if [ "$XSERVER" != "/usr/bin/Xorg" ]; then + ARGS="$ARGS -mouse tslib" ;; + "Nokia 770") + ARGS="$ARGS -mouse tslib" ;; ++ "Freescale"*) ++ ARGS="$ARGS -mouse tslib,2,device=/dev/input/touchscreen0" ;; + *) + ;; + esac diff --git a/meta-fsl-arm/recipes-graphics/x11-common/x11-common_0.1.bbappend b/meta-fsl-arm/recipes-graphics/x11-common/x11-common_0.1.bbappend new file mode 100644 index 00000000..b473eb84 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/x11-common/x11-common_0.1.bbappend @@ -0,0 +1,5 @@ +# Append path to include custom Xserver arguments +THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" +FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:" + +SRC_URI_append += "file://Xserver-imx53-platform-support.patch"