Hi,

schroete wrote on 18. Juni 2015 18:02:44 UTC+2:
>
> just seen that Hans did a temperature readout in sunxi-next in the 
> sun4i-ts module. 
>

If this is responsible for the value reported by 
/sys/devices/virtual/thermal/thermal_zone0/temp then the output seems to be 
wrong.

Steps to reproduce:

- ensure that the A20 board is idle and query 
/sys/devices/virtual/thermal/thermal_zone0/temp (will show you something 
below 37°C)
- press your thumb on the A20 while running and check again

Expected result: temperature 
<https://www.dict.cc/englisch-deutsch/temperature.html> exchange 
<https://www.dict.cc/englisch-deutsch/exchange.html> between thumb and SoC: 
If the SoC's temperature is below 37°C it should increase, if it's above it 
will decrease. What happens with kernel 4.0 or above: the temperature 
reported by thermal_zone0/temp will further decrease below 30° which seems 
to be impossible. Unfortunetaly I cannot provide patches but just report 
that there's something going wrong.

When I do a 'stress -t 900 -c 2 -m 2 -i 2' on an A20 board with kernel 
4.0.4 then temperature doesn't exceed 42.5°C (very unrealistic) when doing 
the same with kernel 3.4.107 and the sunxi-dbgreg module approach ('echo 
'f1c25004:90' > /sys/devices/virtual/misc/sunxi-dbgreg/rw/write;') 
temperatures reported rise above 50°.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to