On Thu, 29 Jan 2015, Oliver Neukum wrote:

> On Thu, 2015-01-29 at 11:29 -0500, Alan Stern wrote:
> > The usbfs API has a peculiar hole: Users are not allowed to reap their
> > URBs after the device has been disconnected.  There doesn't seem to be
> > any good reason for this; it is an ad-hoc inconsistency.
> 
> How many URBs can you queue this way?

I don't understand the question.  Are you asking how many URBs can be 
queued via usbfs?  It's limited only by the restriction on the total 
memory usage (see usbfs_memory_mb in devio.c).

Of course, after a device has disconnected, you can't queue any URBs 
for it.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to