summaryrefslogtreecommitdiff
path: root/usr.sbin/apmd
AgeCommit message (Collapse)Author
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
2001-07-07cleanup and knf, some are from Kevin Steves <stevesk@pobox.com>Michael Shalayeff
2001-07-05order the optionsMichael Shalayeff
2001-07-04no you are wrong aain, get the hell off the this crusade!Michael Shalayeff
2001-07-04fix historyjasoni
2001-03-23ac on/off hooks; from angelos@Michael Shalayeff
2001-03-22backing out undiscussed changes outside your areaTheo de Raadt
2001-03-22Power status change after resume only if it really changed.Angelos D. Keromytis
2001-03-22Document.Angelos D. Keromytis
2001-03-22Emulate a powerup/powerdown when resuming.Angelos D. Keromytis
2001-03-22Introduce powerup/powerdown actions, when power status changes (ACAngelos D. Keromytis
connected/disconnected).
2001-03-09exit(-#) is wrongTheo de Raadt
2001-01-16use _exit() in signal handlerTheo de Raadt
2000-10-06use dynamic fd_set to avoid overflowTheo de Raadt
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.
1999-06-05remove trailing whitespace, some Nm cleanupAaron Campbell
1999-06-04quiet gccTheo de Raadt
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1999-02-23document power status messages supressed until theMarco S Hyman
battery life falls below machdep.apmwarn
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-08usr.sbin/ man page repairs, a-iAaron Campbell