From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [linux-pm] [PATCH 3/6] [-mm]: ACPI: duplicate ACPI sleep "alarm" attribute in sysfs Date: Sun, 7 Jan 2007 11:19:00 +0000 Message-ID: <20070107111859.GB4792@ucw.cz> References: <1168083318.5619.37.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1168083318.5619.37.camel@localhost.localdomain> Sender: linux-acpi-owner@vger.kernel.org To: Zhang Rui Cc: lenb@kernel.org, "linux-acpi@vger" , linux-pm@osdl.org List-Id: linux-pm@vger.kernel.org Hi! > Create /sys/power/alarm. > The way it works is exactly the same as /proc/acpi/alarm. > I.e. "#echo yyyy-mm-dd hh-mm-ss >/sys/power/alarm" supports existing absolute time. > And "#echo +yyyy-mm-dd hh-mm-ss >/sys/power/alarm" supports a duration. NAK. /proc/acpi/alarm is a mess, and this just moves it to /sysfs. 'One value per file', please. Pavel -- Thanks for all the (sleeping) penguins.