Re: [linux-usb-devel] Re: OHCI problems with suspend/resume

From: Pavel Machek (pavel@ucw.cz)
Date: Thu Jul 31 2003 - 17:09:58 EST


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/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:51 EST