On Fri, 5 Feb 2010, Pavel Machek wrote: > > > > > + * The default for all devices is "auto", which means that devices may be > > > > + * subject to automatic power management, depending on their drivers. > > > > > > Is it wise to specify 'auto' default value for devices without runtime > > > pm? > > > > Yes, it is. It means the user space doesn't care whether or not the device is > > power managed at run-time. > > Well, defaulting to 'on' for drivers when runtime pm is experimental > seems logical. and there will be such drivers... It's really not very important what the default setting is. Runtime PM is always initially disabled, regardless of the "auto"/"on" setting, until the driver explicitly enables it. At that time the driver also has the option of changing the setting from "auto" to "on". So if a driver writer wants to support runtime PM but thinks that his implementation (or the device!) may be buggy, he can easily arrange things so the user has to change the sysfs setting to make anything happen. Alan Stern _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm