Dnia Wed, Jun 23, 2021 at 01:25:58PM -0500, Ian Pilcher napisał(a): > On 6/23/21 1:18 PM, Tomasz Torcz wrote: > > lm_sensors library ought to be used as abstraction layer, hiding > > specific hwmon? devices. You can call ‘sensors it8728-isa-0a30' > > and have the same output regardless of module loading order. > > Try sesnors with -u, -j or language bindings for full flexibility. > > AFAIK, lm_sensors does not provide an API that an application can use > to read sensor values, control fan speeds, etc. https://github.com/lm-sensors/lm-sensors/blob/master/doc/libsensors-API.txt I'm using ctypes-based bindings for Python from https://github.com/paroj/sensors.py -- Tomasz Torcz “If you try to upissue this patchset I shall be seeking tomek@xxxxxxxxxxxxxx an IP-routable hand grenade.” — Andrew Morton (LKML) _______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel