diff --git a/tools/check-usb-chip.c b/tools/check-usb-chip.c index 4e6730ef3..ab335bc07 100644 --- a/tools/check-usb-chip.c +++ b/tools/check-usb-chip.c @@ -2,7 +2,7 @@ check-usb-chip.c -- Find out what USB scanner chipset is used Copyright (C) 2003-2005 Henning Meier-Geinitz - Copyright (C) 2003 Gerhard J�ger + Copyright (C) 2003 Gerhard Jaeger for LM983x tests Copyright (C) 2003 Gerard Klaver for ICM532B tests diff --git a/tools/sane-find-scanner.c b/tools/sane-find-scanner.c index bfcfaf089..bd3c3a4a5 100644 --- a/tools/sane-find-scanner.c +++ b/tools/sane-find-scanner.c @@ -1,6 +1,6 @@ /* sane-find-scanner.c - Copyright (C) 1997-2005 Oliver Rauch, Henning Meier-Geinitz, and others. + Copyright (C) 1997-2013 Oliver Rauch, Henning Meier-Geinitz, and others. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -1991,9 +1991,6 @@ main (int argc, char **argv) if (verbose > 2) printf ("trying libusb:\n"); - if (verbose > 3) - libusb_set_debug (sfs_usb_ctx, 3); - ret = libusb_init (&sfs_usb_ctx); if (ret < 0) { @@ -2003,6 +2000,9 @@ main (int argc, char **argv) goto failed_libusb_1_0; } + if (verbose > 3) + libusb_set_debug (sfs_usb_ctx, 3); + devcnt = libusb_get_device_list (sfs_usb_ctx, &devlist); if (devcnt < 0) {