Hi I just installed armbian on my rockpi 4c+ and wanted to check the temperature so I found that I should be able to run
cat /etc/armbianmonitor/datasources/soctemp
But that just gives the error cat: /etc/armbianmonitor/datasources/soctemp: No such file or directory
It seems /etc/armbianmonitor/datasources/soctemp is a link to /sys/devices/virtual/thermal/thermal_zone0/temp but I have no /sys/devices/virtual/thermal/thermal_zone0 directory, under thermal I have
├── cooling_device0
│ ├── cur_state
│ ├── max_state
│ ├── power
│ │ ├── autosuspend_delay_ms
│ │ ├── control
│ │ ├── runtime_active_time
│ │ ├── runtime_status
│ │ └── runtime_suspended_time
│ ├── stats
│ │ ├── reset
│ │ ├── time_in_state_ms
│ │ ├── total_trans
│ │ └── trans_table
│ ├── subsystem -> ../../../../class/thermal
│ ├── type
│ └── uevent
└── cooling_device1
├── cur_state
├── max_state
├── power
│ ├── autosuspend_delay_ms
│ ├── control
│ ├── runtime_active_time
│ ├── runtime_status
│ └── runtime_suspended_time
├── stats
│ ├── reset
│ ├── time_in_state_ms
│ ├── total_trans
│ └── trans_table
├── subsystem -> ../../../../class/thermal
├── type
└── uevent
Guessing this is a bug?
Both cur_state files yield 0 when cat them.
https://paste.armbian.com/ekebicased
I'm using the Armbian_v22.05.2_Rockpi-4cplus_bullseye_current_6.1.33_minimal.img image
It seems I can find the same content under /sys/class/thermal/ as under /sys/devices/virtual/thermal/
I have also tried to install lm-sensors but it fails to find any sensors to read, after that i tried to use a rolling release, but it never fetched a IP, guessing the boot failed, but as I have no micro hdmi adapter I could not check what failed.
Edit 2023-06-27
I downloaded the latest ubuntu server image from https://github.com/radxa/debos-radxa/releases/tag/20230201-0944 and there it seems to work, is there someway I can find what driver/process created the thermal_zone?
After that I tested the latest armbian ubuntu minimal image, sadly it also lacks the /sys/devices/virtual/thermal/