Home | History | Annotate | Download | only in man4
History log of /src/share/man/man4/envsys.4
RevisionDateAuthorComments
 1.55  04-May-2021  christos Fix code example (from RVP)
 1.54  10-May-2019  cnst envsys(4): mention ioctl(2) commands left over from Nx 1.5/4.0 experimental API
 1.53  31-May-2018  wiz branches: 1.53.2;
Remove superfluous Pp.
 1.52  31-May-2018  pgoyette Fix a typo in the example properties
 1.51  03-Jul-2017  wiz branches: 1.51.4;
Remove workaround for ancient HTML generation code.
 1.50  12-Jan-2013  pgoyette branches: 1.50.22;
"Each sensor dictionary" is a singular subject, so refer to "its"
characteristics, not "their" characteristics.

Also rephrase the device-properties section - device-properties is not
a sensor.
 1.49  09-Feb-2012  riz branches: 1.49.6;
Various English usage, spelling and markup fixes for envstat(4)-related
things, from Snader_LB.
 1.48  14-Mar-2010  pgoyette branches: 1.48.2; 1.48.8;
Document the recently added 'maximum-capacity' and 'high-capacity'
limits for battery sensors.
 1.47  09-Feb-2010  wiz Bump date for previous.
 1.46  09-Feb-2010  cnst fix the example code to be closer to compilation and update for aibs(4)
 1.45  19-Dec-2009  snj Small grammar fix. From Constantine Aleksandrovich Murenin.
 1.44  14-Oct-2009  joerg Do not indent twice. Do not use compact mode, it makes the list harder
to read.
 1.43  13-Jun-2009  pgoyette Add capability to send sensor limit values to the driver so they can
be programmed into device registers. This way we can let the hardware
help us out instead of having to always compare the value against each
limit. (Driver updates for some sensors to take advantage of this
capability will be forthcoming.)
 1.42  15-Mar-2009  joerg Simplify and fix markup.
 1.41  30-Apr-2008  martin branches: 1.41.4; 1.41.6; 1.41.10;
Convert TNF licenses to new 2 clause variant
 1.40  17-Dec-2007  rumble branches: 1.40.4; 1.40.6;
s/prop_array_t;/prop_array_t array;/
 1.39  02-Dec-2007  wiz New sentence, new line. Use proper markup.
 1.38  16-Nov-2007  xtraeme 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.
 1.37  03-Nov-2007  xtraeme Sync with latest round of changes and improve vastly sysmon_envsys(9).
 1.36  07-Oct-2007  xtraeme Fix a typo.
 1.35  07-Oct-2007  xtraeme Sync with the new configuration file format and recent changes
to the envsys framework.
 1.34  11-Sep-2007  wiz Sort sections. Sort SEE ALSO. Use HTML escapes. Remove superfluous .Pp.
Other cleanups.
 1.33  04-Sep-2007  xtraeme Xref powerd(8).
 1.32  04-Sep-2007  xtraeme Update to match current code.
 1.31  02-Sep-2007  xtraeme Document the "generic-state-string" object in sensor's dictionary.
 1.30  28-Aug-2007  xtraeme 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).
 1.29  02-Jul-2007  xtraeme branches: 1.29.4;
Add missing comma.
 1.28  01-Jul-2007  xtraeme 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).
 1.27  07-May-2007  xtraeme Mention mfi(4), bump date.
 1.26  19-Apr-2007  xtraeme * tctrl(4) -> sparc/tctrl(4)
* Mention sparc64/envctrl(4) (hi tnn)
 1.25  21-Mar-2007  wiz Fix xref, sort SEE ALSO.
 1.24  14-Mar-2007  xtraeme Mention adt7467c(4), sort.
 1.23  14-Mar-2007  xtraeme Mention ipmi(4), nsclpcsio(4), owtemp(4), tctrl(4) and tm121temp(4).
 1.22  14-Mar-2007  xtraeme Mention aiboost(4), bump date.
 1.21  07-Jan-2007  xtraeme ug(4): manual page for the Abit uGuru hardware system monitor
(wiz please review, thanks).
 1.20  23-Dec-2006  wiz Sort SEE ALSO.
 1.19  13-May-2006  xtraeme branches: 1.19.6;
Xref it(4)
 1.18  15-Mar-2006  lukem The argument to ENVSYS_GTREDATA is envsys_tre_data_t not envsys_tre_data.
 1.17  26-Dec-2005  perry u_intN_t -> uintN_t
 1.16  11-May-2004  wiz Some more syncing with header file, from Sergey Svishchev.
 1.15  11-May-2004  wiz Various fixes from Sergey Svishchev svs at ropnet ru in private mail.
Some additional "new sentence, new line" changes while I was there.
 1.14  25-Apr-2004  kochi add references to ACPI man pages.
 1.13  27-Jun-2003  wiz branches: 1.13.2;
Add Ns.
 1.12  26-Jun-2003  wiz Fix Bd macro call.
 1.11  16-Apr-2003  wiz 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.
 1.10  13-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.9  21-Jan-2002  wiz Fix typo in macro.
 1.8  19-Sep-2001  wiz Sort SEE ALSO, sort sections, drop unnecessary .Pp and replace some
empty lines by .Pp. Slightly improve markup in some places.
 1.7  21-Aug-2001  jdolecek fix typo (.DV -> .Dv)
break line so that .Dv has only one arg
 1.6  04-Jul-2000  enami Fix SEE ALSO list;
- s/Cr/Xr/
- The manpage of envstat is in section 8 not 1.
- Separete each items by comma.
 1.5  02-Jul-2000  augustss Xref more.
 1.4  13-May-2000  mycroft branches: 1.4.4;
GC spurious blank lines.
 1.3  09-Mar-2000  groo document rfact
 1.2  27-Feb-2000  groo cleanup; suggested by hubertf in private mail.
 1.1  27-Feb-2000  groo Environmental Systems API
 1.4.4.1  03-Jul-2000  thorpej Pull up rev. 1.5:
Xref more.
 1.13.2.1  06-May-2004  jmc Pullup rev 1.14 (requested by kochi in ticket #250)

Add references to ACPI man pages.
 1.19.6.1  12-Jan-2007  bouyer Pull up following revision(s) (requested by xtraeme in ticket #341):
distrib/sets/lists/man/mi: revision 1.965
share/man/man4/ug.4: revision 1.1
sys/dev/isa/files.isa: revision 1.145
sys/arch/amd64/conf/GENERIC: revision 1.124
sys/dev/isa/ug.c: revision 1.1
sys/dev/isa/ugvar.h: revision 1.1
share/man/man4/envsys.4: revision 1.21
share/man/man4/Makefile: revision 1.418
Driver for the Abit uGuru Hardware system monitor, contributed by
Mihai Chelaru. Minor changes (simplification and KNF) by me.
Thanks.
Add ug0 at isa? commented out (driver for the Abit uGuru
Hardware system monitor).
ug(4): manual page for the Abit uGuru hardware system monitor
(wiz please review, thanks).
+ ug(4)
 1.29.4.2  09-Jan-2008  matt sync with HEAD
 1.29.4.1  06-Nov-2007  matt sync with HEAD
 1.40.6.1  18-May-2008  yamt sync with head.
 1.40.4.1  02-Jun-2008  mjf Sync with HEAD.
 1.41.10.1  21-Apr-2010  matt sync to netbsd-5
 1.41.6.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.41.4.2  19-Dec-2009  snj Revert commit to the wrong branch.
 1.41.4.1  18-Dec-2009  snj Small grammar fix. From Constantine Aleksandrovich Murenin.
 1.48.8.2  23-Jan-2013  yamt sync with head
 1.48.8.1  17-Apr-2012  yamt sync with head
 1.48.2.2  14-Mar-2010  pgoyette Document the recently added 'maximum-capacity' and 'high-capacity'
limits for battery sensors.
 1.48.2.1  14-Mar-2010  pgoyette file envsys.4 was added on branch uebayasi-xip on 2010-03-14 14:47:04 +0000
 1.49.6.1  25-Feb-2013  tls resync with head
 1.50.22.1  02-Sep-2019  martin Pull up following revision(s) (requested by sevan in ticket #1351):

share/man/man4/man4.amiga/grf.4: revision 1.7
share/man/man4/si.4: revision 1.11
share/man/man8/man8.sparc/boot.8: revision 1.32
share/man/man5/nsswitch.conf.5: revision 1.29
share/man/man5/mixerctl.conf.5: revision 1.7
share/man/man8/man8.vax/boot.8: revision 1.14
share/man/man4/man4.vax/dn.4: revision 1.12
share/man/man8/man8.vax/drtest.8: revision 1.16
share/man/man8/sysinst.8: revision 1.6
share/man/man4/ip.4: revision 1.37
share/man/man5/boot.cfg.5: revision 1.28
share/man/man1/cd.1: revision 1.10
share/man/man4/usb.4: revision 1.106
share/man/man4/man4.vax/ix.4: revision 1.17
share/man/man7/security.7: revision 1.15
share/man/man7/hier.7: revision 1.123
share/man/man8/afterboot.8: revision 1.58
share/man/man1/man1.x68k/bellctrl.1: revision 1.14
share/man/man4/se.4: revision 1.6
share/man/man4/utoppy.4: revision 1.7
share/man/man4/midi.4: revision 1.32
share/man/man4/cfb.4: revision 1.5
share/man/man4/man4.sparc/magma.4: revision 1.12
share/man/man4/audio.4: revision 1.80
share/man/man4/isic.4: revision 1.18
share/man/man1/cd.1: revision 1.7
share/man/man4/envsys.4: revision 1.51
share/man/man1/cd.1: revision 1.8
share/man/man1/cd.1: revision 1.9
share/man/man3/fast_divide32.3: revision 1.9
share/man/man4/pci.4: revision 1.97
share/man/man5/ranlib.5: revision 1.7
share/man/man3/__arraycount.3: revision 1.7
share/man/man4/isa.4: revision 1.46
share/man/man8/man8.atari/ahdilabel.8: revision 1.14
share/man/man4/chipsfb.4: revision 1.6
share/man/man8/man8.macppc/boot.8: revision 1.8
share/man/man5/passwd.5: revision 1.33
share/man/man8/man8.macppc/ofwboot.8: revision 1.14
share/man/man8/compat_linux.8: revision 1.38
share/man/man4/iop.4: revision 1.22
share/man/man4/ddb.4: revision 1.167
share/man/man4/termios.4: revision 1.37
share/man/man8/compat_freebsd.8: revision 1.18
share/man/man5/ar.5: revision 1.9
share/man/man7/release.7: revision 1.37
share/man/man5/core.5: revision 1.31
share/man/man4/ahd.4: revision 1.6
share/man/man4/man4.vax/ad.4: revision 1.12
share/man/man4/pppoe.4: revision 1.39
share/man/man5/locale.alias.5: revision 1.3
share/man/man8/man8.amiga/installboot.8: revision 1.23
share/man/man4/etherip.4: revision 1.8
share/man/man3/queue.3: revision 1.57
share/man/man5/genassym.cf.5: revision 1.13
share/man/man4/mpls.4: revision 1.10
share/man/man1/wait.1: revision 1.5
share/man/man5/capfile.5: revision 1.4
share/man/man4/man4.alpha/ttwopci.4: revision 1.6
share/man/man4/man4.atari/rtc.4: revision 1.8
share/man/man4/gpiosim.4: revision 1.6
share/man/man3/bitstring.3: revision 1.18
share/man/man4/isdntel.4: revision 1.8
share/man/man4/ai.4: revision 1.9
share/man/man8/man8.hppa/boot.8: revision 1.2
share/man/man4/uyurex.4: revision 1.6
share/man/man8/man8.alpha/mkbootimage.8: revision 1.9
share/man/man4/bpf.4: revision 1.56
share/man/man4/man4.amiga/mfcs.4: revision 1.8
share/man/man4/cmpci.4: revision 1.9
share/man/man8/man8.vax/format.8: revision 1.14
share/man/man8/compat_svr4.8: revision 1.27
share/man/man4/crypto.4: revision 1.26
share/man/man4/userconf.4: revision 1.13
share/man/man4/agp.4: revision 1.17
share/man/man9/man9.i386/bioscall.9: revision 1.10
share/man/man4/uftdi.4: revision 1.20
share/man/man4/radio.4: revision 1.13
share/man/man4/mfb.4: revision 1.5
share/man/man7/ascii.7: revision 1.8
share/man/man4/man4.vax/dl.4: revision 1.13
share/man/man4/ral.4: revision 1.12
share/man/man4/unix.4: revision 1.26
share/man/man4/edc.4: revision 1.12
share/man/man4/pim.4: revision 1.5
share/man/man8/compat_ultrix.8: revision 1.21
share/man/man4/dge.4: revision 1.11
share/man/man8/diskless.8: revision 1.32
share/man/man5/passwd.conf.5: revision 1.11
share/man/man8/man8.acorn26/boot26.8: revision 1.8
share/man/man4/man4.vax/hy.4: revision 1.12
share/man/man4/plip.4: revision 1.4
share/man/man4/sc.4: revision 1.8
share/man/man4/ec.4: revision 1.14
share/man/man4/man4.sgimips/giopci.4: revision 1.9
share/man/man7/sysctl.7: revision 1.114
share/man/man3/bits.3: revision 1.18
share/man/man4/we.4: revision 1.19
share/man/man8/compat_sunos.8: revision 1.21
share/man/man4/ip6.4: revision 1.31
share/man/man4/acpilid.4: revision 1.8
share/man/man4/man4.dreamcast/aica.4: revision 1.6
share/man/man4/mfi.4: revision 1.12
share/man/man4/ugen.4: revision 1.32
share/man/man4/jme.4: revision 1.7
share/man/man4/man4.sparc64/intro.4: revision 1.5
share/man/man4/zyd.4: revision 1.5
share/man/man4/gre.4: revision 1.45
share/man/man3/bitmap.3: revision 1.10
share/man/man4/man4.vax/cons.4: revision 1.12
share/man/man3/gcq.3: revision 1.4
share/man/man4/man4.hppa/pdc.4: revision 1.3
share/man/man4/multicast.4: revision 1.8
share/man/man4/man4.sparc/intro.4: revision 1.27
share/man/man4/ath.4: revision 1.32
share/man/man4/ym.4: revision 1.19
share/man/man3/iso646.3: revision 1.6
share/man/man4/btsco.4: revision 1.13
share/man/man4/man4.i386/ndis.4: revision 1.6
share/man/man4/pad.4: revision 1.6
share/man/man4/strip.4: revision 1.16
share/man/man8/man8.x86/boot.8: revision 1.12
share/man/man4/amr.4: revision 1.15
share/man/man4/ieee80211.4: revision 1.5
share/man/man4/options.4: revision 1.467
share/man/man5/link.5: revision 1.24
share/man/man8/man8.cobalt/boot.8: revision 1.10
share/man/man5/stab.5: revision 1.15
share/man/man3/tree.3: revision 1.12
share/man/man4/route.4: revision 1.31
share/man/man4/man4.sun3/leds.4: revision 1.13
share/man/man4/bluetooth.4: revision 1.20
share/man/man4/man4.i386/pcibios.4: revision 1.19
share/man/man5/veriexec.5: revision 1.8
share/man/man7/operator.7: revision 1.12
share/man/man4/man4.hp300/dcl.4: revision 1.13
share/man/man4/man4.i386/intro.4: revision 1.31
share/man/man5/ld.so.conf.5: revision 1.21
share/man/man8/man8.alpha/boot.8: revision 1.16
share/man/man4/bio.4: revision 1.13
share/man/man4/man4.sun2/leds.4: revision 1.10
share/man/man8/man8.x86/mbr.8: revision 1.4
share/man/man8/man8.mvme68k/boot.8: revision 1.9
share/man/man4/man4.alpha/ttwoga.4: revision 1.6
share/man/man4/ahc.4: revision 1.34

Direct reader to shell documentation generally, rather than csh(1)
specifically.

Mention variables OLDPWD and PWD.

Move the text that explains that cd(1) is a shell built-in to the very
beginning of the description where it can be seen prominently.

Improve formatting.

-

Remove workaround for ancient HTML generation code.
Use EXIT STATUS and .Ex.
 1.51.4.1  25-Jun-2018  pgoyette Sync with HEAD
 1.53.2.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed