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

From: Pavel Machek
Date: Sun Dec 03 2006 - 08:12:04 EST


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.
Pavel
--
Thanks for all the (sleeping) penguins.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/