<div dir="ltr">Hello folks! A few years ago I posted about my Xerox DocuMate 510 and its strange colored bands when using Sane. Unfortunately back then, I didn't have time to dig deeper into the problem.<div><br></div>

<div>I tried this scanner again recently, and found similar results.<div><br></div><div>Xsane now crashes after init, probably due to my running two monitors. Simple Scan starts up fine and runs normally.</div><div><br></div>

<div>sane-find-scanner:</div><div><br></div><div>$ sane-find-scanner <br></div><div># ...<br></div><div>found USB scanner (vendor=0x04a7 [XEROX], product=0x0446 [DocuMate 510]) at libusb:006:005</div><div># ...</div><div>

<br></div><div>scanimage works fine, mostly:</div><div><div>$ scanimage -L<br></div><div>device `avision:libusb:006:003' is a Xerox DocuMate510 flatbed scanner</div></div><div><br></div><div>It scans ok, but it hangs when I run "scanimage -T":</div>

<div><div>$ scanimage -T</div><div>scanimage: scanning image 1272 pixels wide and variable height at 24 bits/pixel</div><div>scanimage: acquiring RGB frame, 8 bits/sample</div><div>scanimage: reading one scanline, 3816 bytes...<span class="" style="white-space:pre">    </span>PASS</div>

<div>scanimage: reading one byte...<span class="" style="white-space:pre">              </span>PASS</div><div>scanimage: stepped read, 2 bytes... <span class="" style="white-space:pre">   </span>PASS</div><div>scanimage: stepped read, 4 bytes... <span class="" style="white-space:pre">   </span>PASS</div>

<div>scanimage: stepped read, 8 bytes... <span class="" style="white-space:pre">        </span>PASS</div><div>scanimage: stepped read, 16 bytes... <span class="" style="white-space:pre">  </span>PASS</div><div>scanimage: stepped read, 32 bytes... <span class="" style="white-space:pre">  </span>PASS</div>

<div>scanimage: stepped read, 64 bytes... <span class="" style="white-space:pre">       </span>PASS</div><div>scanimage: stepped read, 128 bytes... <span class="" style="white-space:pre"> </span>PASS</div><div>scanimage: stepped read, 256 bytes... <span class="" style="white-space:pre"> </span>PASS</div>

<div>scanimage: stepped read, 512 bytes... <span class="" style="white-space:pre">      </span>PASS</div><div>scanimage: stepped read, 1024 bytes... <span class="" style="white-space:pre">        </span>PASS</div><div>scanimage: stepped read, 2048 bytes... <span class="" style="white-space:pre">        </span>PASS</div>

<div>scanimage: stepped read, 4096 bytes... <span class="" style="white-space:pre">     </span>PASS</div><div>scanimage: stepped read, 4095 bytes... <span class="" style="white-space:pre">        </span>PASS</div><div>scanimage: stepped read, 2047 bytes... <span class="" style="white-space:pre">        </span>PASS</div>

<div>scanimage: stepped read, 1023 bytes... <span class="" style="white-space:pre">     </span>PASS</div><div>scanimage: stepped read, 511 bytes... <span class="" style="white-space:pre"> </span>PASS</div><div>scanimage: stepped read, 255 bytes... <span class="" style="white-space:pre"> </span>PASS</div>

<div>scanimage: stepped read, 127 bytes... <span class="" style="white-space:pre">      </span>PASS</div><div>scanimage: stepped read, 63 bytes... <span class="" style="white-space:pre">  </span>PASS</div><div>scanimage: stepped read, 31 bytes... <span class="" style="white-space:pre">  </span>PASS</div>

<div>scanimage: stepped read, 15 bytes... <span class="" style="white-space:pre">       </span>PASS</div><div>scanimage: stepped read, 7 bytes... <span class="" style="white-space:pre">   </span>PASS</div><div>scanimage: stepped read, 3 bytes... <span class="" style="white-space:pre">   </span>PASS</div>

<div><br></div><div># At this point scanimage hangs for a long time, so I break:</div><div>^C<br></div><div>scanimage: received signal 2</div><div>scanimage: trying to stop scanner</div><div>Segmentation fault (core dumped)</div>

</div><div><br></div><div>This leaves my scanner in an unusable state, and it must be power cycled before it will work again.</div></div><div><br></div><div>Finally, scanned images in full color still have the gradient-colored vertical stripes. I have attached a sample, collected thus:</div>

<div><br></div><div>$ scanimage > XeroxDocumate510.pnm<br></div><div><br></div><div>I have cloned the Git repository sane-backends, compiled and installed.</div><div><br></div><div><div>$ scanimage --version</div><div>

scanimage (sane-backends) 1.0.25git; backend version 1.0.22</div></div><div><br></div><div>I have never done Sane development before.<b> </b>I have started reading avision.c and avision.h to familiarize myself with the driver.</div>

<div><br></div><div>I'm looking for some help on getting started. I noticed many of the scanners defined have various flags, perhaps one of those flags should be set for the (Visioneer) Xerox DocuMate 510?</div><div>
<br>
</div><div>Thanks in advance for your help!</div><div><br></div><div>Chris</div><div><br></div></div>