Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
en:guides:powermgmt [2010/06/15 00:07] linea Add tiny acpid section |
en:guides:powermgmt [2011/01/15 19:32] (current) kultex |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| The acpi daemon needs to be started before dbus and hal, | The acpi daemon needs to be started before dbus and hal, | ||
| so edit your ///etc/rcS.conf// to look like this: | so edit your ///etc/rcS.conf// to look like this: | ||
| - | <code> | + | <file> |
| RUN_DAEMONS="acpid, dbus, hald, etc..." | RUN_DAEMONS="acpid, dbus, hald, etc..." | ||
| - | </code> | + | </file> |
| Or, to start manually: | Or, to start manually: | ||
| <code> | <code> | ||
| - | # etc/init.d/hald stop | + | # /etc/init.d/hald stop |
| - | # etc/init.d/dbus stop | + | # /etc/init.d/dbus stop |
| - | # etc/init.d/acpid start | + | # /etc/init.d/acpid start |
| - | # etc/init.d/dbus start | + | # /etc/init.d/dbus start |
| - | # etc/init.d/hald start | + | # /etc/init.d/hald start |
| </code> | </code> | ||
| To check it's working, just: | To check it's working, just: | ||
| <code> | <code> | ||
| - | # cat /proc/acpi/battery/{BAT0}/info | + | $ cat /proc/acpi/battery/{BAT0}/info |
| </code> | </code> | ||
| - | You will find some example scripts in ///etc/acpi// | + | You can find some example scripts in ///etc/acpi//. |