On Thu, 22 Mar 2007, David Brownell wrote: > On Wednesday 21 March 2007 2:39 pm, Pavel Machek wrote: > > > > > USB gets the dependencies right, just copy that. > > > Does USB include all kinds of dependence, eg non parent-children > > > dependence? > > > > No, probably not, as USB was designed properly. > > It was designed to work with as few wires as possible: "minimalist" > design. That's not the same as "proper"; not everything works with > the same design constraints. Sort of an off-topic side issue: One of the aspects of USB that I have found surprisingly "improper" is the way it handles remote wakeup. According to the USB spec, when a device sends a remote wakeup request to its parent hub, the hub _has_ to resume the device -- or if the hub is also suspended, it has to pass the wakeup request on up to its own parent, all the way back to the host computer if necessary. The point is, the wakeup request must be honored (and fairly quickly, too); the spec doesn't allow the parent to keep the device suspended. Although presumably nothing terribly bad would happen if it did. Alan Stern _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm