6.1.11 doesn't have thermal info.

Discussion about U-Boot and the kernel.

6.1.11 doesn't have thermal info.

Postby NotEinstein » Sat Feb 11, 2023 11:08 am

Running Linux n 6.1.11-1-rpi-ARCH #1 SMP Fri Feb 10 10:55:44 MST 2023 armv7l GNU/Linux on my Raspberry Pi 3+ and all seems good apart from /sys/class/thermal not having anything available. I asked on the Raspberry Pi forum and they say they have it, so has the Arch build omitted them?
NotEinstein
 
Posts: 41
Joined: Mon Jul 22, 2019 2:05 am

Re: 6.1.11 doesn't have thermal info.

Postby graysky » Sat Feb 11, 2023 1:17 pm

I have it on RPi4 armv7h but I do not have a RPi3 for testing. I believe it's moved under /sys/devices/virtual/

$this->bbcode_second_pass_code('', '% cat /sys/devices/virtual/thermal/thermal_zone0/temp
30667
')
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: 6.1.11 doesn't have thermal info.

Postby Babets » Sat Feb 11, 2023 8:30 pm

Hi graysky, I am experiencing the same issue as NotEinstein with my raspberry pi 2 after the update from linux-rpi 5.15.92-1
Do you use any overlay to activate the sensors support?
Babets
 
Posts: 2
Joined: Sat Feb 11, 2023 8:11 pm

Re: 6.1.11 doesn't have thermal info.

Postby NotEinstein » Sun Feb 12, 2023 3:51 am

Hi graysky,

/sys/devices/virtual/thermal does not exist.
NotEinstein
 
Posts: 41
Joined: Mon Jul 22, 2019 2:05 am

Re: 6.1.11 doesn't have thermal info.

Postby graysky » Sun Feb 12, 2023 12:45 pm

Can one of you post the output of this under 6.1.11:
$this->bbcode_second_pass_code('', 'uname -a')
$this->bbcode_second_pass_code('', 'pacman -Qs raspberry')
$this->bbcode_second_pass_code('', 'lscpu | grep Arch')
and run as root
$this->bbcode_second_pass_code('', 'find /sys -name 'thermal'')
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: 6.1.11 doesn't have thermal info.

Postby davep » Sun Feb 12, 2023 12:55 pm

# uname -a
Linux <redacted> 6.1.11-1-rpi-ARCH #1 SMP Fri Feb 10 10:55:44 MST 2023 armv7l GNU/Linux

# lscpu | grep Arch
Architecture: armv7l

# find /sys -name 'thermal'
/sys/kernel/tracing/events/thermal
/sys/kernel/debug/tracing/events/thermal
/sys/class/thermal
/sys/firmware/devicetree/base/__symbols__/thermal
/sys/firmware/devicetree/base/aliases/thermal
davep
 
Posts: 10
Joined: Tue Jun 25, 2019 12:24 pm

Re: 6.1.11 doesn't have thermal info.

Postby davep » Sun Feb 12, 2023 12:57 pm

Apologies missed one:
# pacman -Qs raspberry
local/firmware-raspberrypi 20230125-1
Additional firmware for Raspberry Pi
local/raspberrypi-bootloader 20230210-1
Bootloader files for Raspberry Pi
local/raspberrypi-firmware 20230124-2
Firmware tools, libraries, and headers for Raspberry Pi
local/wiringpi 181.1ad03dd-1
GPIO Interface library for the Raspberry Pi
davep
 
Posts: 10
Joined: Tue Jun 25, 2019 12:24 pm

Re: 6.1.11 doesn't have thermal info.

Postby graysky » Sun Feb 12, 2023 1:00 pm

@davep - and:
$this->bbcode_second_pass_code('', 'cat /sys/class/thermal/thermal_zone0/hwmon0/temp1_input')
and as root initially:
$this->bbcode_second_pass_code('', 'vcgencmd measure_temp')
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: 6.1.11 doesn't have thermal info.

Postby davep » Sun Feb 12, 2023 1:05 pm

# cat /sys/class/thermal/thermal_zone0/hwmon0/temp1_input
cat: /sys/class/thermal/thermal_zone0/hwmon0/temp1_input: No such file or directory
(/sys/class/thermal directory is empty)

# vcgencmd measure_temp
temp=44.5'C
davep
 
Posts: 10
Joined: Tue Jun 25, 2019 12:24 pm

Re: 6.1.11 doesn't have thermal info.

Postby graysky » Sun Feb 12, 2023 3:51 pm

I do not have RPi2/3 for testing. The fact that vcgencmd returns a value is a good sign that the driver is running. What does this show:
$this->bbcode_second_pass_code('', 'find /sys -name 'temp1_input'')
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Next

Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 12 guests