You need to port the code to Haiku and modify it to work!
Source code uses libusb, there is ticket reporting problem:
https://dev.haiku-os.org/ticket/14835