ume
a1222ebd62
Add output of per battery information to apm(1).
...
New ioctl APMIO_GETPWSTATUS is introduced.
Reviewed by: -mobile and -current folks (no objection)
2000-08-13 17:05:27 +00:00
ume
17683eabfa
If caller have privilege to r/w access to /dev/apm, show the
...
info about resume timer and resume on ring indicator, again.
Reviewed by: imp
2000-08-04 20:57:31 +00:00
nsayer
858f609b5f
apm -d also needs a writable file descriptor.
2000-07-23 04:49:43 +00:00
imp
e70030b4a4
When we're just reading info from the driver, attempt to open the apm
...
device read only so we can suppot a readonly apm device.
2000-07-19 06:34:02 +00:00
sheldonh
840cf958b8
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 14:09:25 +00:00
bde
7a4fd84f4b
Fixed breakage of installation of zzz.8 in previous commit. MLINKS
...
consists of pairs of link names.
2000-01-25 08:39:15 +00:00
asmodai
7c171a35e3
Add MLINK for apmconf(8).
...
Suggested by: msmith
2000-01-23 10:00:05 +00:00
asmodai
4940985994
Reflect that apmconf(8) has been absorbed by apm(8).
...
Suggested by: msmith
2000-01-23 09:59:31 +00:00
asmodai
4a08cf2a5e
Import the apmconf function descriptions as per modified patch
...
from green.
2000-01-22 18:28:23 +00:00
green
4fd49a6687
Cleanups, new options, and syntax changes w.r.t. the -e fiag I had just
...
added. This completes the addition of apmconf(8) features into apm(8),
and will be followed shortly by asmodai with a manpage commit.
2000-01-22 18:11:58 +00:00
green
90905d0adb
Add the apm -e argument, which will toggle the "enabled" status of APM.
2000-01-16 20:25:57 +00:00
peter
b6784c4210
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
iwasaki
e46d28f8ce
Change to continue process after calling `Get Resume TImer' APM
...
BIOS function (supported in v1.2) on older BIOS version (v1.1 or 1.0).
Reviewed by: -mobile ML folks.
1999-08-14 18:45:19 +00:00
msmith
d8dd51992c
Reenable use of the APMIO_BIOS ioctl for now.
1999-07-30 19:35:21 +00:00
msmith
c8cc0a4d8e
Erk, more APMIO_BIOS stuff I missed. Temporarily disable the resume timer
...
support until I can implement it as an ioctl proper.
Submitted by: N.Dudorov <nnd@mail.nsk.ru>
1999-07-30 16:15:11 +00:00
green
ba609e7eff
Make bcd2int work (resume time reporting now works.)
...
PR: 12613
Submitted by: Michael Constant <mconst@not.there.com>
1999-07-20 15:37:28 +00:00
green
4b2dc69309
Make wall_cmos do something.
...
PR: 12614
1999-07-20 15:31:23 +00:00
nik
7effc709bc
Add $Id$, to make it simpler for members of the translation teams to
...
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
1999-07-12 20:12:29 +00:00
imp
a72d9deb16
o Enable standby mode in apm utility. You need a newer kernel for this
...
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.
1998-09-04 16:08:54 +00:00
charnier
c94dce23b1
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 08:31:20 +00:00
hosokawa
93901250ca
Updated my e-mail addresses.
1998-02-20 07:17:48 +00:00
steve
e5db1136a3
Fix a couple of typos.
...
PR: 5561
Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>
1998-01-25 16:22:22 +00:00
jdp
ae5b8b68ef
Output the estimated battery lifetime as "hh:mm:ss" along with
...
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.
1997-11-12 04:16:23 +00:00
imp
8d81e14f9f
Use warn rather than warnx to report errors opening the APM device.
...
Nit formatting fix
1997-11-06 23:55:38 +00:00
jdp
5e98e0bf4c
Correct the description of the output from the "-s" option. It was
...
backward.
1997-09-29 17:43:11 +00:00
charnier
6039519c78
Use err(3). Typo in man page.
1997-09-02 06:36:39 +00:00
imp
15c4d207bc
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-31 05:11:47 +00:00
peter
32d6b795de
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
jkh
9c0cd3f9df
Make the long-awaited change from $Id$ to $FreeBSD$
...
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.
1997-01-14 07:20:47 +00:00
nate
817e759560
Remove an un-needed static declaration.
1997-01-06 06:09:13 +00:00
nate
54b49f1564
Re-write the driver to use getopt(), add the new display suspend
...
function of the kernel, and other assorted misc. cleanups.
Submitted by: nate & HOSOKAWA, Tatsumi <hosokawa@jp.FreeBSD.org>
1997-01-06 06:04:42 +00:00
wosch
5a29788e20
delete MANDIR=/usr/share/man/man,
...
it breaks `env MANDIR=<dir> make maninstall'
1996-05-21 18:09:11 +00:00
nate
1ca30eaa62
Open up /dev/apm instead of /dev/apm0.
1996-03-18 20:34:29 +00:00
nate
16f7ca5510
Add the '-s' flag to apm which returns the status of the APM support
...
(enable/disabled) now that the APM_GETINFO ioctl returns the necessary
information. Also, print out the status along with the other
information as the default behavior.
1996-03-13 00:48:06 +00:00
rgrimes
5a145b5eb1
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
phk
fc71b2da73
make the right link to "zzz"
1994-11-02 07:20:58 +00:00
phk
5d11cbac30
Fixed a #include to point to machine/apm_bios.h
1994-11-02 04:54:30 +00:00
phk
a5026db375
The latest user-land changes from the author. I added a big warning to the
...
apm.4 man-page. I also hope the Makefiles make sense now.
Submitted by: HOSOKAWA Tatsumi
1994-11-01 22:46:40 +00:00
phk
8492811bd3
Stop "make install" from falling over if DESTDIR is defined.
1994-10-15 07:45:45 +00:00
dg
da25cafb51
Laptop Advanced Power Management support (userland end) by HOSOKAWA Tatsumi.
...
Submitted by: HOSOKAWA Tatsumi
1994-10-01 03:23:33 +00:00