Bug 4225 - battery info garbled -- 2.6.10 regession vs 2.6.9
Summary: battery info garbled -- 2.6.10 regession vs 2.6.9
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Battery (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Vladimir Lebedev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-18 00:42 UTC by Chris Morrison
Modified: 2005-12-23 06:46 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.10-1.766_FC3
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Chris Morrison 2005-02-18 00:42:11 UTC
Distribution: Fedora Core 3 for x86_64
Hardware Environment: AMD Athlon 64 3700 Laptop
Software Environment: cat /proc/acpi/battery/BAT0/info
Problem Description:

A bug appears to have been introduced into the ACPI driver version
20041105. that causes the model number, serial number and OEM info
fields in the /proc/acpi/battery/BAT0/info file to be expressed as a series of
space-delimited integers instead of a string value.

Steps to reproduce:

Open the /proc/acpi/battery/BAT0/info.

Steps to Reproduce:

1. Naviagte to /proc/acpi/battery/BAT0/ folder..
2. Load the info file into a text editor.
  
Actual results:

The contents of the info file are:

present:                 yes
design capacity:         4400 mAh
last full capacity:      3884 mAh
battery technology:      rechargeable
design voltage:          11100 mV
design capacity warning: 160 mAh
design capacity low:     100 mAh
capacity granularity 1:  64 mAh
capacity granularity 2:  64 mAh
model number:            44 34 37 30 4B 00 00 00
serial number:           34 30 31 33 31 00 00
battery type:            LION
OEM info:                53 4D 50 00 00 00 00 00

Expected results:

Under ACPI driver version 20040816 the info file would look like this

present:                 yes
design capacity:         4400 mAh
last full capacity:      3884 mAh
battery technology:      rechargeable
design voltage:          11100 mV
design capacity warning: 160 mAh
design capacity low:     100 mAh
capacity granularity 1:  64 mAh
capacity granularity 2:  64 mAh
model number:            D470K
serial number:           40131
battery type:            LION
OEM info:                SMP

Note the difference in the model number, serial number and OEM info
fields.
Comment 1 Len Brown 2005-08-17 09:20:58 UTC
Can this be reproduced with a kernel.org kernel,
preferably a recent one, such as 2.6.12 or 2.6.13?
Comment 2 Vladimir Lebedev 2005-11-28 09:11:27 UTC
No response from bug submitter, please reopen if problem persists. 

Note You need to log in before you can comment on or make changes to this bug.