Closed obsy closed 1 year ago
In some cases (ipq40xx), it fails to read the temperature and returns an empty value:
root@Gargoyle:~# /usr/lib/gargoyle/tempinfo.sh temps.push("1","","-","-");
because:
root@Gargoyle:~# sh -x /usr/lib/gargoyle/tempinfo.sh + '[' -e /tmp/sysinfo/model ] + cat /tmp/sysinfo/model + tmodel='Cell C RTL30VW' + show_temp=1 + TEMPCPU=- + TEMPMEM=- + TEMPWIFI=- + show_temp=0 + '[' -e /sys/class/thermal/thermal_zone0/temp ] + '[' -e /sys/class/hwmon/hwmon0/temp1_input ] + cut -c1-2 /sys/class/hwmon/hwmon0/temp1_input + TEMPCPU= + show_temp=1 + echo 'temps.push("1","","-","-");' temps.push("1","","-","-"); + exit 0
Fix this.
Thanks for this. While Eric tags 1.14 I am just holding off merging to keep the branch stable so i don't get in his way. Will merge ASAP.
Ok. I'm also getting my 1.14 builds ready so there will be some test reports.
In some cases (ipq40xx), it fails to read the temperature and returns an empty value:
because:
Fix this.