[systemd-devel] Ordering of systemd-tmpfiles-setup.service and systemd-modules-load.service

Tomasz Torcz tomek at pipebreaker.pl
Wed Jun 23 18:31:44 UTC 2021


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 at pipebreaker.pl       an IP-routable hand grenade.”  — Andrew Morton (LKML)



More information about the systemd-devel mailing list