On Thu, 17 Jul 2008, Alan Jenkins wrote: > Actually Alexey has another patch in bugzilla (#10919) which resolves > this issue in a better way. It avoids polling altogether, which is good > because it means you get events immediately. My laptop has backlight > adjustment hotkeys with hardware autorepeat, so it looks really jerky > with polling. We need to get ALL pending events from the EC, whether in polling mode or in interrupt mode (and we must make sure that we ARE going to queue any new interrupt before we stop checking for an empty pending event queue, otherwise there is a small window where a new event might get queued, and we are still masking the GPE and don't notice it). As long as the fix does that, it is all I care :-) -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html