SES(4)                    OpenBSD Programmer's Manual                   SES(4)

NAME
     ses - SCSI Enclosure Services

SYNOPSIS
     ses* at scsibus?

DESCRIPTION
     The ses driver provides support for monitoring the various environmental
     sensors present in SCSI enclosures using the SCSI Enclosure Services com-
     mand set.  The hardware monitoring is accessed via the hw.sensors
     sysctl(8) variable.

     SCSI devices have a fairly high level interface to the system and talk to
     it via a SCSI host adapter (e.g. ahc(4)).  A SCSI adapter must also be
     separately configured into the system before a SCSI enclosure can be con-
     figured.

     When the SCSI adapter is probed during boot, the SCSI bus is scanned for
     devices.  Any SCSI-2 devices of type ``Enclosure service'' or SCSI-3 de-
     vices of type ``Processor'' will be attached to the ses driver.

     SES compliant devices can provide an arbitrary set of sensors which may
     include the following types:

           Sensor    Units    Typical Use
           temp      uK       temperature
           fan       RPM      fan
           psu       On/Off   power supply
           doorlock  On/Off   door lock
           alarm     On/Off   enclosure alarm

     Sensor data is updated every 10 seconds.

     An enclosure may provide environmental information using an alternative
     command set to the SCSI Enclosure Services used by this driver.  Enclo-
     sures using the SCSI Accessed Fault-Tolerant Enclosure command set may be
     monitored by the safte(4) driver.

SEE ALSO
     intro(4), safte(4), scsibus(4), sensorsd(8), sysctl(8)

HISTORY
     The ses driver first appeared in OpenBSD 3.8.

AUTHORS
     The ses driver was written by David Gwynne <dlg@openbsd.org>.

OpenBSD 4.7                      May 31, 2007                                1
