From: Pavel Machek Date: Sat, 15 May 2004 03:03:15 +0000 Subject: Re: Hotplug events for system suspend/resume Message-Id: <20040515030315.GB460@elf.ucw.cz> List-Id: References: <20040511010015.GA21831@dhcp193.mvista.com> <200405121216.02787.ncunningham@linuxmail.org> <40A18F94.4000607@mvista.com> <200405121359.50899.ncunningham@linuxmail.org> <40A27CB8.1010507@mvista.com> In-Reply-To: <40A27CB8.1010507@mvista.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Todd Poynor Cc: ncunningham@linuxmail.org, Greg KH , mochel@digitalimplant.org, linux-hotplug-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Hi! > Hi, my main interest is embedded platforms that may or (usually) do not > implement ACPI. Therefore, part of what I've been generally driving at > is that there may be value to adding support for these sorts of > kernel-to-userspace notifiers in the generic power layer. As I > understand it (and I might be behind the times here, please do correct > me if I'm wrong), acpid reads ACPI-specific power event notifiers, such > as button pressed, thermal limit exceeded, etc. from the kernel via > /proc, and acpid executes scripts in /etc/acpi/ to handle the event. > Some of the embedded developers I deal with have asked for similar > notifiers in a non-ACPI context. The system suspend/resume notifiers > discussed in this thread could be thought of as a general form of "sleep > button pressed" type event. (And I now realize it may have been better > to implement and pitch it as such.) Well, yes, generic "sleep button pressed" notifier is certainly better idea. For example it does not have to be synchronous. I actaully like that. Is input subsystem any good? It might be as simple as defining keys for POWER/SLEEP buttons and routing acpi events through even subsystem... Pavel -- When do you have heart between your knees? ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel