2005-03-29 09:56:16

by Rafael J. Wysocki

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

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


--
- 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"


2005-03-30 05:55:40

by Luming Yu

[permalink] [raw]
Subject: Re: [ACPI] 2.6.12-rc1-mm[1-3]: ACPI battery monitor does not work

On Tuesday 29 March 2005 17:56, Rafael J. Wysocki wrote:
> 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

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

2005-03-30 10:05:54

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [ACPI] 2.6.12-rc1-mm[1-3]: ACPI battery monitor does not work

On Wednesday, 30 of March 2005 07:53, Yu, Luming wrote:
> On Tuesday 29 March 2005 17:56, Rafael J. Wysocki wrote:
> > 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
>
> Could you just revert ec-mode patch, then retest?

Could you please point me to it?

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"

2005-03-31 08:44:49

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [ACPI] 2.6.12-rc1-mm[1-3]: ACPI battery monitor does not work

Hi,

On Wednesday, 30 of March 2005 12:05, Rafael J. Wysocki wrote:
> On Wednesday, 30 of March 2005 07:53, Yu, Luming wrote:
> > On Tuesday 29 March 2005 17:56, Rafael J. Wysocki wrote:
> > > 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
> >
> > 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


--
- 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"

2005-04-01 09:32:57

by Luming Yu

[permalink] [raw]
Subject: Re: [ACPI] 2.6.12-rc1-mm[1-3]: ACPI battery monitor does not work


On Thursday 31 March 2005 16:44, Rafael J. Wysocki wrote:
> Hi,
>
> On Wednesday, 30 of March 2005 12:05, Rafael J. Wysocki wrote:
> > On Wednesday, 30 of March 2005 07:53, Yu, Luming wrote:
> > > On Tuesday 29 March 2005 17:56, Rafael J. Wysocki wrote:
> > > > 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
> > >
> > > 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.htm
>l|ChangeSet@-2w
>
> Anyway, reverting this patch helps. :-)

Could you let me see Dmesg and DSDT?

TIA

2005-04-01 09:51:38

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [ACPI] 2.6.12-rc1-mm[1-3]: ACPI battery monitor does not work

On Friday, 1 of April 2005 11:31, Yu, Luming wrote:
>
> On Thursday 31 March 2005 16:44, Rafael J. Wysocki wrote:
> > Hi,
> >
> > On Wednesday, 30 of March 2005 12:05, Rafael J. Wysocki wrote:
> > > On Wednesday, 30 of March 2005 07:53, Yu, Luming wrote:
> > > > On Tuesday 29 March 2005 17:56, Rafael J. Wysocki wrote:
> > > > > 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
> > > >
> > > > 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.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"

2005-04-04 09:35:57

by Luming Yu

[permalink] [raw]
Subject: Re: [ACPI] 2.6.12-rc1-mm[1-3]: ACPI battery monitor does not work

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

On Friday 01 April 2005 17:51, Rafael J. Wysocki wrote:
> On Friday, 1 of April 2005 11:31, Yu, Luming wrote:
> > On Thursday 31 March 2005 16:44, Rafael J. Wysocki wrote:
> > > Hi,
> > >
> > > On Wednesday, 30 of March 2005 12:05, Rafael J. Wysocki wrote:
> > > > On Wednesday, 30 of March 2005 07:53, Yu, Luming wrote:
> > > > > On Tuesday 29 March 2005 17:56, Rafael J. Wysocki wrote:
> > > > > > 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
> > > > >
> > > > > 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=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"
>
>
> -------------------------------------------------------
> 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

2005-04-04 16:04:41

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [ACPI] 2.6.12-rc1-mm[1-3]: ACPI battery monitor does not work

Hi,

On Monday, 4 of April 2005 11:34, Yu, Luming wrote:
> 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

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


--
- 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"