Use libusb_set_option() on libusb 1.0.22 and later.

libusb_set_debug() is deprecated in 1.0.22 and causes a compile error.

BUG=chromium:941855
TEST=emerge-nami mimo-updater

Change-Id: I2ba052ef0de51b0c3ac0cdcfdd959933ea2f7adc
Reviewed-on: https://chromium-review.googlesource.com/1580559
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Anand Mistry <amistry@chromium.org>
Reviewed-by: Ben Chan <benchan@google.com>
1 file changed
tree: ae9d1a4590620cc69c0b633393f042dab1476746
  1. conf/
  2. COMMIT-QUEUE.ini
  3. common.mk
  4. LICENSE
  5. Makefile
  6. mimo_fw_updater.cc
  7. README.md
README.md

MIMO-updater is a utility to upgrade the displaylink FW in the MIMO device.

Requirements

The GNU C/C++ library and libusb 1.0 are required.

Building

At the top level of the directory.

$ make

Alternatively at Chromium OS development environment,

$ emerge-${BOARD} mimo-updater

How to use

$ mimo-updater $${FW file name}