Summary: sane reports that my scanner, which was working fine before I did some Ubuntu upgrades, now possesses 0 scanning capabilities. This is a bug on someone&#39;s part, and Ratcliffe suggested I try here. (I got no replies in the IRC channel.)<br>
<br><div class="gmail_quote"><span style="font-size: large; font-weight: bold;">Forwarded conversation</span><br>Subject: <b class="gmail_sendername">Re: [gscan2pdf-help] gscan2pdf-help post from <a href="mailto:gwern0@gmail.com">gwern0@gmail.com</a> requires approval</b><br>
------------------------<br><br><span class="undefined"><font color="#000000">From: <b class="undefined">Jeffrey Ratcliffe</b> <span dir="ltr">&lt;<a href="mailto:jeffrey.ratcliffe@gmail.com">jeffrey.ratcliffe@gmail.com</a>&gt;</span><br>
Date: Wed, Feb 17, 2010 at 3:16 AM<br>To: <a href="mailto:gscan2pdf-help@lists.sourceforge.net">gscan2pdf-help@lists.sourceforge.net</a><br></font><br></span><br>On Wed, Feb 17, 2010 at 01:37:07AM +0000, <a href="mailto:gscan2pdf-help-owner@lists.sourceforge.net">gscan2pdf-help-owner@lists.sourceforge.net</a> wrote:<br>

&gt; Out of the box, jaunty gscan2pdf failed to scan with an array of error<br>
&gt; messages. I upgraded it and most of its deps to Karmic in the hopes<br>
&gt; things had been fixed, but no dice. So then I did a git clone and<br>
&gt; began working with *that*. After a great deal of fiddling with CPAN<br>
&gt; and debuild for things the configure script did not seem to pick up or<br>
&gt; flag as missing, I ran bin/gscan2pdf with great hopes - and it failed<br>
&gt; on scanning with much the same error.<br>
<br>
It looks as though the SANE backend process is not finishing<br>
cleanly. Can you scan with scanimage?<br>
<br>
Regards<br>
<br>
Jeff<br>
<br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
<br>
iEYEARECAAYFAkt7pc8ACgkQVDAgnE3XzJMj5ACgo+u/ui/quBjiQfg3Brzutf83<br>
dMoAoMosjX6WEnU6sVXqB4HGEJ5EUTzK<br>
=KBi8<br>
-----END PGP SIGNATURE-----<br>
<br>------------------------------------------------------------------------------<br>
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,<br>
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW<br>
<a href="http://p.sf.net/sfu/solaris-dev2dev" target="_blank">http://p.sf.net/sfu/solaris-dev2dev</a><br>_______________________________________________<br>
gscan2pdf-help mailing list<br>
<a href="mailto:gscan2pdf-help@lists.sourceforge.net">gscan2pdf-help@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gscan2pdf-help" target="_blank">https://lists.sourceforge.net/lists/listinfo/gscan2pdf-help</a><br>
<br><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Gwern Branwen</b> <span dir="ltr">&lt;<a href="mailto:gwern0@gmail.com">gwern0@gmail.com</a>&gt;</span><br>Date: Wed, Feb 17, 2010 at 9:57 AM<br>
To: Jeffrey Ratcliffe &lt;<a href="mailto:jeffrey.ratcliffe@gmail.com">jeffrey.ratcliffe@gmail.com</a>&gt;<br>Cc: <a href="mailto:gscan2pdf-help@lists.sourceforge.net">gscan2pdf-help@lists.sourceforge.net</a><br></font><br>
</span><br><div><div></div></div>No; in fact, all of the &#39;frontend&#39; (as the preferences call them) seem<br>
to be broken. Attached is screenshot &amp; --debug for &#39;scanimage&#39;.<br>
<br>
--<br>
<font color="#888888">gwern<br>
</font><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jeffrey Ratcliffe</b> <span dir="ltr">&lt;<a href="mailto:jeffrey.ratcliffe@gmail.com">jeffrey.ratcliffe@gmail.com</a>&gt;</span><br>
Date: Wed, Feb 17, 2010 at 1:57 PM<br>To: <a href="mailto:gscan2pdf-help@lists.sourceforge.net">gscan2pdf-help@lists.sourceforge.net</a><br></font><br></span><br>The reason that hasn&#39;t worked is that scanimage is reporting no<br>

