From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: notification on system wide suspend Date: Tue, 22 May 2007 23:09:01 +0200 Message-ID: <200705222309.01751.rjw@sisk.pl> References: <200705222254.07224.oliver@neukum.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200705222254.07224.oliver@neukum.org> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Oliver Neukum Cc: linux-pm@lists.linux-foundation.org, linux-pm@lists.osdl.org List-Id: linux-pm@vger.kernel.org Hi, On Tuesday, 22 May 2007 22:54, Oliver Neukum wrote: > Hi, > > I've got a problem with system wide suspend. > > The HID layer can cause output triggered in interrupt, even interrupts > caused by another device. Thus the freezer does not prevent output > requests. If a HID device has been autosuspended the output request > should cause the device to be woken up. > > During hibernations and system wide suspends, however, output must > be blocked and the request queued. > > Unfortunately I can't reliably tell whether I may or may not restart the > queue. The suspend() method is not called again if a device has been > runtime autosuspended. Is there a notifier chain a driver can hook into? Not at present, but I'm going to introduce one. Greetings, Rafael