Neat...<br>So do you have a proc/sysfs interface to easily initiate suspend? <br>How are you hooked up to  userspace? <br>Do you have plans to integrate DPM user interface apis? Or go with keep it simple route and write a simple driver exposing some ioctls?
<br><br>Assuming we have the basic suspend before sleep and resume on interrupts from wakeup sources working, do you have any roadmap or next steps?<br><br>Next big thing is how to control initiation of suspend and how to  make this automated based on various factors:
<br><ul><li>user inactivity should automatically initiate sleep/suspend</li><li>however if mp3/mpg movies are being played..the CPU may seem idle but system should not initiate suspend.</li><li>Certain devices would want to prevent suspend for genuine reasons such as USB data transfer, active wifi connection?? but as soon as the activity is complete the system should automatically try to sleep. 
</li><li>Some user apps may want to keep the system awake for good or for a period of time and hence may want to participate in the process of sleep initiation. Perhaps an api to increment sleep count from different user app processes may be needed. as long as the sleep count is  non-zero, the system is kept awake. Upon clearing of all sleep count,  system may attempt to go to sleep.
<br></li><li>while you are constantly attempting to go to sleep when there is no activity, there may be situations when you just wakeup from sleep and you want to wait for a certain period before reinitiating sleep..to avoid waking up and immediately going back to sleep.
</li><li>At the same time, if wakeup interrupts are generated accidentally, such as a key press by accident, you may still want to go back to sleep as soon as you can detect inactivity upon wakeup.</li></ul>Can you think of any other optimizations or interfaces with userapps that affect PM?
<br><br><br>thanks,<br>Gopi<br><br> <br><br><br><br><div><span class="gmail_quote">On 3/29/07, <b class="gmail_sendername">Jordan Crouse</b> <<a href="mailto:jordan.crouse@amd.com">jordan.crouse@amd.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 29/03/07 21:55 -0500, Gopi P.M. wrote:<br>> I havnt setup my build environment yet, but hope to try this as soon as I
<br>> get to it.. I was wondering if anyone else has experienced the same? Any<br>> thoughts?<br><br>We've already gotten rid of them.  Thanks.<br>Jordan<br><br><br></blockquote></div><br>