On Tue, 4 Sep 2018, Andrey Konovalov wrote:
> Hi Alan,
>
> Another question. According to the USB spec:
>
> """
> The Data stage of a control transfer from an endpoint to the host is
> complete when the endpoint does one of the following:
> * Has transferred exactly the amount of data specified
Hi Alan,
Another question. According to the USB spec:
"""
The Data stage of a control transfer from an endpoint to the host is
complete when the endpoint does one of the following:
* Has transferred exactly the amount of data specified during the Setup stage
* Transfers a packet with a payload si
On Fri, Aug 31, 2018 at 4:34 PM, Alan Stern wrote:
> On Fri, 31 Aug 2018, Andrey Konovalov wrote:
[...]
>> Yes, I understand this. The idea is to stall/wait until the userspace
>> provides a response. Like gadgetfs, but for every USB request.
>
> If all you want to do is wait, STALL is not the a
On Fri, 31 Aug 2018, Andrey Konovalov wrote:
> On Thu, Aug 30, 2018 at 10:50 PM, Alan Stern
> wrote:
> > On Thu, 30 Aug 2018, Andrey Konovalov wrote:
> >
> >> Hi Alan,
> >>
> >> I have a few questions about gadgetfs.
> >>
> >>
On Thu, Aug 30, 2018 at 10:50 PM, Alan Stern wrote:
> On Thu, 30 Aug 2018, Andrey Konovalov wrote:
>
>> Hi Alan,
>>
>> I have a few questions about gadgetfs.
>>
>> According to documentation usb_gadget_driver->setup "queues a response
>>
On Thu, 30 Aug 2018, Andrey Konovalov wrote:
> Hi Alan,
>
> I have a few questions about gadgetfs.
>
> According to documentation usb_gadget_driver->setup "queues a response
> to ep0, or returns negative to stall".
>
> Do I understand correctly, that
Hi Alan,
I have a few questions about gadgetfs.
According to documentation usb_gadget_driver->setup "queues a response
to ep0, or returns negative to stall".
Do I understand correctly, that "stall" in this case means "retry the
same request later" and it's