X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=README.OSX;h=2bea870f4fce2b0b22c5e503e3b688ecd6a891a9;hp=5fec44f2013cd918baffa93234d35306f116c5ec;hb=8fa67bd57dba0f43ead29fe26d10044b24023649;hpb=10df176b0fb932d61f0dc5d6bfd0a0942501fc40 diff --git a/README.OSX b/README.OSX index 5fec44f201..2bea870f4f 100644 --- a/README.OSX +++ b/README.OSX @@ -9,11 +9,11 @@ There are a few prerequisites you will need first: or - Homebrew (http://mxcl.github.io/homebrew/) -libtool, automake, autoconf and libusb can be easily installed via -MacPorts: - sudo port install libtool automake autoconf libusb [libusb-compat] +libtool, automake, autoconf, pkg-config and libusb can be easily +installed via MacPorts: + sudo port install libtool automake autoconf pkgconfig libusb [libusb-compat] or with Homebrew: - brew install libtool automake libusb [libusb-compat] + brew install libtool automake libusb [libusb-compat] [hidapi] You should also specify LDFLAGS and CPPFLAGS to allow configure to use MacPorts' libraries, so run configure like this: @@ -23,6 +23,12 @@ If you're using Homebrew, no custom flags are necessary. See README for the generic building instructions. -If you use an FTDI-based adapter and have the FTDI kext installed, you -will need to unload it prior to using OpenOCD: +If you're using a USB adapter and have a driver kext matched to it, +you will need to unload it prior to running OpenOCD. E.g. with Apple +driver (OS X 10.9 or later) for FTDI run: + sudo kextunload -b com.apple.driver.AppleUSBFTDI +for FTDI vendor driver use: sudo kextunload FTDIUSBSerialDriver.kext + +To learn more on the topic please refer to the official libusb FAQ: +https://github.com/libusb/libusb/wiki/FAQ