Update readme with instructions for darwin
This commit is contained in:
@@ -17,6 +17,8 @@ Dependencies
|
||||
------------
|
||||
You must first install [libusb-1.0](http://libusb.org/wiki/libusb-1.0). This is pretty straightforward on linux and darwin. The cgo package should be able to find it if you install it in the default manner or use your distribution's package manager. How to tell cgo how to find one installed in a non-default place is beyond the scope of this README.
|
||||
|
||||
*Note*: If you are installing this on darwin, you will probably need to run `fixlibusb_darwin.sh /usr/local/lib/libusb-1.0/libusb.h` because of an LLVM incompatibility. It shouldn't break C programs, though I haven't tried it in anger.
|
||||
|
||||
Example: lsusb
|
||||
--------------
|
||||
The gousb project provides a simple but useful example: lsusb. This binary will list the USB devices connected to your system and various interesting tidbits about them, their configurations, endpoints, etc. To install it, run the following command:
|
||||
|
Reference in New Issue
Block a user