[BACK]Return to ses.4 CVS log [TXT][DIR] Up to [local] / src / share / man / man4

File: [local] / src / share / man / man4 / ses.4 (download)

Revision 1.20, Tue Jul 16 16:05:49 2013 UTC (10 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, HEAD
Changes since 1.19: +3 -3 lines

use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@

.\"	$OpenBSD: ses.4,v 1.20 2013/07/16 16:05:49 schwarze Exp $
.\"
.\" Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.Dd $Mdocdate: July 16 2013 $
.Dt SES 4
.Os
.Sh NAME
.Nm ses
.Nd SCSI Enclosure Services
.Sh SYNOPSIS
.Cd "ses* at scsibus?"
.Sh DESCRIPTION
The
.Nm
driver provides support for monitoring the various environmental sensors
present in SCSI enclosures using the SCSI Enclosure Services command set.
The hardware monitoring is accessed via the
.Va hw.sensors
.Xr sysctl 8
variable.
.Pp
SCSI devices have a fairly high level interface to the system and talk to it
via a SCSI host adapter (e.g.\&
.Xr ahc 4 ) .
A SCSI adapter must also be separately configured into the system before a
SCSI enclosure can be configured.
.Pp
When the SCSI adapter is probed during boot, the SCSI bus is scanned for
devices.
Any SCSI-2 devices of type
.Dq Enclosure service
or SCSI-3 devices of type
.Dq Processor
will be attached to the
.Nm
driver.
.Pp
SES compliant devices can provide an arbitrary set of sensors which may
include the following types:
.Bl -column "Sensor" "Units" "Typical" -offset indent
.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use"
.It Li "temp" Ta "uK" Ta "temperature"
.It Li "fan" Ta "RPM" Ta "fan"
.It Li "psu" Ta "On/Off" Ta "power supply"
.It Li "doorlock" Ta "On/Off" Ta "door lock"
.It Li "alarm" Ta "On/Off" Ta "enclosure alarm"
.El
.Pp
Sensor data is updated every 10 seconds.
.Pp
An enclosure may provide environmental information using an alternative
command set to the SCSI Enclosure Services used by this driver.
Enclosures using the SCSI Accessed Fault-Tolerant Enclosure command set
may be monitored by the
.Xr safte 4
driver.
.Sh SEE ALSO
.Xr intro 4 ,
.Xr safte 4 ,
.Xr scsibus 4 ,
.Xr sensorsd 8 ,
.Xr sysctl 8
.Sh HISTORY
The
.Nm
driver first appeared in
.Ox 3.8 .
.Sh AUTHORS
The
.Nm
driver was written by
.An David Gwynne Aq Mt dlg@openbsd.org .