BPI-SINOVOIP / pi-linux

linux kernel for pi
10 stars 4 forks source link

Add minimal hwmon support #3

Open lu-zero opened 1 month ago

lu-zero commented 1 month ago

It makes easier to see the temperature of the cpu.

e.g.

lu_zero@spacemit ~ $ sensors
cluster1_thermal-virtual-0
Adapter: Virtual device
temp1:        +75.0°C  (crit = +115.0°C)

nvme-pci-10100
Adapter: PCI adapter
Composite:    +40.9°C  (low  =  -0.1°C, high = +82.8°C)
                       (crit = +84.8°C)
Sensor 1:     +40.9°C  (low  = -273.1°C, high = +65261.8°C)

cluster0_thermal-virtual-0
Adapter: Virtual device
temp1:        +76.0°C  (crit = +115.0°C)
lu-zero commented 1 month ago

Thank you @dlan17 Updated accordingly.