From 97d80dd99021d975f40304f8327c330fe1a1f71b Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 27 Jan 2011 12:42:16 +0100 Subject: x11-common: Fix unusable serial console The serial console port is basicly unusable in images containing X. Login works fine, but at the shell prompt only one out of N input characters (N usually between 2 and 10) gets through to the shell. dbus-launch (running as "dbus-launch --sh-syntax --exit-with-session") is also reading from /dev/console and "eating" the missing characters. As soon as I stop the Xserver ("sh /etc/init.d/xserver-nodm stop") the serial console starts wroking fine (because dbus-launch is not running any more). This patch addresses the problem. Signed-off-by: Wolfgang Denk Signed-off-by: Richard Purdie --- meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession | 2 +- meta/recipes-graphics/x11-common/x11-common_0.1.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-graphics/x11-common') diff --git a/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession b/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession index a87447a879..0b73127ae1 100644 --- a/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession +++ b/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession @@ -2,7 +2,7 @@ if [ -x /usr/bin/dbus-launch ]; then # As this is the X session script, always start a new DBus session. - eval `dbus-launch --sh-syntax --exit-with-session` + eval `dbus-launch --sh-syntax --exit-with-session