<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>You're welcome.<br>
</p>
<p>However, the problem with plugin is you need to update it every
new hplip version.</p>
<p>So as I originally wrote to Ellis, use driverless scanning if
your device supports it.<br>
</p>
<div class="moz-cite-prefix">On 5/18/21 1:30 PM, Donald Lock wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJHt15bb+G8WGtdwxLGJVLqYn2qvUcsa2PjP0ZuWar=FPcFrXA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">Dear Zdenek,
<div dir="auto"><br>
</div>
<div dir="auto">Your advice helped me with my LaserJet Pro MFP
427dw. Scan function works perfectly now. Thank you!</div>
<div dir="auto"><br>
<div dir="auto">Don</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, May 18, 2021, 6:38 AM
Zdenek Dohnal <<a href="mailto:zdohnal@redhat.com"
moz-do-not-send="true">zdohnal@redhat.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p>If you want to use hplip for scanning and its hpaio
backend, you will probably need their proprietary plugin
which you can download by 'hp-plugin -i'. Although their
web page says otherwise, most of their scanning devices
need their proprietary plugin.</p>
<p>I strongly recommend uninstalling hplip and using ipp-usb
+ sane-airscan/sane-escl if your device supports it, as it
supports in your case.<br>
</p>
<div>On 5/16/21 10:26 PM, Ellis Cohen wrote:<br>
</div>
<blockquote type="cite">
<div>Due to a hard failure in the boot loader, I had to
completely re-install my Fedora 33 system. (My attempts
to just re-install the boot loader didn't work.)
Everything's once again working (including my printer)
*except* for the HP ScanJet Pro 2000 s2 scanner.<br>
</div>
<div><br>
</div>
<div>'scanimage -L' displays<br>
</div>
<blockquote type="cite">
<div>device `plustek:libusb:003:005' is a Canon CanoScan
N1220U flatbed scanner<br>
</div>
<div>device `airscan:e0:HP ScanJet Pro 2000 s2 (USB)' is
a eSCL HP ScanJet Pro 2000 s2 (USB) ip=127.0.0.1<br>
</div>
<div>device
`hpaio:/usb/HP_ScanJet_Pro_2000_s2?serial=CN09EA204V'
is a Hewlett-Packard HP_ScanJet_Pro_2000_s2 all-in-one<br>
</div>
<div>device
`hpaio:/net/scanjet_pro_2000_s2?ip=127.0.0.1&queue=false'
is a Hewlett-Packard scanjet_pro_2000_s2 all-in-one<br>
</div>
</blockquote>
<div><br>
</div>
<div>(The Canon N21220U is an oldie-but-goodie that I can
access, but isn't my concern. I want to use the ScanJet
Pro.)<br>
</div>
<div><br>
</div>
<div>No matter whether ipp-usb is<br>
</div>
<ul>
<li>installed and running,<br>
</li>
<li>installed and not running, or<br>
</li>
<li>not installed,<br>
</li>
</ul>
<div>and regardless of which of the three choices above
I'm using to access the scanner,<br>
</div>
<div>in all cases I get the unhelpful diagnostic message<br>
</div>
<blockquote type="cite">
<div>Failed to open device
`hpaio:/usr/HP_ScanJet_pro_2000_s2?serial=CN09EA204V'<br>
</div>
<div>Error during device I/O.<br>
</div>
</blockquote>
<div><br>
</div>
<div>I also tried removing the 'hplip' package, but that
didn't help either.<br>
</div>
<div><br>
</div>
<div>Any thoughts on what might be broken? Any debugging
I could enable that might shed light? Any further
information I could provide to help diagnose?<br>
</div>
<div><br>
</div>
<div>Thanks for any help you can provide.<br>
</div>
<div><br>
</div>
<div>Ellis<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>On Fri, Mar 5, 2021, at 9:33 AM, Ellis Cohen wrote:<br>
</div>
<blockquote type="cite" id="m_589739212732877239qt">
<div>Thanks for your help! IPP-over-USB <i>was</i>
the culprit (although I have no idea exactly what
latest-update from Fedora changed previous behavior).<br>
</div>
<div><br>
</div>
<div>I determined that for my configuration, it was
least-invasive to simply execute<br>
</div>
<div><br>
</div>
<blockquote type="cite">
<div><span><span
style="font-family:menlo,consolas,monospace,sans-serif">ipp_usb_was_active=false</span></span><span><span
style="font-family:menlo,consolas,monospace,sans-serif"></span></span><br>
</div>
<div><span><span
style="font-family:menlo,consolas,monospace,sans-serif">sudo
systemctl --quiet is-active ipp-usb</span></span><span><span
style="font-family:menlo,consolas,monospace,sans-serif"></span></span><br>
</div>
<div><span><span
style="font-family:menlo,consolas,monospace,sans-serif">if
[ $? -eq 0 ] ; then</span></span><span><span
style="font-family:menlo,consolas,monospace,sans-serif"></span></span><br>
</div>
<div><span><span
style="font-family:menlo,consolas,monospace,sans-serif">
ipp_usb_was_active=true</span></span><span><span
style="font-family:menlo,consolas,monospace,sans-serif"></span></span><br>
</div>
<div><span><span
style="font-family:menlo,consolas,monospace,sans-serif">
sudo systemctl stop ipp-usb</span></span><span><span
style="font-family:menlo,consolas,monospace,sans-serif"></span></span><br>
</div>
<div><span><span
style="font-family:menlo,consolas,monospace,sans-serif">fi</span></span><br>
</div>
</blockquote>
<div><br>
</div>
<div>before scanning, and<br>
</div>
<div><br>
</div>
<blockquote type="cite">
<div><span><span
style="font-family:menlo,consolas,monospace,sans-serif">${ipp_usb_was_active}
&& sudo systemctl start ipp-usb</span></span><br>
</div>
</blockquote>
<div><br>
</div>
<div>afterwards.<br>
</div>
<div><br>
</div>
<div>Again, thanks muchly!<br>
</div>
<div><br>
</div>
<div>Ellis<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>On Thu, Mar 4, 2021, at 9:43 PM, Zdenek Dohnal
wrote:<br>
</div>
<blockquote type="cite" id="m_589739212732877239qt-qt">
<div><br>
</div>
<div>On 3/4/21 7:39 PM, Alexander Pevzner wrote:<br>
</div>
<div>><br>
</div>
<div>> 2) Remove hplip and scan driverlessly:<br>
</div>
<div>><br>
</div>
<div>> dnf erase hplip<br>
</div>
<div>> dnf install sane-airscan<br>
</div>
<div>><br>
</div>
<div>Btw, sane-airscan is installed by default if you
have sane-backends<br>
</div>
<div>installed :) . I changed that later...<br>
</div>
<div><br>
</div>
<div>-- <br>
</div>
<div>Zdenek Dohnal<br>
</div>
<div>Software Engineer<br>
</div>
<div>Red Hat Czech - Brno TPB-C<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><b>Attachments:</b><br>
</div>
<ul>
<li>OpenPGP_signature<br>
</li>
</ul>
</blockquote>
<div><br>
</div>
</blockquote>
<div><br>
</div>
</blockquote>
<pre cols="72">--
Zdenek Dohnal
Software Engineer
Red Hat Czech - Brno TPB-C
</pre>
</div>
</blockquote>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Zdenek Dohnal
Software Engineer
Red Hat Czech - Brno TPB-C
</pre>
</body>
</html>