-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 10 Nov 2007 03:21:21 +0000 Carlos Corbacho <carlos@xxxxxxxxxxxxxxxxxxx> wrote: > Angelo, > > On Saturday 10 November 2007 01:44:48 Angelo 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 Thanks! The driver is now using sysfs. What should I do to submit the driver properly to upstream? Best regards, - -- Angelo Arrifano AKA MiKNiX CSE Student at UBI, Portugal Gentoo Linux AMD64 Arch Tester miknix@xxxxxxxxx http://miknix.homelinux.com PGP Pubkey online - - - Boys, you have ALL been selected to LEAVE th' PLANET in 15 minutes!! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHN5jONahyoD2SuwsRAnz4AKDlpmU8geaaR27s/gXX1KaE3/CFMACg4i9B 842nLwYkmvcH9FlmydSngjU= =UtSO -----END PGP SIGNATURE----- - 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