summaryrefslogtreecommitdiff
path: root/usr.sbin/apm
AgeCommit message (Collapse)Author
2010-09-19more wacky macro fixing;Jason McIntyre
2010-02-28build for loongson; ok miod@ jasper@ matthieu@Otto Moerbeek
2009-10-30when used with incorrect flags, zzz(8) should call zzusage(void)Igor Sobrado
instead of usage(void). millert@ suggested checking __progname() against "zzz" to match existing code. ok millert@
2009-10-22write UNIX-domain in a more consistent way; while here, replace aIgor Sobrado
few remaining ".Tn UNIX" macros with ".Ux" ones. pointed out by ratchov@, thanks! ok jmc@
2009-10-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado
ok jmc@
2008-08-11Build apm(8) and apmd(8) on sparc64.Mark Kettenis
pointed out by deraadt@
2007-12-05make description of -A and -C more consistent;Jason McIntyre
help/ok tedu
2007-05-31convert to new .Dd format;Jason McIntyre
2006-06-11change "apmd not running" to "cannot connect to apmd" in error messageNikolay Sturm
as it could be a permission problem as well, pr 5151 ok deraadt
2006-05-17same typo fix that ian just fixed in apmd.8;Jason McIntyre
2006-05-10fail zzz w/ a reasonable error msg if apmd is not running; found by deraadt@Michael Shalayeff
2006-04-12If /dev/apm does not respond, use a fake (pre-built) response packetTheo de Raadt
that can be printed. This makes apm(8) act the same whether talking to apmd(8) or directly to a (potentially non-functioning) /dev/apm. ok kettenis
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-03-07Clone documentation for -C and -A options from apmd(8); otherwise they lookTheo de Raadt
terribly naked in here
2006-03-06failure to connect to apmd socket -- get status from the /dev/apm directlyMichael Shalayeff
2006-02-26spacing; from ray laiJason McIntyre
ok mickey
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-02sort options and kill duplicate -C entry;Jason McIntyre
2005-12-02sync to usage in 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-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-15move the REFERENCES stuff into SEE ALSO;Jason McIntyre
2005-11-15sync usage() w/ man page;Jason McIntyre
2005-11-15sort SYNOPSIS;Jason McIntyre
2005-03-30spacingTheo de Raadt
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-29Allow an apm implementation to return -1 in the minutes_left field of theMiod Vallat
apm_power_info struct, if it has no reasonable value to provide. ok deraadt@ mickey@
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-02-21Add new apm(4) man page for zaurus based on macppc, and add zaurus toUwe Stuehler
MANSUBDIR for apm(8). ok deraadt@
2005-01-19APM emulation framework and zaurus scoop driver. Not enabled yet.Uwe Stuehler
ok drahn@, deraadt@
2003-07-30indents; jfb okTheo de Raadt
2003-06-11some ansification, some de-registerTheo de Raadt
2002-09-06put some code after default:Theo de Raadt
2002-06-09spelling; moritz@jodeit.orgTheo de Raadt
2001-11-14On macppc, print the recharge time estimate as a recharge time estimate, notMiod Vallat
a battery life estimate, when the battery is charging. Also, if the ac switched state and the life time, whatever it will be a life estimate or a recharge estimate, has been reset to zero, print it as not available.
2001-10-03build apm and apmd on macppcDale Rahn
ok miod@
2001-07-06cleanup and knfMichael Shalayeff
2001-07-05remove -d, fix manual, document -s option; mostly from Kevin Steves ↵Michael Shalayeff
<stevesk@pobox.com>
2001-07-04no you are wrong aain, get the hell off the this crusade!Michael Shalayeff
2001-07-04fix historyjasoni
2001-07-04however, this is how we do the history section, dudeMichael Shalayeff
2001-07-04apm appeared in NetBSD 1.3, not OpenBSD 1.2.jasoni
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-09-21do not hardcode -g -O2 etc. into CFLAGS; pointed out by brad@Michael Shalayeff
2000-05-18Prepare to recurse down usr.sbin to grab manpagesMarc Espie
2000-03-19Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some otherAaron Campbell
cleanup along the way.
2000-03-05Finish standardizing options list introduction.Aaron Campbell