Bug 11632
Summary: | Battery information wrong - MSI S271 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Bernd Steinhauser (linux) |
Component: | Platform | Assignee: | ykzhao (yakui.zhao) |
Status: | CLOSED DUPLICATE | ||
Severity: | normal | CC: | acpi-bugzilla |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.27-rc7 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
Output of dmesg
Output of dmidecode Output of acpidump |
Description
Bernd Steinhauser
2008-09-23 19:23:42 UTC
Created attachment 17992 [details]
Output of dmesg
Created attachment 17993 [details]
Output of dmidecode
Created attachment 17994 [details]
Output of acpidump
Will you please not load the msi-laptop driver and see whether the problem still exists? So if you directly read the /proc/acpi/battery ... files, the info is correct. But acpi -sV will return error? This might be a bug of acpi tools. (In reply to comment #4) > Will you please not load the msi-laptop driver and see whether the problem > still exists? It seems that this indeed brought it back: cat /proc/acpi/battery/BAT1/info present: yes design capacity: 4400 mAh last full capacity: 2938 mAh battery technology: rechargeable design voltage: 14800 mV design capacity warning: 0 mAh design capacity low: 0 mAh capacity granularity 1: 1 mAh capacity granularity 2: 1 mAh model number: MS-1058 serial number: battery type: LION OEM info: MSI Corp. cat /proc/acpi/battery/BAT1/state present: yes capacity state: ok charging state: charged present rate: 0 mA remaining capacity: 2938 mAh present voltage: 16680 mV Thank you. So this is more a bug in the msi-laptop module, right? (In reply to comment #5) > So if you directly read the /proc/acpi/battery ... files, the info is > correct. > But acpi -sV will return error? This might be a bug of acpi tools. No, both are wrong. The acpi proc files state correctly, that the battery is present or not, but all the values are wrong. Thanks for the confirmation. It seems that this issue is related with the following commit: > commit 00eb43a1897a8845d0edb198cec69ac5f1f299dd > Author: Lennart Poettering <mzxreary@0pointer.de> > Date: Fri May 4 14:16:19 2007 +0200 >acpi,msi-laptop: Fall back to EC polling mode for MSI laptop specific EC commands The EC command used in msi-laptop driver is non-standard EC command. Maybe it can be handled by Lennart Poettering <mzxreary@0pointer.de>. thanks. As the battery info can be reported correctly if msi-laptop platform driver is not loaded, change it to the category of platform-drivers. |