CVS commit by campbell: Added proper support for ACPI suspend/resume/hibernate - check /proc/acpi/sleep for a laptop's announced capabilities, enable the use of klaptop_acpi_helper for writing /proc/acpi/sleep to perform these transitions, check to see if the user is root, or /proc/acpi/sleep is world writeable, or klaptop_acpi_helper is setuid root before enabling anything, if it isn't provide a button that uses kdesu to set it up, create a checksum/length for klaptop_acpi_helper for each installation to warn a user if some monkey-biz is up before doing the setuid-root. Finally this checkin also includes some (untested) support for the 2.5acpi Toshiba patch that allows control of a Toshiba laptop's back panel brightness (bta testers are welcome - let me know if it works) A checkcrc.h 1.1 A makecrc.cpp 1.1 [POSSIBLY UNSAFE: printf] M +10 -2 Makefile.am 1.21 M +70 -16 acpi.cpp 1.3 [POSSIBLY UNSAFE: system] M +1 -1 acpi.h 1.2 M +49 -23 acpi_helper.cpp 1.2 [POSSIBLY UNSAFE: printf] M +10 -1 laptop_daemon.cpp 1.33 M +10 -1 main.cpp 1.18 M +181 -43 portable.cpp 1.43 [POSSIBLY UNSAFE: system,printf] M +3 -2 portable.h 1.10