[sane-devel] New to list - need help to understand sane

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 17 Nov 2002 16:16:09 +0100


Hi,

On Mon, Nov 18, 2002 at 01:25:50AM +1030, William Heidrich wrote:
> Sorry - I'm having trouble with !@#$^outlook insisting on wrapping the
> log into a continous paragraph.

Well, use a decent mailer on a decent OS :-)

> I've attached a .txt file - hope its readable this time.

Ok, that's better now.
> [canon630u] sane_init: SANE Canon630u backend version 1.0.1 from sane-backends-1.0.9
[...]
> [canon630u] sane_open: devicename=/dev/usb/scanner0
> [canon630u] CANON_open_device: `/dev/usb/scanner0'
[...]
> [canon630u] sane_start
> [canon630u] CANON_set_scan_parameters:
> [canon630u] gray  = 0 (ignored)
> [canon630u] res   = 75
> [canon630u] gain  = 1
> [canon630u] in 600dpi pixels:
> [canon630u] left  = 0, top    = 0
> [canon630u] right = 1199, bottom = 1199
> [canon630u] CANON_start_scan called
> [canon630u] write_byte(fd, 0x42, 0x06);
> [canon630u] gl640WriteControl error
> [canon630u] Failure on line of canon630u-common.c: 213

Ok, the first control message sent to the scanner failed. Possible
reasons:

* Your kernel is too old. Try 2.4.12 or newer. However, this shouldn't
  affect scanning with libusb.
* Your scanner is confused by earlier tests. Disable everything but
  canon630u in dll.conf, power-cycle your scanner, and try again.
* Something other, maybe the canon630u authors can help.

Maybe you get more intersting output if you enable USB debugging:

SANE_DEBUG_SANEI_USB=255 SANE_DEBUG_CANON630U=255 scanimage >image.pnm 2>debug.log

Bye,
  Henning