RE: Question: GadgetFS and EP0 'IN' traffic?

2017-09-21 Thread g4
Hello Alan. > Plenty of things could affect it. Without knowing more about your system, I > can't be more specific. For example, what UDC > driver are you using? Ah . It's an ancient (3.4.x*) sunxi_usb_hdc running on an AllWinner H3. > And have you tried testing your program with the

RE: Question: GadgetFS and EP0 'IN' traffic?

2017-09-20 Thread Alan Stern
On Wed, 20 Sep 2017 g...@novadsp.com wrote: > Hello and thanks > > > Do you mean: Any control-IN data (device to host) never appears on the > wire? After all, you said that bulk reads and writes > > are fine. > > Correct. Data sent via the bulk endpoint is visible. Data sent device to > host

RE: Question: GadgetFS and EP0 'IN' traffic?

2017-09-20 Thread g4
Hello and thanks > Do you mean: Any control-IN data (device to host) never appears on the wire? After all, you said that bulk reads and writes > are fine. Correct. Data sent via the bulk endpoint is visible. Data sent device to host on EP0 in response to my vendor commands is not. Now this is

Re: Question: GadgetFS and EP0 'IN' traffic?

2017-09-20 Thread Alan Stern
On Wed, 20 Sep 2017 g...@novadsp.com wrote: > I'm obviously missing something here but am not quite sure what. > > My usermode code* is set up to emulate an existing FX3 device. Bulk reads > and writes are all fine as are vendor-specific commands that are host to > device. However anything that

Question: GadgetFS and EP0 'IN' traffic?

2017-09-20 Thread g4
I'm obviously missing something here but am not quite sure what. My usermode code* is set up to emulate an existing FX3 device. Bulk reads and writes are all fine as are vendor-specific commands that are host to device. However anything that is device to host never appears on the wire. The