UPD(4) - Device Drivers Manual

UPD(4) - Device Drivers Manual #

UPD(4) - Device Drivers Manual

NAME #

upd - USB Power Devices sensor

SYNOPSIS #

upd* at uhidev?

DESCRIPTION #

The upd driver provides support for monitoring various sensors provided by USB Power Devices (such as a UPS). Supported sensor values are made available via the sysctl(8) interface.

The following sensors are supported by the driver:

BatteryPresent
ShutdownImminent
ACPresent
Overload
RelativeStateOfCharge
AbsoluteStateOfCharge
RemainingCapacity
FullChargeCapacity
Charging
Discharging
AtRateTimeToFull
AtRateTimeToEmpty
RunTimeToEmpty
NeedReplacement

SEE ALSO #

intro(4), uhidev(4), sensorsd.conf(5), sensorsd(8), sysctl(8)

The USB Power Devices specification can be found at: https://www.usb.org/hid

HISTORY #

The upd driver first appeared in OpenBSD 5.6.

AUTHORS #

The upd driver was written by Andre de Oliveira.

BUGS #

The upd driver does not indicate device health via aggregate or individual sensor status. Users who wish to monitor upd status using sensorsd(8) must manually establish “high” and “low” limits for sensor values of interest via sensorsd.conf(5).

OpenBSD 7.5 - May 12, 2020