I have a device which is configured via a GUI in Windows, with no Linux software available. I need to perform this configuration on a Linux embedded device.
Since the setup procedure is the same every time, what I figure I can do is perform the setup with the Windows computer, capture the USB messages sent, and then just read/write the same messages on Linux. What would be the best way to do this?
I know there are some Windows programs available online that I can use to capture the USB data packets being sent and received, but what would be the easiest way to replicate these packets on a Linux machine?
I know there are usb devices that show up in /dev when you plug in a device, as well as a usb.h library I could maybe use, but I don't know what would be the most straightforward method to accomplish this.
minicom
package/software, if the USB device permit the serial comunication.