11-17-2019, 10:39 AM
(11-15-2019, 12:05 AM)Der Geist der Maschine Wrote:Never patched a kernel before.(11-13-2019, 03:33 AM)mfritsche Wrote: Anyone here knows how to change libsensors config to incorporate this?
AFAIK, libsensors works on hwmon devices. The two soc sensors are not hooked up to the hwmon API. You can do with this patch
http://students.engr.scu.edu/~sschaeck/m...l001.patch
The sensors are then automagically detected by libsensors:
Code:$ sensors
rk-bat-virtual-0
Adapter: Virtual device
temp1: +18.8 C
soc-thermal-virtual-0
Adapter: Virtual device
temp1: +42.8 C (crit = +85.0 C)
gpu-thermal-virtual-0
Adapter: Virtual device
temp1: +42.8 C
Will you point me to a tutorial or howto?