From owner-p4-projects@FreeBSD.ORG Thu Sep 13 23:02:30 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1F65816A420; Thu, 13 Sep 2007 23:02:30 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9C9C16A41A for ; Thu, 13 Sep 2007 23:02:29 +0000 (UTC) (envelope-from cnst@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A355513C45E for ; Thu, 13 Sep 2007 23:02:29 +0000 (UTC) (envelope-from cnst@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l8DN2Tpi076036 for ; Thu, 13 Sep 2007 23:02:29 GMT (envelope-from cnst@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8DN2Tv5076033 for perforce@freebsd.org; Thu, 13 Sep 2007 23:02:29 GMT (envelope-from cnst@FreeBSD.org) Date: Thu, 13 Sep 2007 23:02:29 GMT Message-Id: <200709132302.l8DN2Tv5076033@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to cnst@FreeBSD.org using -f From: "Constantine A. Murenin" To: Perforce Change Reviews Cc: Subject: PERFORCE change 126384 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2007 23:02:30 -0000 http://perforce.freebsd.org/chv.cgi?CH=126384 Change 126384 by cnst@dale on 2007/09/13 23:01:55 On this 256th day of 2007, it is my great pleasure to present a feature-complete port of the hardware sensors framework from OpenBSD to FreeBSD. Below is a complete `cvs diff` of cnst-sensors GSoC2007 project as of 2007-256. It includes the following components, listed below in the very same order as they are appearing in this diff: * 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 * assorted KNF and bug-fixes for sysctl(8) * support for the sensor structure for sysctl(8) * coretemp(4) documentation * it(4) documentation * lm(4) documentation * rc.conf(5) documentation for starting sensorsd(8) * sensor_attach(9) et al documentation * coretemp(4) conversion to the hw.sensors framework * it(4) isa driver ported from OpenBSD * lm(4) isa driver ported from OpenBSD * /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 * assorted KNF and bug-fixes for /sys/kern/kern_sysctl.c * it(4) module for testing sensor_attach/detach et al * lm(4) module for testing sensor_attach/detach et al * * assorted bug-fixes and HW_SENSORS definition for * sensors display for systat(1), including all 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`. Third-party tools, for example a plug-in for nagios, are also available. A separate patch for ports/sysutils/symon will be provided upon request. Submitted by: cnst@FreeBSD.org (Constantine A. Murenin) Obtained from: generated by sensors.cvsdiff.sh from //depot/projects/soc2007/cnst-sensors/ Sponsored by: Google Summer of Code 2007 Obtained from: http://mojo.ru/us/GSoC2007.cnst-sensors.2007-09-13.patch.gz Details at: http://cnst.livejournal.com/38421.html Affected files ... .. //depot/projects/soc2007/cnst-sensors/cnst-sensors.2007-09-13.patch#1 add Differences ...