How do you do, when system "dies"?
In debugging DPM(Dynamic Power Management)issues, such as do auto-stress test, system will be put into sleep mode,
and waken up by preset wakeup source, eg: RTC, Keypad, USB, MMC card ..., repeatedly, always do you encounter such phenomenon:
the system "dies" that no matter hiting your keypad, or pluging your USB cable, System is still doing nothing.
What do you do then? Smash it??? :)
My Solutions:
S1
. disable suspend, resume, suspend_late and resume_late methods of Serial port driver, BTW, assuming your work is on linux platform.
. mark out the suspend_console and resume_console functions in the path of system suspend.
This methods may print out more useful message, when the system enters suspend state, even though the system crashes, it will provide
you fatal problems that result into this issue.
S2
. make sure your wakeup sources, basicly, these are several interrupt sources have taken effect. Remember that it takes time for hardware to function.
In a word, the above states are the difficulties I encountered in my development, just note down for the further conveniences.
May this can do some favor to you.
阅读(1350) | 评论(0) | 转发(0) |