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

William Heidrich wph at netyp.com.au
Sun Nov 17 14:55:50 GMT 2002


Sorry - I'm having trouble with !@#$^outlook insisting on wrapping the
log into a continous paragraph. I've attached a .txt file - hope its
readable this time.


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


Hi,

On Mon, Nov 18, 2002 at 12:17:20AM +1030, William Heidrich wrote:
> 0) the scanner works fine under windows 98 & XP
> 1) I have compiled the scanner driver as a module. (using RH 8.0)
> 2) without modprobe it is detected as libusb:001:004
> 3) after modprobe it is identified as /dev/usb/scanner0
> 
> Sane-find-scanner detects these and scanimage -L detects and names the

> scanner correctly
> 
> When I try scanimage >image.pnm the console hangs. The trace shows 
> write errors to the scanner

Ok, that looks like a problem with the backend so it's for the canon630u
experts.

> I tried with debug option and I have attached the log I received: (I 
> get a similar log when I have libusb:001:004 listed in the 
> canon630u.conf file

> {\rtf1\ansi\deff0\adeflang1025 {\fonttbl{\f0\froman\fprq2\fcharset0 
> Nimbus Roman No9 
> L;}{\f1\froman\fprq2\fchar{\colortbl;\red0\green0\blue0;\red128\green1
> 28\blue128;}
>
{\stylesheet{\s1{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs24\l
ang255\l}

Ohoh. Please don't send MS Word files. Just the plain text of the debug
output.

As far as I can see, the first write fails.

Bye,
  Henning
_______________________________________________
Sane-devel mailing list
Sane-devel at www.mostang.com
http://www.mostang.com/mailman/listinfo/sane-devel
-------------- next part --------------
After I have 'modprobe scanner'

(i have canon630u.conf set to point to /dev/usb/scanner )

[root at localhost root]# SANE_DEBUG_CANON630U=255 scanimage -L
[sanei_debug] Setting debug level of canon630u to 255.
[canon630u] sane_init: version_code != 0, authorize != 0
[canon630u] sane_init: SANE Canon630u backend version 1.0.1 from sane-backends-1.0.9
[canon630u] reading configure file canon630u.conf
[canon630u] attach_matching_devices(/dev/usb/scanner0)
[canon630u] attach_scanner: /dev/usb/scanner0
[canon630u] attach_scanner: opening /dev/usb/scanner0
[canon630u] CANON_open_device: `/dev/usb/scanner0'
[canon630u] CANON_close_device:
[canon630u] finished reading configure file
[canon630u] sane_get_devices(local_only = 0)
device `canon630u:/dev/usb/scanner0' is a CANON Canoscan FB630U flatbed scanner
[canon630u] sane_exit
[root at localhost root]# SANE_DEBUG_CANON630U=255 scanimage >x.pnm
[sanei_debug] Setting debug level of canon630u to 255.
[canon630u] sane_init: version_code != 0, authorize != 0
[canon630u] sane_init: SANE Canon630u backend version 1.0.1 from sane-backends-1.0.9
[canon630u] reading configure file canon630u.conf
[canon630u] attach_matching_devices(/dev/usb/scanner0)
[canon630u] attach_scanner: /dev/usb/scanner0
[canon630u] attach_scanner: opening /dev/usb/scanner0
[canon630u] CANON_open_device: `/dev/usb/scanner0'
[canon630u] CANON_close_device:
[canon630u] finished reading configure file
[canon630u] sane_get_devices(local_only = 0)
[canon630u] sane_open
[canon630u] sane_open: devicename=/dev/usb/scanner0
[canon630u] CANON_open_device: `/dev/usb/scanner0'
[canon630u] sane_control_option: handle=0x8057a68, opt=0, act=0, val=0xbffff510, info=(nil)
[canon630u] sane_control_option: handle=0x8057a68, opt=0, act=0, val=0xbffff488, info=(nil)
[canon630u] sane_get_option_descriptor: option = 0
[canon630u] sane_get_option_descriptor: option = 1
[canon630u] sane_get_option_descriptor: option = 2
[canon630u] sane_get_option_descriptor: option = 3
[canon630u] sane_get_option_descriptor: option = 4
[canon630u] sane_get_option_descriptor: option = 5
[canon630u] sane_control_option: handle=0x8057a68, opt=5, act=0, val=0x8050cb8, info=(nil)
[canon630u] sane_get_option_descriptor: option = 6
[canon630u] sane_control_option: handle=0x8057a68, opt=6, act=0, val=0x8050cbc, info=(nil)
[canon630u] sane_control_option: handle=0x8057a68, opt=3, act=0, val=0xbffff484, info=(nil)
[canon630u] sane_control_option: handle=0x8057a68, opt=4, act=0, val=0xbffff484, info=(nil)
[canon630u] sane_control_option: handle=0x8057a68, opt=3, act=0, val=0xbffff50c, info=(nil)
[canon630u] sane_get_option_descriptor: option = 5
[canon630u] sane_control_option: handle=0x8057a68, opt=5, act=1, val=0xbffff508, info=0xbffff488
[canon630u] sane_control_option: handle=0x8057a68, opt=4, act=0, val=0xbffff50c, info=(nil)
[canon630u] sane_get_option_descriptor: option = 6
[canon630u] sane_control_option: handle=0x8057a68, opt=6, act=1, val=0xbffff508, info=0xbffff488
[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
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x0b, 0x0d);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x0c, 0x4c);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x0d, 0x2f);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 223
[canon630u] gl640WriteControl error
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 223
[canon630u] gl640WriteControl error
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 223
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x70, 0x73);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] init: 5
[canon630u] Calibrating
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 223
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x42, 0x06);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] multi write 32
[canon630u]  0008:04[canon630u] write_byte(fd, 0x08, 0x04);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u]
[canon630u] multi write 55
[canon630u]  0029:02[canon630u] write_byte(fd, 0x29, 0x02);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u]
[canon630u] multi read 32
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 223
[canon630u] gl640WriteControl error
[canon630u]  0008:bf[canon630u]
[canon630u] seq002 verification error
[canon630u] multi read 55
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 223
[canon630u] gl640WriteControl error
[canon630u]  0029:bf[canon630u]
[canon630u] seq003 verification error
[canon630u] write_byte(fd, 0x70, 0x73);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x2c, 0x3f);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 287
[canon630u] write_byte(fd, 0x2c, 0x3f);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x2e, 0x00);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 287
[canon630u] write_byte(fd, 0x2e, 0x00);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x30, 0x3f);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 287
[canon630u] write_byte(fd, 0x30, 0x3f);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x32, 0x00);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 287
[canon630u] write_byte(fd, 0x32, 0x00);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x34, 0x3f);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 287
[canon630u] write_byte(fd, 0x34, 0x3f);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x36, 0x00);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 287
[canon630u] write_byte(fd, 0x36, 0x00);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 223
[canon630u] gl640WriteControl error
[canon630u] read_poll_flag...
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 223
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x07, 0x01);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 223
[canon630u] gl640WriteControl error
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 223
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x07, 0x02);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x03, 0x00);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] write_byte(fd, 0x04, 0x00);
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 212
[canon630u] gl640WriteControl error
[canon630u] Failure on line of canon630u-common.c: 287
[canon630u] write_byte(fd, 0x04, 0x00);


More information about the sane-devel mailing list