Lines Matching defs:attach

45    - sane_init() : initialize backend, attach scanners
48 . . - attach : to the device
959 attach (SANE_String_Const devname, int __sane_unused__ connType,
977 DBG (DBG_sane_proc, ">>> attach:\n");
988 DBG (DBG_sane_proc, ">>> attach: opening \"%s\"\n", devname);
994 DBG (DBG_error, ">>> attach: open failed: %s\n",
999 DBG (DBG_sane_proc, ">>> attach: opened %s fd=%d\n", devname, fd);
1001 DBG (DBG_sane_proc, ">>> attach: sending INQUIRY (standard data)\n");
1007 DBG (DBG_error, ">>> attach: inquiry failed: %s\n",
1014 ">>> attach: reported devtype='%d', vendor='%.8s', product='%.16s', revision='%.4s'\n",
1017 ">>> attach: reported RMB=%#x Ver=%#x ResponseDataFormat=%#x Length=%#x Byte7=%#x\n",
1023 DBG (DBG_warning, ">>> attach: device is not a RICOH scanner\n");
1030 ">>> attach: device %s is not yet a supported RICOH scanner\n",
1037 DBG (DBG_sane_proc, ">>> attach: sending TEST_UNIT_READY\n");
1045 DBG (DBG_error, ">>> attach: test unit ready failed (%s)\n",
1051 DBG (DBG_sane_proc, ">>> attach: sending INQUIRY (vpd data)\n");
1057 DBG (DBG_error, ">>> attach: inquiry (vpd data) failed: %s\n",
1064 DBG (DBG_sane_proc, ">>> attach: sending INQUIRY (jis data)\n");
1070 DBG (DBG_error, ">>> attach: inquiry (jis data) failed: %s\n",
1095 DBG (DBG_proc, ">>> attach: get_basic_measurement_unit\n");
1100 DBG (DBG_error, ">>> attach: get_basic_measurement_unit failed (%s)\n",
1102 DBG (DBG_error, ">>> attach: setting to defaults\n");
1107 ">>> attach: set_basic_measurement_unit failed (%s)\n",
1114 DBG (DBG_error, ">>> attach: get_connection_parameters failed\n");
1120 ">>> attach: get_endorser_control failed: return value=%#02x\n",
1127 DBG (DBG_error, ">>> attach: get_service_mode failed %#02x\n",
1135 ">>> attach: get_scan_wait_mode failed: return value=%#02x\n",
1143 ">>> attach: get_white_balance failed: return value=%#02x\n",
1148 DBG (DBG_info, ">>> attach: flushing and closing fd=%d\n", fd);
1346 DBG (DBG_warning, "attach: no standard resolutions reported\n");
1352 DBG (DBG_info, "attach: Window(W/L) = (%lu/%lu)\n",
1359 DBG (DBG_warning, "attach: invalid window width reported, using %d\n",
1365 DBG (DBG_warning, "attach: invalid window height reported, using %d\n",
1375 DBG (DBG_info, "attach: winWidth=%d resBasicX=%d mm/in=%f mm=%f\n",
1385 DBG (DBG_info, "attach: RANGE x_range.max=%f, y_range.max=%f\n",
1437 DBG (DBG_sane_proc, "<<< attach:\n");
1444 /* SANE callback to attach a SCSI device */
1448 return attach (devname, CONNECTION_SCSI, NULL);
1485 ">> parse_configuration_file: config file line %d: trying to attach SCSI: %s'\n",
1493 ">> parse_configuration_file: config file line %d: trying to attach SCSI: %s'\n",
1508 ">> parse_configuration_file: (see man sane-avision for details): trying to attach SCSI: %s'\n",
1667 status = attach (devnam, CONNECTION_SCSI, &dev);