Serial console UART confusion after machine S3 suspend and resume
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
Signature · 1 line
http://www.hailfinger.org/