ru
acf39e5db0
Fixed the misplaced $FreeBSD$.
2005-02-09 18:07:17 +00:00
imp
00fce910db
o Report charge/discharge rate and remaining capacity in the proper
...
units (as specified in _BIF). (noted by Bruno Ducrot)
o In looking in the standard, if the cap numbers are 0xffffffff, then acpi
is reporting unknown for that field. Report unknown numbers properly.
o Update the state to reflect charging, discharging and critical.
2004-11-24 16:02:20 +00:00
imp
009e80f625
phk jumped the gun and posted what looks like a preliminary version of
...
my patches for this information. Commit my more complete version.
This version isn't complete yet, since some details aren't handled
right just yet.
Poaching by: phk
2004-11-24 15:32:07 +00:00
phk
a643f0c89e
Dump current status of battery as well.
...
The -i code doesn't really belong here in the first place I would think,
but keep it together for now.
2004-11-24 12:49:39 +00:00
imp
f5c6bd78b8
Minor style(9) before possible larger commits.
2004-11-16 06:25:02 +00:00
philip
20dc5c651b
Somehow I missed this last night, acpi_init() doesn't return an int.
...
Spotted by: Randy Bush <randy@psg.com>
2004-11-13 15:16:35 +00:00
philip
ee41e72f0b
With the addition of a proper prototype, this is now WARNS=6 clean.
2004-11-13 01:54:22 +00:00
njl
66cefd549e
Remove the ACPIIO_ENABLE and ACPIIO_DISABLE ioctls as well as all
...
callers. These ioctls attempted to enable and disable the ACPI
interpreter at runtime. In practice, it is not possible to boot with
ACPI and then disable it on many systems and trying to do so can cause
crashes, interrupt storms, etc. Binary compatibility with userland is
retained.
MFC after: 2 days
2004-08-18 05:48:24 +00:00
njl
bfd36d7253
Comment out the ability to enable/disable ACPI at runtime. This appears
...
to not work reliably and crash some systems. It is not supported at all
on others. Pending discussion, the underlying ioctls will be removed.
2004-08-15 23:39:37 +00:00
ru
e30779038c
Markup nit: make the list of options look better.
2004-06-04 19:20:43 +00:00
takawata
efbf315692
Fix style breakage.
...
Noticed by: njl
2004-03-05 02:48:22 +00:00
takawata
59f121ae30
Make unprivilaged user can see battery info.
2004-03-04 17:03:49 +00:00
des
c14c32c409
I don't normally use my middle name, so remove it from attributions in
...
man pages (though not from copyright notices). While I'm here, add email
addresses where appropriate.
2004-01-25 11:39:42 +00:00
njl
2ed04cfc61
Add support for /etc/rc.suspend and /etc/rc.resume for ACPI. They are
...
called directly from acpiconf(8). Change both scripts to take a
subsystem (apm|acpi) and sleep level (suspend,standby|1-5) argument.
2003-12-30 17:28:06 +00:00
njl
eac7db74cb
Add the -i flag to acpiconf(8) to retrieve battery information.
...
Rename a few structure elements.
2003-09-13 20:13:01 +00:00
njl
b140516293
Allow sleep states to be specified as S1, S2, ...
...
This is used by zzz(8).
2003-07-28 16:22:45 +00:00
njl
96ca58df0d
Support functions for the new ACPI import.
...
* AcpiOsDerivePciId(): finds a bus number, given the slot/func and the
acpi parse tree.
* AcpiOsPredefinedOverride(): use the sysctl hw.acpi.os_name to
override the value for _OS.
Ideas from: takawata, jhb
Reviewed by: takawata, marcel
Tested on: i386, ia64
2003-04-29 18:50:34 +00:00
ru
4275cb0d51
mdoc(7) police: markup fixes.
...
Approved by: re
2002-11-27 15:31:08 +00:00
takawata
40a6e85728
Add sleep state explanation.
...
Requested by: murray at Cafe in Tokyo.
2002-09-16 12:11:25 +00:00
charnier
90baea60d8
The .Nm utility
2002-07-14 14:47:15 +00:00
iwasaki
864900d96b
Resolve conflicts arising from the ACPI CA 20020611 import.
2002-07-09 17:54:02 +00:00
cjc
d1dcc80dc8
Make the error messaging more helpful.
...
PR: 31483
Approved by: iwasaki, ru
MFC after: 4 days
2001-11-30 11:35:01 +00:00
msmith
fe62d074e2
ACPI CA doesn't recognis S4BIOS as a seperate sleep type anymore, so
...
drop support for it here until we work out a better way of handling it.
2001-07-21 21:51:44 +00:00
dd
7d1013753f
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
obrien
be50227e8d
Remove double //'s in path.
2001-06-02 19:09:37 +00:00
msmith
d3da9ed766
Catch up to new include paths.
...
Submitted by: walt <wsheets@att.net>
2001-05-30 00:22:37 +00:00
ru
b15a893144
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
ru
42350947e7
Set the default manual section for usr.sbin/ to 8.
2001-03-20 18:17:26 +00:00
ru
0ec78bd306
mdoc(7) police: .Dv -> .Cm where appropriate.
2001-01-22 10:32:03 +00:00
des
87140a8657
Spell my name right in the copyright.
2001-01-14 16:14:17 +00:00
iwasaki
26697bdc7c
Oops, forgotten to add manpage.
2001-01-13 16:18:37 +00:00
iwasaki
d9f3024b64
Add manpage for acpiconf.
...
Submitted by: des
2001-01-13 16:16:25 +00:00
iwasaki
b16bd7bcd4
Remove dependence on old acpi driver from acpi userland tools.
...
- acpiconf Replace include files from old acpi driver to acpica driver.
New sleep type `4b' had been added (S4BIOS) for `-s' option.
Of course this has no effect because driver doesn't
support it for now :-)
- acpidump All needed structs in sys/dev/acpi/*.h had been merged
into local header file. No changes on its usage.
2000-11-08 02:37:00 +00:00
msmith
644847c8e2
Update include paths for new header locations.
...
Submitted by: iwasaki
2000-09-30 20:13:57 +00:00
iwasaki
8b89c74a2f
import acpiconf(8) from ACPI For FreeBSD project.
...
Obtained from: ACPI For FreeBSD project
2000-08-31 14:41:23 +00:00