lkml.org 
[lkml]   [2008]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-pm] Power management for SCSI
On Fri, 22 Aug 2008, Pavel Machek wrote:

> Hi!
>
> > > - suspending has side effects
> >
> > I'm not sure what you mean by that. Suspension always has side effects
> > of one kind or another.
> >
> > > Suspension in USB has always side effects. That's not true for other
> > > subsystems.
> >
> > Name one. At the very least, suspending a device means you can't use
> > it again without first calling the driver's resume method. That's a
> > side effect.
>
> IDE, actually. I don't think it is relevant, but you can do hdparm -y,
> and it will automatically spin up when you try to talk to it next
> time.

It's a matter of definitions... "hdparm -y" doesn't call the driver's
suspend method, so in some sense it isn't truly a suspend.

But it's true that some systems can power down more or less
transparently (with restart latency as the only visible side effect).

Alan Stern



\
 
 \ /
  Last update: 2008-08-23 00:17    [W:0.090 / U:2.208 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site