RE: [RFC PATCH 0/2] isoc support for gadget zero and usbtest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Alan Stern [mailto:stern@xxxxxxxxxxxxxxxxxxx]
> Sent: Monday, March 12, 2012 2:06 PM
> 
> On Mon, 12 Mar 2012, Paul Zimmerman wrote:
> 
> > This adds support for isochronous endpoints to gadget zero and
> > the usbtest module.
> >
> > We have used something similar to this for testing our super
> > speed device and host controllers, but it would be easier (and
> > require less support) to have this in the mainline kernel.
> >
> > Does this look like the right approach? I know the zero gadget
> > is supposed to be very simple, and this complicates it a bit.
> > But making a separate gadget for this would require duplicating
> > quite a bit of code, I think. At least I don't see a clean way
> > to make the isoc support modular and optional.
> >
> > I have tested this with the Synopsys device and host, at high
> > speed and super speed. It still needs testing with a UDC that
> > doesn't support super speed or isoc, to make sure the simple
> > case is not broken.
> >
> > Comments?
> 
> Wasn't something like this discussed (and patches submitted) a long
> time ago?  I don't remember what happened with them.
> 
> Anyway, it's possible to do this sort of testing already by using
> gadgetfs with the "usb.c" test program, if you compile it with the
> -DAIO option.

Hmm, I see. Is gadget zero considered obsolete then, if everything
can be done using usb.c and gadgetfs? I wonder why gadget zero is
still maintained? It has support for super speed, for example, while
gadgetfs does not.

Do you think there could be a problem moving data at high-
bandwidth super speed rates (48K bytes every 125 usec) using
gadgetfs?

-- 
paul

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux