kopia lustrzana https://gitlab.com/sane-project/backends
Added warning if libusb support is not built in and some more debug messages.
rodzic
e86da220dd
commit
a157bd3f09
|
@ -7,6 +7,8 @@
|
|||
work (bug #302862).
|
||||
* tools/check-usb-chip.c: Print version information when detecting
|
||||
chip sets.
|
||||
* sanei/sanei_usb.c: Added warning if libusb support is not built
|
||||
in and some more debug messages.
|
||||
|
||||
2006-01-06 Oliver Schwartz <Oliver.Schwartz@gmx.de>
|
||||
|
||||
|
|
|
@ -331,6 +331,7 @@ sanei_usb_init (void)
|
|||
|
||||
memset (devices, 0, sizeof (devices));
|
||||
|
||||
DBG (4, "sanei_usb_init: Looking for kernel scanner devices\n");
|
||||
/* Check for devices using the kernel scanner driver */
|
||||
|
||||
for (prefix = prefixlist; *prefix; prefix += 2)
|
||||
|
@ -413,6 +414,7 @@ sanei_usb_init (void)
|
|||
|
||||
/* Check for devices using libusb */
|
||||
#ifdef HAVE_LIBUSB
|
||||
DBG (4, "sanei_usb_init: Looking for libusb devices\n");
|
||||
usb_init ();
|
||||
#ifdef DBG_LEVEL
|
||||
if (DBG_LEVEL > 4)
|
||||
|
@ -506,7 +508,10 @@ sanei_usb_init (void)
|
|||
return;
|
||||
}
|
||||
}
|
||||
#else /* HAVE_LIBUSB */
|
||||
DBG (4, "sanei_usb_init: SANE is built without support for libusb\n");
|
||||
#endif /* HAVE_LIBUSB */
|
||||
|
||||
#ifdef HAVE_USBCALLS
|
||||
/* Check for devices using OS/2 USBCALLS Interface */
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue