Your message dated Wed, 24 Feb 2021 20:57:48 +0000
with message-id <24022021203122.ae9892f1a...@desktop.copernicus.org.uk>
and subject line Re: Bug#983474: ipp-usb: breaks scanning with HP Deskjet 5275
has caused the Debian Bug report #983474,
regarding ipp-usb: breaks scanning with HP Deskjet 5275
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
983474: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983474
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ipp-usb
Version: 0.9.17-1
Severity: normal
Dear Maintainer,
I recenty realised I cannot scan with my scanner (part of a multi-function
printer/scanner HP Deskjet 5275).
Disabling ipp-usb enabled scanning.
With ipp-usb running:
$ time scanimage -L
device `escl:http://127.0.0.1:60000' is a HP DeskJet 5200 series [FC8002] (USB)
flatbed scanner
device `hpaio:/usb/DeskJet_5200_series?serial=TH8A86C27C' is a Hewlett-Packard
DeskJet_5200_series all-in-one
real 0m7.483s
user 0m0.102s
sys 0m0.087s
$ time scanimage -x 100 -y 100 --format=tiff >image.tiff
scanimage: open of device escl:http://127.0.0.1:60000 failed: Out of memory
real 0m7.511s
user 0m0.117s
sys 0m0.109s
$ time scanimage --device 'hpaio:/usb/DeskJet_5200_series?serial=TH8A86C27C' -x
100 -y 100 --format=tiff >image.tiff
scanimage: open of device hpaio:/usb/DeskJet_5200_series?serial=TH8A86C27C
failed: Error during device I/O
real 0m0.051s
user 0m0.037s
sys 0m0.013s
With ipp-usb stopped:
$ time scanimage -L
device `hpaio:/usb/DeskJet_5200_series?serial=TH8A86C27C' is a Hewlett-Packard
DeskJet_5200_series all-in-one
real 0m7.528s
user 0m0.139s
sys 0m0.103s
$ time scanimage -x 100 -y 100 --format=tiff >image.tiff
real 0m9.892s
user 0m0.165s
sys 0m0.105s
$ identify image.tiff
image.tiff TIFF 295x295 295x295+0+0 1-bit Bilevel Gray 11125B 0.000u 0:00.000
$ dpkg-query -W sane-utils libsane1
libsane1:amd64 1.0.31-4
sane-utils 1.0.31-4
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64
Kernel: Linux 5.9.0-5-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_IL, LC_CTYPE=en_IL (charmap=UTF-8), LANGUAGE=en_IL:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ipp-usb depends on:
ii avahi-daemon 0.8-5
ii libavahi-client3 0.8-5
ii libavahi-common3 0.8-5
ii libc6 2.31-9
ii libusb-1.0-0 2:1.0.24-2
ipp-usb recommends no packages.
ipp-usb suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Your report is appreciated, Tzafrir/
On Wed 24 Feb 2021 at 21:47:45 +0200, Tzafrir Cohen wrote:
> Package: ipp-usb
> Version: 0.9.17-1
> Severity: normal
>
> Dear Maintainer,
>
> I recenty realised I cannot scan with my scanner (part of a multi-function
> printer/scanner HP Deskjet 5275).
>
> Disabling ipp-usb enabled scanning.
>
> With ipp-usb running:
>
> $ time scanimage -L
> device `escl:http://127.0.0.1:60000' is a HP DeskJet 5200 series [FC8002]
> (USB) flatbed scanner
> device `hpaio:/usb/DeskJet_5200_series?serial=TH8A86C27C' is a
> Hewlett-Packard DeskJet_5200_series all-in-one
>
> real 0m7.483s
> user 0m0.102s
> sys 0m0.087s
Two backends are recognised as being suitable for the DeskJet 5200
series: escl and hpaio.
> $ time scanimage -x 100 -y 100 --format=tiff >image.tiff
> scanimage: open of device escl:http://127.0.0.1:60000 failed: Out of memory
>
> real 0m7.511s
> user 0m0.117s
> sys 0m0.109s
This command uses the first backend listed (escl). It does not work.
That is a bug in libsane-escl, not in ipp-usb.
> $ time scanimage --device 'hpaio:/usb/DeskJet_5200_series?serial=TH8A86C27C'
> -x 100 -y 100 --format=tiff >image.tiff
> scanimage: open of device hpaio:/usb/DeskJet_5200_series?serial=TH8A86C27C
> failed: Error during device I/O
>
> real 0m0.051s
> user 0m0.037s
> sys 0m0.013s
This command will not work with ipp-usb active. It is not a bug in
ipp-usb but a feature of IPP-over-USB. See Bug#983349.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983349
On this basis I am closing the report.
As Till advises, install sane airscan.
If you happen to read sections 13, 14 and 15 at
https://wiki.debian.org/CUPSDriverlessPrinting
please would you say what is unclear in the accounts there?
Regards,
Brian.
--- End Message ---