Reference

ses(4)

SCSI Enclosure Services

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 command 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 configured.

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 devices 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:

SensorUnitsTypical Use
tempuKtemperature
fanRPMfan
psuOn/Offpower supply
doorlockOn/Offdoor lock
alarmOn/Offenclosure alarm

Sensor data is updated every 10 seconds.

SEE ALSO

intro(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 ⟨[email protected]⟩.

History