#
1d386b48 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
6f344d60 |
|
06-Nov-2011 |
Ed Schouten <ed@FreeBSD.org> |
Mark global functions and/or variables in apm(8) static where possible. This allows compilers and static analyzers to do more thorough analysis.
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
e7b5f4d9 |
|
19-May-2010 |
Ulrich Spörlein <uqs@FreeBSD.org> |
Garbage collect unused variable, missed in r200840 Found by: clang static analyzer
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
a13f3190 |
|
22-Dec-2009 |
Ruslan Ermilov <ru@FreeBSD.org> |
apm(8) is no longer linked to zzz(8), catch up. (Fixes "zzz" clash in the whatis(1) database.)
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
b3d2f94e |
|
30-May-2005 |
Will Andrews <will@FreeBSD.org> |
Make apm(8) understand AC Line state 2 as "backup power". Submitted by: liamfoy@sepulcrum.org
|
#
74d8001c |
|
01-Jan-2005 |
Maxim Konovalov <maxim@FreeBSD.org> |
o Remove duplicate includes. PR: bin/75712 Submitted by: brueffer Obtained from: Dragonfly BSD
|
#
6084486f |
|
30-Jun-2004 |
Warner Losh <imp@FreeBSD.org> |
Fix to not use 255, but instead use APM_UNKNOWN. 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
|
#
55388cdd |
|
30-Jun-2004 |
Maxime Henrion <mux@FreeBSD.org> |
Remove a duplicated printf(). Submitted by: Niki Denev <nike_d@cytexbg.com>
|
#
e15b31bb |
|
16-Jun-2004 |
Maxime Henrion <mux@FreeBSD.org> |
Tabs were accidentally lost in the last commit. Submitted by: Liam J. Foy <liamfoy@sepulcrum.org>
|
#
f4732084 |
|
14-Jun-2004 |
Maxime Henrion <mux@FreeBSD.org> |
Factor out some duplicated code and fix some style(9) issues. Submitted by: Liam J. Foy <liamfoy@sepulcrum.org>
|
#
a607c5e4 |
|
27-May-2004 |
Nate Lawson <njl@FreeBSD.org> |
Check for >= 255 since sign extension from byte to u_int sometimes makes 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.
|
#
bc8aff44 |
|
13-Jul-2003 |
Robert Watson <rwatson@FreeBSD.org> |
If mktime() or timegm() return -1, print out the resume timer value as "unknown", rather than a conversion of -1 to a date/timestamp.
|
#
936690eb |
|
24-Apr-2003 |
Maxim Konovalov <maxim@FreeBSD.org> |
Fix a typo: "Managment" -> "Management". PR: bin/47343 Submitted by: Jeremy C. Reed <reed@reedmedia.net> MFC after: 4 days
|
#
4cdb6a34 |
|
15-Oct-2002 |
Philippe Charnier <charnier@FreeBSD.org> |
Add missing .Nm. Add FBSDID. fprintf -> warnx. Lowercase first letter inside err().
|
#
ca551bcd |
|
25-Aug-2002 |
Warner Losh <imp@FreeBSD.org> |
Remove extra args to printf use Capabilities rather than Capacities. Submitted by: kkenn
|
#
c7daa47b |
|
26-Jul-2002 |
Maxim Sobolev <sobomax@FreeBSD.org> |
Don't dump all information about apm when only asked to enable/disable apm 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
|
#
8ad6d022 |
|
13-Aug-2000 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
Add output of per battery information to apm(1). New ioctl APMIO_GETPWSTATUS is introduced. Reviewed by: -mobile and -current folks (no objection)
|
#
7e3809fd |
|
04-Aug-2000 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
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
|
#
a19fdb8f |
|
22-Jul-2000 |
Nick Sayer <nsayer@FreeBSD.org> |
apm -d also needs a writable file descriptor.
|
#
ad5536b5 |
|
19-Jul-2000 |
Warner Losh <imp@FreeBSD.org> |
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.
|
#
295e0cda |
|
22-Jan-2000 |
Brian Feldman <green@FreeBSD.org> |
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.
|
#
701eaeb3 |
|
16-Jan-2000 |
Brian Feldman <green@FreeBSD.org> |
Add the apm -e argument, which will toggle the "enabled" status of APM.
|
#
97d92980 |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
77540b54 |
|
14-Aug-1999 |
Mitsuru IWASAKI <iwasaki@FreeBSD.org> |
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.
|
#
0f1331a8 |
|
30-Jul-1999 |
Mike Smith <msmith@FreeBSD.org> |
Reenable use of the APMIO_BIOS ioctl for now.
|
#
0f8db20b |
|
30-Jul-1999 |
Mike Smith <msmith@FreeBSD.org> |
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>
|
#
e50479cc |
|
20-Jul-1999 |
Brian Feldman <green@FreeBSD.org> |
Make bcd2int work (resume time reporting now works.) PR: 12613 Submitted by: Michael Constant <mconst@not.there.com>
|
#
94c8c4fb |
|
20-Jul-1999 |
Brian Feldman <green@FreeBSD.org> |
Make wall_cmos do something. PR: 12614
|
#
94d1a201 |
|
04-Sep-1998 |
Warner Losh <imp@FreeBSD.org> |
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.
|
#
96b54d77 |
|
20-Feb-1998 |
Tatsumi Hosokawa <hosokawa@FreeBSD.org> |
Updated my e-mail addresses.
|
#
ec8f6ad7 |
|
11-Nov-1997 |
John Polstra <jdp@FreeBSD.org> |
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.
|
#
2fd8f469 |
|
06-Nov-1997 |
Warner Losh <imp@FreeBSD.org> |
Use warn rather than warnx to report errors opening the APM device. Nit formatting fix
|
#
afe83a1c |
|
02-Sep-1997 |
Philippe Charnier <charnier@FreeBSD.org> |
Use err(3). Typo in man page.
|
#
6c3f552a |
|
30-Mar-1997 |
Warner Losh <imp@FreeBSD.org> |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
#
3a9b8d50 |
|
05-Jan-1997 |
Nate Williams <nate@FreeBSD.org> |
Remove an un-needed static declaration.
|
#
e46ea891 |
|
05-Jan-1997 |
Nate Williams <nate@FreeBSD.org> |
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>
|
#
ddccc6ec |
|
18-Mar-1996 |
Nate Williams <nate@FreeBSD.org> |
Open up /dev/apm instead of /dev/apm0.
|
#
b8d133e0 |
|
12-Mar-1996 |
Nate Williams <nate@FreeBSD.org> |
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.
|
#
709e8f9a |
|
29-May-1995 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Remove trailing whitespace.
|
#
86f39ea7 |
|
01-Nov-1994 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Fixed a #include to point to machine/apm_bios.h
|
#
19a41dfc |
|
01-Nov-1994 |
Poul-Henning Kamp <phk@FreeBSD.org> |
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
|
#
140cffd3 |
|
30-Sep-1994 |
David Greenman <dg@FreeBSD.org> |
Laptop Advanced Power Management support (userland end) by HOSOKAWA Tatsumi. Submitted by: HOSOKAWA Tatsumi
|