Closed rgetz closed 6 years ago
The prefix should be the backend that corresponds to the attribute, so it should be "usb,libusb".
No need to modify iiod, the remote will never use libusb (it uses FunctionFS).
So, did you want a pull request for this?
That would be great, yes.
This is tracked in #207 now
to help debug some libusb issues we were having, I added this code:
which seems to be pretty straightforward, I just wanted to understand the preference - "local,libusb", or "usb,libusb", or something else? I expect something else will need to go into the iiod/usbd.c:usb_open_pipe() to add the remote version as well.
the above prints out: