Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758212AbYHVWPD (ORCPT ); Fri, 22 Aug 2008 18:15:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753863AbYHVWOx (ORCPT ); Fri, 22 Aug 2008 18:14:53 -0400 Received: from netrider.rowland.org ([192.131.102.5]:2610 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751526AbYHVWOw (ORCPT ); Fri, 22 Aug 2008 18:14:52 -0400 Date: Fri, 22 Aug 2008 18:14:51 -0400 (EDT) From: Alan Stern X-X-Sender: stern@netrider.rowland.org To: Pavel Machek cc: Oliver Neukum , , , Linux-pm mailing list , kernel list , Subject: Re: [linux-pm] Power management for SCSI In-Reply-To: <20080822105246.GB3482@elf.ucw.cz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1138 Lines: 33 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/