linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2005@gmx.net>
To: linux-serial@vger.kernel.org
Subject: Serial console UART confusion after machine S3 suspend and resume
Date: Thu, 03 Feb 2005 18:16:10 +0100	[thread overview]
Message-ID: <42025C5A.7070709@gmx.net> (raw)

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/

                 reply	other threads:[~2005-02-03 17:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42025C5A.7070709@gmx.net \
    --to=c-d.hailfinger.devel.2005@gmx.net \
    --cc=linux-serial@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).