Comment 52 for bug 47971

Revision history for this message
Karl Hegbloom (karl.hegbloom) wrote :

Re: Pointer going crazy once in a while, or suddenly jumping across the screen.

I had a laptop that did that, and what I discovered is that if I had the Gnome battery meter running, it did that, but when I shut it off, the problem went away. The Gkrellm battery meter did not seem to cause it. It turns out that the Gnome battery meter was calling on the ACPI battery check, via /proc, a lot more often than the Gkrellm one was.

The hypothesis is that the code run by the ACPI BIOS has the interrupt mask on, and it takes too long to return a result to the operating system. Or, perhaps the OS has it set? I think that the pointer jump is caused by missed interrupts or something.

The solution was to not poll the battery state more often than once every minute or so. (And the ultimate solution was to quit trying to use that infernal touchpad by getting a nice optical mouse for the laptop.)