From: Thomas Renninger <trenn-l3A5Bk7waGM@public.gmane.org>
To: Lorenzo Colitti <lorenzo-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Battery change in sleep mode breaks battery support
Date: Fri, 11 Feb 2005 12:54:45 +0100 [thread overview]
Message-ID: <420C9D05.2030500@suse.de> (raw)
In-Reply-To: <420BA4D5.6090107-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org>
Lorenzo Colitti wrote:
> Thomas Renninger wrote:
>
>>> I am having problems with battery monitoring and sleep mode: if I
>>> plug in or unplug the battery while the machine is asleep, when it
>>> wakes up the change has not been registered and no further changes
>>> are logged.
>>> [..]
>>> Any ideas?
>>>
>> I expect that your _WAK function does not work properly.
>> Does S3 invoke the _WAK function after wake up?
>
>
> I don't know, how do I find out? Do I have to (attempt to) read the
> decompiled dsdt or can I just use the acpi debugging options?
>
Hmm, don't know.
Putting a:
Store ("_WAK invoked", Debug)
into the _WAK function of your DSDT.
But maybe it won't be printed because the kernel logger won't run at
this moment?
Hoped that some of the suspend guys comments on this, sorry.
You should disassemble and recompile your dsdt:
cp /proc/acpi/dsdt /tmp
iasl -d /tmp/dsdt
iasl -sa /tmp/dsdt.dsl
maybe you even find an error inside this function.
Send me your DSDT if iasl -sa /tmp/dsdt.dsl throws errors, maybe just
adjusting some lines help.
Thomas
-------------------------------------------------------
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
prev parent reply other threads:[~2005-02-11 11:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-09 14:46 Battery change in sleep mode breaks battery support Lorenzo Colitti
[not found] ` <420A224B.9050308-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org>
2005-02-09 19:15 ` Thomas Renninger
[not found] ` <420A6144.5050501-l3A5Bk7waGM@public.gmane.org>
2005-02-10 18:15 ` Lorenzo Colitti
[not found] ` <420BA4D5.6090107-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org>
2005-02-11 11:54 ` Thomas Renninger [this message]
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=420C9D05.2030500@suse.de \
--to=trenn-l3a5bk7wagm@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=lorenzo-Z4WAQ3j+MphBDgjK7y7TUQ@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox