Difference between revisions of "Problem with checking battery status"

From ThinkWiki
Jump to: navigation, search
(added more info)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
R31 laptops have a problem were checking the battery status causes the mouse to jerk around the screen clicking on things.  Also sometimes repeating keypresses are generated.
+
{| width="100%"
 +
|style="vertical-align:top;padding-right:20px;width:10px;white-space:nowrap;" | __TOC__
 +
|style="vertical-align:top" |
 +
{{R31}} laptops have a problem where anytime ACPI or APM events are polled (e.g. checking battery status), causes the mouse to jerk around the screen clicking on things.  Also sometimes repeating keypresses are generated.
 +
|}
  
===Causes===
+
==Affected Models==
Apparently a BIOS bug.  Seems to happen with both ACPI or APM.
+
*ThinkPad {{R31}}
  
===Workarounds===
+
==Causes==
 +
Anomaly in the way the kernel driver handles the i8042 keyboard/mouse controller in the R31.
 +
 
 +
==Related Symptoms==
 +
These messages in dmesg seem to be related:
 +
psmouse.c: TrackPoint at isa0060/serio4/input0 lost synchronization, throwing 2 bytes away.
 +
psmouse.c: TrackPoint at isa0060/serio4/input0 lost synchronization, throwing 2 bytes away.
 +
 
 +
==Workarounds==
 
Don't query the battery.  Remove any battery applets from your panel.
 
Don't query the battery.  Remove any battery applets from your panel.
  
===Undiagnosed problems===
+
==Partial Solution==
The problem seems to have returned to my system every since I upgraded to gnome 2.12 and starting running hal/dbus. Perhaps one of those components is querying my battery. If anyway one has any suggestions, please post!
+
Use the {{bootparm|i8042.nomux|1}} kernel parameter at boot. Add it to your <tt>append</tt>line in {{path|/etc/lilo.conf}} or append it to the <tt>kernel</tt> line in the {{path|/boot/grub/menu.lst}} file of your grub installation.  
 +
 
 +
'''Make sure to use ACPI''', as this does not work if you boot with APM.
  
===References===
+
==External Sources==
 
* http://kruemel.rnbhq.org/r31.html#bug_batteryquery
 
* http://kruemel.rnbhq.org/r31.html#bug_batteryquery
 
* http://webrum.uni-mannheim.de/math/froeser/r31_linux.html
 
* http://webrum.uni-mannheim.de/math/froeser/r31_linux.html
 
* http://forum.kanotix.net/PNphpBB2-viewtopic-t-6424.html
 
* http://forum.kanotix.net/PNphpBB2-viewtopic-t-6424.html
 
* http://www.linuxquestions.org/questions/archive/25/2005/04/2/308437
 
* http://www.linuxquestions.org/questions/archive/25/2005/04/2/308437
 +
* http://lists.debian.org/debian-user/2003/12/msg03632.html
 +
* http://www.systura.com/linux/thinkpadr31.php

Latest revision as of 12:48, 8 March 2006

R31 laptops have a problem where anytime ACPI or APM events are polled (e.g. checking battery status), causes the mouse to jerk around the screen clicking on things. Also sometimes repeating keypresses are generated.

Affected Models

Causes

Anomaly in the way the kernel driver handles the i8042 keyboard/mouse controller in the R31.

Related Symptoms

These messages in dmesg seem to be related:

psmouse.c: TrackPoint at isa0060/serio4/input0 lost synchronization, throwing 2 bytes away.
psmouse.c: TrackPoint at isa0060/serio4/input0 lost synchronization, throwing 2 bytes away.

Workarounds

Don't query the battery. Remove any battery applets from your panel.

Partial Solution

Use the i8042.nomux=1 kernel parameter at boot. Add it to your appendline in /etc/lilo.conf or append it to the kernel line in the /boot/grub/menu.lst file of your grub installation.

Make sure to use ACPI, as this does not work if you boot with APM.

External Sources