linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Serial console UART confusion after machine S3 suspend and resume
@ 2005-02-03 17:16 Carl-Daniel Hailfinger
  0 siblings, 0 replies; only message in thread
From: Carl-Daniel Hailfinger @ 2005-02-03 17:16 UTC (permalink / raw)
  To: linux-serial

Hi,

on resume from S3, my serial console prints garbage and stops working.
If I disconnect the console while my machine is sleeping and reconnect
immediately after, the serial console still prints garbage on resume
but the follwowing command on my machine fixes the output for all
subsequent kernel messages sent to the serial console.

echo foo >/dev/ttyS0

Nothing besides outputting something to ttyS0 helps. Disconnecting
and reconnecting, both logically and physically, doesn't have any
positive effect.

Could it be that the UART state is out-of-sync or something like that
after resume and the serial console code doesn't notice, but the
"normal" serial code notices and fixes things up?

Are there any debugging options/patches/tips to find out what happens
exactly? The machine works just fine after resume, so I could read
dmesg for debugging output.

Regards,
Carl-Daniel
-- 
http://www.hailfinger.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-03 17:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-03 17:16 Serial console UART confusion after machine S3 suspend and resume Carl-Daniel Hailfinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).