aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/apm/apm.c
Commit message (Expand)AuthorAgeFilesLines
* Make apm(8) understand AC Line state 2 as "backup power".Will Andrews2005-05-301-2/+2
* o Remove duplicate includes.Maxim Konovalov2005-01-011-2/+0
* Fix to not use 255, but instead use APM_UNKNOWN.Warner Losh2004-06-301-9/+9
* Remove a duplicated printf().Maxime Henrion2004-06-301-1/+0
* Tabs were accidentally lost in the last commit.Maxime Henrion2004-06-161-0/+3
* Factor out some duplicated code and fix some style(9) issues.Maxime Henrion2004-06-141-69/+62
* Check for >= 255 since sign extension from byte to u_int sometimes makesNate Lawson2004-05-271-43/+39
* If mktime() or timegm() return -1, print out the resume timer value asRobert Watson2003-07-131-3/+6
* Fix a typo: "Managment" -> "Management".Maxim Konovalov2003-04-241-1/+1
* Add missing .Nm. Add FBSDID. fprintf -> warnx. Lowercase first letter insidePhilippe Charnier2002-10-151-8/+5
* Remove extra args to printfWarner Losh2002-08-251-2/+2
* Don't dump all information about apm when only asked to enable/disable apmMaxim Sobolev2002-07-261-0/+2
* Add output of per battery information to apm(1).Hajimu UMEMOTO2000-08-131-1/+53
* If caller have privilege to r/w access to /dev/apm, show theHajimu UMEMOTO2000-08-041-58/+65
* apm -d also needs a writable file descriptor.Nick Sayer2000-07-231-1/+1
* When we're just reading info from the driver, attempt to open the apmWarner Losh2000-07-191-1/+4
* Cleanups, new options, and syntax changes w.r.t. the -e fiag I had justBrian Feldman2000-01-221-39/+75
* Add the apm -e argument, which will toggle the "enabled" status of APM.Brian Feldman2000-01-161-2/+17
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
* Change to continue process after calling `Get Resume TImer' APMMitsuru IWASAKI1999-08-141-2/+2
* Reenable use of the APMIO_BIOS ioctl for now.Mike Smith1999-07-301-7/+1
* Erk, more APMIO_BIOS stuff I missed. Temporarily disable the resume timerMike Smith1999-07-301-2/+7
* Make bcd2int work (resume time reporting now works.)Brian Feldman1999-07-201-3/+5
* Make wall_cmos do something.Brian Feldman1999-07-201-4/+13
* o Enable standby mode in apm utility. You need a newer kernel for thisWarner Losh1998-09-041-9/+188
* Updated my e-mail addresses.Tatsumi Hosokawa1998-02-201-2/+2
* Output the estimated battery lifetime as "hh:mm:ss" along withJohn Polstra1997-11-121-5/+27
* Use warn rather than warnx to report errors opening the APM device.Warner Losh1997-11-061-3/+3
* Use err(3). Typo in man page.Philippe Charnier1997-09-021-20/+19
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-311-1/+1
* Remove an un-needed static declaration.Nate Williams1997-01-061-1/+1
* Re-write the driver to use getopt(), add the new display suspendNate Williams1997-01-061-81/+102
* Open up /dev/apm instead of /dev/apm0.Nate Williams1996-03-181-1/+1
* Add the '-s' flag to apm which returns the status of the APM supportNate Williams1996-03-131-3/+9
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-4/+4
* Fixed a #include to point to machine/apm_bios.hPoul-Henning Kamp1994-11-021-1/+1
* The latest user-land changes from the author. I added a big warning to thePoul-Henning Kamp1994-11-011-3/+7
* Laptop Advanced Power Management support (userland end) by HOSOKAWA Tatsumi.David Greenman1994-10-011-0/+157