Lines Matching defs:attach
428 attach (SANE_String_Const devname, Mustek_Usb_Device ** devp,
436 DBG (5, "attach: start: devp %s NULL, may_wait = %d\n", devp ? "!=" : "==",
440 DBG (1, "attach: devname == NULL\n");
449 DBG (4, "attach: device `%s' was already in device list\n", devname);
453 DBG (4, "attach: trying to open device `%s'\n", devname);
457 DBG (3, "attach: couldn't open device `%s': %s\n", devname,
461 DBG (4, "attach: device `%s' successfully opened\n", devname);
464 DBG (4, "attach: trying to identify device `%s'\n", devname);
468 DBG (1, "attach: device `%s' doesn't look like a supported scanner\n",
476 DBG (3, "attach: warning: couldn't identify device `%s', must set "
483 DBG (1, "attach: couldn't malloc Mustek_Usb_Device\n");
534 DBG (1, "attach: usb_high_scan_init returned status: %s\n",
542 DBG (2, "attach: found %s %s %s at %s\n", dev->sane.vendor, dev->sane.type,
551 DBG (5, "attach: exit\n");
561 RIE (attach (devname, &dev, SANE_FALSE));
727 attach ("/dev/usb/scanner", 0, SANE_FALSE);
904 DBG (4, "sane_init: config file line %d: trying to attach `%s'\n",
1012 "sane_open: couldn't find `%s' in devlist, trying attach)\n",
1014 RIE (attach (devicename, &dev, SANE_TRUE));