On Wed, 21 Mar 2007, Shaohua Li wrote: > > I agree; nothing I said > > before was meant to rule out such things. In fact, USB already > > contains > > several instances where non-driver code decides to suspend a device. > > For > > example, when a device's file in the usbfs filesystem is closed, the > > filesystem code attempts to suspend the device. > This is another question. Should we make decision in kernel layer? Why not? If the only reason the device is in use is because the kernel layer has opened its device file, then when the kernel layer closes the file the device will be idle and so it should be suspended. Alan Stern _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm