On Mon, 1 Aug 2005, Alan Stern wrote: > On Mon, 1 Aug 2005, Leo L. Schwab wrote: > > > > If you wanted to get really fancy, you could establish via a > > > > userspace API a named "device collection" [ ... ] > > > > > > I suspect that's fancier than we need, although perhaps it would come in > > > handy in special circumstances. For now, it should be good enough to > > > restrict such "device collections" to be subtrees of the device tree. > > > > > I was thinking of possibly useful cases where "conceptually related" > > devices may be convenient to treat as a single group, but are located on > > disparate busses. One example that comes to mind would be to spin down all > > available graphics cards (which may be located on the AGP bus, PCI bus, and > > USB bus). > > This may be one of those special circumstances. That's a UI feature that would be nice to see implemented. It is essentially just an iterator though, looping over the the instances of a particular device class (graphics, per the example). Pat