slitaz-doc-wiki-data view 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 source
1 ====== ACPI (Advanced Configuration and Power Interface) ======
3 To install the acpi daemon and modules:
4 <code>
5 # tazpkg get-install acpid
6 # tazpkg get-install linux-acpi
7 </code>
9 The acpi daemon needs to be started before dbus and hal,
10 so edit your ///etc/rcS.conf// to look like this:
11 <file>
12 RUN_DAEMONS="acpid, dbus, hald, etc..."
13 </file>
15 Or, to start manually:
16 <code>
17 # /etc/init.d/hald stop
18 # /etc/init.d/dbus stop
19 # /etc/init.d/acpid start
20 # /etc/init.d/dbus start
21 # /etc/init.d/hald start
22 </code>
24 To check it's working, just:
25 <code>
26 $ cat /proc/acpi/battery/{BAT0}/info
27 </code>
29 You can find some example scripts in ///etc/acpi//.