https://bugzilla.kernel.org/show_bug.cgi?id=44161

--- Comment #140 from Juan Manuel Cabo <juanmanuel.c...@gmail.com> ---
No, adding a check to see if the data is the same as before can be tricky. The
best is to add a usleep() or sleep() call, to give time to the EC.

Because sometimes the same event _is_ actually queued many times.

Try a call to sleep(1) inside the loop, and you'll see better.

Anyways, the kernel patch in comment #133 doesn't avoids all this because it
uses the actual ec.c functions to query the EC properly (as opposed to my
little program which uses a more direct (ahem quick and dirty :-) ) approach).
--
Juan Manuel Cabo

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to