From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ducrot Bruno Subject: Re: how to get Fn key working on compaq 2100/2110 Date: Thu, 26 Jun 2003 12:33:02 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20030626103302.GQ19556@poupinou.org> References: <20030623092026.GS19556@poupinou.org> <001701c33a7b$a89ff6f0$3201a8c0@pamlab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <001701c33a7b$a89ff6f0$3201a8c0-HrsG2tOhabjQT0dZR+AlfA@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: David Cougle Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Tue, Jun 24, 2003 at 01:08:48PM -0500, David Cougle wrote: > Is this to say that with 2.5/2.6 my Compaq 2100/2110 will bypass kernel > and suspend to ram? How do I see if it supports that? I am running > acpid. > acpid will only do (amongst other thinks like perhaps unloading modules, etc.) echo -n 3 > /proc/acpi/sleep when it detect the correct event via /proc/acpi/event via an external script if you press the sleep button. You still have to write the shell script called by acpid, if none are already done, or if the distributor have not provided one. Some people may want to replace the echo stuff via for example a '/sbin/shutdown -h now' For your second question, you first have to shutdown acpid. Then do a cat /proc/acpi/event By pressing the power button, or the sleep button, etc., you should see those events. acpid will do exactly the same, just that when it look those events, it will take appropriate actions by calling external scripts. Cheers, -- Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php