Lines Matching refs:DBG
145 DBG(2, ">> sane_init (version %s null, authorize %s null): " PACKAGE " " VERSION "\n",
152 DBG(2,"sane_init: >> ieee1284_find_ports\n");
155 DBG(2,"sane_init: %d << ieee1284_find_ports\n", tmp);
159 DBG(1,"sane_init: Error trying to get port list\n");
166 DBG(1,"sane_init: Error, no parallel ports found.\n");
170 DBG(10,"sane_init: %i parallel port(s) found.\n", pl.portc);
174 DBG(10,"sane_init: port %s\n", pl.portv[i]->name);
195 DBG(100, "sane_init: >%s<\n", line);
205 DBG(40, "sane_init: calibrate line, %s\n",
214 DBG(1, "sane_init: old config line:"
223 DBG(100, "sane_init: Successfully "
234 DBG(100, "sane_init: Finding scanner on port "
241 DBG(100, "sane_init: Found!\n");
246 DBG(100, "sane_init: Parsed "
263 DBG(10, "sane_init: calibrate line is "
272 DBG(100, "sane_init: Successfully parsed "
281 DBG(100, "sane_init: force_nibble "
309 DBG(100, "sane_init: Parsed init-1.\n");
321 DBG(100, "sane_init: Parsed "
331 DBG(10, "sane_init: init_mode line is "
337 DBG(1, "sane_init: Unknown configuration command!");
356 DBG(10,"sane_init: Error detecting port mode on %s!\n",
373 DBG(1, "sane_init: Failed on ECP mode, falling "
384 DBG(1,"sane_init: couldn't find a scanner on port "
394 DBG(10, "sane_init: Couldn't claim port %s.\n",
401 DBG(2, "sane_init: >> initialise\n");
404 DBG(2, "sane_init: << %d initialise\n", tmp);
406 DBG(10, "sane_init: Couldn't contact scanner on port "
418 DBG(100, "sane_init: And back to sleep again\n");
429 DBG(1, "sane_init: Eeek! fix_weights_file failed for "
441 DBG(2, "<< sane_init\n");
462 DBG(2, ">> sane_get_devices (%p, %d)\n", (const void*)dl, local);
466 DBG(1, "sane_get_devices: ERROR: devlist pointer is NULL!");
494 DBG(2, "<< sane_get_devices\n");
514 DBG(2, ">> sane_open (h=%p, name=\"%s\")\n", (void *)h, name);
518 DBG(2,"sane_open: Null pointer received!\n");
524 DBG(10,"sane_open: Empty name given, assuming first/"
560 DBG(2,"sane_open: No scanner found or requested port "
566 DBG(1,"sane_open: Request to open port with no scanner "
572 DBG(2,"sane_open; Oi!, That scanner's already open.\n");
587 DBG(1, "sane_open: Could not claim port!\n");
593 DBG(2, "sane_open: >> initialise\n");
595 DBG(2, "sane_open: << %d initialise\n", tmp);
597 DBG(1, "sane_open: initialise returned %d, something is "
600 DBG(1, "sane_open: Can't contact scanner. Try power "
608 DBG(2, "sane_open: >> load_weights(%s, %p)\n",
612 DBG(2, "sane_open: >> load_weights(NULL, %p)\n",
615 DBG(2, "sane_open: << %d load_weights\n", tmp);
618 DBG(1, "sane_open: WARNING: Error on load_weights: "
626 DBG(10, "sane_open: loadweights successful, uploading gamma"
630 DBG(1, "sane_open: WARNING: adjust_gamma returned "
633 DBG(10, "sane_open: after adjust_gamma Status = %i\n",
682 DBG(2, "<< sane_open\n");
698 /*DBG(2, ">> sane_get_option_descriptor (h=%p, opt=%d)\n", h, opt);*/
701 DBG(10,"sane_get_option_descriptor: WARNING: h==NULL!\n");
706 DBG(10,"sane_get_option_descriptor: Note: opt >= "
713 DBG(1,"sane_get_option_descriptor: That scanner (%p) ain't "
718 /*DBG(2, "<< sane_get_option_descriptor\n");*/
738 DBG(2, ">> sane_control_option (h=%p, opt=%d, act=%d)\n",
746 DBG(1,"sane_control_option: Frontend passed me a null! "
754 DBG(1,"sane_control_option: I don't do option %d.\n", opt);
760 DBG(1,"sane_control_option: That scanner (%p) ain't "
767 DBG(1,"sane_control_option: That scanner (%p) is scanning!\n",
856 DBG(2, ">> calibrate(x, "
859 DBG(2, ">> calibrate(x,"
871 DBG(2, "<< %d calibrate\n",
874 DBG(1, "sane_control_option: "
898 DBG(2, "sane_control_option: attempt at "
907 DBG(2, "<< sane_control_option\n");
925 DBG(2, ">> sane_get_parameters (h=%p, params=%p)\n", (void*)h,
932 DBG(1,"sane_get_parameters: That scanner (%p) ain't "
1000 DBG(10, "get_params: bytes_per_line=%d, pixels_per_line=%d, lines=%d\n"
1007 DBG(2, "<< sane_get_parameters\n");
1024 DBG(2, ">> sane_start (h=%p)\n", h);
1031 DBG(1,"sane_start: That scanner (%p) ain't "
1102 DBG(1,"sane_start: height = %d, Width = %d. "
1110 DBG(10, ">> init_scan()\n");
1112 DBG(10, "<< %d init_scan\n", tmp);
1115 DBG(1,"sane_start: WARNING: init_scan returned %d!", tmp);
1124 DBG(2, "<< sane_start\n");
1151 DBG(2, ">> sane_read (h=%p, buf=%p, maxlen=%d)\n", h,
1159 DBG(1, "sane_read: This frontend's passing me dodgy gear! "
1172 DBG(200, "sane_read: didn't send it all last time\n");
1194 DBG(100, "sane_read: sent %d bytes, still have %d to "
1245 DBG(10, "sane_read: Not enough memory to hold a "
1252 DBG(10, "sane_read: Here's what we're sending read_segment:\n");
1253 DBG(10, "scanner setup: shw=%d xres=%d yres=%d %d %d id=%s\n",
1260 DBG(10, "scan_params->: width=%d, height=%d, xoffset=%d, "
1268 DBG(2, ">> read_segment(x, x, x, %d, %d, %d)\n",
1274 DBG(2, "<< %d read_segment\n", tmp);
1279 DBG(10, "sane_read: cancelling.\n");
1286 DBG(1, "sane_read: WARNING: read_segment returned %d!\n", tmp);
1290 DBG(10, "sane_read: bpl=%d, lines=%d, bytes=%d\n", bpl, lines, bytes);
1350 DBG(100, "sane_read: sent %d bytes, still have %d to go\n",
1358 DBG(10, "sane_read: Scan is finished.\n");
1364 DBG(2, "<< sane_read\n");
1382 DBG(2, ">> sane_cancel (h=%p)\n", h);
1389 DBG(2, "<< sane_cancel (not scanning)\n");
1396 DBG(2, "<< sane_cancel\n");
1412 DBG(2, ">> sane_close (h=%p)\n", h);
1417 DBG(1,"sane_close: That scanner (%p) ain't "
1433 DBG(2, "<< sane_close\n");
1449 DBG(2, ">> sane_exit\n");
1497 DBG(2, "<< sane_exit\n");
1568 DBG(2, ">> init_device\n");
1606 DBG(10, "init_device: [configuring options]\n");
1619 DBG(100, "init_device: configuring opt: num_options\n");
1626 DBG(100, "init_device: configuring opt: resolution\n");
1634 DBG(100, "init_device: configuring opt: colour mode\n");
1643 DBG(100, "init_device: configuring opt: bit depth\n");
1652 DBG(100, "init_device: configuring opt: tl-x\n");
1658 DBG(100, "init_device: configuring opt: tl-y\n");
1664 DBG(100, "init_device: configuring opt: br-x\n");
1672 DBG(100, "init_device: configuring opt: br-y\n");
1679 DBG(100, "init_device: configuring opt: calibrate\n");
1699 DBG(100, "init_device: done opts\n");
1707 DBG(2, "<< init_device\n");
1721 DBG(2, ">> sane_set_io_mode (%p, %d) (not really supported)\n",
1727 DBG(2, "<< sane_set_io_mode\n");
1734 DBG(2, ">> sane_get_select_fd (%p, %p) (not supported)\n", h,
1736 DBG(2, "<< sane_get_select_fd\n");
1799 DBG(0, "fix_weights_file: FATAL: NULL passed by my code, "
1823 DBG(0,"fix_weights_file: FATAL: ~ used, but $HOME not"
1847 DBG(2,"fix_weights_file: error stating cal file"
1849 DBG(2,"fix_weights_file: Changes to cal data won't"
1862 DBG(10,"fix_weighs_file: Note: Changes to cal data "
1870 DBG(2,"fix_weights_file: error opening cal "
1877 DBG(2,"fix_weights_file: file is read-only, "
1886 DBG(10,"fix_weights_file: Calibration file is good "
1911 DBG(10,"detect_mode: Opening port %s\n", (cs->params.port->name));
1920 DBG(1, "detect_mode: Invalid port.\n");
1923 DBG(1, "detect_mode: System error: %s\n",
1927 DBG(1, "detect_mode: Initialisation error.\n");
1930 DBG(1, "detect_mode: Unknown error.\n");
1936 DBG(10,"detect_mode: Claiming port.\n");
1940 DBG(1,"detect_mode: Unable to claim port\n");
1949 DBG(0,"detect_mode: Compatibility mode (required) not "
1958 DBG(2, "detect_mode: Port supports ECP-H.\n");
1960 DBG(2, "detect_mode: Port supports ECP-S.\n");
1962 DBG(2, "detect_mode: Port supports interrupts.\n");
1964 DBG(2, "detect_mode: Port supports DMA.\n");
1970 DBG(10, "detect_mode: Using ECP-H Mode\n");
1975 DBG(10, "detect_mode: Using ECP-S Mode\n");
1980 DBG(10, "detect_mode: Using nibble mode\n");
1984 DBG(0, "detect_mode: No supported parport modes available!\n");
2001 DBG(1, "detect_mode: attempting a 0 byte read, if we hang "
2016 DBG(10, "detect_mode: Your version of libieee1284 "
2025 DBG(10, "detect_mode: Nibble mode force in effect.\n");