Return-Path: Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4F23AE011AC for ; Fri, 21 Dec 2012 08:25:17 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 996) id E4E7AF8124A; Fri, 21 Dec 2012 09:25:16 -0700 (MST) From: Gary Thomas To: meta-freescale@yoctoproject.org Date: Fri, 21 Dec 2012 09:25:14 -0700 Message-Id: <1356107115-22099-3-git-send-email-gary@mlbassoc.com> X-Mailer: git-send-email 1.7.7.6 In-Reply-To: <1356107115-22099-1-git-send-email-gary@mlbassoc.com> References: <1356107115-22099-1-git-send-email-gary@mlbassoc.com> Subject: [meta-fsl-arm][PATCH 2/3] xserver-xf86-config: SabreLite configuration X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2012 16:25:17 -0000 Complete X configuration for SabreLite with LCD/touch screen Signed-off-by: Gary Thomas --- .../imx6qsabrelite/11-touchscreen.conf | 7 +++++++ .../xserver-xf86-config/imx6qsabrelite/xorg.conf | 14 ++++++++++++++ .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 9 +++++++++ 3 files changed, 30 insertions(+), 0 deletions(-) create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/imx6qsabrelite/11-touchscreen.conf create mode 100644 recipes-graphics/xorg-xserver/xserver-xf86-config/imx6qsabrelite/xorg.conf diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/imx6qsabrelite/11-touchscreen.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/imx6qsabrelite/11-touchscreen.conf new file mode 100644 index 0000000..526b840 --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/imx6qsabrelite/11-touchscreen.conf @@ -0,0 +1,7 @@ +Section "InputClass" +Identifier "tsc2004" +MatchProduct "tsc2004" +MatchDevicePath "/dev/input/event*" +Driver "evdev" +Option "InvertX" "true" +EndSection diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/imx6qsabrelite/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/imx6qsabrelite/xorg.conf new file mode 100644 index 0000000..b89bed6 --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/imx6qsabrelite/xorg.conf @@ -0,0 +1,14 @@ +Section "Device" + Identifier "i.MX Accelerated Framebuffer Device" + Driver "vivante" + Option "fbdev" "/dev/fb0" + Option "vivante_fbdev" "/dev/fb0" + Option "HWcursor" "false" +EndSection + +Section "ServerFlags" + Option "BlankTime" "0" + Option "StandbyTime" "0" + Option "SuspendTime" "0" + Option "OffTime" "0" +EndSection diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend index 8337e55..1c5334b 100644 --- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend @@ -2,3 +2,12 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" PRINC := "${@int(PRINC) + 8}" + +# Mouse/touchscreen configuration +SRC_URI_append_imx6qsabrelite = " file://11-touchscreen.conf" + +do_install_append_imx6qsabrelite () { + install -d -m 0755 ${D}/etc/X11/xorg.conf.d + install -m 0755 ${WORKDIR}/11-touchscreen.conf ${D}/etc/X11/xorg.conf.d +} + -- 1.7.7.6