[poky] Serial console unusable with poky-image-sdk

Wolfgang Denk wd at denx.de
Thu Jan 27 03:42:16 PST 2011


Hi,

in message <20110127111132.C69A3B335 at gemini.denx.de> I wrote:
> 
> it seems that for some time (probably back to laverne-4.0) the serial
> console port is basicly unusable in the poky-image-sdk file system.
> I tried this in several PPC and ARM configurations, and the behaviours
> is pretty much the same: 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.
...
> Is there a way to stop dbus-launch from concurring with a login shell
> on the serial console port?

This patch appears to be working fine for me:

>From: Wolfgang Denk <wd at denx.de>
>Subject: Stop dbus-launch from interfering with a serial console

Signed-off-by: Wolfgang Denk <wd at denx.de>
---

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 a87447a..0b73127 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 </dev/null`
     echo "D-BUS per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
 fi
 

---

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The first thing we do is kill all the lawyers.
(Shakespeare. II Henry VI, Act IV, scene ii)



More information about the poky mailing list