[sane-devel] HP ScanJet Pro 2000 sudden failure
Zdenek Dohnal
zdohnal at redhat.com
Tue May 18 11:22:45 BST 2021
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.
I strongly recommend uninstalling hplip and using ipp-usb +
sane-airscan/sane-escl if your device supports it, as it supports in
your case.
On 5/16/21 10:26 PM, Ellis Cohen wrote:
> 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.
>
> 'scanimage -L' displays
>> device `plustek:libusb:003:005' is a Canon CanoScan N1220U flatbed
>> scanner
>> device `airscan:e0:HP ScanJet Pro 2000 s2 (USB)' is a eSCL HP ScanJet
>> Pro 2000 s2 (USB) ip=127.0.0.1
>> device `hpaio:/usb/HP_ScanJet_Pro_2000_s2?serial=CN09EA204V' is a
>> Hewlett-Packard HP_ScanJet_Pro_2000_s2 all-in-one
>> 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
>
> (The Canon N21220U is an oldie-but-goodie that I can access, but isn't
> my concern. I want to use the ScanJet Pro.)
>
> No matter whether ipp-usb is
>
> * installed and running,
> * installed and not running, or
> * not installed,
>
> and regardless of which of the three choices above I'm using to access
> the scanner,
> in all cases I get the unhelpful diagnostic message
>> Failed to open device
>> `hpaio:/usr/HP_ScanJet_pro_2000_s2?serial=CN09EA204V'
>> Error during device I/O.
>
> I also tried removing the 'hplip' package, but that didn't help either.
>
> 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?
>
> Thanks for any help you can provide.
>
> Ellis
>
>
> On Fri, Mar 5, 2021, at 9:33 AM, Ellis Cohen wrote:
>> Thanks for your help! IPP-over-USB /was/ the culprit (although I
>> have no idea exactly what latest-update from Fedora changed previous
>> behavior).
>>
>> I determined that for my configuration, it was least-invasive to
>> simply execute
>>
>>> ipp_usb_was_active=false
>>> sudo systemctl --quiet is-active ipp-usb
>>> if [ $? -eq 0 ] ; then
>>> ipp_usb_was_active=true
>>> sudo systemctl stop ipp-usb
>>> fi
>>
>> before scanning, and
>>
>>> ${ipp_usb_was_active} && sudo systemctl start ipp-usb
>>
>> afterwards.
>>
>> Again, thanks muchly!
>>
>> Ellis
>>
>>
>> On Thu, Mar 4, 2021, at 9:43 PM, Zdenek Dohnal wrote:
>>>
>>> On 3/4/21 7:39 PM, Alexander Pevzner wrote:
>>> >
>>> > 2) Remove hplip and scan driverlessly:
>>> >
>>> > dnf erase hplip
>>> > dnf install sane-airscan
>>> >
>>> Btw, sane-airscan is installed by default if you have sane-backends
>>> installed :) . I changed that later...
>>>
>>> --
>>> Zdenek Dohnal
>>> Software Engineer
>>> Red Hat Czech - Brno TPB-C
>>>
>>>
>>>
>>>
>>> *Attachments:*
>>>
>>> * OpenPGP_signature
>>>
>>
>
--
Zdenek Dohnal
Software Engineer
Red Hat Czech - Brno TPB-C
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20210518/8c0b26d9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20210518/8c0b26d9/attachment.sig>
More information about the sane-devel
mailing list