From a0795895e317fddb212dc531e2ac8943f433c562 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 11 Feb 2010 16:09:49 +0000 Subject: xserver-nodm-init: Make sure kdrive servers have the console keyboard enabled Signed-off-by: Richard Purdie --- meta/packages/x11-common/x11-common/etc/X11/Xserver | 8 ++------ meta/packages/x11-common/xserver-nodm-init.bb | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'meta/packages/x11-common') diff --git a/meta/packages/x11-common/x11-common/etc/X11/Xserver b/meta/packages/x11-common/x11-common/etc/X11/Xserver index 9a0986ad6..3d4aa74b9 100644 --- a/meta/packages/x11-common/x11-common/etc/X11/Xserver +++ b/meta/packages/x11-common/x11-common/etc/X11/Xserver @@ -30,12 +30,9 @@ ARGS=" -br -pn" if [ "$XSERVER" != "/usr/bin/Xorg" ]; then - . /etc/formfactor/config + . /etc/formfactor/config - # use ucb 1x00 touchscreen if present - if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/touchscreen/ucb1x00 ]; then - ARGS="$ARGS -mouse /dev/touchscreen/ucb1x00" - fi + ARGS="$ARGS -keybd keyboard" # use usb mouse if present if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/input/mice ]; then @@ -78,4 +75,3 @@ fi DISPLAY=':0' exec xinit /etc/X11/Xsession -- $XSERVER $DISPLAY $ARGS $* - diff --git a/meta/packages/x11-common/xserver-nodm-init.bb b/meta/packages/x11-common/xserver-nodm-init.bb index c9efb71b8..c77b2f0f8 100644 --- a/meta/packages/x11-common/xserver-nodm-init.bb +++ b/meta/packages/x11-common/xserver-nodm-init.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)" LICENSE = "GPL" SECTION = "x11" PRIORITY = "optional" -PR = "r21" +PR = "r22" RDEPENDS_${PN} = "dbus-wait sudo" SRC_URI = "file://xserver-nodm" @@ -14,7 +14,7 @@ do_install() { install -d ${D}/etc install -d ${D}/etc/init.d install xserver-nodm ${D}/etc/init.d -} +} inherit update-rc.d -- cgit v1.2.3