All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniele Boffi <boffi-piYtxHxN1XRAly3Pu9w1wA@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [Swsusp-devel] swsusp and ac status
Date: Thu, 24 Jun 2004 17:13:51 +0200	[thread overview]
Message-ID: <200406241513.i5OFDpKC003189@fermat.unipv.it> (raw)
In-Reply-To: Message from "Michael Frank" <mhf-jjFNsPSvq+iXDw4h08c5KA@public.gmane.org> of "Thu, 24 Jun 2004 22:37:12 +0800." <opr93r8ap24evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>


> For now, in practice all ACPI modules should be unloaded prior to
> suspend and loaded on resume.
> 
> I use the AC module and kernel 2.4.24 with swsusp 2.0 and it works
> fine as long as it is removed prior to suspend.

Unloading acpi modules, suspending, resuming and loading modules
again does not help for me (2.6.7 and swsusp 2.0.0.88).
Even after resuming, if I

rmmod ac
insmod ac

then I don't see the new charging state. On the other hand if, after 
resuming, I change the charging state again, then ac detection works 
OK.

I tried also with 2.4.25 and swsusp 2.0 ... then it is stranger: 

- suspend with ac plugged
- unplug
- resume
- ac is correctly detected off-line
- next changes in ac state are not detected


morph-XAiDara3MvRg9hUCZPvPmw@public.gmane.org said:
> Would you mind checking to see (with top or something) whether or
> not keventd is using 100% CPU next time this happens.

It is not. CPU is about 1% (mostly used by X)

Daniele




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

       reply	other threads:[~2004-06-24 15:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mhf@linuxmail.org>
     [not found] ` <mhf-jjFNsPSvq+iXDw4h08c5KA@public.gmane.org>
     [not found]   ` <opr93r8ap24evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
2004-06-24 15:13     ` Daniele Boffi [this message]
     [not found]       ` <200406241513.i5OFDpKC003189-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
2004-06-24 17:26         ` Re: [Swsusp-devel] swsusp and ac status Michael Frank
2004-06-28 20:25         ` Pavel Machek
     [not found]           ` <200406301539.i5UFdUWt011300@fermat.unipv.it>
     [not found]             ` <200406301539.i5UFdUWt011300-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
2004-06-30 19:40               ` Pavel Machek
     [not found] ` <opr95d71ln4evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
2004-06-25 12:09   ` Daniele Boffi
2004-06-25 15:14   ` Stefan Seyfried
     [not found]     ` <20040625151421.GA8852-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2004-06-30  0:33       ` Micha Feigin
2004-06-27 22:28   ` Re: [Swsusp-devel] " Karol Kozimor
     [not found]     ` <20040627222842.GB1816-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-06-28  0:13       ` Michael Frank
     [not found]         ` <opr992vyyr4evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
2004-06-28  0:50           ` Michael Frank
     [not found]             ` <opr994muhg4evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
2004-06-28  5:27               ` Karol Kozimor
     [not found]                 ` <20040628052704.GA24842-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-06-28 10:03                   ` Michael Frank
2004-06-28 20:29         ` [ACPI] " Pavel Machek
     [not found] ` <opr93z2ex34evsfm-TBR8pM7LtsqkE96DxU8f+dAkNl5+tjhE@public.gmane.org>
2004-06-25  7:01   ` Re: [Swsusp-devel] " Daniele Boffi
     [not found]     ` <200406250701.i5P71GKC006204-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
2004-06-25  9:21       ` Nigel Cunningham
2004-06-25 11:29       ` Michael Frank
2004-06-25 23:21   ` Micha Feigin
     [not found] <200406241233.i5OCXiKC002386@fermat.unipv.it>
     [not found] ` <200406241233.i5OCXiKC002386-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org>
2004-06-24 14:37   ` Michael Frank

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200406241513.i5OFDpKC003189@fermat.unipv.it \
    --to=boffi-piytxhxn1xraly3pu9w1wa@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.