On Fri, Nov 13, 2015 at 11:43 AM, Taceant Omnes <[email protected]> wrote: > On 13 November 2015 at 16:27, Robert Nelson <[email protected]> wrote: >> On Fri, Nov 13, 2015 at 9:41 AM, Taceant Omnes <[email protected]> wrote: >>> I am looking at ways to reduce power. I have the on-demand cpufreq >>> governor. I am looking now at cpuidle. >>> >>> The AM335x Linux Power Management User Guide [1] says that there are >>> two C-states however I can't find cpuidle on the BBB ([2]) running the >>> [3] kernel. >> >> >> debian@beaglebone:~$ ls /sys/devices/system/cpu/* >> /sys/devices/system/cpu/kernel_max /sys/devices/system/cpu/possible >> /sys/devices/system/cpu/offline /sys/devices/system/cpu/present >> /sys/devices/system/cpu/online /sys/devices/system/cpu/uevent >> >> /sys/devices/system/cpu/cpu0: >> cpufreq crash_notes_size online subsystem uevent >> crash_notes of_node power topology >> >> /sys/devices/system/cpu/cpufreq: >> ondemand >> >> /sys/devices/system/cpu/power: >> async runtime_active_kids runtime_status >> autosuspend_delay_ms runtime_active_time runtime_suspended_time >> control runtime_enabled runtime_usage > > Thanks, Robert. > > This is what is shown in [1]: > [root@arago /]# ls -l /sys/devices/system/cpu/cpu0/cpuidle/state0/ > > There is no folder called "cpuidle" in your folder listing above with > "state0" or "state1". How does your listing match the kernel > documentation [2]?
Yeah good point. ;) root@beaglebone:~# uname -r ; ls -l /sys/devices/system/cpu/cpu0/cpuidle/state0/ 4.1.13-ti-r29.4 total 0 -r--r--r-- 1 root root 4096 Nov 13 17:46 desc -rw-r--r-- 1 root root 4096 Nov 13 17:46 disable -r--r--r-- 1 root root 4096 Nov 13 17:46 latency -r--r--r-- 1 root root 4096 Nov 13 17:46 name -r--r--r-- 1 root root 4096 Nov 13 17:46 power -r--r--r-- 1 root root 4096 Nov 13 17:46 residency -r--r--r-- 1 root root 4096 Nov 13 17:46 time -r--r--r-- 1 root root 4096 Nov 13 17:46 usage https://github.com/RobertCNelson/ti-linux-kernel-dev/commit/7df6a18cbcd567712edd1e1a4a774742d510dbe3 Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
