Re: [PATCH] acpi: Avoid dropping rapid hotkey events (or other GPEs) on Asus EeePC

Alan Jenkins
2008-07-17T16:45:25Z

Henrique de Moraes Holschuh wrote:
> On Thu, 17 Jul 2008, Alexey Starikovskiy wrote:
>
>> Henrique de Moraes Holschuh wrote:
>>
>>> On Thu, 17 Jul 2008, Alexey Starikovskiy wrote:
>>>
>>>> Thanks for the patch, ACK.
>>>>
>>> This one fixes a potentially bad problem, since we could ignore more than
>>> just hot key EC events by accident. Maybe it should go to -stable?
>>>
>> I vote for it
>>
>
> Well, in that case, it would be best to tack a Cc: stable@kernel.org git
> footer to it right away, I think.
>
> IMHO, it would also be nice if the commit message made it more clear that
> the issue it solves can affect much more serious ACPI events than just hot
> key presses.
>
>
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.

So I think I should withdraw my patch and leave this to Alexey. I've
tested his fix on my laptop and it works fine. It needs some more work
though - e.g. at the moment it spams the kernel log.

Thanks,
Alan