Skip to contentSkip to conversation

2.6.12-rc1-mm[1-3]: ACPI battery monitor does not work

DISCUSSION Rafael J. Wysocki 4 participants 10 messages Mar 29, 2005 – May 26, 2005 2 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

There is a problem on my box (Asus L5D, x86-64 kernel) with the ACPI battery driver in the 2.6.12-rc1-mm[1-3] kernels. Namely, the battery monitor that I use (the kpowersave applet from SUSE 9.2) is no longer able to report the battery status (ie how much % it is loaded). It can only check if the AC power is connected (if it is connected, kpowersave behaves as though there was no battery in the box, and if it is not connected, kpowersave always shows that the battery is 1% loaded).

Also, there are big latencies on loading and accessing the battery module, but the module loads successfully and there's nothing suspicious in dmesg.

Please let me know if you need any additional information.

Greets,
Rafael

Signature · 3 lines
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
		-- Lewis Carroll "Alice's Adventures in Wonderland"
#1 lore raw
Quoted 10 lines · Rafael J. Wysocki

Hi,

There is a problem on my box (Asus L5D, x86-64 kernel) with the ACPI battery driver in the 2.6.12-rc1-mm[1-3] kernels. Namely, the battery monitor that I use (the kpowersave applet from SUSE 9.2) is no longer able to report the battery status (ie how much % it is loaded). It can only check if the AC power is connected (if it is connected, kpowersave behaves as though there was no battery in the box, and if it is not connected, kpowersave always shows that the battery is 1% loaded).

Quoted 7 lines

Also, there are big latencies on loading and accessing the battery module, but the module loads successfully and there's nothing suspicious in dmesg.

Please let me know if you need any additional information.

Greets,
Rafael

Could you just revert ec-mode patch, then retest?

Signature · 9 lines
Thanks,
Luming


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
#2 lore raw
Quoted 14 lines · Luming
Quoted 13 lines · Rafael J. Wysocki

Hi,

There is a problem on my box (Asus L5D, x86-64 kernel) with the ACPI battery driver in the 2.6.12-rc1-mm[1-3] kernels. Namely, the battery monitor that I use (the kpowersave applet from SUSE 9.2) is no longer able to report the battery status (ie how much % it is loaded). It can only check if the AC power is connected (if it is connected, kpowersave behaves as though there was no battery in the box, and if it is not connected, kpowersave always shows that the battery is 1% loaded).

Also, there are big latencies on loading and accessing the battery module, but the module loads successfully and there's nothing suspicious in dmesg.

Quoted 6 lines
Quoted 4 lines

Please let me know if you need any additional information.

Greets,
Rafael

Could you just revert ec-mode patch, then retest?

Could you please point me to it?

Rafael

Signature · 10 lines
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
		-- Lewis Carroll "Alice's Adventures in Wonderland"


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
#3 lore raw

Hi,

Quoted 15 lines · Rafael J. Wysocki
Quoted 14 lines · Luming
Quoted 13 lines · Rafael J. Wysocki

Hi,

There is a problem on my box (Asus L5D, x86-64 kernel) with the ACPI battery driver in the 2.6.12-rc1-mm[1-3] kernels. Namely, the battery monitor that I use (the kpowersave applet from SUSE 9.2) is no longer able to report the battery status (ie how much % it is loaded). It can only check if the AC power is connected (if it is connected, kpowersave behaves as though there was no battery in the box, and if it is not connected, kpowersave always shows that the battery is 1% loaded).

Also, there are big latencies on loading and accessing the battery module, but the module loads successfully and there's nothing suspicious in dmesg.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

Please let me know if you need any additional information.

Greets,
Rafael

Could you just revert ec-mode patch, then retest?

Could you please point me to it?

I assume you mean the "Enable EC Burst Mode" patch at:

http://linux-acpi.bkbits.net:8080/to-akpm/cset%401.2181.17.12?nav=index.html|ChangeSet@-2w

Anyway, reverting this patch helps. :-)

Greets,
Rafael

Signature · 3 lines
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
		-- Lewis Carroll "Alice's Adventures in Wonderland"
#4 lore raw
Quoted 27 lines · Rafael J. Wysocki

Hi,

