diff options
Diffstat (limited to 'usrp/host/lib')
-rw-r--r-- | usrp/host/lib/usrp_prims_libusb1.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usrp/host/lib/usrp_prims_libusb1.cc b/usrp/host/lib/usrp_prims_libusb1.cc index e755c1d41..4e3004797 100644 --- a/usrp/host/lib/usrp_prims_libusb1.cc +++ b/usrp/host/lib/usrp_prims_libusb1.cc @@ -143,6 +143,10 @@ usrp_one_time_init (libusb_context **ctx) if ((ret = libusb_init (ctx)) < 0) fprintf (stderr, "usrp: libusb_init failed: %s\n", _get_usb_error_str(ret)); + + // Set debug verbosity to max. This will only work if the debug option is + // compiled into libusb. Otherwise this call does nothing. + libusb_set_debug(*ctx, 3); } void |