summaryrefslogtreecommitdiffstats
path: root/usr.sbin/powerd/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Convert usr.sbin to LIBADDbapt2014-11-251-2/+1
| | | | Reduce overlinking
* Since APM is a legacy technology, that won't be adapted to otherimp2010-02-041-4/+0
| | | | | platforms, move the test for i386 from the Makefile to powerd.c. The powerpc specific checks are already done this way...
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-1/+0
|
* Don't use threads when there's no real reason to.des2006-01-031-1/+4
| | | | MFC after: 2 weeks
* Use a pipe for reading devd events as another method of getting the AC linenjl2005-10-191-0/+1
| | | | | | | | | | | | status. Add a thread that waits for events on the named pipe instead of polling the line status via apm or the ACPI sysctl. Additionally, use robust error handling in case devd goes away or we temporarily can't set a frequency (i.e., passive cooling has preempted our setting). Later, this should be improved so that if adaptive control is not being used, we will block while waiting for AC line events, saving a little CPU. Submitted by: Frederik Lindberg <fli+freebsd-current/shapeshifter.se>
* Add '-P' option which allows to specify pidfile.pjd2005-08-241-0/+3
|
* Remove SRCS line since it isn't needed for single-source programs.njl2005-02-261-1/+0
| | | | Pointed out by: ru
* Import powerd(8), a utility for managing power consumption. Currently, itnjl2005-02-261-0/+8
just uses cpufreq(4) but in the future it should also do things like spin down disks. This is based on the work by Colin Percival (called "estctrl").
OpenPOWER on IntegriCloud