]> code.ossystems Code Review - openembedded-core.git/commit
x11-common: Fix unusable serial console
authorWolfgang Denk <wd@denx.de>
Thu, 27 Jan 2011 11:42:16 +0000 (12:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Jan 2011 17:28:24 +0000 (17:28 +0000)
commit97d80dd99021d975f40304f8327c330fe1a1f71b
tree8146f726681595235d026880823b48a84c9a2d6a
parenta7937d740e1f70bb7189183d93f22cb84d82c45a
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 <wd@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession
meta/recipes-graphics/x11-common/x11-common_0.1.bb