slitaz-doc-wiki-data diff pages/en/guides/powermgmt.txt @ rev 7
Add pages/en folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 26 12:17:18 2011 +0000 (2011-02-26) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pages/en/guides/powermgmt.txt Sat Feb 26 12:17:18 2011 +0000 1.3 @@ -0,0 +1,40 @@ 1.4 +====== ACPI (Advanced Configuration and Power Interface) ====== 1.5 + 1.6 +To install the acpi daemon and modules: 1.7 +<code> 1.8 +# tazpkg get-install acpid 1.9 +# tazpkg get-install linux-acpi 1.10 +</code> 1.11 + 1.12 +The acpi daemon needs to be started before dbus and hal, 1.13 +so edit your ///etc/rcS.conf// to look like this: 1.14 +<file> 1.15 +RUN_DAEMONS="acpid, dbus, hald, etc..." 1.16 +</file> 1.17 + 1.18 +Or, to start manually: 1.19 +<code> 1.20 +# /etc/init.d/hald stop 1.21 +# /etc/init.d/dbus stop 1.22 +# /etc/init.d/acpid start 1.23 +# /etc/init.d/dbus start 1.24 +# /etc/init.d/hald start 1.25 +</code> 1.26 + 1.27 +To check it's working, just: 1.28 +<code> 1.29 +$ cat /proc/acpi/battery/{BAT0}/info 1.30 +</code> 1.31 + 1.32 +You can find some example scripts in ///etc/acpi//. 1.33 + 1.34 + 1.35 + 1.36 + 1.37 + 1.38 + 1.39 + 1.40 + 1.41 + 1.42 + 1.43 +