2004-03-22 10:09:17

by Romano Giannetti

[permalink] [raw]
Subject: AC adapter status wrong after resume (swsusp, pmdsik)

Hi,
I think I found a problem with ACPI and disk-suspend "swsusp" option
of 2.6.4 kernel.

In a few words: when resuming the "ac adapter status" would not
refresh: if I suspend the laptop with the AC adapter on, then on
resuming ACPI -v will report AC on even if I have plugged out the
charger. Plugging the charger in and out will resume normal
behaviour. I discovered it because cpufreqd would not lower the CPU
clock after the resume...

HTH,
Romano

--
Romano Giannetti - Univ. Pontificia Comillas (Madrid, Spain)
Electronic Engineer - phone +34 915 422 800 ext 2416 fax +34 915 596 569


2004-03-22 10:23:22

by Pavel Machek

[permalink] [raw]
Subject: Re: AC adapter status wrong after resume (swsusp, pmdsik)

Hi!

> I think I found a problem with ACPI and disk-suspend "swsusp" option
> of 2.6.4 kernel.
>
> In a few words: when resuming the "ac adapter status" would not
> refresh: if I suspend the laptop with the AC adapter on, then on
> resuming ACPI -v will report AC on even if I have plugged out the
> charger. Plugging the charger in and out will resume normal
> behaviour. I discovered it because cpufreqd would not lower the CPU
> clock after the resume...

That's known, and it is issue with ACPI. ACPI list is right place to
ask about it. (But I do not think anyone is working on that :-( ).

Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]