Power
D0, Device power state, equivalent to “fully on”. D1 and D2 are intermediate states; D3 is “Off”
S0ix, An “active idle” sleep state, which delivers the same power consumption as S3 sleep, yet provides a quick activate time into full S0 state
Links
cat scaling_available_frequencies
Kernel Integration
root@edison:~# rfkill block Bluetooth # BlueTooth
root@edison:~# modprobe -r bcm4334x # WiFi
root@edison:~# modprobe bcm4334x # WiFi
root@edison:~# /sbin/iwconfig wlan0 power off
root@edison:~# /sbin/iwconfig wlan0 power on
root@edison:~# cat /sys/power/state
freeze mem
root@edison:~# cat /sys/power/pm_test
[none] core processors platform devices freezer
root@edison:~# echo 1 > /sys/devices/system/cpu/offline
root@edison:~# ls /sys/power/
pm_async pm_print_times state wake_unlock
pm_freeze_timeout pm_test wake_lock wakeup_count
root@edison:~# cat /sys/devices/system/cpu/
cpu0/ cpuidle/ offline power/ release
cpu1/ kernel_max online present uevent
cpufreq/ modalias possible probe
root@edison:~# ls /sys/devices/system/cpu/cpu0/cpufreq/
affected_cpus scaling_cur_freq
cpuinfo_cur_freq scaling_driver
cpuinfo_max_freq scaling_governor
cpuinfo_min_freq scaling_max_freq
cpuinfo_transition_latency scaling_min_freq
related_cpus scaling_setspeed
scaling_available_frequencies stats
scaling_available_governors
root@edison:~# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
ondemand userspace performance
root@edison:~# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
500000
```sh
### Suspend to Ram, Yocto BSP Edison 3.0
```sh
root@edison:~# echo mem > /sys/power/state
[ 64.899755] intel_scu_watchdog_evo: watchdog_stop
root@edison:~# echo mem > /sys/power/state
[ 72.953877] intel_scu_watchdog_evo: watchdog_stopFailure under some specific condition
Suspend to Ram, Yocto BSP Edison 2.1
Userspace Applications
SystemCtl, Yocto BSP Edison 3.0
From ArchLinux SystemD
Setup
Opkg
Apt-Get
Device Configuration
Usage Models
Links
performance states (P-states) or power saving states (C-states)
Dongle Host Driver, version 1.141.59 (r)
Suspend Issue
In the latest Yocto release (2.1 from 09/28/15), there is a problem when trying to put asleep the edison board. The commands to put the edison board in S3 state are:
But this only works the first time after a reboot. The patch involves modifying two lines of code from intel_soc_pmu.c file from the linux kernel:
https://github.com/01org/edison-linux/commit/149de7abd8829bcc009641e215b53fe89fcf29b2
Assuming you have a working yocto build environment (Check Edison BSP instructions for this), the file is on the following path:
Then we need to recompile and rebuild the image:
Last updated