notcbw / 2019_android_walkman

Findings from the Android firmware of the Sony Walkman NW-A100 series and NW-ZX500 series
25 stars 3 forks source link

Unable to Determine if more power-saving cpu frequency governor #9

Open dugon4747 opened 4 months ago

dugon4747 commented 4 months ago

Overview: I have flashed a custom kernel to my Sony NW-A100 series device. However, I am unable to determine if the power-saving CPU frequency governor feature provided by the custom kernel is functioning correctly.

Environment:

Details of the Issue: After flashing the custom kernel, I am unsure how to verify whether the power-saving CPU frequency governor is working as expected. I would appreciate guidance on the steps to check its functionality, the necessary tools, or any methods to confirm its operation.


icx1293:/ $ uname -a Linux localhost 4.14.78 #32 SMP PREEMPT Wed Sep 13 19:16:32 EDT 2023 aarch64 icx1293:/ $ cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state 1200000 124681 1600000 589 1800000 13684 icx1293:/ $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor conservative icx1293:/ $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1800000 icx1293:/ $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 1200000 icx1293:/ $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed \<unsupported> icx1293:/ $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq 1200000

tfchan-lab commented 3 months ago

You can use SmartPack to configure your own settings and use AIDA64 to confirm the change.

dugon4747 commented 3 months ago

Thank you so much for your advice. I really appreciate your guidance. I followed your suggestion, and I'm happy to report that it worked out wonderfully!