On Wed, Jan 30, 2002 at 12:07:26PM -0800, David Brownell wrote:
> > And also remember, the status file in a device's directory also provides
> > a _lot_ of information. We haven't even started to fill up the fields
> > there...
>
> And there can be a lot more such files. Though that 4KB limit
> may become an issue at some point.
I doubt it, we are talking one value per file here. I can't see any USB
driver wanting to go over 4Kb for 1 value (and if it does, I'll change
it :)
> What sort of USB information were you thinking should show
> up? Current configuration and altsetting? Power consumption
> for hubs (not that we budget that yet :)? There really aren't any
> examples of this in the kernel yet.
Bandwidth is a good one.
Current config and altsetting might be useful.
I haven't really thought about the different files yet.
> Also, one could argue that each USB function ("interface")
> should be presented as an individual device, just like each PCI
> function is handled ... after all, USB drivers bind to interfaces,
> not devices, and this is the "driver" FS! :)
No, I'll say that we need to stay one physical device per device in the
tree. If you want to do an interface tree, let's put that in usbfs,
where it belongs :)
thanks,
greg k-h
-
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 Feb 07 2002 - 21:00:19 EST