CanoScan 300 and sane-1.0.{1,2}

From: Robin Kirkham (robin.kirkham@cmst.csiro.au)
Date: Thu Apr 13 2000 - 20:57:04 PDT

  • Next message: Aaron Krowne: "epson 1200U woes"

    Hi,

    I'm having trouble with this unit and both 1.0.1 and 1.0.2 (compiled
    from the standard distribution sources). It used to work fine with 1.00
    (or maybe it was earlier version) on an older system. I'm now running
    Mandrake (i.e., RHL) 6.1.

    1. The canon.conf file does not get installed for either 1.0.1 or 1.0.2
       (but easily inserted by hand "scsi CANON"). tool/find-scanner finds
       the scanner OK. dll.conf contains just "canon".

    2. With 1.0.1, xscanimage works fine, unless you save the scanner options.
       The next time you run it, it segfaults. The problem seems to be related
       to reading back the ~/.sane/xscanimage/canon+....rc file. If I delete
       this file, it works again (obviously the saved scanner options are lost).
       If you save them again, then the next time it segfaults ...

    3. With 1.0.2, I don't get as far as that. scanimage hangs forever.
       I tried getting some debug output for scanimage -L (the debug level 7
       is a guess):

         % export SANE_DEBUG_CANON=7
         % scanimage -L
         [sanei_init_debug]: Setting debug level of canon to 7.
         [canon] >> sane_init
         [canon] sane_init: sane 1.0.2
         [canon] >> attach_one
         [canon] >> attach
         [canon] attach: opening /dev/sgb
         [canon] attach: sending (standard) INQUIRY
         [canon] attach: sending TEST_UNIT_READY
         [canon] attach: sending RESERVE UNIT
         [canon] attach: sending GET SCAN MODE for scan control conditions
         [canon] attach: GET SCAN MODE for scan control conditions failed
         [canon] << attach_one
         [canon] << sane_init
         [canon] >> sane_get_devices
         [canon] << sane_get_devices
            
       The scanner does not appear to do anything.
       Obviously something was the matter with GET SCAN MODE but I don't know
       what that is. In any case, I don't think scanimage should hang...

    Can someone please offer some pointers for either or both of these problems?

    Thanks

    Robin Kirkham CSIRO Manufacturing Science and Technology
    Project Engineer Locked Bag 9, Preston 3072, Australia
    robin.kirkham@cmst.csiro.au Phone: +61 3 9662-7756 Fax: +61 3 9662-7853

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Thu Apr 13 2000 - 20:58:39 PDT