Open roykang75 opened 5 years ago
Dear ShadyGaDa,
I am linux kernel engineer. so, i will make vfs(virtual file system) for thermal node, if you let me know.
thanks
@roykang75 It reads the files in following directories:
/sys/class/hwmon
/sys/class/thermal
The issue is either your device has elevated permissions set for files in these directories or they simply don't exist.
@darshanparajuli My device tempurature path is below.
root@s5p6818_rookie:/sys/class/hwmon # ll lrwxrwxrwx root root 2009-09-01 00:00 hwmon0 -> ../../devices/platform/nxp-tmu.0/hwmon/hwmon0 -rw-r--r-- root root 4096 2009-09-01 00:00 temp1_crit -rw-r--r-- root root 4096 2009-09-01 00:00 temp1_input
root@s5p6818_rookie:/sys/class/thermal # ll -rw-r--r-- root root 4096 2009-09-01 00:00 temp1_crit -rw-r--r-- root root 4096 2009-09-01 00:00 temp1_input lrwxrwxrwx root root 2009-09-01 00:00 thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0
root@s5p6818_rookie:/sys/class/thermal/thermal_zone0 # ll drwxr-xr-x root root 2009-09-01 00:00 power lrwxrwxrwx root root 2009-09-01 00:00 subsystem -> ../../../../class/thermal -r--r--r-- root root 4096 2009-09-01 00:00 temp -rw-r--r-- root root 4096 2009-09-01 00:00 uevent
If exist wrong path or additional path , please let me know.
Hi, I develop new android device that is android 5.1. I was install Simple System Monitor App. I try see THERMAL ZONES, but that is not visible. How do I see the THERMAL ZONES tab? And, What files does THERMAL ZONES read and show?