* AC adapter status wrong after resume (swsusp, pmdsik)
@ 2004-03-22 15:46 Romano Giannetti
[not found] ` <20040322154654.GA10305-NfIQswJzSEaq9fEpoSJUslHdEuJhDOxL@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Romano Giannetti @ 2004-03-22 15:46 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Dear sirs,
Iam an user of linux 2.6.x on a Vaio FX701 laptop. I found a little
problem with AC charger status and the suspend/resume software, and so
I copy this message to your list, after a kernel developer suggested
me to do so.
I am not subscribed to this list, not yet...
Thank you in advance,
Romano Giannetti
> 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...
--
Romano Giannetti - Univ. Pontificia Comillas (Madrid, Spain)
Electronic Engineer - phone +34 915 422 800 ext 2416 fax +34 915 596 569
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AC adapter status wrong after resume (swsusp, pmdsik)
[not found] ` <20040322154654.GA10305-NfIQswJzSEaq9fEpoSJUslHdEuJhDOxL@public.gmane.org>
@ 2004-03-22 22:31 ` Micha Feigin
[not found] ` <20040322223145.GA2549-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Micha Feigin @ 2004-03-22 22:31 UTC (permalink / raw)
To: Romano Giannetti; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Mon, Mar 22, 2004 at 04:46:54PM +0100, Romano Giannetti wrote:
> Dear sirs,
>
> Iam an user of linux 2.6.x on a Vaio FX701 laptop. I found a little
> problem with AC charger status and the suspend/resume software, and so
> I copy this message to your list, after a kernel developer suggested
> me to do so.
>
> I am not subscribed to this list, not yet...
>
> Thank you in advance,
> Romano Giannetti
>
>
I saw this same problem with swsusp2. The solution was to compile the
battery support as a module, unload it before suspend and reload it
after resume.
>
> > 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...
>
> --
> Romano Giannetti - Univ. Pontificia Comillas (Madrid, Spain)
> Electronic Engineer - phone +34 915 422 800 ext 2416 fax +34 915 596 569
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
>
> +++++++++++++++++++++++++++++++++++++++++++
> This Mail Was Scanned By Mail-seCure System
> at the Tel-Aviv University CC.
>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AC adapter status wrong after resume (swsusp, pmdsik)
[not found] ` <20040322223145.GA2549-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
@ 2004-03-22 23:06 ` Karol Kozimor
2004-03-23 9:00 ` Stefan Seyfried
2004-03-23 9:42 ` Romano Giannetti
2 siblings, 0 replies; 7+ messages in thread
From: Karol Kozimor @ 2004-03-22 23:06 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Thus wrote Micha Feigin:
> > Iam an user of linux 2.6.x on a Vaio FX701 laptop. I found a little
> > problem with AC charger status and the suspend/resume software, and so
> > I copy this message to your list, after a kernel developer suggested
> > me to do so.
> I saw this same problem with swsusp2. The solution was to compile the
> battery support as a module, unload it before suspend and reload it
> after resume.
Ugh, that's a workaround, not a solution...
Best regards,
--
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AC adapter status wrong after resume (swsusp, pmdsik)
[not found] ` <20040322223145.GA2549-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
2004-03-22 23:06 ` Karol Kozimor
@ 2004-03-23 9:00 ` Stefan Seyfried
[not found] ` <20040323090055.GA8857-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2004-03-23 9:42 ` Romano Giannetti
2 siblings, 1 reply; 7+ messages in thread
From: Stefan Seyfried @ 2004-03-23 9:00 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Tue, Mar 23, 2004 at 12:31:45AM +0200, Micha Feigin wrote:
> > Iam an user of linux 2.6.x on a Vaio FX701 laptop. I found a little
> > problem with AC charger status and the suspend/resume software, and so
>
> I saw this same problem with swsusp2. The solution was to compile the
> battery support as a module, unload it before suspend and reload it
> after resume.
Well, of course this is a workaround, not a solution ;-)
Are you sure it's the battery and not the ac module? The reason i'm
asking is: i have a similar problem and unloading / reloading modules
after suspend does not help, though i never tried unloading before
and reloading after suspend.
Since this seems to be a generic bug and not only on my hardware, i
will file a bug for it.
--
Stefan Seyfried
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AC adapter status wrong after resume (swsusp, pmdsik)
[not found] ` <20040322223145.GA2549-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
2004-03-22 23:06 ` Karol Kozimor
2004-03-23 9:00 ` Stefan Seyfried
@ 2004-03-23 9:42 ` Romano Giannetti
2 siblings, 0 replies; 7+ messages in thread
From: Romano Giannetti @ 2004-03-23 9:42 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA
On Tue, Mar 23, 2004 at 12:31:45AM +0200, Micha Feigin wrote:
> On Mon, Mar 22, 2004 at 04:46:54PM +0100, Romano Giannetti wrote:
> > Iam an user of linux 2.6.x on a Vaio FX701 laptop. I found a little
> > problem with AC charger status and the suspend/resume software, and so
> > I copy this message to your list, after a kernel developer suggested
> > me to do so.
> I saw this same problem with swsusp2. The solution was to compile the
> battery support as a module, unload it before suspend and reload it
> after resume.
Well... I will try and do it, bur really it seems to me more a workaround
than a solution... nevertheless, thank you very much.
Romano
--
Romano Giannetti - Univ. Pontificia Comillas (Madrid, Spain)
Electronic Engineer - phone +34 915 422 800 ext 2416 fax +34 915 596 569
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: AC adapter status wrong after resume (swsusp, pmdsik)
[not found] ` <20040323090055.GA8857-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
@ 2004-03-27 19:58 ` Micha Feigin
[not found] ` <20040327195842.GB2737-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Micha Feigin @ 2004-03-27 19:58 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Tue, Mar 23, 2004 at 10:00:55AM +0100, Stefan Seyfried wrote:
> On Tue, Mar 23, 2004 at 12:31:45AM +0200, Micha Feigin wrote:
>
> > > Iam an user of linux 2.6.x on a Vaio FX701 laptop. I found a little
> > > problem with AC charger status and the suspend/resume software, and so
> >
> > I saw this same problem with swsusp2. The solution was to compile the
> > battery support as a module, unload it before suspend and reload it
> > after resume.
>
> Well, of course this is a workaround, not a solution ;-)
> Are you sure it's the battery and not the ac module? The reason i'm
Yes, I tried first with the ac module since it looked more logical but
that didn't effect things, doing the same with the battery module did
help.
> asking is: i have a similar problem and unloading / reloading modules
> after suspend does not help, though i never tried unloading before
> and reloading after suspend.
> Since this seems to be a generic bug and not only on my hardware, i
> will file a bug for it.
Of course its a work around and not a solution, but if it solves things
then it can help point at the problem, especially considering that it
seems that the battery module affects the ac status in this case.
> --
> Stefan Seyfried
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
>
> +++++++++++++++++++++++++++++++++++++++++++
> This Mail Was Scanned By Mail-seCure System
> at the Tel-Aviv University CC.
>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: AC adapter status wrong after resume (swsusp, pmdsik)
[not found] ` <20040327195842.GB2737-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
@ 2004-03-27 20:10 ` Michael Frank
0 siblings, 0 replies; 7+ messages in thread
From: Michael Frank @ 2004-03-27 20:10 UTC (permalink / raw)
To: Micha Feigin, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Sat, 27 Mar 2004 21:58:42 +0200, Micha Feigin <michf-+lLcF8/aw9x6auLlOhE+pQ@public.gmane.org> wrote:
> On Tue, Mar 23, 2004 at 10:00:55AM +0100, Stefan Seyfried wrote:
>> On Tue, Mar 23, 2004 at 12:31:45AM +0200, Micha Feigin wrote:
>>
>> > > Iam an user of linux 2.6.x on a Vaio FX701 laptop. I found a little
>> > > problem with AC charger status and the suspend/resume software, and so
>> >
>> > I saw this same problem with swsusp2. The solution was to compile the
>> > battery support as a module, unload it before suspend and reload it
>> > after resume.
>>
>> Well, of course this is a workaround, not a solution ;-)
>> Are you sure it's the battery and not the ac module? The reason i'm
>
> Yes, I tried first with the ac module since it looked more logical but
> that didn't effect things, doing the same with the battery module did
> help.
>
>> asking is: i have a similar problem and unloading / reloading modules
>> after suspend does not help, though i never tried unloading before
>> and reloading after suspend.
>> Since this seems to be a generic bug and not only on my hardware, i
>> will file a bug for it.
>
> Of course its a work around and not a solution, but if it solves things
> then it can help point at the problem, especially considering that it
> seems that the battery module affects the ac status in this case.
>
>
IME, all acpi modules except toshiba-acpi must be removed prior to suspend.
The fundamental reason for the malfunction is that acpi modules do
not listen to PM events resulting in their (suspended) state on resume being
inonsistent with what the BIOS set prior to returning control (S3) / booting (S4).
Regards
Michael
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-03-27 20:10 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-22 15:46 AC adapter status wrong after resume (swsusp, pmdsik) Romano Giannetti
[not found] ` <20040322154654.GA10305-NfIQswJzSEaq9fEpoSJUslHdEuJhDOxL@public.gmane.org>
2004-03-22 22:31 ` Micha Feigin
[not found] ` <20040322223145.GA2549-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
2004-03-22 23:06 ` Karol Kozimor
2004-03-23 9:00 ` Stefan Seyfried
[not found] ` <20040323090055.GA8857-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2004-03-27 19:58 ` Micha Feigin
[not found] ` <20040327195842.GB2737-4cxDFgrrBECgSpxsJD1C4w@public.gmane.org>
2004-03-27 20:10 ` Michael Frank
2004-03-23 9:42 ` Romano Giannetti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox