Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11188 - Arch Kernel patches break battery detection for MSI PR200

Attached to Project: Arch Linux
Opened by Ian (zerathidune) - Monday, 11 August 2008, 19:01 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 26 October 2008, 20:53 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture i686
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

The MSI PR200 (MS-1221) laptop has historically had a number of acpi issues with the linux kernel. one of these is that after a relatively short amount of time, the operating system "looses track" of the battery, so that regardless of the actual state of the battery, battery monitor programs report it as empty. Sometimes it also has difficulty detectig whether or not the charger is plugged in.

These problems were fixed in 2.6.26, but the fix does not seem to be reflected in the arch kernel. I believe this has to do with some patching done at the distro level. I grabbed the PKGBUILD for kernel26-2.6.26.2-1 from abs, commented out the line that applies arch patches, recompiled, installed and rebooted, and the battery detection works perfectly. (I was having the aformentioned issues with it when using the stock arch kernel.)

Here is the relevent kernel.org bugreport:

http://bugzilla.kernel.org/show_bug.cgi?id=10855

As far as I know, an upstream bug causes this problem for all kernels prior to 2.6.26, but as of 2.6.26, the bug is no longer present upstream.

Let me know if I've failed to include relevant information, or there's something else I can do.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 26 October 2008, 20:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  no response
Comment by Vojtěch Gondžala (vogo) - Monday, 11 August 2008, 19:39 GMT
problem is in file drivers/acpi/ec.c
I try recompile with original file, and all is right
Comment by Vojtěch Gondžala (vogo) - Monday, 11 August 2008, 19:45 GMT
ps: same problem on x86_64, laptop MS-1222 (PR-210X)
Comment by Jan de Groot (JGC) - Wednesday, 13 August 2008, 12:34 GMT Comment by Thomas Bächler (brain0) - Wednesday, 13 August 2008, 13:03 GMT
Yeah my fault. The upstream bugfix causes a regression for me and others in S3, but I feel forced to revert this to the upstream version again.
Comment by Jan de Groot (JGC) - Wednesday, 13 August 2008, 13:08 GMT
Does upstream have workarounds for this? The bug about this commit was reopened because it had regressions for other parts in the kernel, including your S3 problems.
Comment by Thomas Bächler (brain0) - Wednesday, 13 August 2008, 13:41 GMT
Not yet in 2.6.26, I shall try 2.6.26.2 as soon as I have some time and a new battery.
Comment by Tobias Powalowski (tpowa) - Saturday, 11 October 2008, 20:36 GMT
status on .27 kernel?

Loading...