libusb
Posted: Mon Jan 20, 2025 8:19 am
Since it was needed I wrote a wrapper for libusb, the original one:
https://libusb.info/
https://github.com/libusb/libusb/releases
For windows, choose the 7z file and copy the dll from VS2022 in the directory of your code.
I think in linux it is installed by default.
For windows there are some things which should be noted:
The basic stuff works out of the box, but if you want to access a device, this device needs to have a driver installed which is compatible to libusb.
To manage this, the easiest way is to use zardig:
https://zadig.akeo.ie/
With this tool you can install the WinUSB driver for your device of interrest.
Then you can 'open' the device with libusb.
For macOS you have to install libusb via
brew install libusb
I provide a zip file with:
libcurl.pbi (the wrapper)
listdevs.pb
testlibusb.pb
rbtarm.pb (a basic test for 1267:0000)
https://www.von-der-salierburg.de/downl ... eBasic.zip
https://libusb.info/
https://github.com/libusb/libusb/releases
For windows, choose the 7z file and copy the dll from VS2022 in the directory of your code.
I think in linux it is installed by default.
For windows there are some things which should be noted:
The basic stuff works out of the box, but if you want to access a device, this device needs to have a driver installed which is compatible to libusb.
To manage this, the easiest way is to use zardig:
https://zadig.akeo.ie/
With this tool you can install the WinUSB driver for your device of interrest.
Then you can 'open' the device with libusb.
For macOS you have to install libusb via
brew install libusb
I provide a zip file with:
libcurl.pbi (the wrapper)
listdevs.pb
testlibusb.pb
rbtarm.pb (a basic test for 1267:0000)
https://www.von-der-salierburg.de/downl ... eBasic.zip