/sys/devices/virtual/thermal/thermal_zone8/temp: Invalid argument

I’m getting started with a NVIDIA Orin Jetson-Small Developer Kit (Jetpack 5.0 PRE-DP [L4T 34.0.1]) still rather early in the setup process and noticed that it provides out of the box 10 thermal zones

pseyfert@orin-1:~$ ls /sys/devices/virtual/thermal/thermal_zone*/temp
/sys/devices/virtual/thermal/thermal_zone0/temp  /sys/devices/virtual/thermal/thermal_zone5/temp
/sys/devices/virtual/thermal/thermal_zone1/temp  /sys/devices/virtual/thermal/thermal_zone6/temp
/sys/devices/virtual/thermal/thermal_zone2/temp  /sys/devices/virtual/thermal/thermal_zone7/temp
/sys/devices/virtual/thermal/thermal_zone3/temp  /sys/devices/virtual/thermal/thermal_zone8/temp
/sys/devices/virtual/thermal/thermal_zone4/temp  /sys/devices/virtual/thermal/thermal_zone9/temp

Though browsing through them, there seems to be something wrong with zone 8

pseyfert@orin-1:~$ cat /sys/devices/virtual/thermal/thermal_zone8/temp
cat: /sys/devices/virtual/thermal/thermal_zone8/temp: Invalid argument

The entry is related to the tj-therm zone (from the type in the same dir)

pseyfert@orin-1:~$ for f in /sys/devices/virtual/thermal/thermal_zone8/* ; do echo $f ; sudo cat $f ; echo ; done
/sys/devices/virtual/thermal/thermal_zone8/available_policies
[sudo] password for pseyfert: 
pid_thermal_gov power_allocator step_wise 

/sys/devices/virtual/thermal/thermal_zone8/emul_temp
cat: /sys/devices/virtual/thermal/thermal_zone8/emul_temp: Permission denied

/sys/devices/virtual/thermal/thermal_zone8/integral_cutoff
0

/sys/devices/virtual/thermal/thermal_zone8/k_d
0

/sys/devices/virtual/thermal/thermal_zone8/k_i
0

/sys/devices/virtual/thermal/thermal_zone8/k_po
0

/sys/devices/virtual/thermal/thermal_zone8/k_pu
0

/sys/devices/virtual/thermal/thermal_zone8/mode
disabled

/sys/devices/virtual/thermal/thermal_zone8/offset
0

/sys/devices/virtual/thermal/thermal_zone8/passive
0

/sys/devices/virtual/thermal/thermal_zone8/passive_delay
1000

/sys/devices/virtual/thermal/thermal_zone8/policy
step_wise

/sys/devices/virtual/thermal/thermal_zone8/polling_delay
0

/sys/devices/virtual/thermal/thermal_zone8/power
cat: /sys/devices/virtual/thermal/thermal_zone8/power: Is a directory

/sys/devices/virtual/thermal/thermal_zone8/slope
1

/sys/devices/virtual/thermal/thermal_zone8/subsystem
cat: /sys/devices/virtual/thermal/thermal_zone8/subsystem: Is a directory

/sys/devices/virtual/thermal/thermal_zone8/sustainable_power
0

/sys/devices/virtual/thermal/thermal_zone8/temp
cat: /sys/devices/virtual/thermal/thermal_zone8/temp: Invalid argument

/sys/devices/virtual/thermal/thermal_zone8/type
tj-therm

/sys/devices/virtual/thermal/thermal_zone8/uevent

checking the kernel configuration, i imagine that this sensor should be active

pseyfert@orin-1:~$ zcat /proc/config.gz  | grep tj_therm -i 
CONFIG_TEGRA_TJ_THERMAL=y

Any hints why that temp value can’t be read?

(FWIW: this means I can’t run jtop on the device, until its maintainer has a fix. though with jtop not being maintained by nvidia, i think we can focus on whether thermal_zone8/temp should be readable.)

Could you reflash to the latest JetPack 5.1 GA release first? Thanks

okay … that took a while since i hadn’t flashed that device before (used the factory default, but turned out i anyway needed to re-flash it according to https://developer.nvidia.com/blog/emulating-an-nvidia-jetson-orin-nx-using-the-nvidia-jetson-agx-orin-developer-kit/ ) but now i’m on Model: Jetson AGX Orin as Nano 8GB - Jetpack 5.1 [L4T 35.2.1] and all temperature sysfs files can be read.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.