summaryrefslogtreecommitdiff
path: root/usr.sbin/apmd
AgeCommit message (Expand)Author
2016-09-03Retire zaurus, as it hasn't made the EABI jump and will be permanently brokenPhilip Guenther
2016-09-01remove sparcTed Unangst
2015-11-16fix log messages, from jan staryTed Unangst
2015-11-13apmd doesn't connect to the socket, it binds on it; tweak error messageJeremie Courreges-Anglas
2015-10-11Userspace doesn't need to use SUN_LEN(): connect() and bind() must acceptPhilip Guenther
2015-08-28log battery changes every 10%, not every 21.Ted Unangst
2015-02-12add missing .Pa macros; patch from Theo Buehler <theo at math dot ethz dot ch>Ingo Schwarze
2015-02-06Handle hibernate button in the same way as suspend does: send anDavid Coppa
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-31Mention previously missing '/etc/apm/hibernate' actionDavid Coppa
2014-10-28Remove now useless definesDavid Coppa
2014-10-26Use socket(SOCK_CLOEXEC), open(O_CLOEXEC), and fcntl(F_DUPFD_CLOEXEC)Philip Guenther
2014-10-17remove -C from usage();Jason McIntyre
2014-10-17remove performance throttling code from here, use the kernel versionTed Unangst
2014-09-26zap now unused "PERFINC"David Coppa
2014-09-26now that mp setperf is fixed, let's try aggressive throttling again.Ted Unangst
2014-09-15Remove non-standard <sys/dkstat.h> header. It has not contained anythingMiod Vallat
2014-08-15Use O_CLOEXEC wherever we open a file and then call fcntl(F_SETFD, FD_CLOEXEC)Philip Guenther
2014-07-26Revert "adjust -C algorithm to be more aggressive in scaling up" forMartin Pieuchot
2014-07-24Steven Roberts sent me a patch updating the various setperf thresholds.Ted Unangst
2014-07-22adjust -C algorithm to be more aggressive in scaling up.Ted Unangst
2013-11-13protos, and please gcc warnings about operator precedenceTheo de Raadt
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
2013-05-19add some messages when entering suspend as wellTed Unangst
2013-05-15If execing an /etc/apm/* program fails, log the failure and error message.Philip Guenther
2013-04-29use FD_CLOEXEC instead of 1; from David HillOkan Demirmen
2012-03-26Add hibernate request support. Also installs a ZZZ binary for theTheo de Raadt
2011-04-21daemon() can fail; don't hide this for the user if that's the case.Jasper Lievisse Adriaanse
2010-10-28wording clarification; from Jan StaryJason McIntyre
2010-04-02In automatic mode if the battery is absent go to 100%Theo de Raadt
2010-03-30revert revision 1.53.Owain Ainsworth
2010-02-28build for loongson; ok miod@ jasper@ matthieu@Otto Moerbeek
2009-10-22write UNIX-domain in a more consistent way; while here, replace aIgor Sobrado
2009-10-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado
2009-08-04-epm are not relevant to most (any?) setups and quiet is good anyway: removeJason McIntyre
2009-02-26Change apmd to use the new _REQ ioctls for zzz, this gives X a chance toOwain Ainsworth
2009-02-26revert 1.50 and 1.51. kettenis discovered they don't let his sparcle go slow...Ted Unangst
2009-02-04gollo@ thought the timeouts were a little short, and indeed, they are off by ...Ted Unangst
2009-02-03the prevalence of multi-core laptops revealed that taking the cpu average isTed Unangst
2008-08-11Build apm(8) and apmd(8) on sparc64.Mark Kettenis
2007-12-05make description of -A and -C more consistent;Jason McIntyre
2007-12-05some minor changes in .Nd and DESCRIPTION to make this more consistentJason McIntyre
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
2007-06-03the kernel starts with setperf=100, even though the bios may have throttled.Ted Unangst
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-28support for cpu throttling on mp systemsNikolay Sturm
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