[sane-devel] HP ScanJet Pro 2000 sudden failure
Thierry Huchard
thierry at ordissimo.com
Mon May 17 07:56:36 BST 2021
Le 2021-05-16 22:26, Ellis Cohen a écrit :
Hi Ellis,
Can you test this :
SANE_DEBUG_AIRSCAN=255 scanimage -d 'airscan:e0:HP ScanJet Pro 2000 s2
(USB)' -A 2> airscan.log >airscan-capabilities.txt
SANE_DEBUG_HPAIO=255 scanimage -d
'hpaio:/net/scanjet_pro_2000_s2?ip=127.0.0.1&queue=false' -A 2>
hpaio-net.log >hpaio-net-capabilities.txt
SANE_DEBUG_AIRSCAN=255 scanimage -d 'airscan:e0:HP ScanJet Pro 2000 s2
(USB)' -p 2> airscan-scan.log >airscan-scan-capabilities.txt
SANE_DEBUG_HPAIO=255 scanimage -d
'hpaio:/net/scanjet_pro_2000_s2?ip=127.0.0.1&queue=false' -p 2>
hpaio-net-scan.log >hpaio-net-scan-capabilities.txt
sudo service ipp-usb stop
SANE_DEBUG_HPAIO=255 scanimage -d
'hpaio:/usb/HP_ScanJet_Pro_2000_s2?serial=CN09EA204V' -A 2>
hpaio-usb.log >hpaio-usb.capabilities.txt
SANE_DEBUG_HPAIO=255 scanimage -d
'hpaio:/usb/HP_ScanJet_Pro_2000_s2?serial=CN09EA204V' -p 2>
hpaio-usb-scan.log >hpaio-usb-scan-capabilities.txt
Thierry
> 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
More information about the sane-devel
mailing list