summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apm
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge head from 7/28sjg2014-08-191-1/+1
| |\ | |/ |/|
| * Updated dependenciessjg2014-05-161-1/+0
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * Updated dependenciessjg2013-03-111-0/+1
| |
| * Updated dependenciessjg2013-02-161-2/+0
| |
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | use .Mt to mark up email addresses consistently (part2)bapt2014-06-201-1/+1
|/ | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* Mark global functions and/or variables in apm(8) static where possible.ed2011-11-061-1/+1
| | | | This allows compilers and static analyzers to do more thorough analysis.
* MFtbemd:imp2010-08-231-1/+1
| | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
* Garbage collect unused variable, missed in r200840uqs2010-05-191-5/+0
| | | | Found by: clang static analyzer
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-1/+0
|
* apm(8) is no longer linked to zzz(8), catch up.ru2009-12-222-30/+17
| | | | (Fixes "zzz" clash in the whatis(1) database.)
* Copy apm(4) emulation from sys/i386/acpica/acpi_machdep.c andjkim2009-09-271-1/+1
| | | | install apm(8) and apm_bios.h on amd64.
* 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.
OpenPOWER on IntegriCloud