lmenv(4)

lmenv4

National semiconductor lm87 temperature, voltage, and fan sensor

Usage

lmenv* at iic?

Overview

The lmenv driver provides support for the National Semiconductor LM87, National Semiconductor LM81, Analog Devices ADM9240, and Dallas Semiconductor 1780 temperature sensors. The sensor possesses a collection of sensor values which are made available through the sysctl(8) interface:

$ sysctl hw.sensors.lmenv0
hw.sensors.lmenv0.temp0=-128.00 degC (External)
hw.sensors.lmenv0.temp1=29.00 degC (Internal)
hw.sensors.lmenv0.fan0=3220 RPM
hw.sensors.lmenv0.volt0=2.62 V DC (+2.5Vin)
hw.sensors.lmenv0.volt1=1.49 V DC (Vccp)
hw.sensors.lmenv0.volt2=3.28 V DC (+Vcc)
hw.sensors.lmenv0.volt3=5.03 V DC (+5Vin/Vcc)
hw.sensors.lmenv0.volt4=12.00 V DC (+12Vin)
hw.sensors.lmenv0.volt5=1.20 V DC (Vccp)

Releases

43 releases since OpenBSD 3.9; the text changed 5 times.

  1. 3.9
  2. 4.0
  3. 4.1
  4. 4.2–5.1
  5. 5.2–5.3
  6. 5.4–8.0

History

The lmenv driver first appeared in OpenBSD 3.9.

Authors

The lmenv driver was written by Mark Kettenis ⟨[email protected]⟩.

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.