Chinaunix首页 | 论坛 | 博客
  • 博客访问: 642785
  • 博文数量: 75
  • 博客积分: 7001
  • 博客等级: 少将
  • 技术积分: 1465
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-11 17:39
文章分类

全部博文(75)

文章存档

2010年(1)

2009年(25)

2008年(49)

我的朋友

分类: LINUX

2009-06-17 19:24:58



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.


阅读(1356) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~