On Friday 13 February 2009, Matthew Garrett wrote: > On Thu, Feb 12, 2009 at 04:52:22PM -0800, Arve Hjønnevåg wrote: > > > That was not the bug. Another component opened one of the input > > devices, but did not read events from it. > > It's not the job of the kernel to guard against userspace doing foolish > things. Amen. > Either you want to wait for input events to be consumed before > suspend or you don't - arbitrary timeouts provide no guarantees about > the correctness of your platform's behaviour. The default permissions on > the event devices mean that the only components that could interfere > with this are ones under your control, so fixing them seems like the > sensible approach. This is exactly my point, but I couldn't find words to say it so clearly. Thanks, Rafael _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm