I will replug the scsi card into the orignal windows machine. Do you have instruction for the log capture on windows ?
Christophe. Le 29/12/2010 15:22, m. allan noah a ?crit : > hmm- it is mad about something we ask it to do in the set window > command. I don't have a protocol manual for this machine, so we have > to guess what the problem is. Or, we have to try and capture a log > from Windows driver. Can you use this machine on windows? > > allan > > On Wed, Dec 29, 2010 at 8:55 AM, Christophe Largeau (liste) > <liste at alixen.fr> wrote: >> the new dr.log is attached to this message. >> >> Christophe. >> >> Le 29/12/2010 14:46, m. allan noah a ?crit : >>> >>> Sorry, hit 'send' too soon- you should try: >>> >>> SANE_DEBUG_CANON_DR=30 scanimage -d canon_dr:/dev/sg2 2>dr.log>dr.pnm >>> >>> allan >>> >>> On Wed, Dec 29, 2010 at 8:35 AM, m. allan noah<kitno455 at gmail.com> >>> wrote: >>>> >>>> "scanimage: output is not a file, exiting" >>>> >>>> allan >>>> >>>> On Wed, Dec 29, 2010 at 8:23 AM, Christophe Largeau (liste) >>>> <liste at alixen.fr> wrote: >>>>> >>>>> Hi, >>>>> >>>>> I'm testing Canon DR-5060-F (SCSI) under Ubuntu 10.10 >>>>> >>>>> ii libsane 1.0.21-2ubuntu2 API >>>>> library for scanners >>>>> ii sane-utils 1.0.21-2ubuntu2 API >>>>> library for scanners -- utilities >>>>> >>>>> The sane-find-scanner commands returns : >>>>> # sane-find-scanner will now attempt to detect your scanner. If the >>>>> # result is different from what you expected, first make sure your >>>>> # scanner is powered up and properly connected to your computer. >>>>> >>>>> found SCSI scanner "CANON DR-5060F 0110" at /dev/sg2 >>>>> # Your SCSI scanner was detected. It may or may not be supported by >>>>> SANE. >>>>> Try >>>>> # scanimage -L and read the backend's manpage. >>>>> >>>>> # No USB scanners found. If you expected something different, make sure >>>>> that >>>>> # you have loaded a kernel driver for your USB host controller and have >>>>> setup >>>>> # the USB system correctly. See man sane-usb for details. >>>>> >>>>> # Not checking for parallel port scanners. >>>>> >>>>> # Most Scanners connected to the parallel port or other proprietary >>>>> ports >>>>> # can't be detected by this program. >>>>> >>>>> when I tried the command "scanimage -L" the scanner wasn't recognized >>>>> >>>>> thanks to this message : >>>>> >>>>> http://lists.alioth.debian.org/pipermail/sane-devel/2010-March/026220.html >>>>> , >>>>> I've added the following lines to canon_dr.c at line 1203. >>>>> >>>>> else if (strstr (s->model_name,"DR-5060F")){ >>>>> s->can_write_panel = 0; >>>>> } >>>>> >>>>> >>>>> Then I replace the compiled versions of libsane-canon_dr.la and >>>>> libsane-canon_dr.so.1.0.21 in /usr/lib/sane >>>>> >>>>> Now, the "scanimage -L" command returns : >>>>> device `canon_dr:/dev/sg2' is a CANON DR-5060F scanner >>>>> >>>>> Great, but the scanner doesn't work : >>>>> SANE_DEBUG_CANON_DR=30 scanimage -d canon_dr:/dev/sg2 >>>>> [sanei_debug] Setting debug level of canon_dr to 30. >>>>> [canon_dr] sane_init: start >>>>> [canon_dr] sane_init: canon_dr backend 1.0.35, from sane-backends 1.0.21 >>>>> [canon_dr] sane_init: finish >>>>> [canon_dr] sane_open: start >>>>> [canon_dr] sane_open: no scanners currently attached, attaching >>>>> [canon_dr] sane_get_devices: start >>>>> [canon_dr] sane_get_devices: reading config file canon_dr.conf >>>>> [canon_dr] sane_get_devices: looking for 'scsi CANON DR' >>>>> [canon_dr] attach_one: start >>>>> [canon_dr] attach_one: looking for '/dev/sg2' >>>>> [canon_dr] connect_fd: start >>>>> [canon_dr] connect_fd: opening SCSI device >>>>> [canon_dr] connect_fd: cannot get requested buffer size (2097152/524288) >>>>> [canon_dr] wait_scanner: start >>>>> [canon_dr] do_scsi_cmd: start >>>>> [canon_dr] cmd: writing 6 bytes >>>>> [canon_dr] cmd:>> >>>>> [canon_dr] 000: 00 00 00 00 00 00 ...... >>>>> [canon_dr] do_scsi_cmd: finish >>>>> [canon_dr] wait_scanner: finish >>>>> [canon_dr] connect_fd: finish >>>>> [canon_dr] init_inquire: start >>>>> [canon_dr] do_scsi_cmd: start >>>>> [canon_dr] cmd: writing 6 bytes >>>>> [canon_dr] cmd:>> >>>>> [canon_dr] 000: 12 00 00 00 30 00 ....0. >>>>> [canon_dr] in: reading 48 bytes >>>>> [canon_dr] in:<< >>>>> [canon_dr] 000: 06 00 02 02 1f 00 00 10 43 41 4e 4f 4e 20 20 20 >>>>> ........CANON >>>>> [canon_dr] 010: 44 52 2d 35 30 36 30 46 20 20 20 20 20 20 20 20 DR-5060F >>>>> [canon_dr] 020: 30 31 31 30 32 30 30 31 30 36 30 37 20 20 20 20 >>>>> 011020010607 >>>>> [canon_dr] in: read 48 bytes >>>>> [canon_dr] do_scsi_cmd: finish >>>>> [canon_dr] init_inquire: Found CANON scanner DR-5060F version 0110 at >>>>> /dev/sg2 >>>>> [canon_dr] init_inquire: finish >>>>> [canon_dr] init_vpd: start >>>>> [canon_dr] do_scsi_cmd: start >>>>> [canon_dr] cmd: writing 6 bytes >>>>> [canon_dr] cmd:>> >>>>> [canon_dr] 000: 12 01 f0 00 1e 00 ...... >>>>> [canon_dr] in: reading 30 bytes >>>>> [canon_dr] in:<< >>>>> [canon_dr] 000: 06 f0 02 00 23 01 2c 01 2c a5 01 2c 01 2c 00 c8 >>>>> ....#.,.,..,.,.. >>>>> [canon_dr] 010: 00 64 01 c0 00 00 0d a0 00 00 13 ee 0e 00 .d............ >>>>> [canon_dr] in: read 30 bytes >>>>> [canon_dr] do_scsi_cmd: finish >>>>> [canon_dr] init_vpd: length=23 >>>>> [canon_dr] standard options >>>>> [canon_dr] basic x res: 300 dpi >>>>> [canon_dr] basic y res: 300 dpi >>>>> [canon_dr] step x res: 1 dpi >>>>> [canon_dr] step y res: 0 dpi >>>>> [canon_dr] max x res: 300 dpi >>>>> [canon_dr] max y res: 300 dpi >>>>> [canon_dr] min x res: 200 dpi >>>>> [canon_dr] min y res: 100 dpi >>>>> [canon_dr] 60 dpi: 0 >>>>> [canon_dr] 75 dpi: 0 >>>>> [canon_dr] 100 dpi: 0 >>>>> [canon_dr] 120 dpi: 0 >>>>> [canon_dr] 150 dpi: 0 >>>>> [canon_dr] 160 dpi: 0 >>>>> [canon_dr] 180 dpi: 0 >>>>> [canon_dr] 200 dpi: 1 >>>>> [canon_dr] 240 dpi: 1 >>>>> [canon_dr] 300 dpi: 1 >>>>> [canon_dr] 320 dpi: 0 >>>>> [canon_dr] 400 dpi: 0 >>>>> [canon_dr] 480 dpi: 0 >>>>> [canon_dr] 600 dpi: 0 >>>>> [canon_dr] 800 dpi: 0 >>>>> [canon_dr] 1200 dpi: 0 >>>>> [canon_dr] max width: 13952 (11.63 in) >>>>> [canon_dr] max length: 20408 (17.01 in) >>>>> [canon_dr] AWD: 0 >>>>> [canon_dr] CE Emphasis: 0 >>>>> [canon_dr] C Emphasis: 0 >>>>> [canon_dr] High quality: 0 >>>>> [canon_dr] grayscale: 1 >>>>> [canon_dr] halftone: 1 >>>>> [canon_dr] monochrome: 1 >>>>> [canon_dr] overflow: 0 >>>>> [canon_dr] init_vpd: finish >>>>> [canon_dr] init_model: start >>>>> [canon_dr] init_model: finish >>>>> [canon_dr] init_panel: start >>>>> [canon_dr] read_panel: start >>>>> [canon_dr] read_panel: finish 0 >>>>> [canon_dr] send_panel: start >>>>> [canon_dr] send_panel: unsupported, finishing >>>>> [canon_dr] init_panel: finish >>>>> [canon_dr] init_user: start >>>>> [canon_dr] init_user: finish >>>>> [canon_dr] init_options: start >>>>> [canon_dr] init_options: finish >>>>> [canon_dr] disconnect_fd: start >>>>> [canon_dr] disconnecting scsi device >>>>> [canon_dr] disconnect_fd: finish >>>>> [canon_dr] attach_one: finish >>>>> [canon_dr] sane_get_devices: found scanner /dev/sg2 >>>>> [canon_dr] sane_get_devices: found 1 scanner(s) >>>>> [canon_dr] sane_get_devices: finish >>>>> [canon_dr] sane_open: device /dev/sg2 requested >>>>> [canon_dr] sane_open: device /dev/sg2 found >>>>> [canon_dr] connect_fd: start >>>>> [canon_dr] connect_fd: opening SCSI device >>>>> [canon_dr] wait_scanner: start >>>>> [canon_dr] do_scsi_cmd: start >>>>> [canon_dr] cmd: writing 6 bytes >>>>> [canon_dr] cmd:>> >>>>> [canon_dr] 000: 00 00 00 00 00 00 ...... >>>>> [canon_dr] do_scsi_cmd: finish >>>>> [canon_dr] wait_scanner: finish >>>>> [canon_dr] connect_fd: finish >>>>> [canon_dr] sane_open: finish >>>>> [canon_dr] sane_get_option_descriptor: 0 >>>>> [canon_dr] sane_control_option: get value for '' (0) >>>>> [canon_dr] sane_get_option_descriptor: 0 >>>>> [canon_dr] sane_control_option: get value for '' (0) >>>>> [canon_dr] sane_get_option_descriptor: 1 >>>>> [canon_dr] sane_get_option_descriptor: 2 >>>>> [canon_dr] sane_get_option_descriptor: 3 >>>>> [canon_dr] sane_get_option_descriptor: 4 >>>>> [canon_dr] sane_get_option_descriptor: 5 >>>>> [canon_dr] sane_get_option_descriptor: 6 >>>>> [canon_dr] sane_get_option_descriptor: 7 >>>>> [canon_dr] sane_get_option_descriptor: 8 >>>>> [canon_dr] sane_get_option_descriptor: 9 >>>>> [canon_dr] sane_get_option_descriptor: 10 >>>>> [canon_dr] sane_get_option_descriptor: 11 >>>>> [canon_dr] sane_get_option_descriptor: 12 >>>>> [canon_dr] sane_get_option_descriptor: 13 >>>>> [canon_dr] sane_get_option_descriptor: 14 >>>>> [canon_dr] sane_get_option_descriptor: 15 >>>>> [canon_dr] sane_get_option_descriptor: 16 >>>>> [canon_dr] sane_get_option_descriptor: 17 >>>>> [canon_dr] sane_get_option_descriptor: 18 >>>>> [canon_dr] sane_get_option_descriptor: 19 >>>>> [canon_dr] sane_get_option_descriptor: 20 >>>>> [canon_dr] sane_get_option_descriptor: 21 >>>>> [canon_dr] sane_get_option_descriptor: 22 >>>>> [canon_dr] sane_get_option_descriptor: 23 >>>>> [canon_dr] sane_get_option_descriptor: 24 >>>>> [canon_dr] sane_get_option_descriptor: 25 >>>>> [canon_dr] sane_get_option_descriptor: 26 >>>>> [canon_dr] sane_get_option_descriptor: 27 >>>>> [canon_dr] sane_get_option_descriptor: 28 >>>>> [canon_dr] sane_get_option_descriptor: 29 >>>>> [canon_dr] sane_get_option_descriptor: 30 >>>>> [canon_dr] sane_get_option_descriptor: 31 >>>>> [canon_dr] sane_get_option_descriptor: 32 >>>>> [canon_dr] sane_get_option_descriptor: 33 >>>>> [canon_dr] sane_get_option_descriptor: 34 >>>>> [canon_dr] sane_get_option_descriptor: 35 >>>>> [canon_dr] sane_get_option_descriptor: 36 >>>>> [canon_dr] sane_get_option_descriptor: 37 >>>>> [canon_dr] sane_get_option_descriptor: 38 >>>>> [canon_dr] sane_control_option: get value for 'br-x' (8) >>>>> [canon_dr] sane_control_option: get value for 'tl-x' (6) >>>>> [canon_dr] sane_control_option: get value for 'br-y' (9) >>>>> [canon_dr] sane_control_option: get value for 'tl-y' (7) >>>>> [canon_dr] sane_control_option: get value for 'tl-x' (6) >>>>> [canon_dr] sane_get_option_descriptor: 8 >>>>> [canon_dr] sane_control_option: set value for 'br-x' (8) >>>>> [canon_dr] sane_control_option: get value for 'tl-y' (7) >>>>> [canon_dr] sane_get_option_descriptor: 9 >>>>> [canon_dr] sane_control_option: set value for 'br-y' (9) >>>>> scanimage: output is not a file, exiting >>>>> [canon_dr] sane_close: start >>>>> [canon_dr] disconnect_fd: start >>>>> [canon_dr] disconnecting scsi device >>>>> [canon_dr] disconnect_fd: finish >>>>> [canon_dr] image_buffers: start >>>>> [canon_dr] image_buffers: finish >>>>> [canon_dr] offset_buffers: start >>>>> [canon_dr] offset_buffers: finish >>>>> [canon_dr] gain_buffers: start >>>>> [canon_dr] gain_buffers: finish >>>>> [canon_dr] sane_close: finish >>>>> [canon_dr] sane_exit: start >>>>> [canon_dr] disconnect_fd: start >>>>> [canon_dr] disconnect_fd: finish >>>>> [canon_dr] sane_exit: finish >>>>> >>>>> Any idea ? >>>>> >>>>> Christophe. >>>>> -- >>>>> Christophe Largeau >>>>> Alixen >>>>> >>>>> -- >>>>> sane-devel mailing list: sane-devel at lists.alioth.debian.org >>>>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel >>>>> Unsubscribe: Send mail with subject "unsubscribe your_password" >>>>> to sane-devel-request at lists.alioth.debian.org >>>>> >>>> >>>> >>>> >>>> -- >>>> "The truth is an offense, but not a sin" >>>> >>> >>> >>> >> >> >> -- >> Christophe Largeau >> Alixen >> > > > -- Christophe Largeau Alixen 20 rue Jean Rostand 91 400 Orsay Tel : 01 60 19 72 31, Fax : 01 69 41 78 54