[sysfs for runtime PM]
#cd /sys/bus/mmc/devices/mmc1:0001/power
# ls -la
-rw-r--r-- root root 4096 1970-01-01 03:50 autosuspend_delay_ms
-rw-r--r-- root root 4096 1970-01-01 03:50 control
-r--r--r-- root root 4096 1970-01-01 03:50 runtime_active_time
-r--r--r-- root root 4096 1970-01-01 03:50 runtime_status
-r--r--r-- root root 4096 1970-01-01 03:50 runtime_suspended_time
# cat ./control
auto
# cat ./runtime_status
active
# cat ./runtime_status
suspended
[Source file]
kernel/drivers/base/power/sysfs.c
/*
* control - Report/change current runtime PM setting of the device
*
* Runtime power management of a device can be blocked with the help of
* this attribute. All devices have one of the following two values for
* the power/control file:
*
* + "auto\n" to allow the device to be power managed at run time;
* + "on\n" to prevent the device from being power managed at run time;
*
* The default for all devices is "auto", which means that devices may be
* subject to automatic power management, depending on their drivers.
* Changing this attribute to "on" prevents the driver from power managing
* the device at run time. Doing that while the device is suspended causes
* it to be woken up.
2014년 10월 24일 금요일
2014년 9월 6일 토요일
2014년 7월 4일 금요일
Flash Memory Summit 2013 Proceedings
http://www.flashmemorysummit.com/English/Conference/Proceedings_Chrono.html
2014년 7월 3일 목요일
2014년 2월 2일 일요일
2014년 1월 27일 월요일
How to install up-to-date git stable release on Ubuntu
How to update git to the newest version of “Ubuntu Git Maintainers” team
$ sudo apt-get install python-software-properties
$ sudo add-apt-repository ppa:git-core/ppa
$ sudo apt-get update
$ sudo apt-get install git
$ git --version
git version 1.8.5.2
$
2014년 1월 4일 토요일
피드 구독하기:
글 (Atom)