<div dir="ltr">I also have an LiDE220. I noticed a few weeks ago that xsane was giving me the same error. I had no problems with other front ends including xscanimage, scanimage, and simplescan. About 2 days ago I tried it again and xsane worked. I played around a little and it seemed that xsane worked if I acquired a preview first, but not otherwise. I don't remember if I had acquired a preview from a few weeks ago or not.<div><br></div><div>Ubuntu 15.10</div><div>xsane    0.998-6ubuntu1<br></div><div>libsane  1.0.26-git20151201-wily0  (rolfbensch ppa)</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 15, 2015 at 2:29 PM, Scott Alfter <span dir="ltr"><<a href="mailto:scott@alfter.us" target="_blank">scott@alfter.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've had this scanner working with prerelease code and the final 1.0.25<br>
release for several months, but when I tried scanning something in the<br>
other day, it refused to start up.  I normally use xsane to scan<br>
documents; after hitting the "acquire preview" button, the scanner<br>
carriage makes a short moving sound, and then a dialog pops up:<br>
<br>
Failed to start scanner: Invalid argument<br>
<br>
The only thing that's changed recently is the underlying hardware, of<br>
which I've upgraded the processor, motherboard, and memory.  I've gone<br>
from a Core 2 Quad Q6600 to a Core i5 4690K (which I haven't<br>
overclocked).  The new motherboard supports USB 3.0 as well as 2.0; I've<br>
tried both types and seen no difference in behavior.  Since I'm running<br>
Gentoo Linux, I had it recompile the whole system for the new processor<br>
(-march=core-avx2), but I've also tried rebuilding with the older config<br>
(-march=core2), and that made no difference.<br>
<br>
I wouldn't think a faster processor would break SANE.  I've tried<br>
getting some more useful output from it to include, but scanimage -v<br>
isn't any more verbose than scanimage without -v (or xsane) and only<br>
produces this message:<br>
<br>
scanimage: sane_start: Invalid argument<br>
<br>
On a lark, I then checked to see if scanimage -vv might be more verbose:<br>
<br>
$ scanimage -vvd genesys:libusb:003:007 --format pnm foo.pnm<br>
scanimage: scanning image of size 636x878 pixels at 8 bits/pixel<br>
scanimage: acquiring gray frame<br>
scanimage: min/max graylevel value = 0/254<br>
scanimage: read 558408 bytes in total<br>
Closing device<br>
Calling sane_exit<br>
scanimage: finished<br>
<br>
foo.pnm has valid PGM image data.  Including --resolution and --mode<br>
options works as expected.<br>
<br>
I then tried removing one v, and then the other, and different<br>
resolution and bit-depth settings, and it still worked.  I then tried<br>
going back to xsane...still won't work.  Back to the<br>
command-line...scanimage still works.<br>
<br>
I then fired up gscan2pdf (maybe I should remember to use this more<br>
often).  With its default settings, it appears to work properly.<br>
<br>
When I started writing this up, I was about to blame the sane-backends<br>
package for breakage, but it's now looking more like the problem is with<br>
xsane...but the only change within the past year with the xsane ebuild<br>
is a keyword change on a different architecture.  Upstream source<br>
doesn't appear to have changed since May 2013.  What would explain this<br>
breakage?  Is it something that can be fixed or worked around, or should<br>
I start looking for something else to scan photos?  (I probably<br>
should've been using gscan2pdf for documents...need to familiarize<br>
myself with that a bit better.)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Scott Alfter<br>
<a href="mailto:scott@alfter.us">scott@alfter.us</a><br>
<br>
</font></span><br>--<br>
sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel</a><br>
Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
             to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">John Weber<br><a href="mailto:jweber53@gmail.com" target="_blank">jweber53@gmail.com</a></div>
</div>