Ângelo,

On Saturday 10 November 2007 01:44:48 Ângelo Miguel Arrifano wrote:
> If the laptop is turned off and a hot button is pressed, the
> computer turns on and boots. This module gets a notification from
> ACPI which button was pressed. Then the driver writes to the proc
> fs which button was pressed allowing userspace apps to read that
> files and behave accordingly. Proc files are also writable.

Please use sysfs, not proc (even if you aren't considering submitting this 
upstream) - /proc/acpi is deprecated and going away (slowly but surely).

-Carlos
-- 
E-Mail: [EMAIL PROTECTED]
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to