Skip to content

Instantly share code, notes, and snippets.

@bgaid
Created December 2, 2014 17:54
Show Gist options
  • Select an option

  • Save bgaid/50b8d489e14740b55639 to your computer and use it in GitHub Desktop.

Select an option

Save bgaid/50b8d489e14740b55639 to your computer and use it in GitHub Desktop.
Sony SW3 commands for QuantaIdle
ls -l /sys/class/thermal/*
lrwxrwxrwx root root 2014-12-02 08:05 cooling_device0 -> ../../devices/virtual/thermal/cooling_device0
lrwxrwxrwx root root 2014-12-02 08:05 thermal_zone0 -> ../../devices/virtual/thermal/thermal_zone0
lrwxrwxrwx root root 2014-12-02 08:05 thermal_zone1 -> ../../devices/virtual/thermal/thermal_zone1
ls -l /sys/class/thermal/*/*
-rw-r--r-- root root 4096 2014-12-02 12:50 cur_state
-r--r--r-- root root 4096 2014-12-02 12:50 max_state
-rw-r--r-- root root 4096 2014-12-02 12:50 autosuspend_delay_ms
-rw-r--r-- root root 4096 2014-12-02 12:50 control
-r--r--r-- root root 4096 2014-12-02 12:50 runtime_active_time
-r--r--r-- root root 4096 2014-12-02 12:50 runtime_status
-r--r--r-- root root 4096 2014-12-02 12:50 runtime_suspended_time
lrwxrwxrwx root root 2014-12-02 12:50 subsystem -> ../../../../class/thermal
-r--r--r-- root root 4096 2014-12-02 10:35 type
-rw-r--r-- root root 4096 2014-12-02 12:50 uevent
-rw-r--r-- root root 4096 2014-12-02 12:50 passive
-rw-r--r-- root root 4096 2014-12-02 12:50 policy
-rw-r--r-- root root 4096 2014-12-02 12:50 autosuspend_delay_ms
-rw-r--r-- root root 4096 2014-12-02 12:50 control
-r--r--r-- root root 4096 2014-12-02 12:50 runtime_active_time
-r--r--r-- root root 4096 2014-12-02 12:50 runtime_status
-r--r--r-- root root 4096 2014-12-02 12:50 runtime_suspended_time
lrwxrwxrwx root root 2014-12-02 12:50 subsystem -> ../../../../class/thermal
-r--r--r-- root root 4096 2014-12-02 12:50 temp
-r--r--r-- root root 4096 2014-12-02 10:35 type
-rw-r--r-- root root 4096 2014-12-02 12:50 uevent
lrwxrwxrwx root root 2014-12-02 12:50 cdev0 -> ../cooling_device0
-r--r--r-- root root 4096 2014-12-02 12:50 cdev0_trip_point
lrwxrwxrwx root root 2014-12-02 12:50 cdev1 -> ../cooling_device0
-r--r--r-- root root 4096 2014-12-02 12:50 cdev1_trip_point
lrwxrwxrwx root root 2014-12-02 12:50 cdev2 -> ../cooling_device0
-r--r--r-- root root 4096 2014-12-02 12:50 cdev2_trip_point
lrwxrwxrwx root root 2014-12-02 12:50 cdev3 -> ../cooling_device0
-r--r--r-- root root 4096 2014-12-02 12:50 cdev3_trip_point
lrwxrwxrwx root root 2014-12-02 12:50 cdev4 -> ../cooling_device0
-r--r--r-- root root 4096 2014-12-02 12:50 cdev4_trip_point
-rw-r--r-- root root 4096 2014-12-02 12:50 passive
-rw-r--r-- root root 4096 2014-12-02 12:50 policy
-rw-r--r-- root root 4096 2014-12-02 12:50 autosuspend_delay_ms
-rw-r--r-- root root 4096 2014-12-02 12:50 control
-r--r--r-- root root 4096 2014-12-02 12:50 runtime_active_time
-r--r--r-- root root 4096 2014-12-02 12:50 runtime_status
-r--r--r-- root root 4096 2014-12-02 12:50 runtime_suspended_time
lrwxrwxrwx root root 2014-12-02 12:50 subsystem -> ../../../../class/thermal
-r--r--r-- root root 4096 2014-12-02 12:50 temp
-rw-r--r-- root root 4096 2014-12-02 12:50 trip_point_0_temp
-r--r--r-- root root 4096 2014-12-02 12:50 trip_point_0_type
-rw-r--r-- root root 4096 2014-12-02 12:50 trip_point_1_temp
-r--r--r-- root root 4096 2014-12-02 12:50 trip_point_1_type
-rw-r--r-- root root 4096 2014-12-02 12:50 trip_point_2_temp
-r--r--r-- root root 4096 2014-12-02 12:50 trip_point_2_type
-r--r--r-- root root 4096 2014-12-02 12:50 trip_point_3_temp
-r--r--r-- root root 4096 2014-12-02 12:50 trip_point_3_type
-r--r--r-- root root 4096 2014-12-02 12:50 trip_point_4_temp
-r--r--r-- root root 4096 2014-12-02 12:50 trip_point_4_type
-r--r--r-- root root 4096 2014-12-02 10:35 type
-rw-r--r-- root root 4096 2014-12-02 12:50 uevent
cat /sys/class/thermal/*/*
2
4
/system/bin/sh: cat: /sys/class/thermal/cooling_device0/power: Is a directory
/system/bin/sh: cat: /sys/class/thermal/cooling_device0/subsystem: Is a directory
Charger_Coolant
0
step_wise
/system/bin/sh: cat: /sys/class/thermal/thermal_zone0/power: Is a directory
/system/bin/sh: cat: /sys/class/thermal/thermal_zone0/subsystem: Is a directory
31500
battery
/system/bin/sh: cat: /sys/class/thermal/thermal_zone1/cdev0: Is a directory
0
/system/bin/sh: cat: /sys/class/thermal/thermal_zone1/cdev1: Is a directory
1
/system/bin/sh: cat: /sys/class/thermal/thermal_zone1/cdev2: Is a directory
2
/system/bin/sh: cat: /sys/class/thermal/thermal_zone1/cdev3: Is a directory
3
/system/bin/sh: cat: /sys/class/thermal/thermal_zone1/cdev4: Is a directory
4
0
step_wise
/system/bin/sh: cat: /sys/class/thermal/thermal_zone1/power: Is a directory
/system/bin/sh: cat: /sys/class/thermal/thermal_zone1/subsystem: Is a directory
384
0
active
51
active
171
active
430
active
550
active
dietemp
1
ls -l /sys/class/hwmon/*
lrwxrwxrwx root root 2014-12-02 08:05 hwmon0 -> ../../devices/platform/3500d000.i2c/i2c-4/4-0008/bcmpmu_adc.9.auto/hwmon/hwmon0
lrwxrwxrwx root root 2014-12-02 08:05 hwmon1 -> ../../devices/virtual/hwmon/hwmon1
lrwxrwxrwx root root 2014-12-02 08:05 hwmon2 -> ../../devices/virtual/hwmon/hwmon2
cat /sys/class/hwmon/*/*
/system/bin/sh: cat: /sys/class/hwmon/hwmon0/device: Is a directory
/system/bin/sh: cat: /sys/class/hwmon/hwmon0/power: Is a directory
/system/bin/sh: cat: /sys/class/hwmon/hwmon0/subsystem: Is a directory
battery
/system/bin/sh: cat: /sys/class/hwmon/hwmon1/power: Is a directory
/system/bin/sh: cat: /sys/class/hwmon/hwmon1/subsystem: Is a directory
31500
dietemp
/system/bin/sh: cat: /sys/class/hwmon/hwmon2/power: Is a directory
/system/bin/sh: cat: /sys/class/hwmon/hwmon2/subsystem: Is a directory
384
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment