<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 27/07/2012 23:25, Aleksandr Dezhin
      wrote:<br>
    </div>
    <blockquote cite="mid:50130759.6050309@dezhin.net" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      Dear developers,<br>
      <br>
      <span id="result_box" class="" lang="en"><span class="hps">I am
          trying to</span> <span class="hps">develop</span> <span
          class="hps">another web</span><span class="">-based interface
          for</span> <span class="hps">sane. </span></span><span
        id="result_box" class="" lang="en"><span class="hps">Faced with</span>
        <span class="hps">a</span> <span class="hps">problem, and</span>
        <span class="hps">do not know</span> <span class="hps">how to
          avoid</span> <span class="hps">it or</span> <span
          class="hps">solve it.<br>
          <br>
        </span></span><span id="result_box" class="" lang="en"><span
          class="hps alt-edited">I have </span><span class="hps">Canon
          LiDE</span> <span class="hps">210</span> <span class="hps">scanner</span><span
          class="">, it</span> <span class="hps">works fine</span> <span
          class="hps">with genesys</span> <span class="hps">backend</span><span>.
          Locally scanimage works in all modes: color, gray, lineart</span></span>.
      <span id="result_box" class="" lang="en"><span class="hps">However,</span>
        <span class="hps">if I</span> <span class="hps">scan through</span>
        <span class="hps">the network using</span> <span class="hps">net

          backend,</span> <span class="hps alt-edited">it stops</span>
        <span class="hps alt-edited">work in</span> <span class="hps">lineart</span>
        <span class="hps">mode.<br>
          <br>
        </span></span>
      <div id="gt-res-content" class="almost_half_cell">
        <div dir="ltr" style="zoom:1">
          <div id="tts_button" style="" class=""><object
              type="application/x-shockwave-flash"
              data="http://www.gstatic.com/translate/sound_player2.swf"
              id="tts" height="18" width="18"></object></div>
          <span id="result_box" class="short_text" lang="en"><span
              class="hps">Scanimage</span> freezes<span>,</span> <span
              class="hps">until</span> <span class="hps">I</span> <span
              class="hps">kill</span> <span class="hps">the process. I
              attached stderr of scanimage --mode Lineart with
              SANE_DEBUG_NET=9. Process freezes after "[net] sane_read:
              reading packet length", "scanimage: received signal 15"
              appears after killall scanimage.<br>
              <br>
            </span></span><span id="result_box" class="" lang="en"><span
              class="hps">Unfortunately</span> <span class="hps
              alt-edited">I can not check</span> <span class="hps">whose</span>
            <span class="hps">problem</span> <span class="hps">it is</span><span
              class="">: genesys</span> <span class="hps">or</span> <span
              class="hps">net backends.</span> <span class="hps">Test
              backend</span> <span class="hps">does not support</span>
            <span class="hps">lineart</span> <span class="hps">mode.</span></span><br>
          <br>
          <span id="result_box" class="" lang="en"><span class="hps">Has
              anyone</span> <span class="hps">encountered</span> <span
              class="hps">a similar problem</span><span class="">?</span>
            <span class="hps alt-edited">How can I</span> <span
              class="hps">try</span> <span class="hps alt-edited">solve
              it</span><span class="">?</span></span><br>
          <br>
          Thanks.<br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
        Hello,<br>
    <br>
        what would be handy to solve this issue, would be to run saned
    with SANE_DEBUG_GENESYS environment varaible set to 255, and get the
    debug messages. This way, I'll have the scan parameters given to the
    genesys backend in order to test this here.<br>
        You may try to play with 'emulated lineart' option.<br>
        And last, what is your SANE version ? It doesn't show up in the
    log file.<br>
    <br>
    Regards,<br>
        Stef<br>
  </body>
</html>