Name: Anonymous 2016-07-28 12:28
so I have a Linux-based USB slave device and some USB packets I need to send from it. there are plenty of resources about writing a USB device based on gadget API which can encapsulate data into appropriate packets - e.g. you just provide keyboard scancodes and the gadget stack will handle everything at the protocol level - but I don't want it to get encapsulated, I want to provide provide something like wireshark/usbmon captures which will already have proper encapsulation. what is the fastest way of doing that?