Bug#1068794: sane-utils: (x)scanimage only works once, a second scan right after the first one fails
We managed to solve this bug upstream. https://gitlab.com/sane-project/backends/-/issues/742 Paul
Bug#1068794: sane-utils: (x)scanimage only works once, a second scan right after the first one fails
forwarded 1068794 https://gitlab.com/sane-project/backends/-/issues/742 thanks Hello Paul, many thanks. CU Jörg Am Freitag, dem 12.04.2024 um 19:22 +0200 schrieb Paul Cobbaut: > > > > On 4/12/24 18:55, Jörg Frings-Fürst wrote: > > > > Please contact the developers directly at [2]. > > Done. > They already had an issue for it. > https://gitlab.com/sane-project/backends/-/issues/742 > > Paul -- New: GPG Fingerprint: 63E0 075F C8D4 3ABB 35AB 30EE 09F8 9F3C 8CA1 D25D GPG key (long) : 09F89F3C8CA1D25D GPG Key: 8CA1D25D CAcert Key S/N : 0E:D4:56 Jörg Frings-Fürst D-54470 Lieser git: https://git.jff.email/cgit/ Skype:jff-skype@jff.email Jami: joergfringsfuerst Telegram: @joergfringsfuerst Matrix: @joergff:matrix.snct-gmbh.de My wish list: - Please send me a picture from the nature at your home. signature.asc Description: This is a digitally signed message part
Bug#1068794: sane-utils: (x)scanimage only works once, a second scan right after the first one fails
On 4/12/24 18:55, Jörg Frings-Fürst wrote: Please contact the developers directly at [2]. Done. They already had an issue for it. https://gitlab.com/sane-project/backends/-/issues/742 Paul
Bug#1068794: sane-utils: (x)scanimage only works once, a second scan right after the first one fails
Hello Paul, thank you for spending your time helping to make Debian better with this bug report. Unfortunately, I do not have a scanner available to investigate the error. The scanner is not listed in [1]. However, under the only Kyocera scanner listed there it says "1 pass, ??? dpi, A4", which IMHO points to your error. Please contact the developers directly at [2]. CU Jörg [1] http://sane-project.org/sane-mfgs.html#Z-KYOCERA [2] https://gitlab.com/sane-project/backends/-/issues -- New: GPG Fingerprint: 63E0 075F C8D4 3ABB 35AB 30EE 09F8 9F3C 8CA1 D25D GPG key (long) : 09F89F3C8CA1D25D GPG Key : 8CA1D25D CAcert Key S/N : 0E:D4:56 Jörg Frings-Fürst D-54470 Lieser git: https://git.jff.email/cgit/ Skype: jff-skype@jff.email Jami: joergfringsfuerst Telegram: @joergfringsfuerst Matrix: @joergff:matrix.snct-gmbh.de My wish list: - Please send me a picture from the nature at your home. Am Donnerstag, dem 11.04.2024 um 10:42 +0200 schrieb Paul Cobbaut: > Package: sane-utils > Version: 1.2.1-2 > Severity: normal > X-Debbugs-Cc: debianbugreport_20240411+s...@cobbaut.be > > Dear Maintainer, > > * What led up to the situation? > >A. > Using a Kyocera ECOSYS M5526cdw printer to scan hundreds of pages. > Using the > flatbed, not the document feeder. > > Any scan of a page works fine, but I have to wait about two minutes before > scanning the next page, otherwise it fails with "device busy". > > > * What exactly did you do (or not do) that was effective (or > ineffective)? > > scanimage, with or without the --batch option, only allows for one scan. A > second scan will fail, providing it is done within about two minutes. > > For example this command will scan perfectly: > $ scanimage -d 'escl:http://192.168.178.32:9095/eSCL' --format jpeg --mode > Gray -o page1.jpg > > This command, executed after flipping the page on the scanner, fails as > follows: > $ scanimage -d 'escl:http://192.168.178.32:9095/eSCL' --format jpeg --mode > Gray -o page2.jpg > scanimage: sane_start: Device busy > 503 Service Unavailable 503 Service Unavailable 503 Service Unavailable 503 > Service Unavailable > > Using the vendor kyocera-sane package makes no difference. > Using 'escl:http://192.168.178.32:9095' or > 'escl:http://192.168.178.32:9096' as > the device name makes no difference. > The result is identical when using xscanimage in GIMP 2.10 or xsane in GIMP > 2.8. > > According to one Reddit user on r/Debian it is a known problem. > > > * What outcome did you expect instead? > > I was hoping to use a script to quickly scan hundreds of pages into jpg. > > for i in $(seq -w 12 100) > do > scanimage --format jpeg --mode Gray -o page$i.jpg > #sleep 120 > done > > But the script only works when the sleep 120 command is included, which limits > my scanning ability to 30 pages per hour. > > > > -- System Information: > Debian Release: 12.5 > APT prefers stable > APT policy: (500, 'stable') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 5.10.0-28-amd64 (SMP w/24 CPU threads) > Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, > TAINT_UNSIGNED_MODULE > Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages sane-utils depends on: > ii adduser 3.134 > ii debconf [debconf-2.0] 1.5.82 > ii init-system-helpers 1.65.2 > ii libavahi-client3 0.8-10 > ii libavahi-common3 0.8-10 > ii libc6 2.36-9+deb12u4 > ii libieee1284-3 0.2.11-14 > ii libjpeg62-turbo 1:2.1.5-2 > ii libpng16-16 1.6.39-2 > ii libsane1 1.2.1-2 > ii libsystemd0 252.22-1~deb12u1 > ii libusb-1.0-0 2:1.0.26-1 > ii libxml2 2.9.14+dfsg-1.3~deb12u1 > ii update-inetd 4.53 > > sane-utils recommends no packages. > > Versions of packages sane-utils suggests: > ii avahi-daemon 0.8-10 > ii unpaper 7.0.0-0.1 > > -- Configuration Files: > /etc/sane.d/saned.conf changed: > 192.168.178.0/24 > > > -- debconf information: > sane-utils/saned_run: false > sane-utils/saned_scanner_group: true signature.asc Description: This is a digitally signed message part
Bug#1068794: sane-utils: (x)scanimage only works once, a second scan right after the first one fails
Package: sane-utils Version: 1.2.1-2 Severity: normal X-Debbugs-Cc: debianbugreport_20240411+s...@cobbaut.be Dear Maintainer, * What led up to the situation? Using a Kyocera ECOSYS M5526cdw printer to scan hundreds of pages. Using the flatbed, not the document feeder. Any scan of a page works fine, but I have to wait about two minutes before scanning the next page, otherwise it fails with "device busy". * What exactly did you do (or not do) that was effective (or ineffective)? scanimage, with or without the --batch option, only allows for one scan. A second scan will fail, providing it is done within about two minutes. For example this command will scan perfectly: $ scanimage -d 'escl:http://192.168.178.32:9095/eSCL' --format jpeg --mode Gray -o page1.jpg This command, executed after flipping the page on the scanner, fails as follows: $ scanimage -d 'escl:http://192.168.178.32:9095/eSCL' --format jpeg --mode Gray -o page2.jpg scanimage: sane_start: Device busy 503 Service Unavailable 503 Service Unavailable 503 Service Unavailable 503 Service Unavailable Using the vendor kyocera-sane package makes no difference. Using 'escl:http://192.168.178.32:9095' or 'escl:http://192.168.178.32:9096' as the device name makes no difference. The result is identical when using xscanimage in GIMP 2.10 or xsane in GIMP 2.8. According to one Reddit user on r/Debian it is a known problem. * What outcome did you expect instead? I was hoping to use a script to quickly scan hundreds of pages into jpg. for i in $(seq -w 12 100) do scanimage --format jpeg --mode Gray -o page$i.jpg #sleep 120 done But the script only works when the sleep 120 command is included, which limits my scanning ability to 30 pages per hour. -- System Information: Debian Release: 12.5 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-28-amd64 (SMP w/24 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages sane-utils depends on: ii adduser3.134 ii debconf [debconf-2.0] 1.5.82 ii init-system-helpers1.65.2 ii libavahi-client3 0.8-10 ii libavahi-common3 0.8-10 ii libc6 2.36-9+deb12u4 ii libieee1284-3 0.2.11-14 ii libjpeg62-turbo1:2.1.5-2 ii libpng16-161.6.39-2 ii libsane1 1.2.1-2 ii libsystemd0252.22-1~deb12u1 ii libusb-1.0-0 2:1.0.26-1 ii libxml22.9.14+dfsg-1.3~deb12u1 ii update-inetd 4.53 sane-utils recommends no packages. Versions of packages sane-utils suggests: ii avahi-daemon 0.8-10 ii unpaper 7.0.0-0.1 -- Configuration Files: /etc/sane.d/saned.conf changed: 192.168.178.0/24 -- debconf information: sane-utils/saned_run: false sane-utils/saned_scanner_group: true