summaryrefslogtreecommitdiff
path: root/usr.sbin/apmd
AgeCommit message (Collapse)Author
2007-12-05make description of -A and -C more consistent;Jason McIntyre
help/ok tedu
2007-12-05some minor changes in .Nd and DESCRIPTION to make this more consistentJason McIntyre
with apm(8);
2007-11-24cope with incorrect extra arguments; from Rodolfo GouveiaTheo de Raadt
2007-07-18Fix uninitialised variable 'sum' in single-processor idle calculation.Ryan Thomas McBride
ok ckuethe, sturm
2007-06-03the kernel starts with setperf=100, even though the bios may have throttled.Ted Unangst
this confuses apmd, so when using auto adjust modes, first cycle through 0 and 100 to make sure we're in a known state. ok deraadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-28support for cpu throttling on mp systemsNikolay Sturm
based on a similar diff by Simon Effenberg ok krw, gwk
2007-03-29sync sync sync is so 1970; ok miodTheo de Raadt
2006-05-16typoIan Darwin
2006-04-12do not pass uninitialized variable cpuspeed up; ok kettenisTheo de Raadt
2006-03-15consistently use power *states* and performance *modes*Nikolay Sturm
ok beck, mickey
2006-03-14install these on amd64Nikolay Sturm
even though amd64 does not have apm support, this change permits hw.setperf manipulations via apm/apmd
2006-01-28be less verbose:Nikolay Sturm
- status does not provide any information, remove it - print battery status in one line ok beck, drahn, i386 tested by bernd
2006-01-19prompted by deraadt:Nikolay Sturm
manual performance mode -> low/high performance mode show cpuspeed in apm output ok beck, weingart man page bits ok jmc
2005-12-02remove trailing whitespace;Jason McIntyre
2005-12-02sync usage to man pageTheo de Raadt
2005-12-02Modify automatic performance adjustment mode so that the cpu is setBob Beck
to go fast if the power is connected and the battery is more than 15% charged, and when on batteries keeps setperf low unless needed. add a cool runnings mode option (-C) that does the previous behaviour of keeping the CPU as low as possible unless needed. ok deradt@, sturm@, "i like it's" djm@ henning@ and others.
2005-11-23do not abort if hw.setperf is not there. warn. maybe we should evenTheo de Raadt
skip that, too.
2005-11-23permit apmd to run on systems without apm supportNikolay Sturm
let apmd control hw.setperf manually or dynamically tested by Chris Kuethe and beck@, 'get it in' deraadt@
2005-11-22accidentaly lost a zero in timeout long time ago (;Michael Shalayeff
2005-11-15sync usage() w/ man page;Jason McIntyre
2005-11-15use a standard options list;Jason McIntyre
various rearrangements concerned with this; prompted by deraadt@
2005-06-14remove speaker handling code. if you really want this, use the /etc/apm/*Theo de Raadt
scripts to do it. as it is, for most people this is terribly annoying and unneccessary; toby ok
2005-06-09.Xr sysctl(8); ok jmc, deraadtXavier Santolaria
2005-05-09Do not log useless messages if the apm implementation returns -1 in theMiod Vallat
minutes_left field of the apm_power_info struct.
2005-03-29Add an apm interface to the tctrl(4) device found on SPARCbooks; currentlyMiod Vallat
limited to power change events and battery status retrieval. ok deraadt@ mickey@
2005-03-10only play with umask() for a moment -- restore afterTheo de Raadt
2005-03-01too fast little futterbly; cvs said it was before 1.2Michael Shalayeff
2005-03-01apm and apmd appeared for 2.0 not 1.2; spotted by marc@Miod Vallat
2005-01-19APM emulation framework and zaurus scoop driver. Not enabled yet.Uwe Stuehler
ok drahn@, deraadt@
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-05-21init fromlen; andrushock@korovino.netTheo de Raadt
2003-09-26avoid strdup. and, while at it, fix a file leak at sigexit time spottedTheo de Raadt
by ish
2003-06-11some ansification, some de-registerTheo de Raadt
2003-05-11comma splice.Paul Janzen
2002-09-06use more socklen_t; pvalchevTheo de Raadt
2002-07-04minor KNFTheo de Raadt
2002-06-14this group operator stuff is completely wrongTheo de Raadt
2002-05-16Since now /var/run/apmdev socket will be root:operator.Mike Pechkin
Idea from form@. millert@ ok
2002-02-22mark opened device and socket as close on exec; idea from freebsd pr/35182Michael Shalayeff
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-12daemon() can close innocent file descriptors, including opened log.Michael Shalayeff
be more carefull about that and nicer to debugging. daemon() thingie was pointed out by markus@ .
2001-12-09i like it this way betterMichael Shalayeff
2001-12-09*** empty log message ***Miod Vallat
2001-11-14On macppc, when the battery is charging, the life time estimatation is in factMiod Vallat
the recharge time estimation. So there is no need to annoy the user if this value is <= 10 minute, since no surprise powerdown is about to happen. ok drahn@ mickey@
2001-11-14indentTheo de Raadt
2001-10-03build apm and apmd on macppcDale Rahn
ok miod@
2001-08-17changes for new kqueue iface, make sure to make includes firstMichael Shalayeff
2001-07-18reference 1.2 specsMichael Shalayeff
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt