Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2007 10:45:31 +0000 (UTC)
From:      Alexander Leidinger <netchild@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/etc Makefile sensorsd.conf src/etc/defaults rc.conf src/etc/rc.d Makefile sensorsd src/lib/libc/gen sysctl.3 src/sbin/sysctl sysctl.8 sysctl.c src/share/man/man5 rc.conf.5 src/share/man/man9 Makefile sensor_attach.9 src/sys/conf files ...
Message-ID:  <200710141045.l9EAjW4m058732@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
netchild    2007-10-14 10:45:31 UTC

  FreeBSD src repository

  Modified files:
    etc                  Makefile 
    etc/defaults         rc.conf 
    etc/rc.d             Makefile 
    lib/libc/gen         sysctl.3 
    sbin/sysctl          sysctl.8 sysctl.c 
    share/man/man5       rc.conf.5 
    share/man/man9       Makefile 
    sys/conf             files 
    sys/sys              sysctl.h 
    usr.bin/systat       Makefile cmdtab.c extern.h systat.1 
    usr.sbin             Makefile 
  Added files:
    etc                  sensorsd.conf 
    etc/rc.d             sensorsd 
    share/man/man9       sensor_attach.9 
    sys/kern             kern_sensors.c 
    sys/sys              sensors.h 
    usr.bin/systat       sensors.c 
    usr.sbin/sensorsd    Makefile sensorsd.8 sensorsd.c 
                         sensorsd.conf.5 
  Log:
  Import OpenBSD's sysctl hardware sensors framework.
  
  This commit includes the following core components:
  
   * sample configuration file for sensorsd
   * rc(8) script and glue code for sensorsd(8)
   * sysctl(3) doc fixes for CTL_HW tree
   * sysctl(3) documentation for hardware sensors
   * sysctl(8) documentation for hardware sensors
   * support for the sensor structure for sysctl(8)
   * rc.conf(5) documentation for starting sensorsd(8)
   * sensor_attach(9) et al documentation
   * /sys/kern/kern_sensors.c
     o sensor_attach(9) API for drivers to register ksensors
     o sensor_task_register(9) API for the update task
     o sysctl(3) glue code
     o hw.sensors shadow tree for sysctl(8) internal magic
   * <sys/sensors.h>
   * HW_SENSORS definition for <sys/sysctl.h>
   * sensors display for systat(1), including documentation
   * sensorsd(8) and all applicable documentation
  
  The userland part of the framework is entirely source-code
  compatible with OpenBSD 4.1, 4.2 and  -current as of today.
  
  All sensor readings can be viewed with `sysctl hw.sensors`,
  monitored in semi-realtime with `systat -sensors` and also
  logged with `sensorsd`.
  
  Submitted by:   Constantine A. Murenin <cnst@FreeBSD.org>
  Sponsored by:   Google Summer of Code 2007 (GSoC2007/cnst-sensors)
  Mentored by:    syrinx
  Tested by:      many
  OKed by:        kensmith
  Obtained from:  OpenBSD (parts)
  
  Revision  Changes    Path
  1.361     +1 -1      src/etc/Makefile
  1.320     +2 -0      src/etc/defaults/rc.conf
  1.85      +1 -1      src/etc/rc.d/Makefile
  1.1       +17 -0     src/etc/rc.d/sensorsd (new)
  1.1       +50 -0     src/etc/sensorsd.conf (new)
  1.70      +34 -6     src/lib/libc/gen/sysctl.3
  1.62      +1 -0      src/sbin/sysctl/sysctl.8
  1.87      +140 -0    src/sbin/sysctl/sysctl.c
  1.328     +18 -1     src/share/man/man5/rc.conf.5
  1.311     +8 -0      src/share/man/man9/Makefile
  1.1       +155 -0    src/share/man/man9/sensor_attach.9 (new)
  1.1244    +1 -0      src/sys/conf/files
  1.1       +421 -0    src/sys/kern/kern_sensors.c (new)
  1.1       +168 -0    src/sys/sys/sensors.h (new)
  1.149     +4 -1      src/sys/sys/sysctl.h
  1.19      +1 -1      src/usr.bin/systat/Makefile
  1.11      +3 -0      src/usr.bin/systat/cmdtab.c
  1.15      +6 -0      src/usr.bin/systat/extern.h
  1.1       +261 -0    src/usr.bin/systat/sensors.c (new)
  1.54      +7 -0      src/usr.bin/systat/systat.1
  1.376     +1 -0      src/usr.sbin/Makefile
  1.1       +9 -0      src/usr.sbin/sensorsd/Makefile (new)
  1.1       +93 -0     src/usr.sbin/sensorsd/sensorsd.8 (new)
  1.1       +644 -0    src/usr.sbin/sensorsd/sensorsd.c (new)
  1.1       +186 -0    src/usr.sbin/sensorsd/sensorsd.conf.5 (new)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710141045.l9EAjW4m058732>