Cc: Pavel Machek <pavel@...>, Rafael J. Wysocki <rjw@...>, Matthew Garrett <mjg59@...>, pm list <linux-pm@...>, LKML <linux-kernel@...>, Nigel Cunningham <nigel@...>, Alan Stern <stern@...>
On Mon, 2007-05-28 at 13:26 +0100, Michael-Luke Jones wrote:
Hehe, let's see. :)
We should probably leave the whole firmware class alone, add something
new, and convert the current users.
Uevents are queued by the netlink socket buffer. If userspace can't
receice them (udevd) while it's frozen, they will just be handled (in
the right order) when userspace runs again. We can queue up thousands of
events, and it should already work that way for a long time now.
Something like this makes sense, yes.
The event emission in the kernel and the userspace side is probably
fine. Two years ago, benh already run into exactly the same suspend
problems, and I think I addressed the problems on the uevent side.
Sure, we always need at least one working example before we can even
tell what's the right way to do it. :)
Kay
-