Module omnisensor::sysfs
source · [−]Expand description
Utility code for interacting with sysfs files.
Structs
Summary info about a hwmon
*_input fileInformation for reading sensor data from sysfs.
Constants
Functions
Convenience function for cases where we expect a glob to produce exactly one match.
For cases where we expect exactly one
.../hwmon/hwmonX subdirectory of a given path.Construct a
SensorIOCtx for an “indexed” hwmon sensor.Read a bit of data from
fd (at offset zero) and parse it as a T.Scan a device directoy fro hwmon
*_input files.