<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 12/12/2012 10:23, niky 45 wrote:<br>
    </div>
    <blockquote
cite="mid:CA+GN3FRCXc9kbRsrcs094OB9S+3d2ADHqM7Yq0+PeH_-2UZV-g@mail.gmail.com"
      type="cite">ok, this time debugging worked. <br>
      here is the log: <a moz-do-not-send="true"
href="http://sourceforge.net/p/nikyscripts/code/154/tree/genesys/preview.log">http://sourceforge.net/p/nikyscripts/code/154/tree/genesys/preview.log</a><br>
      looking at it, i found this:<br>
      <code> <br>
      [genesys] Calibration filename set to:<br>
      [genesys] >/home/niky/.sane/plustek-opticbook-3600.cal<<br>
      [genesys] read_calibration: enter<br>
      [genesys] Calibration: Cannot open
      /home/niky/.sane/plustek-opticbook-3600.cal<br>
      [genesys] read_calibration: exit<br>
      [genesys] sane_open: exit<br>
      </code><br>
      which explains why the colors are not as expected, doesn't it?<br>
      however, i am not sure what to do with that... i'll have to see if
      they have some king of calibration sheet or something, but i don't
      think so i mean, some people are working with this scanner on
      windows, and they just installed the software and that's all. <br>
      <br>
      anyway, the image looks pretty much the same (again, converted to
      jpg, this time without the -quality flag for imagemagick )<br>
      <a moz-do-not-send="true" href="http://ompldr.org/vZ251aA">http://ompldr.org/vZ251aA</a><br>
      <br>
      looking at the rest of the log, i see many things but understand
      very little (i see what looks like many calls for scan, and then
      many many more for ccm filtering... whatever that means). however,
      as you see at the end it give exactly the same message (last four
      lines or so). <br>
      <br>
      ok. so, now i have the debug log, but i don't know what to do with
      it. any clue for me?<br>
      <br>
      <div class="gmail_quote">2012/12/12 Stef <span dir="ltr"><<a
            moz-do-not-send="true" href="mailto:stef.dev@free.fr"
            target="_blank">stef.dev@free.fr</a>></span><br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000">
            <div>
              <div class="h5">
                <div>On 11/12/2012 11:13, niky 45 wrote:<br>
                </div>
                <blockquote type="cite">so, i need to make this scan
                  work for my library project. but it is giving me so
                  many problems. <br>
                  <div class="gmail_quote">i'll attach you what it does,
                    and the original image. <br>
                    <a moz-do-not-send="true"
                      href="http://ompldr.org/vZ25mdw" target="_blank">http://ompldr.org/vZ25mdw</a>
                    (note it's converted to jpg so you can see it
                    online. te commandline was <i>convert -quality 70
                      001.pnm 001.jpg</i>)<br>
                    <br>
                    console output:
                    ------------------------------------------<br>
                     >>> scanimage -d genesys:libusb:002:003
                    --mode Color --format pnm --swcrop=yes --resolution
                    200 -v >001.pnm<br>
                    [genesys] WARNING: Your scanner is not fully
                    supported or at least <br>
                    [genesys]          had only limited testing. Please
                    be careful and <br>
                    [genesys]          report any failure/success to <br>
                    [genesys]          <a moz-do-not-send="true"
                      href="mailto:sane-devel@lists.alioth.debian.org"
                      target="_blank">sane-devel@lists.alioth.debian.org</a>.
                    Please provide as many<br>
                    [genesys]          details as possible, e.g. the
                    exact name of your<br>
                    [genesys]          scanner and what does (not) work.<br>
                    scanimage: scanning image of size 1622x2337 pixels
                    at 24 bits/pixel<br>
                    scanimage: acquiring RGB frame<br>
                    scanimage: min/max graylevel value = 0/255<br>
                    scanimage: read 11371842 bytes in total<br>
------------------------------------------------------<br>
                    <br>
                    and the second one is a (low quality) photo of it
                    (taken with my cell phone). keep in mind it gives
                    very little contrast - the light part is actually
                    white. <br>
                    <a moz-do-not-send="true"
                      href="http://ompldr.org/vZ25mcg" target="_blank">http://ompldr.org/vZ25mcg</a><br>
                    <br>
                    i have been looking around, and i found that
                    channels are screwed up. i mean, if you open the
                    scanned image with gimp, and separate the channels,
                    you can see the red one is OK, but blue and green
                    are not good. i mean, too many lights and shadows. 
                    (i can show you another image if it's not clear with
                    this one)<br>
                    <br>
                    i have two of those scanners, and both of them do
                    the same thing. i have tried with several computers,
                    and got same results. however, with other scanners,
                    scanimage works fine. the same aplies for xsane. <br>
                    <br>
                    i don't mind getting my hands into the driver
                    (genesys_gl841), BUT, i don't know how to use
                    usbsnoopy under windows (i tried, but it did
                    nothing), and even if it worked, i wouldn't know
                    what to do with that data. <br>
                    <br>
                    also, i found this: <a moz-do-not-send="true"
