Commit Graph

40 Commits

Author SHA1 Message Date
rumble
a2d448e894 s/prop_array_t;/prop_array_t array;/ 2007-12-17 17:52:37 +00:00
wiz
f40518e2ba New sentence, new line. Use proper markup. 2007-12-02 19:54:32 +00:00
xtraeme
31962fc6e5 Extend the envsys2 API (one more time, sorry) as defined in:
http://mail-index.netbsd.org/tech-kern/2007/11/09/0001.html

sysmon_envsys_create() and sysmon_envsys_destroy() were added to
create/destroy sysmon_envsys objects (and its TAILQ/LIST for sensors/events).

sysmon_envsys_sensor_attach() and sysmon_envsys_sensor_detach() were
added to attach/detach sensors to a specified sysmon_envsys device.

The events framework is now per device and configurable via the
ENVSYS_SETDICTIONARY ioctl or /etc/envsys.conf and envstat(8).

Update all users and documentation to reflect these changes.
2007-11-16 08:00:11 +00:00
xtraeme
b3893f8d6a Sync with latest round of changes and improve vastly sysmon_envsys(9). 2007-11-03 23:05:56 +00:00
xtraeme
21f9bf1683 Fix a typo. 2007-10-07 05:33:06 +00:00
xtraeme
5c2d51b913 Sync with the new configuration file format and recent changes
to the envsys framework.
2007-10-07 04:19:51 +00:00
wiz
974c81fdf9 Sort sections. Sort SEE ALSO. Use HTML escapes. Remove superfluous .Pp.
Other cleanups.
2007-09-11 22:31:35 +00:00
xtraeme
f1a8abb9c7 Xref powerd(8). 2007-09-04 17:19:51 +00:00
xtraeme
b5822e79d4 Update to match current code. 2007-09-04 16:55:02 +00:00
xtraeme
b7b3d8fc09 Document the "generic-state-string" object in sensor's dictionary. 2007-09-02 20:35:03 +00:00
xtraeme
d4dc22f1aa The buffer returned by prop_dictionary_externalize() must be freed
by the caller, so update the example.

Also remove all refs to the envsys drivers, they all will be Xref-ed
from envstat(8) (a single source).
2007-08-28 08:22:58 +00:00
xtraeme
ce7d148c9a Add missing comma. 2007-07-02 20:07:23 +00:00
xtraeme
08d5afa292 Imported envsys 2, a brief description of the new features:
(Part 4: documentation and configuration files)

* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
  and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
  sysmon_power(9) and powerd(8), that means there is no 32 bytes event
  size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.

Tested by:

blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
2007-07-01 07:55:51 +00:00
xtraeme
664bf29811 Mention mfi(4), bump date. 2007-05-07 11:00:43 +00:00
xtraeme
6aad6735ab * tctrl(4) -> sparc/tctrl(4)
* Mention sparc64/envctrl(4) (hi tnn)
2007-04-19 14:26:58 +00:00
wiz
43378ed02e Fix xref, sort SEE ALSO. 2007-03-21 07:06:44 +00:00
xtraeme
28f27645cb Mention adt7467c(4), sort. 2007-03-14 01:23:39 +00:00
xtraeme
21a60be327 Mention ipmi(4), nsclpcsio(4), owtemp(4), tctrl(4) and tm121temp(4). 2007-03-14 01:12:27 +00:00
xtraeme
0e26f4fe7e Mention aiboost(4), bump date. 2007-03-14 01:04:20 +00:00
xtraeme
ad691d8e2e ug(4): manual page for the Abit uGuru hardware system monitor
(wiz please review, thanks).
2007-01-07 03:14:09 +00:00
wiz
0c97daff02 Sort SEE ALSO. 2006-12-23 06:58:20 +00:00
xtraeme
fda8d0a4d7 Xref it(4) 2006-05-13 09:04:48 +00:00
lukem
8fbf6b6747 The argument to ENVSYS_GTREDATA is envsys_tre_data_t not envsys_tre_data. 2006-03-15 11:23:30 +00:00
perry
fd18408b9a u_intN_t -> uintN_t 2005-12-26 19:40:14 +00:00
wiz
93792a45be Some more syncing with header file, from Sergey Svishchev. 2004-05-11 22:55:00 +00:00
wiz
d173e8655e Various fixes from Sergey Svishchev svs at ropnet ru in private mail.
Some additional "new sentence, new line" changes while I was there.
2004-05-11 22:42:47 +00:00
kochi
ffaf7e29a6 add references to ACPI man pages. 2004-04-25 03:13:00 +00:00
wiz
e220fb8cb7 Add Ns. 2003-06-27 18:21:35 +00:00
wiz
29f783f6f4 Fix Bd macro call. 2003-06-26 10:26:53 +00:00
wiz
472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
ross
4fa402f116 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-13 08:17:26 +00:00
wiz
fa94b1c90e Fix typo in macro. 2002-01-21 17:46:42 +00:00
wiz
f228785e54 Sort SEE ALSO, sort sections, drop unnecessary .Pp and replace some
empty lines by .Pp. Slightly improve markup in some places.
2001-09-19 00:49:55 +00:00
jdolecek
40cc9bc4e6 fix typo (.DV -> .Dv)
break line so that .Dv has only one arg
2001-08-21 17:56:41 +00:00
enami
1e59998dbb Fix SEE ALSO list;
- s/Cr/Xr/
- The manpage of envstat is in section 8 not 1.
- Separete each items by comma.
2000-07-04 08:57:44 +00:00
augustss
8d108de85a Xref more. 2000-07-02 00:52:50 +00:00
mycroft
1f2cf096b8 GC spurious blank lines. 2000-05-13 15:22:15 +00:00
groo
bee07ea181 document rfact 2000-03-09 04:17:20 +00:00
groo
92ec09f565 cleanup; suggested by hubertf in private mail. 2000-02-27 04:11:14 +00:00
groo
2ba6fe0d02 Environmental Systems API 2000-02-27 00:59:49 +00:00