Libusb Device Filter

From eLinux.org
Revision as of 03:09, 18 April 2012 by Wmat (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you encounter problems with using a USB device with libusb on Windows, you may need to install a libusb device filter. This guide assumes that you already have libusb-win32 installed on Windows, and that you have the libusb-win32 binary version 1.2.2.0 in a folder called libusb-win32-bin-1.2.2.0. If not, see Compiling Openocd for information on installing libusb.


Installing a Device Filter

Plug in your USB device, and ensure that the libusb drivers are already installed.

Installing a Device Filter for the Flyswatter

In Windows Explorer, navigate to \libusb-win32-bin-1.2.2.0\bin, and open the folder \x86, \amd64, or \ia64, depending on your processor. Find and run install-filter-win.exe. (If you are unsure whether you have a 32- or 64-bit processor and choose the wrong installer, it will display an error message and terminate.)

In the installer, select your device and click "Install."