darshanparajuli / SimpleSystemMonitorApp

Issue tracking repo for Simple System Monitor app.
27 stars 11 forks source link

Cann't THERMAL ZONES on my device #13

Open roykang75 opened 5 years ago

roykang75 commented 5 years ago

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?

roykang75 commented 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

darshanparajuli commented 5 years ago

@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.

roykang75 commented 5 years ago

@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.