Commit Graph

20 Commits

Author SHA1 Message Date
xtraeme
d99380c510 Explain that sensor_indicator will be used for indicators and integers. 2007-07-16 17:49:56 +00:00
xtraeme
196efa6a61 sensor_indicator is able to receive the same events than other sensors. 2007-07-03 08:45:56 +00:00
xtraeme
e9878e8efb Add the /etc/powerd/scripts/sensor_indicator to handle events on
indicator sensors.

Update powerd(8).
2007-07-02 15:26:18 +00:00
xtraeme
af211bb4e3 Imported envsys 2, a brief description of the new features:
(Part 3: userland)

* 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:39:45 +00:00
xtraeme
d764ad2a09 Use __arraycount() from sys/cdefs.h. 2007-05-07 02:33:35 +00:00
reed
ce2634c53e This only has one option so get rid of plural "s". 2006-12-14 02:34:32 +00:00
christos
d8d9c20820 pass WARNS=4 2006-02-05 14:11:18 +00:00
christos
f3d0b6c690 PR/32747: Michael van Elst: Set close on exec on /dev/power fd so that it
is not open from the child process. While I am here:
- KNF, pass lint.
- Fix a bug where the outer loop index was re-used in the inner loop.
- Check the return code of wait.
2006-02-05 14:03:46 +00:00
wiz
fe669e0931 Add comma in enumeration; use Aq instead of \*[Lt]\*[Gt]. 2004-05-03 14:23:12 +00:00
kochi
78ac4f02fc Describe AC adapter events. 2004-05-03 07:54:59 +00:00
kochi
00996ca57b Add AC adapter event type. 2004-05-03 07:45:37 +00:00
kochi
ffaf7e29a6 add references to ACPI man pages. 2004-04-25 03:13:00 +00:00
itojun
7bb0ef551c use bounded string op 2003-07-13 12:18:55 +00:00
wiz
b461e245c1 Bump date for last; sort sections; comment out sysmon(4) xref for now. 2003-04-23 05:46:21 +00:00
augustss
7064ed78f9 Note that scripts are run synchronously. 2003-04-22 22:45:48 +00:00
thorpej
e6227d3c54 Document the reset_button script. 2003-04-21 00:55:17 +00:00
thorpej
b9ea11721d Support the reset button type. 2003-04-20 20:53:04 +00:00
wiz
170f2084f5 New sentence, new line. Use \*[Lt],\*[Gt] for easier HTML conversion. 2003-04-18 15:15:12 +00:00
gmcgarry
25ab7bf52b Build manpage. 2003-04-18 05:32:37 +00:00
thorpej
539625c024 Power management daemon for sysmon. Currently supports acting on
power switch state change events.
2003-04-18 04:54:49 +00:00