PM interface to suspend/resume individual/specific device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Below command would suspend all of devices and system
# echo mem > /sys/power/state  

How to just suspend/resume one specific devices? E.g.
/sys/devices/platform/serial8250

It would be useful to test the stability of PM interface of individual
driver.
If drivers called earlier refuse to suspend then not able to reach the
suspend/resume function of the specific driver.

And it would be useful for automatic testing since a script can
suspend/resume the specific device for many times without manual
operation.

Is it possible to add "state" for each device?
E.g. 
# echo mem > /sys/devices/platform/serial8250/power/state






 
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux