From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: swsusp and ac status Date: Tue, 29 Jun 2004 13:54:55 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040629115455.GC6923@elf.ucw.cz> References: <20040624195304.GE698@openzaurus.ucw.cz> <200406291150.i5TBopX9001428@fermat.unipv.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200406291150.i5TBopX9001428-xzhXYMPkGmXoPXhRcRtihA@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Daniele Boffi Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Hi! > > > I noticed that a change in the ac status is not detected after a swsusp. I > > > think this should be a known issue; is there any workaround available? > > > > Its known, and yes I have ugly workaround. > > > > > Same behavior with pm-suspend, swsusp and swsusp2. > > > > Can you try pm-suspend with powerdown mode set to "platform"? > > I did and it WORKS! > In my kernel configuration I have all acpi compiled in the kernel (no > modules). > This probably means there is something wrong with how swsusp2 handles > acpi. There's nothing wrong, just missing code to do S4 properly. pm-disk is only one that can do it right at this point. Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl! ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com