Hi there, Here is an updated version of the patches to fix the sysfs interface for runtime device power management by restoring the file to its originally designed behavior - to place devices in the power state specified by the user process writing to the file. Recently, the interface was changed to filter out values to prevent a BUG() that was introduced in the PCI power management code. While a valid fix, it makes the driver core filter values that might otherwise be used by the bus/device drivers. This behavior enforces a hard-coded, non-configurable policy in the driver core, and prevents any other power state besides "on" and "off" from being used. These patches implement a solution to that problem by introducing a "state" field to the pm_message_t structure, which is passed to the bus drivers for each suspend request. The sysfs interface is modified to forward the value written to the file in the .state field. The bus and device drivers can use that field as guidance for which power state to enter. While not the only solution to the problem, this solution should restore the desired functionality to the per-device "state" file with the least amount of impact. Thanks, Pat