(2017-03-10 04:55)Milhouse Wrote:
(2017-03-10 00:11)rudrood Wrote: I just did a clean install of Libreelec 8 on my RPI2 and updated it directly after that with the latest Milhouse build.
What I found is that the Original Libreelec shows the CPU temperature in the settings menu, but the latest Milhouse build doesn't (it displays a question mark).
I've searched the thread but I couldn't find anything about it so I am wondering if this is a known problem or how to solve it.
Tested it on two RPI2's.
It's oke on my RPI3.
Thanks, will look into that. I don't have an RPi2 here so can't replicate but will check amongst the team.
Edit: Can you use ssh in to one of your RPi2 and run the following, then paste the output:
cat /flash/config.txt | pastebinit
dmesg | pastebinit
vcdbg log msg 2>&1 | pastebinit
I am running on a RPi2 and can reproduce on #0309.
cat: can't open '/sys/class/thermal/thermal_zone0/temp': No such file or directory
LibreELEC:~ # ls -al /sys/class/thermal/
drwxr-xr-x 2 root root 0 Feb 26 01:24 .
drwxr-xr-x 45 root root 0 Jan 1 1970 ..
bcmstat.sh is also broken
LibreELEC:~ # bcmstat.sh
Config: v0.4.4, args "", priority lowest (+19)
Board: 4 x ARMv7 cores available, performance governor (Pi2 Model B rev 1.1, BCM2836 SoC with 1GB RAM by Sony)
Memory: 1008MB (split 848MB ARM, 160MB GPU)
HW Block: | ARM | Core | H264 | SDRAM |
Min Freq: | 600MHz | 250MHz | 0MHz | 600MHz |
Max Freq: | 1000MHz | 500MHz | 500MHz | 600MHz |
Voltages: | +3, 1.3875V | +3, 1.2750V |
Other: temp_limit=85, sdram_schmoo=0x2000020
Firmware: Mar 2 2017 15:37:10, version a867bcec14cd829107be1c03c0953a076919f4d7 (clean) (release)
Codecs: H264 H263 MPG4 VP8 VP6 VORB THRA MJPG FLAC PCM
Booted: Fri Mar 10 07:30:40 2017Traceback (most recent call last):
File "/usr/bin/bcmstat.sh", line 1562, in <module>
File "/usr/bin/bcmstat.sh", line 1468, in main
File "/usr/bin/bcmstat.sh", line 522, in getBCM283X
tCore = float(readfile("/sys/class/thermal/thermal_zone0/temp"))
ValueError: could not convert string to float:
bcmstat.sh isn't showing the memory split I expect based on config.txt, total_mem=1023, gpu_mem_1024=320
The broken temperature, started in build #0220 (New 4.10.0 kernel)
The broken memory split, started in build #0227 (New firmware (dtoverlay, arm_loader, gpuserv, MMAL/IL); sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT)