[#7020] console serial port is not working after resume from hibernate
Submitted By: Patrik Kluba
Open Fixed In Release:
Found In Release:
ALL Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: console serial port is not working after resume from hibernate
When the 'no_console_suspend' kernel command line parameter was given OR the given serial port is configured to wake up the system from sleep, the serial port does not get reinitialized when returning from hibernate, leaving it in a non-working state.
If device_may_wakeup() returns true, the ASYNCB_SUSPENDED does not get set.
These are the conditionals calling port-startup() depends on.
Maybe the above is correct, and leaving the serial port unconfigured is just an unwanted side-effect which applies only for Blackfin. I have failed to find a nice solution. Any ideas?
--- Sonic Zhang 2012-05-04 04:55:08
Which blackfin chip do you test?
--- steven miao 2012-08-09 04:35:55
with no_console_suspend=1, serial_core will not touch serial port during suspend
and resume, for hibernate the serial port registers will lost, it will be
unavailable after resume. This no_console_suspend is just for debug.
File Name File Type File Size Posted By
No Files Were Found