On 28 July 2011 15:53, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > Shouldn't this also check device_may_wakeup(dev)? The user might > disable wakeup for the input device while leaving it enabled for the > i8042 device. As far as I'm aware, there aren't any instances where input devices are marked as wakeup-capable. So, we're speaking theoretically. But, what would this mean? On OLPC for example, we can only control i8042 wakeups. This means we don't get to choose that we want keyboard wakeups and not mouse. If you enable i8042 wakeups you get both, and we can't change that, as the wakeup mechanism revolves around the i8042 controller. Daniel _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm