From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nigel Cunningham Subject: Re: [Swsusp-devel] ACPI A/C adaptor status not updated upon resume Date: Fri, 18 Jul 2003 08:19:42 +1200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <1058473181.3298.28.camel@laptop-linux> References: <200307171306.47853.EricAltendorf@orst.edu> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-reply-to: <200307171306.47853.EricAltendorf-gZ4DH+Stb0k@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: EricAltendorf-gZ4DH+Stb0k@public.gmane.org Cc: swsusp-devel , ACPI List List-Id: linux-acpi@vger.kernel.org That's ACPI, not swsusp - it must be toggling the state based on events, not actually detecting it. Regards, Nigel On Fri, 2003-07-18 at 08:06, Eric Altendorf wrote: > I'm still running an old version swsusp so I apologize if this has > already been addressed, but I figured I'd just make mention of it. > > If the laptop is resumed with a different A/C adaptor state (online > vs. offline) than when it was suspended, the /proc entry is incorrect > upon resume. E.g., plug laptop in, suspend, unplug laptop, resume, > /proc/acpi/ac_adapter/ADP1/state reports still online until a > subsequent plug/unplug event. > > Eric > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > swsusp-devel mailing list > swsusp-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/swsusp-devel -- Nigel Cunningham 495 St Georges Road South, Hastings 4201, New Zealand You see, at just the right time, when we were still powerless, Christ died for the ungodly. -- Romans 5:6, NIV. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0