Your message dated Sat, 08 May 2021 15:48:40 +0000
with message-id <[email protected]>
and subject line Bug#887745: fixed in sane-backends 1.0.32-1
has caused the Debian Bug report #887745,
regarding libsane: Certain USB scanners only sometimes work the first time and 
take a long time to connect
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 [email protected]
immediately.)


-- 
887745: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887745
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libsane
Version: 1.0.25-4.1
Severity: important

Dear Maintainer,

SANE worked correctly and reliably for me in Debian 8/Jessie (package version 
1.0.24-8+deb8u2.) Since upgrading to 9/Stretch, it no longer does.
Specifically, I have an HP ScanJet 7400c connected via USB. When I first turn 
it on, sane-find-scanner sees it correctly:
found USB scanner (vendor=0x03f0 [hp], product=0x0801 [hp scanjet 7400c]) at 
libusb:001:013

Running scanimage -L right away shows after 5 seconds:
device `avision:libusb:001:013' is a Hewlett-Packard ScanJet 7400c flatbed 
scanner

Running it again immediately, it pauses for 60 seconds, then sometimes shows 
the same line, other times shows that no devices were detected.

If I try to use it with a front-end such as Skanlite after initial power up, it 
looks for devices for 5 seconds (normal,) connects to my scanner, but then 
takes about 60 seconds to complete initial communication and display its GUI. 
(This used to be 1 second or so.) The scanner then works correctly for that 
session, despite some problems with the initial communication:
"1 instead of 0 arguments to message { DPI} supplied before conversion."
"1 instead of 0 arguments to message { DPI} supplied before conversion."
"1 instead of 0 arguments to message { %} supplied before conversion."
"1 instead of 0 arguments to message { %} supplied before conversion."
"1 instead of 0 arguments to message { DPI} supplied before conversion."
"1 instead of 0 arguments to message { DPI} supplied before conversion."
"1 instead of 0 arguments to message { %} supplied before conversion."
"1 instead of 0 arguments to message { DPI} supplied before conversion."

If I exit Skanlite and check sane-find-scanner again, it still displays the 
scanner correctly:
found USB scanner (vendor=0x03f0 [hp], product=0x0801 [hp scanjet 7400c]) at 
libusb:001:014

But if I now start Scanlite again, it looks for devices for about 60 seconds, 
finds the scanner, tries to communicate with it for another 60 seconds, then 
reports an I/O error:
sane_open(" "avision:libusb:001:014" ", &handle) failed! status =  Error during 
device I/O

Other times it doesn't even find the scanner and reports via GUI pop-up that 
SANE couldn't find any device. Indeed at these points, sane-find-scanner 
reports:
could not fetch string descriptor: Operation timed out
could not fetch string descriptor: Pipe error
found USB scanner (vendor=0x03f0, product=0x0801) at libusb:001:017
(I had power-cycled the scanner so the USB bus ID changed)

When I try using xsane v0.999, it fails almost every time. When I first power 
up the scanner and start xsane, it looking for devices for 5 seconds (normal,) 
attempts to communicate with the scanner for 60 seconds, then reports "Error 
during device I/O." sane-find-scanner shows the same problem at that point:
could not fetch string descriptor: Operation timed out
could not fetch string descriptor: Pipe error
found USB scanner (vendor=0x03f0, product=0x0801) at libusb:001:018

In that state, running xsane again causes it to look for devices for 60 seconds 
then fail to find any.

Possibly related, libsane no longer sees my webcam.

I did try using the environment variable SANE_USB_WORKAROUND=1 as suggested on 
http://www.sane-project.org/ but that made no difference.

So there are at least two problems: 1) I/O errors preventing the scanner from 
being detected or used and 2) the 60s lag during initial communication every 
time after the first after device power up.

None of this was a problem on Debian 8/Jessie or 7/Wheezy. The only thing I did 
differently was install sane-utils to get sane-find-scanner to help 
troubleshoot.


-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Source: sane-backends
Source-Version: 1.0.32-1
Done: Jörg Frings-Fürst <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sane-backends, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jörg Frings-Fürst <[email protected]> (supplier of updated sane-backends package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 01 May 2021 12:09:06 +0200
Source: sane-backends
Architecture: source
Version: 1.0.32-1
Distribution: experimental
Urgency: medium
Maintainer: Jörg Frings-Fürst <[email protected]>
Changed-By: Jörg Frings-Fürst <[email protected]>
Closes: 887745 954096 971592 978902 984747 987805 987837
Changes:
 sane-backends (1.0.32-1) experimental; urgency=medium
 .
   * New Upstream release:
     - Refresh patches:
       + patches/0040-remove_git.patch
       + patches/0045-disable_lock_test_at_build_time.patch
       + patches/0060-cross.patch
       + patches/0140-avahi.patch
       + patches/0145-avahi.patch
       + patches/0150-i386-test.patch
       + patches/0155-hurd_PATH_MAX.patch
       + patches/0600-scanimage_manpage.patch
       + patches/0705-kfreebsd.patch
       + patches/0725-fix_link_60-libsane_rule.patch
     - Remove not longer needed patches:
       + patches/0100-source_spelling.patch
       + patches/0125-multiarch_dll_search_path.patch
       + patches/0055-Fix_build_error.patch
       + patches/0165-respect_local_only_parameter.patch
       + patches/0170-return_empty_list_when_local_devices_requested.patch
     - New Patches:
       + patches/0175-fix_tests.patch to fix build - tests.
       + patches/0605-fix_groff-warnings.patch to fix groff warnings.
     - Fix ftbfs with autoconf 2.70 (Closes: #978902).
   * debian/copyright:
     - Refresh to the new upstream release.
   * debian/libsane1.symbols:
     - Add 1 new symbol.
     - Remove MISSING from last release.
   * debian/libsane-common.lintian-overrides:
     - Remove double lines.
   * New debian/libsane1.lintian-overrides to override afe spelling.
   * TROUBLESHOOTING.Debian:
     - Add part if sane-backends and tlp runs on the same system
       (Closes: #954096, #887745).
   * Declare compliance with Debian Policy 4.5.1 (No changes needed).
   * Fix FTCBFS: Annotate python3-minimal dependency :any. (Closes: #984747).
     - Thanks to Helmut Grohne <[email protected]>.
   * debian/sane-utils.postrm:
     - Fix package doesn't purge cleanly (user/group not purged)
       (Closes: #987837).
     - Fix package doesn't purge cleanly (fix test with pathfind())
       (Closes: #987805).
   * Fix filtering out libsane-dll (Closes: #971592):
     - Cherry-picked from 1.0.25-4.1+deb9u2 (Thanks to
       Sylvain Beucler <[email protected]>).
Checksums-Sha1:
 3e9b2f531b94533c2dc48b33adf2db6b470d3c62 2470 sane-backends_1.0.32-1.dsc
 9a8cac79ec415e99d05204ebd6470918c60f2e13 5747181 
sane-backends_1.0.32.orig.tar.gz
 de5da6cd8be67c442330aa26a2ebac51c2d4686c 79632 
sane-backends_1.0.32-1.debian.tar.xz
Checksums-Sha256:
 424ede5530e2329995781b757c6af5e6f5cb9ceabe55a2246de28673bc8c2d4e 2470 
sane-backends_1.0.32-1.dsc
 58c645762fe42739ae03e42fc197fb8b59e4aaebae482881654420c54a3a7229 5747181 
sane-backends_1.0.32.orig.tar.gz
 4f646bf1167b4e4192c895f0eec25b53e9957bb2c17fd1e20942ef8d06ba6233 79632 
sane-backends_1.0.32-1.debian.tar.xz
Files:
 5d567649b391d70066aeb653fbba2eb0 2470 graphics optional 
sane-backends_1.0.32-1.dsc
 b493e22dc89ea7853519a545176da209 5747181 graphics optional 
sane-backends_1.0.32.orig.tar.gz
 9f1b45f33dee6ab9ae11142115cdd2c9 79632 graphics optional 
sane-backends_1.0.32-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmCWrvEACgkQiNJCh6LY
mLFv7A/+MR5N0SbZPfcKj4BmczePAENEFf+91Qy41+F2sqp8gAKIM2BI93yDX7MW
4N8ON8BZ9xBFDfH5AMxPIkOcpYU89kb8ROlvq6iNyvld92MMdcGHoIf4aCFuw1Q6
klGF3gKhDpAhhDk7JW/7x+PHyupk82KeL/0fPXr/NmPMu5aqsWQU7A2Nvd4RBzDW
wBUfwst2NWqQHLqXWwlVvjZCjdpGHJ8/Mpah+MbA1gPYXV+Bl7/OiEq/cDTO2k62
NW23TO5L/6VOEx1K5LDPdpYsL6lIXTtIBKaif8TxF31t+LnN47ArHcWwxUsQGaV+
DHcG+Nb53WzSdt3yU2mT1XZVAIY9hzcCpTajEc2KzdhYXOK8xVWHmYJ61WfHXSHA
M8c5vV41tHbaHX4huKL9Yh1P7ve52KrtRVAM1DRwhmsc0P+Ae082uhgd+O2BE1Hn
uIcSN0ctK7+sDoHcAmAwSG8I/dwiG2xcTXJj/9bXuHoOEw4CYC6CQBZk+NSs/Zi8
vUr67pL4N1hapLDx/w1MWFn6VeRnqev7G0OQKXC7Wcz+bs/X9tN3afDrBowRPR2h
T7PpIi/hoB+sMg6gC3IGpmJXnR3WHnZzJhav25wuKjor2azupN6ZR1jVAj1CorNO
D47aXOcI4VcV0u31haVqAsTkKiV/x4NAPyfWsGHEJq0iSZS8EGc=
=cF3r
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to