Jason Wang wrote: > Sorry for resending this thread. Last thread is forgot to CC > Greg Kroah-Hartman. Well, I experienced no_console_supend breakage on my PXA270 based Zaurus SL-C3200 (terrier/spitz) as well. But your patches did not fix the behavior, serial port remains dead after resume with no_console_supend. > The [1/2] fix this situation: > we set no_console_supend and console=ttyS0 to bootargs, then bootup > the kernel, the boot logs will print out from ttyS0. When we execute > echo mem > /sys/power/state, the system will suspend, we press a > key(or other wakeup trigger) to resume the system, but the ttyS0 can't > work anymore. > > The [2/2] fix this situation: > we set console=ttyS0 to bootargs, then bootup the kernel, the boot > logs will print out from ttyS0, this time we set ttyS1 as tty and > login for shell. When we execute echo mem > /sys/power/state, the > system will suspend, we press a key(or other wakeup trigger) to > resume the system, but the ttyS0 can't work anymore. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxx Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html