I did not use the ezusb driver all that much. If I remember
correctly, the ezusb driver provide ioctl pretty straight forward.
It is similar enough to map to the usbdevfs.
You should read the documents or header file for the ezusb to
see what does the those ioctl do. e.g. If it is reading from a
b
What is the windows driver it is using? Unlike linux, windows
doesn't provide usbdevfs like API to send raw URB command from user
space. So I don't expect the windows DeviceIoControl call to have
1:1 mapping to usbdevfs(libusb). Chances are you need to know what
happens in the driver.
Chris
On W
I used fxload to upload the firmware.
The piece of code I have is the interface that
communicates with the ezusb loaded with the firmware.
It's the windows source code. It uses the function
"DeviceIoControl" to communicate with the device.
I'd like to know how to replace this call with libusb
ones.