[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: hard disk power down



On Tue, 2007-05-22 at 19:47 +0200, nodata wrote:
> Am Dienstag, den 22.05.2007, 09:04 +0100 schrieb Richard Hughes:
> > On Mon, 2007-05-21 at 15:55 -0400, David Zeuthen wrote:
> > > > Cheers for doing that - that's useful to know. David, this makes some of
> > > > the discussion with DannyK moot - what do you think about hdd powerdown
> > > > from the desktop?
> > > 
> > > Hmm, I think this just needs to happen automagically when g-p-m calls
> > > SetPowerSave() on HAL
> > 
> > Okay, sure, that makes sense.
> > 
> > > http://people.freedesktop.org/~david/hal-spec/hal-spec.html#interface-device-systempower
> > > 
> > > e.g. you'd have the option in g-p-m for both the "On AC" and "On
> > > battery" tabs saying
> > > 
> > >  [x] When idle, power down hard disks and peripherals
> > > that defaults to [x] for "On battery" and [ ] for "On AC". So as far as
> > > I'm concerned the magic just happens in pm-powersave (which is what
> > > SetPowerSave() on HAL calls). 
> > 
> > Sure. We've got the pm-utils infrastructure for just that I guess.
> > 
> > > (I also think it's preferable to avoid using hdparm or sdparm for this;
> > > the kernel driver for the hard drive / controller needs to export a
> > > power mgmt aware interface that we can easily poke using sysfs.)
> > 
> > Yes, totally agree - any idea for a CC so we can discuss this with the
> > right kernel ppl?
> 
> Bugzilla it.

Normally I would agree, but sometimes the best way to get something done
is to get the right people in a conference room for an hour of so.

It's the highest bandwidth type of communication you can get - plus you
can scribble on whiteboards and that sort of thing.

I'll see what I can do.

Richard.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]