<div dir="ltr"><div>Hi</div><div><br></div><div>I'm appending  the AV220D2 + scanner to backend as follows:</div><div><br></div><div> { NULL, NULL,</div><div><br></div><div>      0x0638, 0x1A31,</div><div><br></div><div>
      "Avision", "AV220D2+",</div><div><br></div><div>     AV_INT_BUTTON | AV_CANCEL_BUTTON ,AV_USE_GRAY_FILTER|AV_FIRMWARE},</div><div><br></div><div><br></div><div>But in lineart mode, the resulting image is all black. If I set 512 as size for the gamma table (gamma_table_raw_size = gamma_table_size = 512, in  SANE_Status send_gamma (Avision_Scanner * s)) this work.</div>
<div>In addition, there is a problem in obtaining SANE_STATUS_EOF in the reader_process method. In the following cases: </div><div>1 - read rear line: only emit a eof status. The following status  returned is SANE_STATUS_OK, with data of the following page (see image1). </div>
<div>2 - read front lines: In this case emit a eof status  per side of the page. </div><div><br></div><div>In last read, when the scanner returns an eof status, a striped band is obtained at the bottom  if you scan in lineart mode(see Image2), or gray stripe , if set  color or gray mode.</div>
<div><br></div><div>The scanner has the following characteristics:</div><div>- [avision] attach: [91] ASIC 8</div><div>- Bits per channel: 1, 8, 16</div><div><br></div><div>Environment:</div><div>Sane-backends: 1.0.25</div>
<div>OS : Open Suse 12.1</div><div><br></div><div>The images were obtained using xsane</div><div><br></div><div>I await your response.</div><div>Best Regards!</div></div>