resolutions available:<br>
<br>
 Â  Â --resolution dpi [0]<br>
 Â  Â  Â  Â Sets the resolution of the scanned image.<br>
<br>
The available scan area is also 0:<br>
<br>
 Â  Â -l 0..0mm [0]<br>
 Â  Â  Â  Â Top-left x position of scan area.<br>
 Â  Â -t 0..0mm [0]<br>
 Â  Â  Â  Â Top-left y position of scan area.<br>
 Â  Â -x 0..0mm [0]<br>
 Â  Â  Â  Â Width of scan-area.<br>
 Â  Â -y 0..0mm [0]<br>
 Â  Â  Â  Â Height of scan-area.<br>
<br>
What happens if you try on the command line:<br>
<br>
scanimage --device-name=&#39;epson:libusb:001:012&#39; --mode=&#39;Binary&#39;<br>
--source=&#39;Flatbed&#39; &gt; image.pnm<br>
<br>
?<br>
<br>
The epson backend doesn&#39;t seem to be in a good state.<br>
<br>
Regards<br>
<br>
Jeff<br>
<br>
------------------------------------------------------------------------------<br>
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,<br>
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW<br>
<a href="http://p.sf.net/sfu/solaris-dev2dev" target="_blank">http://p.sf.net/sfu/solaris-dev2dev</a><br>
<div><div></div></div><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Gwern Branwen</b> <span dir="ltr">&lt;<a href="mailto:gwern0@gmail.com">gwern0@gmail.com</a>&gt;</span><br>
Date: Fri, Feb 19, 2010 at 11:44 AM<br>To: Jeffrey Ratcliffe &lt;<a href="mailto:jeffrey.ratcliffe@gmail.com">jeffrey.ratcliffe@gmail.com</a>&gt;<br>Cc: <a href="mailto:gscan2pdf-help@lists.sourceforge.net">gscan2pdf-help@lists.sourceforge.net</a><br>
</font><br></span><br>On Wed, Feb 17, 2010 at 1:57 PM, Jeffrey Ratcliffe<br>
&gt; --source=&#39;Flatbed&#39; &gt; image.pnm<br>
<br>
[11:41 AM] 248Mb$ scanimage --device-name=&#39;epson:libusb:001:012&#39;<br>
scanimage: open of device epson:libusb:001:012 failed: Invalid argument<br>
<br>
[11:42 AM] 248Mb$ scanimage -L<br>
device `epson:libusb:001:014&#39; is a Epson Â flatbed scanner<br>
[11:43 AM] 248Mb$ scanimage --device-name=&#39;epson:libusb:001:014&#39;<br>
scanimage: sane_start: Invalid argument<br>
[11:43 AM] 248Mb$ scanimage -L<br>
device `epson:libusb:001:015&#39; is a Epson Â flatbed scanner<br>
[11:43 AM] 248Mb$ rm image.pnm; scanimage<br>
--device-name=&#39;epson:libusb:001:015&#39; --mode=&#39;Binary&#39;<br>
--source=&#39;Flatbed&#39; &gt; image.pnm<br>
scanimage: attempted to set inactive option source<br>
[11:43 AM] 248Mb$ rm image.pnm; scanimage<br>
--device-name=&#39;epson:libusb:001:015&#39; --mode=&#39;Binary&#39; &gt; image.pnm<br>
scanimage: sane_start: Invalid argument<br>
[11:43 AM] 248Mb$ scanimage -L<br>
device `epson:libusb:001:016&#39; is a Epson Â flatbed scanner<br>
[11:43 AM] 248Mb$ rm image.pnm; scanimage<br>
--device-name=&#39;epson:libusb:001:016&#39; &gt; image.pnm<br>
scanimage: sane_start: Invalid argument<br>
[11:44 AM] 248Mb$<br>
<br>
(I tried turning off &amp; on the scanner before each scanimage -L, hence<br>
the incrementing.)<br>
<br>
--<br>
<font color="#888888">gwern<br>
</font><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Jeffrey Ratcliffe</b> <span dir="ltr">&lt;<a href="mailto:jeffrey.ratcliffe@gmail.com">jeffrey.ratcliffe@gmail.com</a>&gt;</span><br>
Date: Sat, Feb 20, 2010 at 9:39 AM<br>To: Gwern Branwen &lt;<a href="mailto:gwern0@gmail.com">gwern0@gmail.com</a>&gt;<br>Cc: <a href="mailto:gscan2pdf-help@lists.sourceforge.net">gscan2pdf-help@lists.sourceforge.net</a><br>
</font><br></span><br>Try scanimage --device-name=&#39;epson:libusb:001:012&#39; --help<br>
<br>
just to check the option names are correct, but assuming they are,<br>
this is a problem for the sane-devel list.<br>
<br>
Regards<br>
<br>
Jeff<br>
<br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
<br>
iEYEARECAAYFAkt/9B0ACgkQVDAgnE3XzJNLdgCfTve09hebb6626AYAelpGrfhL<br>
4OYAnRbKMNo1mcte92K7WDQB5RiQTSKU<br>
=V9lM<br>
-----END PGP SIGNATURE-----<br>
<br><br>----------<br><span class="undefined"><font color="#000000">From: <b class="undefined">Gwern Branwen</b> <span dir="ltr">&lt;<a href="mailto:gwern0@gmail.com">gwern0@gmail.com</a>&gt;</span><br>Date: Mon, Feb 22, 2010 at 11:14 AM<br>
To: Jeffrey Ratcliffe &lt;<a href="mailto:jeffrey.ratcliffe@gmail.com">jeffrey.ratcliffe@gmail.com</a>&gt;<br>Cc: <a href="mailto:gscan2pdf-help@lists.sourceforge.net">gscan2pdf-help@lists.sourceforge.net</a><br></font><br>
</span><br>On Sat, Feb 20, 2010 at 9:39 AM, Jeffrey Ratcliffe<br>
[11:11 AM] 1355Mb$ scanimage --device-name=&#39;epson:libusb:001:003&#39;<br>
--help &amp;&gt; output<br><br>
<div class="im">I&#39;m not entirely sure what you&#39;re looking for, so 
I&#39;ve attached the<br>
entire output:<br>
<br>
</div>[11:11 AM] 1355Mb$ scanimage --device-name=&#39;epson:libusb:<div id=":ui" class="ii gt">001:003&#39;<br>
--help &amp;&gt; output<br>
<div class="im"><br>
I notice that your previous suggested commands all had the<br>
&#39;--option=value&#39; syntax, but the output says things like &#39;--mode<br>
Binary|Gray|Color [Binary]&#39;.<br><br></div></div>
--<br>
<font color="#888888">gwern<br>
</font><br>On Mon, Feb 22, 2010 at 11:50 AM, Jeffrey Ratcliffe &lt;<a href="mailto:jeffrey.ratcliffe@gmail.com">jeffrey.ratcliffe@gmail.com</a>&gt; wrote:<br>&gt; On Mon, Feb 22, 2010 at 11:14:17AM -0500, Gwern Branwen wrote:<br>
&gt;&gt; I&#39;m not entirely sure what you&#39;re looking for, so I&#39;ve attached the<br>&gt;&gt; entire output:<br>&gt;&gt;<br>&gt;&gt; [11:11 AM] 1355Mb$ scanimage --device-name=&#39;epson:libusb:001:003&#39;<br>&gt;&gt; --help &amp;&gt; output<br>
&gt;<br>&gt; Yes. There is a problem with the backend - it is reporting 0<br>&gt; resolution and page size! I would start back posting this output on<br>&gt; sane-devel and see if you get any joy there.<br>&gt;<br>&gt;&gt; I notice that your previous suggested commands all had the<br>
&gt;&gt; &#39;--option=value&#39; syntax, but the output says things like &#39;--mode<br>&gt;&gt; Binary|Gray|Color [Binary]&#39;.<br>&gt;<br>&gt; That is just showing you the options - i.e. the --mode option could be<br>
&gt; binary, gray or color, but defaults to binary if you don&#39;t specify it.<br>&gt;<br>&gt; Regards<br>&gt;<br>&gt; Jeff<br></div>