* notification on system wide suspend
@ 2007-05-22 20:54 Oliver Neukum
2007-05-22 21:09 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Oliver Neukum @ 2007-05-22 20:54 UTC (permalink / raw)
To: linux-pm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: notification on system wide suspend
2007-05-22 20:54 notification on system wide suspend Oliver Neukum
@ 2007-05-22 21:09 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2007-05-22 21:09 UTC (permalink / raw)
To: Oliver Neukum; +Cc: linux-pm, linux-pm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-22 21:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-22 20:54 notification on system wide suspend Oliver Neukum
2007-05-22 21:09 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox