-
Bjorn Andersson authored
In order to support selecting board based on serial number the iProduct field needs to be inspected, with the hand-rolled parsing of the USB descriptors this becomes cumbersome. Furthermore the direct use of Linux's USBDEVFS creats an unnecessary dependency on the host OS being Linux. It's unclear why libusb wasn't choosen in the first place, perhaps it relates to the faint memory of 0.1 vs 1.0 packaging issues? Move to libusb-1.0 in order to resolve these issues, as well as clean up the code a bit. Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
37b0d0cf