Lines Matching refs:printf

174   printf ("  %s\n", comment);
206 printf (" %s %s\n", line, asc_buf);
265 printf ("inquiry for device %s failed (%s)\n",
300 printf ("found SCSI %s \"%s %s %s\" at %s\n",
319 printf ("checking %s even though it looks like a USB device...",
325 printf ("ignored %s (not a SCSI device)\n", file_name);
330 printf ("checking %s...", file_name);
337 printf (" failed to open (%s)\n", sane_strstatus (result));
339 printf (" open ok\n");
363 printf ("checking %s even though doesn't look like a "
369 printf ("ignored %s (not a USB device)\n", file_name);
374 printf ("checking %s...", file_name);
381 printf (" failed to open (%s)\n", sane_strstatus (result));
389 printf (" open ok, vendor and product ids were identified\n");
390 printf ("found possible USB scanner (vendor=0x%04x, "
396 printf (" open ok, but vendor and product could NOT be "
398 printf ("found possible USB scanner (UNKNOWN vendor and "
502 printf ("device 0x%04x/0x%04x is not configured\n",
517 printf ("\n");
518 printf ("<device descriptor of 0x%04x/0x%04x at %s:%s",
522 printf (" (%s%s%s)", vendor ? vendor : "",
525 printf (">\n");
526 printf ("bLength %d\n", d->bLength);
527 printf ("bDescriptorType %d\n", d->bDescriptorType);
528 printf ("bcdUSB %d.%d%d\n", d->bcdUSB >> 8,
530 printf ("bDeviceClass %d\n", d->bDeviceClass);
531 printf ("bDeviceSubClass %d\n", d->bDeviceSubClass);
532 printf ("bDeviceProtocol %d\n", d->bDeviceProtocol);
533 printf ("bMaxPacketSize0 %d\n", d->bMaxPacketSize0);
534 printf ("idVendor 0x%04X\n", d->idVendor);
535 printf ("idProduct 0x%04X\n", d->idProduct);
536 printf ("bcdDevice %d.%d%d\n", d->bcdDevice >> 8,
538 printf ("iManufacturer %d (%s)\n", d->iManufacturer,
540 printf ("iProduct %d (%s)\n", d->iProduct,
544 printf ("iSerialNumber %d (%s)\n", d->iSerialNumber,
548 printf ("bNumConfigurations %d\n", d->bNumConfigurations);
555 printf (" <configuration %d>\n", config_nr);
556 printf (" bLength %d\n", c->bLength);
557 printf (" bDescriptorType %d\n", c->bDescriptorType);
558 printf (" wTotalLength %d\n", c->wTotalLength);
559 printf (" bNumInterfaces %d\n", c->bNumInterfaces);
560 printf (" bConfigurationValue %d\n", c->bConfigurationValue);
562 printf (" iConfiguration %d (%s)\n", c->iConfiguration,
566 printf (" bmAttributes %d (%s%s)\n", c->bmAttributes,
569 printf (" MaxPower %d mA\n", c->MaxPower * 2);
577 printf (" <interface %d>\n", interface_nr);
585 printf (" <altsetting %d>\n", alt_setting_nr);
586 printf (" bLength %d\n", i->bLength);
587 printf (" bDescriptorType %d\n", i->bDescriptorType);
588 printf (" bInterfaceNumber %d\n", i->bInterfaceNumber);
589 printf (" bAlternateSetting %d\n", i->bAlternateSetting);
590 printf (" bNumEndpoints %d\n", i->bNumEndpoints);
591 printf (" bInterfaceClass %d\n", i->bInterfaceClass);
592 printf (" bInterfaceSubClass %d\n",
594 printf (" bInterfaceProtocol %d\n",
597 printf (" iInterface %d (%s)\n", i->iInterface,
625 printf (" <endpoint %d>\n", ep_nr);
626 printf (" bLength %d\n", e->bLength);
627 printf (" bDescriptorType %d\n",
629 printf (" bEndpointAddress 0x%02X (%s 0x%02X)\n",
635 printf (" bmAttributes %d (%s)\n",
637 printf (" wMaxPacketSize %d\n",
639 printf (" bInterval %d ms\n", e->bInterval);
640 printf (" bRefresh %d\n", e->bRefresh);
641 printf (" bSynchAddress %d\n", e->bSynchAddress);
682 printf ("found possible USB scanner (vendor=0x%04x",
685 printf (" [%s]", vendor);
686 printf (", product=0x%04x", dev->descriptor.idProduct);
688 printf (" [%s]", product);
690 printf (", chip=%s", chipset);
692 printf (")\n");
694 printf (") at libusb:%s:%s\n", dev->bus->dirname, dev->filename);
779 printf ("could not fetch string descriptor: %s\n",
798 printf ("could not fetch string descriptor (again): %s\n",
841 printf ("could not get device descriptor for device at %03d:%03d: %s\n",
852 printf ("could not open USB device 0x%04x/0x%04x at %03d:%03d: %s\n",
860 printf ("could not get configuration for device 0x%04x/0x%04x at %03d:%03d: %s\n",
869 printf ("device 0x%04x/0x%04x at %03d:%03d is not configured\n",
884 printf ("\n");
885 printf ("<device descriptor of 0x%04x/0x%04x at %03d:%03d",
889 printf (" (%s%s%s)", (vendor) ? vendor : "",
892 printf (">\n");
893 printf ("bLength %d\n", desc.bLength);
894 printf ("bDescriptorType %d\n", desc.bDescriptorType);
895 printf ("bcdUSB %d.%d%d\n", desc.bcdUSB >> 8,
897 printf ("bDeviceClass %d\n", desc.bDeviceClass);
898 printf ("bDeviceSubClass %d\n", desc.bDeviceSubClass);
899 printf ("bDeviceProtocol %d\n", desc.bDeviceProtocol);
900 printf ("bMaxPacketSize0 %d\n", desc.bMaxPacketSize0);
901 printf ("idVendor 0x%04X\n", desc.idVendor);
902 printf ("idProduct 0x%04X\n", desc.idProduct);
903 printf ("bcdDevice %d.%d%d\n", desc.bcdDevice >> 8,
905 printf ("iManufacturer %d (%s)\n", desc.iManufacturer,
907 printf ("iProduct %d (%s)\n", desc.iProduct,
910 printf ("iSerialNumber %d (%s)\n", desc.iSerialNumber,
914 printf ("bNumConfigurations %d\n", desc.bNumConfigurations);
923 printf ("could not get configuration descriptor %d: %s\n",
928 printf (" <configuration %d>\n", config_nr);
929 printf (" bLength %d\n", c->bLength);
930 printf (" bDescriptorType %d\n", c->bDescriptorType);
931 printf (" wTotalLength %d\n", c->wTotalLength);
932 printf (" bNumInterfaces %d\n", c->bNumInterfaces);
933 printf (" bConfigurationValue %d\n", c->bConfigurationValue);
936 printf (" iConfiguration %d (%s)\n", c->iConfiguration,
940 printf (" bmAttributes %d (%s%s)\n", c->bmAttributes,
943 printf (" MaxPower %d mA\n", c->MaxPower * 2);
952 printf (" <interface %d>\n", intf);
962 printf (" <altsetting %d>\n", alt_setting_nr);
963 printf (" bLength %d\n", i->bLength);
964 printf (" bDescriptorType %d\n", i->bDescriptorType);
965 printf (" bInterfaceNumber %d\n", i->bInterfaceNumber);
966 printf (" bAlternateSetting %d\n", i->bAlternateSetting);
967 printf (" bNumEndpoints %d\n", i->bNumEndpoints);
968 printf (" bInterfaceClass %d\n", i->bInterfaceClass);
969 printf (" bInterfaceSubClass %d\n",
971 printf (" bInterfaceProtocol %d\n",
976 printf (" iInterface %d (%s)\n", i->iInterface,
1004 printf (" <endpoint %d>\n", ep_nr);
1005 printf (" bLength %d\n", e->bLength);
1006 printf (" bDescriptorType %d\n",
1008 printf (" bEndpointAddress 0x%02X (%s 0x%02X)\n",
1014 printf (" bmAttributes %d (%s)\n",
1016 printf (" wMaxPacketSize %d\n",
1018 printf (" bInterval %d ms\n", e->bInterval);
1019 printf (" bRefresh %d\n", e->bRefresh);
1020 printf (" bSynchAddress %d\n", e->bSynchAddress);
1037 printf ("could not get config[0] descriptor: %s\n",
1073 printf ("found possible USB scanner (vendor=0x%04x", vid);
1075 printf (" [%s]", vendor);
1076 printf (", product=0x%04x", pid);
1078 printf (" [%s]", product);
1080 printf (", chip=%s", chipset);
1082 printf (")\n");
1084 printf (") at libusb:%03d:%03d\n", busno, address);
1110 printf ("scanning directory %s\n", dir_name);
1115 printf ("cannot stat `%s' (%s)\n", dir_name, strerror (errno));
1121 printf ("`%s' is not a directory\n", dir_name);
1127 printf ("cannot read directory `%s' (%s)\n", dir_name,
1152 printf ("filename too long\n");
1292 printf ("searching for Mustek parallel port scanners:\n");
1302 printf ("checking %s...", devices[ctr]);
1309 printf (" failed to open (%s)\n", sane_strstatus (result));
1311 printf (" open ok\n");
1315 printf ("found possible Mustek parallel port scanner at \"%s\"\n",
1323 printf ("checking %s (SCSI emulation)...", devices[ctr]);
1330 printf (" failed to open (%s)\n", sane_strstatus (result));
1332 printf (" open ok\n");
1336 printf ("found possible Mustek SCSI over PP scanner at \"%s\"\n",
1348 printf("\n # Your Mustek parallel port scanner was detected. It may or\n"
1353 printf("\n # Your Mustek parallel port scanner was detected. It may or\n"
1373 printf ("Found %s%ld\n", search, *number);
1396 printf ("Found %s%ld\n", search, *number);
1414 printf ("trying to open %s\n", filename);
1420 printf ("opening %s failed: %s\n", filename, strerror (errno));
1427 printf ("parsing line: `%s'\n", line);
1434 printf ("missing `:'?\n");
1549 printf ("ignoring unknown line identifier: %c\n", token[0]);
1604 printf ("option -F not implemented with libusb-1.0\n");
1606 printf ("libusb not available: option -F can't be used\n");
1618 printf ("unknown option: -%c, try -h for help\n", (*ap)[1]);
1871 printf ("This is sane-find-scanner from %s\n", PACKAGE_STRING);
1874 printf ("\n # sane-find-scanner will now attempt to detect your scanner. If the"
1879 printf ("searching for SCSI scanners:\n");
1908 printf
1916 printf
1923 printf
1930 printf ("\n");
1934 printf ("searching for USB scanners:\n");
1970 printf ("ignoring libusb devices\n");
1975 printf ("trying libusb:\n");
1992 printf ("ignoring libusb devices\n");
2002 printf ("trying libusb:\n");
2007 printf ("# Could not initialize libusb-1.0, error %d\n", ret);
2008 printf ("# Skipping libusb devices\n");
2024 printf ("# Could not get device list, error %d\n", ret);
2045 printf ("libusb not available\n");
2053 printf
2059 printf
2064 printf
2074 printf
2081 printf (" # SANE has been built without libusb support. This may be a "
2089 printf ("\n # No Mustek parallel port scanners found. If you expected"
2095 printf ("\n # Not checking for parallel port scanners.\n");
2097 printf ("\n # Most Scanners connected to the parallel port or other "
2102 printf
2109 printf ("done\n");