-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XBMC: Show cpu temperature #3
Comments
ohhh, this one is of interest, details please. |
In the new kernel 3.0.50 the SARADC driver has this function. Your have to enable this option in the kernel https://github.com/nspierbundel/amlogic-common/blob/master/arch/arm/mach-meson6/Kconfig#L42 Also this is involved. https://github.com/nspierbundel/amlogic-common/blob/master/arch/arm/mach-meson6/cpu.c#L118 I tried to back ported to 2.6 kernel. But without success. I did something wrong. To use it in XBMC: |
M3 temp reading: cat /sys/class/saradc/saradc_ch6 |
nice, got a patch ? |
Did not toy with xbmc, just enabled saradc in kernel. See Stane1983/buildroot-linux-kernel-m3@bd33bda Update: Patch for m3 xbmc advancedsettings (tested on 12.2): Note: Not supported by every board, eg. does not work on G-Box and variants |
Amlogic has adc channel to readout the temperature.
If temperature readout is enabled in the kernel, then /sys/class/saradc/temperature is available.
Temperature in Celsius.
The text was updated successfully, but these errors were encountered: