Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-16 | fix log messages, from jan stary | Ted Unangst | |
2015-11-13 | apmd doesn't connect to the socket, it binds on it; tweak error message | Jeremie Courreges-Anglas | |
2015-10-11 | Userspace doesn't need to use SUN_LEN(): connect() and bind() must accept | Philip Guenther | |
sizeof(struct sockaddr_un), so do the simple, portable thing. Also convert some strncpy() to strlcpy() ok deraadt@ | |||
2015-08-28 | log battery changes every 10%, not every 21. | Ted Unangst | |
ok deraadt jung phessler | |||
2015-02-12 | add missing .Pa macros; patch from Theo Buehler <theo at math dot ethz dot ch> | Ingo Schwarze | |
2015-02-06 | Handle hibernate button in the same way as suspend does: send an | David Coppa | |
APM_USER_HIBERNATE_REQ event so apmd(8) can get it if it's running. ok mlarkin@, deraadt@, miod@ | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-12-31 | Mention previously missing '/etc/apm/hibernate' action | David Coppa | |
From Alessandro DE LAURENZIS <just22_dot_adl_at_gmail_dot_com> tweak and ok jmc@ | |||
2014-10-28 | Remove now useless defines | David Coppa | |
ok tedu@ | |||
2014-10-26 | Use socket(SOCK_CLOEXEC), open(O_CLOEXEC), and fcntl(F_DUPFD_CLOEXEC) | Philip Guenther | |
instead of calling fcntl(F_SETFD) later. ok otto@ millert@ | |||
2014-10-17 | remove -C from usage(); | Jason McIntyre | |
2014-10-17 | remove performance throttling code from here, use the kernel version | Ted Unangst | |
instead. this effectively kills -C, though the option is kept for compat. | |||
2014-09-26 | zap now unused "PERFINC" | David Coppa | |
restore original behavior of apmtimeout ok tedu@ | |||
2014-09-26 | now that mp setperf is fixed, let's try aggressive throttling again. | Ted Unangst | |
2014-09-15 | Remove non-standard <sys/dkstat.h> header. It has not contained anything | Miod Vallat | |
related to disk stastics for almost 17 years, and the remaining userland-visible defines duplicate those found in <sys/sched.h>. Move the remaining _KERNEL defines to <sys/tty.h> where they belong, and update all users to cope with this. ok kettenis@ | |||
2014-08-15 | Use O_CLOEXEC wherever we open a file and then call fcntl(F_SETFD, FD_CLOEXEC) | Philip Guenther | |
on it, simplifying error checking, reducing system calls, and improving thread-safety for libraries. ok miod@ | |||
2014-07-26 | Revert "adjust -C algorithm to be more aggressive in scaling up" for | Martin Pieuchot | |
the moment, it triggers a race that breaks suspend/resume on some machines. ok tedu@, deraadt@, jsg@ | |||
2014-07-24 | Steven Roberts sent me a patch updating the various setperf thresholds. | Ted Unangst | |
But instead of continuing to overdocument internal behavior, provide a high level description of the modes and their purpose. | |||
2014-07-22 | adjust -C algorithm to be more aggressive in scaling up. | Ted Unangst | |
works better for me, and others as well. | |||
2013-11-13 | protos, and please gcc warnings about operator precedence | Theo de Raadt | |
ok guenther | |||
2013-08-22 | Correct format string mismatches turned up by -Wformat=2 | Philip Guenther | |
suggestions and ok millert@ | |||
2013-05-19 | add some messages when entering suspend as well | Ted Unangst | |
2013-05-15 | If execing an /etc/apm/* program fails, log the failure and error message. | Philip Guenther | |
ok tedu@ kettenis@ | |||
2013-04-29 | use FD_CLOEXEC instead of 1; from David Hill | Okan Demirmen | |
ok otto | |||
2012-03-26 | Add hibernate request support. Also installs a ZZZ binary for the | Theo de Raadt | |
shortcut. ok mlarkin miod | |||
2011-04-21 | daemon() can fail; don't hide this for the user if that's the case. | Jasper Lievisse Adriaanse | |
ok otto@ | |||
2010-10-28 | wording clarification; from Jan Stary | Jason McIntyre | |
ok deraadt | |||
2010-04-02 | In automatic mode if the battery is absent go to 100% | Theo de Raadt | |
From Pawlowski Marcin Piotr ok tedu | |||
2010-03-30 | revert revision 1.53. | Owain Ainsworth | |
Now the kernel does a proper vt switch for us this hack is no longer needed. ok miod@ | |||
2010-02-28 | build for loongson; ok miod@ jasper@ matthieu@ | Otto Moerbeek | |
2009-10-22 | write UNIX-domain in a more consistent way; while here, replace a | Igor Sobrado | |
few remaining ".Tn UNIX" macros with ".Ux" ones. pointed out by ratchov@, thanks! ok jmc@ | |||
2009-10-22 | use the UNIX-related macros (.At and .Ux) where appropriate. | Igor Sobrado | |
ok jmc@ | |||
2009-08-04 | -epm are not relevant to most (any?) setups and quiet is good anyway: remove | Jason McIntyre | |
these options; thanks marc for feedback on what these options were for; ok oga deraadt | |||
2009-02-26 | Change apmd to use the new _REQ ioctls for zzz, this gives X a chance to | Owain Ainsworth | |
vt-switch internally so it's likely to actually survive the suspend. tested by beck@, sthen@. ok deraadt@ | |||
2009-02-26 | revert 1.50 and 1.51. kettenis discovered they don't let his sparcle go ↵ | Ted Unangst | |
slow enough | |||
2009-02-04 | gollo@ thought the timeouts were a little short, and indeed, they are off by ↵ | Ted Unangst | |
1000. (not much real effect, you can only sleep so short any way) | |||
2009-02-03 | the prevalence of multi-core laptops revealed that taking the cpu average is | Ted Unangst | |
a poor way to adjust performance. Even with a cpu pegged, apmd is quite slow to react. Change things to consider min idle time, not average. Mostly from a diff by Laurence Tratt | |||
2008-08-11 | Build apm(8) and apmd(8) on sparc64. | Mark Kettenis | |
pointed out by deraadt@ | |||
2007-12-05 | make description of -A and -C more consistent; | Jason McIntyre | |
help/ok tedu | |||
2007-12-05 | some minor changes in .Nd and DESCRIPTION to make this more consistent | Jason McIntyre | |
with apm(8); | |||
2007-11-24 | cope with incorrect extra arguments; from Rodolfo Gouveia | Theo de Raadt | |
2007-07-18 | Fix uninitialised variable 'sum' in single-processor idle calculation. | Ryan Thomas McBride | |
ok ckuethe, sturm | |||
2007-06-03 | the 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-31 | convert to new .Dd format; | Jason McIntyre | |
2007-04-28 | support for cpu throttling on mp systems | Nikolay Sturm | |
based on a similar diff by Simon Effenberg ok krw, gwk | |||
2007-03-29 | sync sync sync is so 1970; ok miod | Theo de Raadt | |
2006-05-16 | typo | Ian Darwin | |
2006-04-12 | do not pass uninitialized variable cpuspeed up; ok kettenis | Theo de Raadt | |
2006-03-15 | consistently use power *states* and performance *modes* | Nikolay Sturm | |
ok beck, mickey | |||
2006-03-14 | install these on amd64 | Nikolay Sturm | |
even though amd64 does not have apm support, this change permits hw.setperf manipulations via apm/apmd |