From: Micha Feigin <michf-+lLcF8/aw9x6auLlOhE+pQ@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Wrong AC state
Date: Tue, 25 May 2004 21:56:03 +0300 [thread overview]
Message-ID: <20040525185603.GE10355@luna.mooo.com> (raw)
In-Reply-To: <40B346FC.9090908-VDBW1ITIq+y+DWMCimbbknqWYbMAw+HU@public.gmane.org>
On Tue, May 25, 2004 at 03:15:40PM +0200, Martin Ginkel wrote:
> Dear ACPI-Folks,
>
> I am trying to debug the code for reading the ac_adapter state.
> On my laptop (Fujitsu-Siemens Amilo D 8830) this seems to be partially
> broken.
> The /proc/ac_adapter/AC0/state has a value on-line or off-line from
> boot-time and doesn't change later on.
> I already switched on debugging in the ac-module and the
> acpi_ac_get_state function gets called every time I cat the state-file.
> But it obviously reads the same value again and again.
>
> Anyways: plugging the AC in and out get's recognized by the hardware:
> The display dims up and down, using Windows the correct state is shown
> and in Linux ACPI is getting 2 IRQs (according to /proc/interrupts).
>
Try also checking the battery module. There is (or was) a bug that
after suspend the machine would exhibit the same behavior you are
describing and a workaround was to unload the battery module before
suspend and reload it after.
> Does anyone have suggestions where to start debugging?
>
> Best regards
> Martin
>
>
>
>
>
> --
> +-[Martin Ginkel]-------------[mailto:mginkel(at)mpi-magdeburg.mpg.de]-+
> | MPI Magdeburg, Zi S2.09 Sandtorstr. 1, D-39106 Magdeburg, Germany |
> | |
> | |
> +-[tel/fax: +49 391 6110 482/529]----[http://www.mpi-magdeburg.mpg.de]-+
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&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: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
next prev parent reply other threads:[~2004-05-25 18:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-25 13:15 Wrong AC state Martin Ginkel
[not found] ` <40B346FC.9090908-VDBW1ITIq+y+DWMCimbbknqWYbMAw+HU@public.gmane.org>
2004-05-25 18:56 ` Micha Feigin [this message]
2004-05-26 22:08 ` Martin Ginkel
[not found] ` <40B5156F.5020409-jy7zG81Tlw8@public.gmane.org>
2004-05-28 11:16 ` Øystein Gisnås
2004-05-28 15:03 ` Stefan Seyfried
-- strict thread matches above, loose matches on Subject: below --
2004-05-26 22:16 Moore, Robert
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=20040525185603.GE10355@luna.mooo.com \
--to=michf-+llcf8/aw9x6aullohe+pq@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.