2011-10-12 08:11:27     Power Management in drivers

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

2011-10-12 08:11:27     Power Management in drivers

Emil Bart (POLAND)

Message: 103810   

 

Hi,

 

I don;t know if it is a correct forum to ask that kind of question but I will try. So I'm a newbie regarding device driver development. I've wrote a simple driver but  I would like to add to it a power management handling. So for example if system enter suspend, my driver receive info about it and I would be able to do something. Can somebody explain me in some words how to do it or at least point me a direct way (maybe can show me a example of that kind of driver).

 

BR

 

Eb

QuoteReplyEditDelete

 

 

2011-10-12 23:39:32     Re: Power Management in drivers

Aaron Wu (CHINA)

Message: 103821   

 

Are you a blackfin user? Register your device driver into the kernel and implement the related power handlling functions like suspend/resume. Here is more information for blackfin power management:   docs.blackfin.uclinux.org/doku.php?id=power_management_support

QuoteReplyEditDelete

 

 

2011-10-13 05:02:33     Re: Power Management in drivers

Emil Bart (POLAND)

Message: 103841   

 

Thanks for reply. Yes, I am a blackfin user. You mean that I should register to the linux device model core, for example using function driver_register, platform_driver_register etc ?

QuoteReplyEditDelete

 

 

2011-10-13 05:10:18     Re: Power Management in drivers

Aaron Wu (CHINA)

Message: 103842   

 

Yes

Attachments

    Outcomes