Quoted 24 lines · Rafael J. Wysocki
Quoted 22 lines · Luming
Quoted 11 lines · Rafael J. Wysocki

Hi,

There is a problem on my box (Asus L5D, x86-64 kernel) with the ACPI battery driver in the 2.6.12-rc1-mm[1-3] kernels. Namely, the battery monitor that I use (the kpowersave applet from SUSE 9.2) is no longer able to report the battery status (ie how much % it is loaded). It can only check if the AC power is connected (if it is connected, kpowersave behaves as though there was no battery in the box, and if it is not connected, kpowersave always shows that the battery is 1% loaded).

Quoted 8 lines

Also, there are big latencies on loading and accessing the battery module, but the module loads successfully and there's nothing suspicious in dmesg.

Please let me know if you need any additional information.

Greets,
Rafael

Could you just revert ec-mode patch, then retest?

Quoted 8 lines
Quoted 1 line

Could you please point me to it?

I assume you mean the "Enable EC Burst Mode" patch at:

http://linux-acpi.bkbits.net:8080/to-akpm/cset%401.2181.17.12?nav=index.htm
l|ChangeSet@-2w

Anyway, reverting this patch helps. :-)

Could you let me see Dmesg and DSDT?

TIA

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30

#5 lore raw
Quoted 31 lines · Luming
Quoted 29 lines · Rafael J. Wysocki

Hi,

Quoted 25 lines · Rafael J. Wysocki
Quoted 16 lines · Luming
Quoted 15 lines · Rafael J. Wysocki

Hi,

There is a problem on my box (Asus L5D, x86-64 kernel) with the ACPI battery driver in the 2.6.12-rc1-mm[1-3] kernels. Namely, the battery monitor that I use (the kpowersave applet from SUSE 9.2) is no longer able to report the battery status (ie how much % it is loaded). It can only check if the AC power is connected (if it is connected, kpowersave behaves as though there was no battery in the box, and if it is not connected, kpowersave always shows that the battery is 1% loaded).

Also, there are big latencies on loading and accessing the battery module, but the module loads successfully and there's nothing suspicious in dmesg.

Quoted 6 lines
Quoted 4 lines

Please let me know if you need any additional information.

Greets,
Rafael

Could you just revert ec-mode patch, then retest?

Could you please point me to it?

Quoted 8 lines
Quoted 6 lines

I assume you mean the "Enable EC Burst Mode" patch at:

http://linux-acpi.bkbits.net:8080/to-akpm/cset%401.2181.17.12?nav=index.htm
l|ChangeSet@-2w

Anyway, reverting this patch helps. :-)

Could you let me see Dmesg and DSDT?

They are available at:

http://www.sisk.pl/kernel/050401/dmesg.out
http://www.sisk.pl/kernel/050401/dsdt

The dmesg output is from 2.6.12-rc1-mm4 with the patch reverted.

Greets,
Rafael

Signature · 3 lines
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
		-- Lewis Carroll "Alice's Adventures in Wonderland"
#6 lore raw

Please testing patch filed at
http://bugzilla.kernel.org/show_bug.cgi?id=3851#c64
My testing results on toshiba satellite M20 is:

/proc/acpi/battery/BAT0#time cat state

present:                 yes
capacity state:          ok
charging state:          charging
present rate:            1500 mA
remaining capacity:      4064 mAh
present voltage:         15000 mV
real    0m0.023s
user    0m0.000s
sys     0m0.020s

Thanks
Luming

Quoted 57 lines · Rafael J. Wysocki
Quoted 30 lines · Luming
Quoted 29 lines · Rafael J. Wysocki

Hi,

Quoted 25 lines · Rafael J. Wysocki
Quoted 16 lines · Luming
Quoted 15 lines · Rafael J. Wysocki

Hi,

There is a problem on my box (Asus L5D, x86-64 kernel) with the ACPI battery driver in the 2.6.12-rc1-mm[1-3] kernels.  Namely, the battery monitor that I use (the kpowersave applet from SUSE 9.2) is no longer able to report the battery status (ie how much % it is loaded).  It can only check if the AC power is connected (if it is connected, kpowersave behaves as though there was no battery in the box, and if it is not connected, kpowersave always shows that the battery is 1% loaded).

