Expand description

omnisensor: a unified OpenBMC sensor daemon.

Configuration data retrieved from entity-manager is used to instantiate sensor objects that present readings and other data (units, thresholds, operational status, etc.) via dbus.

Modules

adc 🔒
Backend providing support for ADC sensors.
Assorted utilities for easing dbus usage.
external 🔒
Backend providing support for hosting externally-supplied sensor data in dbus objects.
fan 🔒
Backend providing support for fan sensors.
gpio 🔒
Abstractions for handling GPIO lines associated with sensors.
hwmon 🔒
Backend providing support for PMBus and I2C-based hwmon sensors.
i2c 🔒
Abstractions for managing I2C devices.
peci 🔒
Backend providing support for Intel PECI sensors.
powerstate 🔒
Utility code for sensor power-state attributes and host power state monitoring.
sensor 🔒
Backend-independent code for implementing and managing sensors.
sysfs 🔒
Utility code for interacting with sysfs files.
threshold 🔒
Utility code for managing sensor thresholds.
types 🔒
Relatively generic convenience types.

Structs

Global daemon-wide state

Constants

DBUS_NAME 🔒
The dbus name claimed by the daemon.
The dbus service from which we retrieve config data.

Functions

get_config 🔒
Retrieve sensor config data from entity-manager via dbus.
A helper function for handling dbus PropertiesChanged signals.
main 🔒
The entry point of the daemon.
Arranges for cb to be called on receipt of any PropertiesChanged dbus signals.