Re: MUSB issue

2018-07-10 Thread Paul Elder
On Tue, Jul 10, 2018 at 11:23:50AM -0400, Alan Stern wrote: > On Tue, 10 Jul 2018, Paul Elder wrote: > > > > > Are there other mechanisms ? If there are no other > > > > mechanism, I won't be able to validate the DATA stage in userspace as I > > > > can > > > > only send the data to userspace i

Re: MUSB issue

2018-07-10 Thread Alan Stern
On Tue, 10 Jul 2018, Paul Elder wrote: > > > Are there other mechanisms ? If there are no other > > > mechanism, I won't be able to validate the DATA stage in userspace as I > > > can > > > only send the data to userspace in the DATA stage request completion > > > handler, > > > and have to t

Re: MUSB issue

2018-07-09 Thread Paul Elder
Hi Alan, On Mon, Jul 02, 2018 at 04:03:34PM -0400, Alan Stern wrote: > On Mon, 2 Jul 2018, Laurent Pinchart wrote: > > > Hi Alan, > > > > On Monday, 2 July 2018 18:13:27 EEST Alan Stern wrote: > > > On Mon, 2 Jul 2018, Paul Elder wrote: > > > > Hello Felipe, > > > > > > > > We have discovered a

Re: MUSB issue

2018-07-02 Thread Alan Stern
On Mon, 2 Jul 2018, Laurent Pinchart wrote: > Hi Alan, > > On Monday, 2 July 2018 18:13:27 EEST Alan Stern wrote: > > On Mon, 2 Jul 2018, Paul Elder wrote: > > > Hello Felipe, > > > > > > We have discovered an issue in MUSB gadget when receiving control OUT > > > transfers. I have specifically o

Re: MUSB issue

2018-07-02 Thread Laurent Pinchart
Hi Alan, On Monday, 2 July 2018 18:13:27 EEST Alan Stern wrote: > On Mon, 2 Jul 2018, Paul Elder wrote: > > Hello Felipe, > > > > We have discovered an issue in MUSB gadget when receiving control OUT > > transfers. I have specifically observed it very frequently on the second > > SET_CUR UVC requ

Re: MUSB issue

2018-07-02 Thread Alan Stern
On Mon, 2 Jul 2018, Paul Elder wrote: > Hello Felipe, > > We have discovered an issue in MUSB gadget when receiving control OUT > transfers. I have specifically observed it very frequently on the second > SET_CUR UVC request when trying to stream video with yavta from a UVC > gadget. > > What ha

MUSB issue

2018-07-02 Thread Paul Elder
Hello Felipe, We have discovered an issue in MUSB gadget when receiving control OUT transfers. I have specifically observed it very frequently on the second SET_CUR UVC request when trying to stream video with yavta from a UVC gadget. What happens is that in the DATA phase, the controller copies