From: Pavel Machek Subject: Re: bug in acpid scripts Date: Wed, 11 Aug 2004 15:40:47 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040811134046.GB1120@openzaurus.ucw.cz> References: <20040723193658.GA3331@omocha.vort.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20040723193658.GA3331-5z3TbH0F9hyr8sbHwu5NIg@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Russell Neches Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Hi! > Tossing an "exit" at the beginning of powerbtn.sh fixes the problem > (with an obvious trade-ff), and my laptop suspends and resumes > perfectly. Well, almost perfectly -- I have to unload ohci_hcd before > shutting down, and I have to figure out how to get wireless working > after resume, but those are separate issues. > > Is there a sensible way to tell if the system is coming off of S3? I > imagine I could do something like this to get into S3; I guess that kernel should not send that event to userspace... Fix the kernel. Pavel -- 64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285