From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757861AbYDBP3A (ORCPT ); Wed, 2 Apr 2008 11:29:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757530AbYDBP2v (ORCPT ); Wed, 2 Apr 2008 11:28:51 -0400 Received: from smtp-out003.kontent.com ([81.88.40.217]:47677 "EHLO smtp-out003.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755491AbYDBP2u convert rfc822-to-8bit (ORCPT ); Wed, 2 Apr 2008 11:28:50 -0400 From: Oliver Neukum Organization: Novell To: Alan Stern Subject: Re: [RFC][PATCH] PM: Introduce new top level suspend and hibernation callbacks (rev. 6) Date: Wed, 2 Apr 2008 17:28:44 +0200 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: "Rafael J. Wysocki" , Nigel Cunningham , pm list , ACPI Devel Maling List , Greg KH , Len Brown , LKML , Alexey Starikovskiy , David Brownell , Pavel Machek , Benjamin Herrenschmidt References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200804021728.45823.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, 2. April 2008 17:13:11 schrieb Alan Stern: > Basically yes.  Subsystems and drivers are allowed to keep devices > suspended if they were suspended before the system went to sleep.   > Remember, the purpose of the resume method is to let drivers know that > the system is now awake, not to force them to put their devices into a > high-power state. Well, sometimes it is exactly that what we desire, eg. as a side effect of lsusb. Should the callbacks have different semantics depending on the reason you call them? And how should that information be transferred? Regards Oliver