2010-08-17 03:35:37     go to Sleep Mode

Document created by Aaronwu Employee on Aug 22, 2013
Version 1Show Document
  • View in full screen mode

2010-08-17 03:35:37     go to Sleep Mode

nike tian (CHINA)

Message: 92496   

 

How can I make BF533 into sleep mode or deep sleep mode in gpio interupt?

 

System:IP-PBX(IP08)

 

My CPU:BF533

 

kernel :uClinux-dist-2008R1-RC8

 

fs:yaffs2(nand flash)

QuoteReplyEditDelete

 

 

2010-08-17 03:58:24     go to Sleep Mode

Michael Hennerich (GERMANY)

Message: 92497    > How can I make BF533 into sleep mode or deep sleep mode in gpio

> interupt?

 

The request to enter a specific power management state typically comes form

user space.

 

  docs.blackfin.uclinux.org/doku.php?id=power_management_support&s[]=sleep

 

If you want to trigger such an event you have to write a small application that reads

An driver event and then issues a write to sys/power/state.

 

A pretty simple way is to use the drivers/input/keypboard/gpio_keys driver

and assign KEY_SUSPEND to IRQ/GPIOxx.

 

Then you can use some out of the box applications that will manage sys/power/state for you

Or you can write your own.

QuoteReplyEditDelete

Attachments

    Outcomes