Re: *NEW* ACPI driver to support App Hot Startup AKA PNP0C32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Â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: carlos@xxxxxxxxxxxxxxxxxxx
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux