Question: GadgetFS and EP0 'IN' traffic?

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

 



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 generic handler for IN vendor requests is simply writes 'length' bytes
back on the file descriptor that represents EP0. USB packet sniffers show
that data never gets out.

Does it need to ACK or clear anything first?

Incidentally is there any reason why EP0 itself does not appear in the
/dev/gadget tree?

TAIA

Jerry

* based on the example here: http://www.linux-usb.org/gadget/usb.c


--
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