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

William Heidrich wph@netyp.com.au
Mon, 18 Nov 2002 16:19:11 +1030


This is a multi-part message in MIME format.

------=_NextPart_000_0013_01C28F1E.5437A940
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Thanks for your various comments. Still having trouble.

Is there anyway I can verify my sane driver installation? (i.e. I
installed 1.0.9, and believe that I had uninstalled the 1.0.8 version
properly)

I tried the suggestions below and have attached the debug.log.

Regards

-----Original Message-----
From: sane-devel-admin@www.mostang.com
[mailto:sane-devel-admin@www.mostang.com] On Behalf Of Henning
Meier-Geinitz
Sent: Monday, 18 November 2002 1:46 AM
To: sane-devel@www.mostang.com
Subject: Re: [sane-devel] New to list - need help to understand sane


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
_______________________________________________
Sane-devel mailing list
Sane-devel@www.mostang.com
http://www.mostang.com/mailman/listinfo/sane-devel

------=_NextPart_000_0013_01C28F1E.5437A940
Content-Type: application/octet-stream;
	name="debug2.log"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="debug2.log"

[sanei_debug] Setting debug level of canon630u to 255.=0A=
[canon630u] sane_init: version_code !=3D 0, authorize !=3D 0=0A=
[canon630u] sane_init: SANE Canon630u backend version 1.0.1 from =
sane-backends-1.0.9=0A=
[sanei_debug] Setting debug level of sanei_usb to 255.=0A=
usb_set_debug: Setting debugging level to 255 (on)=0A=
usb_find_busses: Skipping non bus directory devices=0A=
usb_find_busses: Skipping non bus directory drivers=0A=
usb_find_busses: Found 001=0A=
usb_find_devices_on_bus: Found 001 on 001=0A=
usb_find_devices_on_bus: Found 002 on 001=0A=
usb_find_devices_on_bus: Found 004 on 001=0A=
skipped 1 class/vendor specific interface descriptors=0A=
usb_find_devices_on_bus: Found 003 on 001=0A=
[canon630u] reading configure file canon630u.conf=0A=
[canon630u] attach_matching_devices(/dev/usb/scanner0)=0A=
[canon630u] attach_scanner: /dev/usb/scanner0=0A=
[canon630u] attach_scanner: opening /dev/usb/scanner0=0A=
[canon630u] CANON_open_device: `/dev/usb/scanner0'=0A=
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner0'=0A=
[sanei_usb] sanei_usb_open: opened usb device `/dev/usb/scanner0' =
(*dn=3D0)=0A=
[sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x04a9, =
productID: 0x2204=0A=
[canon630u] CANON_close_device:=0A=
[sanei_usb] sanei_usb_close: closing device 0=0A=
[canon630u] finished reading configure file=0A=
[canon630u] sane_get_devices(local_only =3D 0)=0A=
[canon630u] sane_open=0A=
[canon630u] sane_open: devicename=3D/dev/usb/scanner0=0A=
[canon630u] CANON_open_device: `/dev/usb/scanner0'=0A=
[sanei_usb] sanei_usb_open: trying to open device `/dev/usb/scanner0'=0A=
[sanei_usb] sanei_usb_open: opened usb device `/dev/usb/scanner0' =
(*dn=3D0)=0A=
[sanei_usb] sanei_usb_get_vendor_product: device 0: vendorID: 0x04a9, =
productID: 0x2204=0A=
[canon630u] sane_control_option: handle=3D0x80511a8, opt=3D0, act=3D0, =
val=3D0xbffff4e0, info=3D(nil)=0A=
[canon630u] sane_control_option: handle=3D0x80511a8, opt=3D0, act=3D0, =
val=3D0xbffff458, info=3D(nil)=0A=
[canon630u] sane_get_option_descriptor: option =3D 0=0A=
[canon630u] sane_get_option_descriptor: option =3D 1=0A=
[canon630u] sane_get_option_descriptor: option =3D 2=0A=
[canon630u] sane_get_option_descriptor: option =3D 3=0A=
[canon630u] sane_get_option_descriptor: option =3D 4=0A=
[canon630u] sane_get_option_descriptor: option =3D 5=0A=
[canon630u] sane_control_option: handle=3D0x80511a8, opt=3D5, act=3D0, =
val=3D0x8050cb8, info=3D(nil)=0A=
[canon630u] sane_get_option_descriptor: option =3D 6=0A=
[canon630u] sane_control_option: handle=3D0x80511a8, opt=3D6, act=3D0, =
val=3D0x8050cbc, info=3D(nil)=0A=
[canon630u] sane_control_option: handle=3D0x80511a8, opt=3D3, act=3D0, =
val=3D0xbffff454, info=3D(nil)=0A=
[canon630u] sane_control_option: handle=3D0x80511a8, opt=3D4, act=3D0, =
val=3D0xbffff454, info=3D(nil)=0A=
[canon630u] sane_control_option: handle=3D0x80511a8, opt=3D3, act=3D0, =
val=3D0xbffff4dc, info=3D(nil)=0A=
[canon630u] sane_get_option_descriptor: option =3D 5=0A=
[canon630u] sane_control_option: handle=3D0x80511a8, opt=3D5, act=3D1, =
val=3D0xbffff4d8, info=3D0xbffff458=0A=
[canon630u] sane_control_option: handle=3D0x80511a8, opt=3D4, act=3D0, =
val=3D0xbffff4dc, info=3D(nil)=0A=
[canon630u] sane_get_option_descriptor: option =3D 6=0A=
[canon630u] sane_control_option: handle=3D0x80511a8, opt=3D6, act=3D1, =
val=3D0xbffff4d8, info=3D0xbffff458=0A=
[canon630u] sane_start=0A=
[canon630u] CANON_set_scan_parameters:=0A=
[canon630u] gray  =3D 0 (ignored)=0A=
[canon630u] res   =3D 75=0A=
[canon630u] gain  =3D 1=0A=
[canon630u] in 600dpi pixels:=0A=
[canon630u] left  =3D 0, top    =3D 0=0A=
[canon630u] right =3D 1199, bottom =3D 1199=0A=
[canon630u] CANON_start_scan called=0A=
[sanei_usb] sanei_usb_control_msg: rtype =3D 0x40, req =3D 12, value =3D =
137, index =3D 0, len =3D 1=0A=
[sanei_usb] sanei_usb_control_msg: SCANNER_IOCTL_CTRLMSG error - =
Input/output error=0A=
[canon630u] gl640WriteControl error=0A=
[sanei_usb] sanei_usb_control_msg: rtype =3D 0xc0, req =3D 12, value =3D =
138, index =3D 0, len =3D 1=0A=
[sanei_usb] sanei_usb_control_msg: SCANNER_IOCTL_CTRLMSG error - =
Input/output error=0A=
[canon630u] gl640ReadControl error=0A=
[sanei_usb] sanei_usb_control_msg: rtype =3D 0x40, req =3D 12, value =3D =
137, index =3D 0, len =3D 1=0A=
[sanei_usb] sanei_usb_control_msg: SCANNER_IOCTL_CTRLMSG error - =
Input/output error=0A=
[canon630u] gl640WriteControl error=0A=
[sanei_usb] sanei_usb_control_msg: rtype =3D 0x40, req =3D 12, value =3D =
139, index =3D 0, len =3D 1=0A=
[sanei_usb] sanei_usb_control_msg: SCANNER_IOCTL_CTRLMSG error - =
Input/output error=0A=
[canon630u] gl640WriteControl error=0A=
[sanei_usb] sanei_usb_control_msg: rtype =3D 0x40, req =3D 12, value =3D =
139, index =3D 0, len =3D 1=0A=
[sanei_usb] sanei_usb_control_msg: SCANNER_IOCTL_CTRLMSG error - =
Input/output error=0A=
[canon630u] gl640WriteControl error=0A=
[sanei_usb] sanei_usb_control_msg: rtype =3D 0x40, req =3D 12, value =3D =
136, index =3D 0, len =3D 1=0A=
[sanei_usb] sanei_usb_control_msg: SCANNER_IOCTL_CTRLMSG error - =
Input/output error=0A=
[canon630u] gl640WriteControl error=0A=
[sanei_usb] sanei_usb_control_msg: rtype =3D 0x40, req =3D 12, value =3D =
136, index =3D 0, len =3D 1=0A=
[sanei_usb] sanei_usb_control_msg: SCANNER_IOCTL_CTRLMSG error - =
Input/output error=0A=
[
------=_NextPart_000_0013_01C28F1E.5437A940--