Re: 2.6.19: ACPI reports AC not present after resume from STD

Andrey Borzenkov
2007-02-24T09:55:01Z

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Вторник 13 февраля 2007, Andrey Borzenkov wrote:
> On Четверг 07 декабря 2006, Lebedev, Vladimir P wrote:
> > Please register new bug, attach acpidump and dmesg.
>
> http://bugzilla.kernel.org/show_bug.cgi?id=7995
>
> regards
>

Well, this starts looking like ACPI is not at fault.

When reporting AC state ACPI just reads contents of system memory (I presume
it gets updated by BIOS/ACPI when AC state changes). It looks like this
memory area is restored during resume from STD. I updated mentioned bug
report with more detailed description. Now if someone could suggest a way to
catch if specific physical address gets saved/restored this would finally
explain it.

Gratefully waiting for patches to test :)

- -andrey

> > -----Original Message-----
> > From: Alexey Starikovskiy [mailto:alexey.y.starikovskiy@linux.intel.com]
> >
> > Sent: Thursday, December 07, 2006 10:49 PM
> > To: Rafael J. Wysocki
> > Cc: Karasyov, Konstantin A; Andrey Borzenkov;
> > linux-acpi@vger.kernel.org; Lebedev, Vladimir P
> > Subject: Re: 2.6.19: ACPI reports AC not present after resume from STD
> >
> > Rafael J. Wysocki wrote:
> > > Hi,
> > >
> > > On Thursday, 7 December 2006 19:57, Karasyov, Konstantin A wrote:
> > >> Hi,
> > >>
> > >> Unfortunately, I cannot reproduce this bug on my system, but the
> >
> > problem
> >
> > >> could be solved by adding a resume handler for AC adapter device.
> >
> > Could
> >
> > >> you try the attached patch to see if it helps.
> > >
> > > I can reproduce it and the patch doesn't help.
> > >
> > > Greetings,
> > > Rafael
> >
> > Any ACPI errors in dmesg?
> >
> > Regards,
> > Alex.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFF4At2R6LMutpd94wRAnZGAJ9bGd98+gzCDfhIaFctH2u99M2uqQCfUzNz
7RqieTu7v4Z83jjeY79vnMw=
=GQZ6
-----END PGP SIGNATURE-----
_______________________________________________
linux-pm mailing list
linux-pm@lists.osdl.org