<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <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 class="moz-cite-prefix">On 5/16/21 10:26 PM, Ellis Cohen wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:cbd8f91c-ea79-4f87-b6f2-0d6d607dbc25@www.fastmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <title></title>
      <style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
      <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="qt" style="">
        <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 class="qt-font" style=""><span class="font"
                style="font-family:menlo, consolas, monospace,
                sans-serif;">ipp_usb_was_active=false</span></span><span
              class="qt-font" style=""><span class="font"
                style="font-family:menlo, consolas, monospace,
                sans-serif;"></span></span><br>
          </div>
          <div><span class="qt-font" style=""><span class="font"
                style="font-family:menlo, consolas, monospace,
                sans-serif;">sudo systemctl --quiet is-active ipp-usb</span></span><span
              class="qt-font" style=""><span class="font"
                style="font-family:menlo, consolas, monospace,
                sans-serif;"></span></span><br>
          </div>
          <div><span class="qt-font" style=""><span class="font"
                style="font-family:menlo, consolas, monospace,
                sans-serif;">if [ $? -eq 0 ] ; then</span></span><span
              class="qt-font" style=""><span class="font"
                style="font-family:menlo, consolas, monospace,
                sans-serif;"></span></span><br>
          </div>
          <div><span class="qt-font" style=""><span class="font"
                style="font-family:menlo, consolas, monospace,
                sans-serif;">   ipp_usb_was_active=true</span></span><span
              class="qt-font" style=""><span class="font"
                style="font-family:menlo, consolas, monospace,
                sans-serif;"></span></span><br>
          </div>
          <div><span class="qt-font" style=""><span class="font"
                style="font-family:menlo, consolas, monospace,
                sans-serif;">   sudo systemctl stop ipp-usb</span></span><span
              class="qt-font" style=""><span class="font"
                style="font-family:menlo, consolas, monospace,
                sans-serif;"></span></span><br>
          </div>
          <div><span class="qt-font" style=""><span class="font"
                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 class="qt-font" style=""><span class="font"
                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="qt-qt" style="">
          <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 class="moz-signature" cols="72">-- 
Zdenek Dohnal
Software Engineer
Red Hat Czech - Brno TPB-C
</pre>
  </body>
</html>