Also, there are big latencies on loading and accessing the battery module, but the module loads successfully and there's nothing suspicious in dmesg.

Quoted 6 lines
Quoted 4 lines

Please let me know if you need any additional information.

Greets,
Rafael

Could you just revert ec-mode patch, then retest?

Could you please point me to it?

Quoted 8 lines
Quoted 6 lines

I assume you mean the "Enable EC Burst Mode" patch at:

http://linux-acpi.bkbits.net:8080/to-akpm/cset%401.2181.17.12?nav=inde
x.htm l|ChangeSet@-2w

Anyway, reverting this patch helps. :-)

Could you let me see Dmesg and  DSDT?

They are available at:

http://www.sisk.pl/kernel/050401/dmesg.out
http://www.sisk.pl/kernel/050401/dsdt

The dmesg output is from 2.6.12-rc1-mm4 with the patch reverted.

Greets,
Rafael

--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to. -- Lewis Carroll "Alice's Adventures in Wonderland"

Quoted 9 lines

-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click

#7 lore raw

Hi,

Quoted 12 lines · Luming

Please testing patch filed at
http://bugzilla.kernel.org/show_bug.cgi?id=3851#c64
My testing results on toshiba satellite M20 is:

/proc/acpi/battery/BAT0#time cat state

present:                 yes
capacity state:          ok
charging state:          charging
present rate:            1500 mA
remaining capacity:      4064 mAh
present voltage:         15000 mV
Quoted 3 lines
real    0m0.023s
user    0m0.000s
sys     0m0.020s

Here's my result on Asus L5D ("plain" 2.6.12-rc1-mm3 with the patch):

rafael@albercik:/proc/acpi/battery/BAT0> time cat state

present:                 yes
capacity state:          ok
charging state:          charged
present rate:            unknown
remaining capacity:      unknown
present voltage:         unknown
real    0m15.113s
user    0m0.000s
sys     0m0.034s

Greets,
Rafael

Signature · 3 lines
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
		-- Lewis Carroll "Alice's Adventures in Wonderland"
#9 lore raw
In reply to a message not in the archive
Quoted 11 lines · Rafael J. Wysocki

Hi,

There is a problem on my box (Asus L5D, x86-64 kernel) with the ACPI battery driver in the 2.6.12-rc1-mm[1-3] kernels. Namely, the battery monitor that I use (the kpowersave applet from SUSE 9.2) is no longer able to report the battery status (ie how much % it is loaded). It can only check if the AC power is connected (if it is connected, kpowersave behaves as though there was no battery in the box, and if it is not connected, kpowersave always shows that the battery is 1% loaded).

Quoted 3 lines

Also, there are big latencies on loading and accessing the battery module, but the module loads successfully and there's nothing suspicious in dmesg.

Are these problems still present in 2.6.12-rc5 or 2.6.12-rc5-mm1?

-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click

#11 lore raw
In reply to a message not in the archive
Quoted 12 lines · Andrew Morton
Quoted 11 lines · Rafael J. Wysocki

Hi,

There is a problem on my box (Asus L5D, x86-64 kernel) with the ACPI battery driver in the 2.6.12-rc1-mm[1-3] kernels. Namely, the battery monitor that I use (the kpowersave applet from SUSE 9.2) is no longer able to report the battery status (ie how much % it is loaded). It can only check if the AC power is connected (if it is connected, kpowersave behaves as though there was no battery in the box, and if it is not connected, kpowersave always shows that the battery is 1% loaded).

Quoted 5 lines
Quoted 3 lines

Also, there are big latencies on loading and accessing the battery module, but the module loads successfully and there's nothing suspicious in dmesg.

Are these problems still present in 2.6.12-rc5 or 2.6.12-rc5-mm1?

2.6.12-rc5 is unaffected, as it does not contain the patch that causes the problem to appear.

The problem is still present in 2.6.12-rc5-mm1. I have created a bugzilla entry for it at http://bugzilla.kernel.org/show_bug.cgi?id=4665

Greets,
Rafael

Signature · 10 lines
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
		-- Lewis Carroll "Alice's Adventures in Wonderland"


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005