From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Subject: notification on system wide suspend Date: Tue, 22 May 2007 22:54:06 +0200 Message-ID: <200705222254.07224.oliver@neukum.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: 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: linux-pm@lists.osdl.org List-Id: linux-pm@vger.kernel.org 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? Regards Oliver