public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* Question about suspending a system
@ 2007-10-15 12:43 Francis Moreau
  2007-10-15 16:03 ` Johannes Berg
  0 siblings, 1 reply; 7+ messages in thread
From: Francis Moreau @ 2007-10-15 12:43 UTC (permalink / raw)
  To: linux-pm

Hello,

I'm trying to see how I could implement Suspend To Ram on my system
that embed a SH4 processor.

I'm almost completely new to this area so please forgive me if the
question is dumb. I read the documentation in Documentation/power and
must admit that I don't get all of it :)

So my question is that when we suspend the system, it seems that all
IRQs are masked and I'm a bit suprise since the event that should wake
up the system is an interrupt. This mask is done by
arch_suspend_disable_irqs() and none of the arch is overriding this
stub. If I'm right, how the system should be waked up ?

Anther point is that the device that consumes a lot on the system is
the hard drive. I can decrease its power consumption by stopping its
motor by using "hdparm" but it still consumes too much. So for now I'm
thinking of stopping to power it up completely. But I don't know it's
going to be easy to resume the hard drive. Does anybody have another
idea or have already experience such trick ?

Thanks
-- 
Francis

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-10-17 17:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-15 12:43 Question about suspending a system Francis Moreau
2007-10-15 16:03 ` Johannes Berg
2007-10-15 16:41   ` David Brownell
2007-10-16 13:49     ` Francis Moreau
2007-10-16 17:31       ` David Brownell
2007-10-17 12:25         ` Francis Moreau
2007-10-17 17:43           ` David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox