diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-02-11 16:09:49 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-02-11 16:09:49 +0000 |
commit | a0795895e317fddb212dc531e2ac8943f433c562 (patch) | |
tree | abc2239a964b1e92c8c9d4043e6d78610ccb9628 /meta | |
parent | e49fcdcc8b1855368b33b4510d1030702926d720 (diff) | |
download | poky-a0795895e317fddb212dc531e2ac8943f433c562.tar.gz |
xserver-nodm-init: Make sure kdrive servers have the console keyboard enabled
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/x11-common/x11-common/etc/X11/Xserver | 8 | ||||
-rw-r--r-- | meta/packages/x11-common/xserver-nodm-init.bb | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/meta/packages/x11-common/x11-common/etc/X11/Xserver b/meta/packages/x11-common/x11-common/etc/X11/Xserver index 9a0986ad61..3d4aa74b95 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" | |||
30 | 30 | ||
31 | if [ "$XSERVER" != "/usr/bin/Xorg" ]; then | 31 | if [ "$XSERVER" != "/usr/bin/Xorg" ]; then |
32 | 32 | ||
33 | . /etc/formfactor/config | 33 | . /etc/formfactor/config |
34 | 34 | ||
35 | # use ucb 1x00 touchscreen if present | 35 | ARGS="$ARGS -keybd keyboard" |
36 | if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/touchscreen/ucb1x00 ]; then | ||
37 | ARGS="$ARGS -mouse /dev/touchscreen/ucb1x00" | ||
38 | fi | ||
39 | 36 | ||
40 | # use usb mouse if present | 37 | # use usb mouse if present |
41 | if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/input/mice ]; then | 38 | if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/input/mice ]; then |
@@ -78,4 +75,3 @@ fi | |||
78 | DISPLAY=':0' | 75 | DISPLAY=':0' |
79 | 76 | ||
80 | exec xinit /etc/X11/Xsession -- $XSERVER $DISPLAY $ARGS $* | 77 | exec xinit /etc/X11/Xsession -- $XSERVER $DISPLAY $ARGS $* |
81 | |||
diff --git a/meta/packages/x11-common/xserver-nodm-init.bb b/meta/packages/x11-common/xserver-nodm-init.bb index c9efb71b81..c77b2f0f8b 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)" | |||
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | SECTION = "x11" | 3 | SECTION = "x11" |
4 | PRIORITY = "optional" | 4 | PRIORITY = "optional" |
5 | PR = "r21" | 5 | PR = "r22" |
6 | RDEPENDS_${PN} = "dbus-wait sudo" | 6 | RDEPENDS_${PN} = "dbus-wait sudo" |
7 | 7 | ||
8 | SRC_URI = "file://xserver-nodm" | 8 | SRC_URI = "file://xserver-nodm" |
@@ -14,7 +14,7 @@ do_install() { | |||
14 | install -d ${D}/etc | 14 | install -d ${D}/etc |
15 | install -d ${D}/etc/init.d | 15 | install -d ${D}/etc/init.d |
16 | install xserver-nodm ${D}/etc/init.d | 16 | install xserver-nodm ${D}/etc/init.d |
17 | } | 17 | } |
18 | 18 | ||
19 | inherit update-rc.d | 19 | inherit update-rc.d |
20 | 20 | ||