Comment 19 for bug 139701

Revision history for this message
Carl Richell (carlrichell) wrote :

When the embedded controller is in interrupt mode battery indication is not reliable. In polling mode it works perfectly. ec_intr=0 sets the kernel to polling mode but it was removed.

References:

ec_intr was removed from the mainline kernel:

http://<email address hidden>/msg09437.html
http://kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Fpatch-2.6.24.bz2;z=3301

kernel parameter "acpi=noirq" will fix the battery issues but it has the side effect of breaking the brightness control keys.

We need the kernel in "polling" mode to work correctly rather than "interrupt" mode. Some more info:

http://lkml.org/lkml/2007/5/10/81

force_poll=1 option is not in the Ubuntu kernel.

kernel ec.c driver can be modified to use polling mode without disturbing brightness keys: http://ubuntuforums.org/showpost.php?p=4843977&postcount=143 - Thanks to pavel_987 for this possible work around. This work around is probably specific to pc's that should be in polling mode.

» Offer to mentor someone fixing this bug