Messages in this thread | | | Date | Fri, 1 Aug 2003 00:09:58 +0200 | From | Pavel Machek <> | Subject | Re: [linux-usb-devel] Re: OHCI problems with suspend/resume |
| |
Hi!
> > I suspect that USB should do some non-global PM stuff too. > > Hub ports can be suspended when the devices connected to them > > are idle for long enough ... that's not something I'd expect > > system-wide PM policies to address. > > Indeed, this is not addressed, though it may sense to have > a way in the device model to call the suspend/resume callbacks > of "childs" of a given hub only for that purpose, I don't think > this is implemented yet. Maybe talk to Patrick about it. > > In general "local" power management (automatic disk spin down, > chipset idle-pm, etc...) is ... local to the driver, though you > can probably use the power state field of struct device to > store your current state if it maps to those semantics.
Is not disk spin-down policy, and thus belonging to userspace? Having daemon poll for inactivity of hubs once every 5 minutes and sending them to sleep should not hurt, too... Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |