Commit Graph

32 Commits

Author SHA1 Message Date
xtraeme 032cb27052 Another comment that is no more thanks to the new configuration file. 2007-10-07 18:22:37 +00:00
xtraeme 0d2161c8c4 Modify a comment that is not valid anymore. 2007-10-07 18:14:20 +00:00
xtraeme 7447ac47db Xref envsys.conf(5) 2007-10-07 12:43:19 +00:00
xtraeme f2803256d9 New configuration file format for the envsys framework:
foo0 {
	#
	# CPU Temperature
	#
	sensor0 {
		critical-max = 70C;
		critical-min = 20C;
	}
	...
}
...

Removed the -m flag that was previously used to set properties for
sensors. Now the -c flag will process all properties specified in
the file (accepted as argument).

To remove all properties that were set, the new -S flag can be used.
This will restore default values for all devices.
2007-10-07 04:16:47 +00:00
xtraeme 9df195ed98 Merge a patch from Iain Hibbert (plunky@):
- some unclear language cleaned up
- inconsistent usage of 'device' and 'driver' to refer to the same thing
- difficult error handling

And print the device name if -d flag is not specified for any driver
registered, e.g:

$ envstat
[aiboost0]
  CPU Temperature:     36.000 degC  max:   70.000 degC  min:   15.000 degC
   MB Temperature:     38.000 degC  max:   50.000 degC  min:   15.000 degC
    Vcore Voltage:      1.232 V     max:    1.350 V     min:    1.150 V
     +3.3 Voltage:      3.264 V     max:    3.500 V     min:    3.000 V
       +5 Voltage:      5.017 V     max:    5.600 V     min:    4.500 V
      +12 Voltage:     11.932 V     max:   13.500 V     min:   11.200 V
    CPU FAN Speed:       1268 RPM
$
2007-09-25 14:20:48 +00:00
plunky 3b0395d28d replace inadvertently removed N 2007-09-20 19:48:26 +00:00
plunky c231a9012a sort options 2007-09-20 18:38:49 +00:00
xtraeme 3f2361dc7d Mention aps(4). 2007-09-11 21:47:37 +00:00
xtraeme 85f08bb0ab Fix typo in previous. 2007-09-02 21:31:24 +00:00
xtraeme 13af8b9adc Add the -I flag that skips sensors with invalid state. They are shown
by default, but this is for users that don't want to print them.
2007-09-02 21:25:24 +00:00
seb 2d1475af34 Fix typo.
Ok'ed by xtraeme@
2007-08-07 10:17:17 +00:00
xtraeme 2577f77bbc Add the -r flag, which is a dummy flag... only added for compatibility
reasons.
2007-07-17 13:12:46 +00:00
xtraeme ec5dc77a7c tyop 2007-07-05 20:17:43 +00:00
xtraeme 501645e90d Fix the example that used -s without -d, found by hira@. 2007-07-04 17:16:15 +00:00
xtraeme 5e67825d91 Improve description about the -s flag, it must be used with -d. 2007-07-04 17:15:03 +00:00
xtraeme 3ab4d7d8eb Two grammar fixes from Zafer Aydogan. 2007-07-02 20:37:06 +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 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
xtraeme 83e93a7d4f Erm add missing char. 2007-03-14 01:25:42 +00:00
xtraeme 2b869145f4 Last one: mention adt7467c(4). 2007-03-14 01:22:44 +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 eb277efe09 Mention aiboost(4), it(4), ug(4) and viaenv(4), bump date. 2007-03-14 01:03:12 +00:00
wiz b5bca6912d Bump date for previous. Remove trailing whitespace. 2006-12-23 09:48:47 +00:00
reed 623f8d5ade Add a useful example. 2006-12-14 02:33:18 +00:00
kochi ffaf7e29a6 add references to ACPI man pages. 2004-04-25 03:13:00 +00:00
augustss 167e6beba4 Add -r to synopsis. 2003-01-02 14:01:30 +00:00
wiz 8b0cfb2d8e New sentence, new line. Bump date for -r description. 2003-01-02 13:55:29 +00:00
augustss 532c81c75d Document the -r flag. 2003-01-02 11:55:52 +00:00
wiz 76cb93f4d7 Drop a trailing empty line. 2002-01-19 03:11:44 +00:00
thorpej 3cf08199ac If the `device' argument is not specified, attempt to open /dev/sysmon. 2000-06-24 00:41:10 +00:00
groo 38cfdfd8fc Add envstat(8) for displaying sensor readings from any envsys(4)
compatible device.
2000-03-10 05:51:56 +00:00