On Mon, Mar 27, 2000, Greg KH <[EMAIL PROTECTED]> wrote:
> On Mon, Mar 27, 2000 at 12:46:05PM -0800, Johannes Erdfelt wrote:
> > I appear to have a device (hub) which refuses to send back a descriptor
> > dump after the device had gone through the set address/set configuration
> > stage.
> > 
> > This makes it difficult to grab a complete descriptor dump in userspace.
> > 
> > Would anyone have any objections to caching the complete descriptor dump
> > and returning it via read() in usbdevfs?
> 
> I sure don't. I don't want the bus traffic on Linux to look like Win??
> which keeps asking for the descriptors, even after it just asked for
> them.
> 
> Besides, I thought that we used to have all that information around
> anyway (except for the string descriptors), but that was a long time
> ago, and I haven't really poked around in the usb core in a while, so
> things have probably changed. 

It is all sitting around and I'm undecided if putting them all back
together is the best way to go about it. Getting the code to be anything
close to readable in usbdevfs is going to be challenge if we don't keep
it all in one big buffer (well, for each config).

I'm working on the code now and even in the big buffer approach, it gets a
little complicated.

JE


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to