href="http://old.nabble.com/Backend-for-plustek-Opticbook-3600-td26641970.html"
                      target="_blank">http://old.nabble.com/Backend-for-plustek-Opticbook-3600-td26641970.html</a><br>
                    but i understood very little if anything. <br>
                    <br>
                    so, i need to get this scanner working, driver is
                    doing weird things (under windows, scanners work as
                    expected), and i don't know what to do with it. <br>
                    <br>
                    PS: i tried to activate debugging, but scanimage
                    wouldn't  accept a --debug option, and setting just
                    the debug vars did nothing (SANE_DEBUG=255 and so
                    on). i also tried to recompile the driver to
                    activate debug support (i'm working with packages
                    from debian wheezy's repos), but it told me this:<br>
                    --------------------------------------------<br>
                    [10:56:12] - [<a moz-do-not-send="true"
                      href="mailto:root@vivo:/usr/src/sane-backends-1.0.22"
                      target="_blank">root@vivo:/usr/src/sane-backends-1.0.22</a>]<br>
                    713 >>> command ls -F<br>
                    acinclude.m4      ChangeLog-1.0.14  ChangeLog-1.0.4 
                    configure*    japi/           po/            
                    README.linux       sanei/<br>
                    aclocal.m4        ChangeLog-1.0.15  ChangeLog-1.0.5 
                    <a moz-do-not-send="true" href="http://configure.in"
                      target="_blank">configure.in</a>  lib/           
                    PROBLEMS        README.netbsd      testsuite/<br>
                    AUTHORS           ChangeLog-1.0.16  ChangeLog-1.0.6 
                    COPYING       LICENSE         PROJECTS       
                    README.openbsd     tools/<br>
                    backend/          ChangeLog-1.0.17  ChangeLog-1.0.7 
                    debian/       ltmain.sh*      README         
                    README.os2<br>
                    ChangeLog         ChangeLog-1.0.18  ChangeLog-1.0.8 
                    depcomp*      m4/             README.aix     
                    README.solaris<br>
                    ChangeLog-1.0.0   ChangeLog-1.0.19  ChangeLog-1.0.9 
                    doc/          Makefile.am     README.beos    
                    README.unixware2<br>
                    ChangeLog-1.0.1   ChangeLog-1.0.2   compile*        
                    frontend/     Makefile.in     README.darwin  
                    README.unixware7<br>
                    ChangeLog-1.0.10  ChangeLog-1.0.20  config.guess*   
                    include/      missing*        README.djpeg   
                    README.windows<br>
                    ChangeLog-1.0.12  ChangeLog-1.0.21  config.log      
                    INSTALL       mkinstalldirs*  README.freebsd 
                    README.zeta<br>
                    ChangeLog-1.0.13  ChangeLog-1.0.3   config.sub*     
                    install-sh*   NEWS            README.hp-ux   
                    sane-backends.lsm<br>
                    <br>
                    [10:56:28] - [<a moz-do-not-send="true"
                      href="mailto:root@vivo:/usr/src/sane-backends-1.0.22"
                      target="_blank">root@vivo:/usr/src/sane-backends-1.0.22</a>]<br>
                    714 >>> . configure<br>
                    bash: WARNING: you should use --build, --host,
                    --target<br>
                    bash: WARNING: you should use --build, --host,
                    --target<br>
                    bash: error: cannot find install-sh, install.sh, or
                    shtool in "/bin" "/bin/.." "/bin/../.."<br>
------------------------------------------------------------<br>
                    i have installed build deps through aptitude. <br>
                    <br>
                    <br>
                    PS2: i know my english is not perfect. sorry for
                    that. i  really do what i can. <br>
                    <span><font color="#888888"><br clear="all">
                        <br>
                        -- <br>
                        >> niky45 <<<br>
                        <br>
                        <br>
                        <br>
                      </font></span></div>
                  <br>
                  <br clear="all">
                  <br>
                  -- <br>
                  >> niky45 <<<br>
                  <br>
                  <br>
                  <br>
                  <br>
                  <fieldset></fieldset>
                  <br>
                </blockquote>
              </div>
            </div>
                Hello,<br>
            <br>
                if enabling debug traces with:<br>
            <br>
            export SANE_DEBUG_GENESYS=255<br>
            export SANE_DEBUG_GENESYS_LOW=255<br>
            export SANE_DEBUG_GENESYS_GL841=255<br>
            <br>
              before running a color preview with:<br>
            scanimage -d genesys --clear-calibration --mode Color
            2>preview.log >preview.pnm<br>
            <br>
            <br>
                doesn't work, ie the preview.log file is empty, you may
            consider recompiling SANE.<br>
            When running the 'configure' command, be sure to 'cd' to the
            top directory of the sources and run ./configure , so you
            get sure the 'configure' run is the one from SANE, not
            another one in the PATH.<br>
                Although OpticBook 3600 support is in SANE 1.0.22, it
            would be better to compile SANE 1.0.23. You don't have to
            install the compiled version to test it. To test you may
            preload the freshly compiled backend by doing:<br>
            <br>
            export LD_PRELOAD=.libs/libsane-genesys.so<br>
            <br>
            and run scanimage, xsane or whatever frontend from the
            'backend' subdirectory.<br>
            <br>
            Regards,<br>
                Stef<br>
            <br>
            <br>
            <br>
          </div>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      >> niky45 <<<br>
      <br>
      <br>
      <br>
    </blockquote>
    <br>
        Hello,<br>
    <br>
        the calibration message is harmless when scanimage is run with
    --clear-calibration. There should be some *.pnm files created in the
    working directory when debug is activated. May you send them to me ?
    THey will give information on the calibration process.<br>
    <br>
    Regards,<br>
        Stef<br>
  </body>
</html>