Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198822 - Update to Power Management Guide is needed (Code Listing 2.6 is wrong)
Summary: Update to Power Management Guide is needed (Code Listing 2.6 is wrong)
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/power-ma...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-11 16:06 UTC by Alexander Zimmerling
Modified: 2007-12-03 19:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Zimmerling 2007-11-11 16:06:24 UTC
I followed the guide. Codesnipped listed under 2.6 is wrong and returns an error. Code should be:

tail -f /var/log/messages | grep "received event"

instead of:

tail -f /var/log/acpid | grep "received event"


I found an entry in one of the logfiles:

/var/log/portage/elog/summary.log:As of version 1.0.6, acpid uses system log facility instead of custom log
/var/log/portage/elog/summary.log:file. This means acpid messages will be usually located in 
/var/log/portage/elog/summary.log:/var/log/messages (and not in /var/log/acpid) for common setups.

The guide needs to be updated!

Reproducible: Always

Steps to Reproduce:
Comment 1 Alexander Zimmerling 2007-11-12 19:59:43 UTC
Code Listing 2.6 (Determining ACPI events for changing the power source) is wrong
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2007-12-03 19:31:20 UTC
Fixed in CVS. Thanks for reporting!