[Bug 788] Starting or stopping gsmd completely locks up the Neo

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Mon Sep 17 14:48:52 CEST 2007


------- Additional Comments From laforge at openmoko.org  2007-09-17 14:48 -------
I disagree with balrogg's comment that the ttySAC device / UART should only be
present once there is a device connected.

Just compare this to your PC.  The serial port device exists all the time, if
you decide to connect something to it or not.  It's the same with the GTA01
UART0.  It is there, if you connect a debug board (or something completely else)
to it, or not.

As for the actual bugfix:  I believe it should be easy to solve this problem by
using register_console() and unregister_console() instead of the
console_{start,stop}() calls from gta01_pm_gsm.c 

The difference is that register_console will in re-configure the serial port
with the parameters given in the kernel command line.  This sounds like the
right thing to do, considering that it is the same set of parameters that were
used during boot.

I have cooked up a patch and will give it some testing later.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the buglog mailing list