summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apm
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Updated my e-mail addresses.hosokawa1998-02-202-4/+4
|
* Fix a couple of typos.steve1998-01-251-4/+5
| | | | | PR: 5561 Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>
* Output the estimated battery lifetime as "hh:mm:ss" along withjdp1997-11-122-6/+33
| | | | | | everything else. Add a "-t" option for outputting it in raw form. Define and document the order in which raw values are printed when more than one is requested on the command line.
* Use warn rather than warnx to report errors opening the APM device.imp1997-11-061-3/+3
| | | | Nit formatting fix
* Correct the description of the output from the "-s" option. It wasjdp1997-09-291-2/+2
| | | | backward.
* Use err(3). Typo in man page.charnier1997-09-022-25/+24
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-1/+1
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Remove an un-needed static declaration.nate1997-01-061-1/+1
|
* Re-write the driver to use getopt(), add the new display suspendnate1997-01-062-100/+121
| | | | | | function of the kernel, and other assorted misc. cleanups. Submitted by: nate & HOSOKAWA, Tatsumi <hosokawa@jp.FreeBSD.org>
OpenPOWER on IntegriCloud