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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All,

Yes, the patch will not help, as I realize now - the same function is
called on reads from /proc/acpi/ac/.../state file, so the problem is
somewhere else. Sorry for bothering :)

Regards.
Konstantin.
>-----Original Message-----
>From: Rafael J. Wysocki [mailto:rjw@xxxxxxx]
>Sent: Thursday, December 07, 2006 10:48 PM
>To: Karasyov, Konstantin A
>Cc: Andrey Borzenkov; linux-acpi@xxxxxxxxxxxxxxx; Lebedev, Vladimir P
>Subject: Re: 2.6.19: ACPI reports AC not present after resume from STD
>
>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
>
>
>> >-----Original Message-----
>> >From: linux-acpi-owner@xxxxxxxxxxxxxxx [mailto:linux-acpi-
>> >owner@xxxxxxxxxxxxxxx] On Behalf Of Andrey Borzenkov
>> >Sent: Sunday, December 03, 2006 7:01 PM
>> >To: Alexey Starikovskiy
>> >Cc: Pavel Machek; linux-acpi@xxxxxxxxxxxxxxx;
>> linux-kernel@xxxxxxxxxxxxxxx
>> >Subject: Re: 2.6.19: ACPI reports AC not present after resume from
STD
>> >
>> >-----BEGIN PGP SIGNED MESSAGE-----
>> >Hash: SHA1
>> >
>> >On Sunday 03 December 2006 17:35, Alexey Starikovskiy wrote:
>> >> Andrey Borzenkov wrote:
>> >> > -----BEGIN PGP SIGNED MESSAGE-----
>> >> > Hash: SHA1
>> >> >
>> >> > On Sunday 03 December 2006 16:11, Pavel Machek wrote:
>> >> >> Hi!
>> >> >>
>> >> >>> I started to notice it some time ago; I can't say exactly if
this
>> was
>> >> >>> not present in earlier versions because recently I switched
from
>> STR
>> >> >>> (which gave me no end of troubles) to STD. So I may have not
seen
>> it
>> >> >>> before.
>> >> >>>
>> >> >>> Suspend to disk while on battery. Plug in AC, resume. ACPI
>> continues
>> >to
>> >> >>> show AC adapter as not present:
>> >> >>>
>> >> >>> {pts/0}% cat /proc/acpi/ac_adapter/ADP1/state
>> >> >>> state:                   off-line
>> >> >>>
>> >> >>> replugging AC correctly changes state to on-line.
>> >> >>
>> >> >> try echo platform > /sys/power/disk.
>> >> >
>> >> > Nope.
>> >> >
>> >> > {pts/0}% pmsuspend disk
>> >> > ... after resume
>> >> > {pts/0}% cat /sys/power/disk
>> >> > platform
>> >> > {pts/0}% cat /proc/acpi/ac_adapter/ADP1/state
>> >> > state:                   off-line
>> >>
>> >> please look if patches in 7122 work  for you.
>> >
>> >No. I applied patches from comments 38 and 52 (modified, it did not
>> apply
>> >cleanly to 2.6.19). As far as I understood, those two were final.
>> >-----BEGIN PGP SIGNATURE-----
>> >Version: GnuPG v1.4.5 (GNU/Linux)
>> >
>> >iD8DBQFFcvS3R6LMutpd94wRAp9oAKCM7+6G4SsgFEGLgkW1jxM3VMQHqQCdFSDQ
>> >14w+QsgDtxWusmfdzCMOdqo=
>> >=QDyt
>> >-----END PGP SIGNATURE-----
>> >-
>> >To unsubscribe from this list: send the line "unsubscribe
linux-acpi"
>> in
>> >the body of a message to majordomo@xxxxxxxxxxxxxxx
>> >More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
>--
>If you don't have the time to read,
>you don't have the time or the tools to write.
>		- Stephen King
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux