summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apm
Commit message (Collapse)AuthorAgeFilesLines
* Make apm(8) understand AC Line state 2 as "backup power".will2005-05-302-4/+6
| | | | Submitted by: liamfoy@sepulcrum.org
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Sort sections.ru2005-01-181-11/+11
|
* o Remove duplicate includes.maxim2005-01-011-2/+0
| | | | | | PR: bin/75712 Submitted by: brueffer Obtained from: Dragonfly BSD
* Mechanically kill hard sentence breaks.ru2004-07-021-9/+18
|
* Fix to not use 255, but instead use APM_UNKNOWN.imp2004-06-301-9/+9
| | | | | | | Compare things correctly against -1 or 0 Don't print any capabilities if unknown is returned from the kernel. Reviewed/Submitted by: njl, Liam Foy
* Remove a duplicated printf().mux2004-06-301-1/+0
| | | | Submitted by: Niki Denev <nike_d@cytexbg.com>
* Tabs were accidentally lost in the last commit.mux2004-06-161-0/+3
| | | | Submitted by: Liam J. Foy <liamfoy@sepulcrum.org>
* Factor out some duplicated code and fix some style(9) issues.mux2004-06-141-69/+62
| | | | Submitted by: Liam J. Foy <liamfoy@sepulcrum.org>
* Check for >= 255 since sign extension from byte to u_int sometimes makesnjl2004-05-272-43/+40
| | | | | | | | the value for "unknown" 0xffffffff. The underlying kernel drivers should be updated to only return 255 but the ABI is used by too many userland utilities. Also, make this WARNS 6 compatible.
* Mark APM manpages as i386-only.ru2004-01-212-1/+2
|
* Remove the zzz files since they have been moved to src/usr.sbin/zzznjl2003-07-143-100/+1
|
* Change zzz to be a shell script that checks for APM or ACPI support andnjl2003-07-143-3/+101
| | | | | | suspends the system appropriately. Submitted by: Mark Santcroos <marks@ripe.net>
* If mktime() or timegm() return -1, print out the resume timer value asrwatson2003-07-131-3/+6
| | | | "unknown", rather than a conversion of -1 to a date/timestamp.
* Assorted mdoc(7) fixes.ru2003-05-221-1/+1
| | | | Approved by: re (blanket)
* The -t flag in the retired apmconf.8 is the same as "-h false" in thetobez2003-05-011-1/+1
| | | | | apm.8. Since the -t flag in the apm.8 is something different entirely, the reference to -t was quite confusing. Fix that.
* Fix a typo: "Managment" -> "Management".maxim2003-04-241-1/+1
| | | | | | PR: bin/47343 Submitted by: Jeremy C. Reed <reed@reedmedia.net> MFC after: 4 days
* style.Makefile(5)obrien2003-04-041-4/+4
|
* mdoc(7) police: Deal with self-xrefs.ru2002-12-241-2/+2
|
* Add missing .Nm. Add FBSDID. fprintf -> warnx. Lowercase first letter insidecharnier2002-10-152-9/+8
| | | | err().
* Remove extra args to printfimp2002-08-251-2/+2
| | | | | | use Capabilities rather than Capacities. Submitted by: kkenn
* Don't dump all information about apm when only asked to enable/disable apmsobomax2002-07-261-0/+2
| | | | | | | functions (-e and -h switches). This should make apm(8) self-consistent, as for example -d enable|disable doesn't dump such info. MFC after: 5 days
* The .Nm utilitycharnier2002-07-141-3/+6
|
* Minor grammar fix:keramida2002-03-081-1/+1
| | | | s/will be resume/will be resumed/
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-101-2/+1
|
* Remove whitespace at EOL.dd2001-07-151-15/+15
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-7/+7
|
* Add missing "delta" argument to description headline of "apm" -r optionrse2000-11-121-1/+1
| | | | to be consistent with descriptions of other options which take arguments.
* Add output of per battery information to apm(1).ume2000-08-131-1/+53
| | | | | | New ioctl APMIO_GETPWSTATUS is introduced. Reviewed by: -mobile and -current folks (no objection)
* If caller have privilege to r/w access to /dev/apm, show theume2000-08-041-58/+65
| | | | | | info about resume timer and resume on ring indicator, again. Reviewed by: imp
* apm -d also needs a writable file descriptor.nsayer2000-07-231-1/+1
|
* When we're just reading info from the driver, attempt to open the apmimp2000-07-191-1/+4
| | | | device read only so we can suppot a readonly apm device.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Fixed breakage of installation of zzz.8 in previous commit. MLINKSbde2000-01-251-1/+1
| | | | consists of pairs of link names.
* Add MLINK for apmconf(8).asmodai2000-01-231-1/+1
| | | | Suggested by: msmith
* Reflect that apmconf(8) has been absorbed by apm(8).asmodai2000-01-231-0/+7
| | | | Suggested by: msmith
* Import the apmconf function descriptions as per modified patchasmodai2000-01-221-14/+28
| | | | from green.
* Cleanups, new options, and syntax changes w.r.t. the -e fiag I had justgreen2000-01-221-39/+75
| | | | | added. This completes the addition of apmconf(8) features into apm(8), and will be followed shortly by asmodai with a manpage commit.
* Add the apm -e argument, which will toggle the "enabled" status of APM.green2000-01-162-3/+21
|
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Change to continue process after calling `Get Resume TImer' APMiwasaki1999-08-141-2/+2
| | | | | | BIOS function (supported in v1.2) on older BIOS version (v1.1 or 1.0). Reviewed by: -mobile ML folks.
* Reenable use of the APMIO_BIOS ioctl for now.msmith1999-07-301-7/+1
|
* Erk, more APMIO_BIOS stuff I missed. Temporarily disable the resume timermsmith1999-07-301-2/+7
| | | | | | support until I can implement it as an ioctl proper. Submitted by: N.Dudorov <nnd@mail.nsk.ru>
* Make bcd2int work (resume time reporting now works.)green1999-07-201-3/+5
| | | | | PR: 12613 Submitted by: Michael Constant <mconst@not.there.com>
* Make wall_cmos do something.green1999-07-201-4/+13
| | | | PR: 12614
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+3
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* o Enable standby mode in apm utility. You need a newer kernel for thisimp1998-09-042-11/+203
| | | | | | | | | | | | | | | | functionality to work (however, the kernel changes were committed to current at 1998/07/05 23:29:11 PDT). o Enable setting of a timer for later wakeup. Note, not all APM BIOSes support this for all modes (mine doesn't support waking up on a timer from standby mode). o Print out the APM capabilities, as reported by the BIOS. o Report wake on ring indication. No way to enable/disable this, but it is reported. o update man page with above o The output of this command has changed, so if you have a script that parses its output, then you may need to rewrite it slightly. o The code attempts to deal with older kernels than July 5, 1998, but that part of the code isn't well tested.
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-2/+2
|
OpenPOWER on IntegriCloud