simple-scan 3.38.1-1 : Unable to open device: Error during device I/O
I can't scan documents by using simple-scan, scanimage, hp-scan, xsane in Debian 11.1 (I've also tested old simple-scan in Linux Mint which works well)
Here's some infos:
$ cat /etc/debian_version
11.1
$ apt policy simple-scan
simple-scan:
Installé : 3.38.1-1
Candidat : 3.38.1-1
Table de version :
*** 3.38.1-1 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status
$ apt policy xsane
xsane:
Installé : 0.999-10
Candidat : 0.999-10
Table de version :
*** 0.999-10 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status
$ simple-scan --debug
[+0,00s] DEBUG: simple-scan.vala:2012: Starting simple-scan 3.38.1, PID=10093
[+0,00s] DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
[+0,03s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
[+0,06s] DEBUG: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
[+0,10s] DEBUG: app-window.vala:1990: Loading state from /home/user/.cache/simple-scan/state
[+0,10s] DEBUG: app-window.vala:1969: Restoring window to 600x400 pixels
[+0,10s] DEBUG: app-window.vala:1973: Restoring window to maximized
[+0,14s] DEBUG: scanner.vala:1548: sane_init () -> SANE_STATUS_GOOD
[+0,14s] DEBUG: scanner.vala:1554: SANE version 1.0.31
[+0,14s] DEBUG: scanner.vala:1615: Requesting redetection of scan devices
[+0,14s] DEBUG: scanner.vala:828: Processing request
[+0,24s] DEBUG: app-window.vala:2065: Saving state to /home/user/.cache/simple-scan/state
[+7,57s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD
[+7,57s] DEBUG: scanner.vala:353: Device: name="escl:http://127.0.0.1:60000" vendor="HP" model="OfficeJet Pro 7720 series [695A93] (USB)" type="flatbed scanner"
[+7,57s] DEBUG: scanner.vala:353: Device: name="hpaio:/usb/OfficeJet_Pro_7720_series?serial=CN9A655104" vendor="Hewlett-Packard" model="OfficeJet_Pro_7720_series" type="all-in-one"
[+8,06s] DEBUG: simple-scan.vala:1817: Requesting scan at 150 dpi from device 'hpaio:/usb/OfficeJet_Pro_7720_series?serial=CN9A655104'
[+8,06s] DEBUG: scanner.vala:1683: Scanner.scan ("hpaio:/usb/OfficeJet_Pro_7720_series?serial=CN9A655104", dpi=150, scan_mode=ScanMode.COLOR, depth=8, type=single, paper_width=0, paper_height=0, brightness=0, contrast=0, delay=3000ms)
[+8,06s] DEBUG: scanner.vala:828: Processing request
(simple-scan:10093): Gtk-WARNING **: 21:41:56.199: Calling org.xfce.Session.Manager.Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: La méthode « Inhibit » n’existe pas
(simple-scan:10093): Gtk-WARNING **: 21:41:56.202: Calling org.xfce.Session.Manager.IsInhibited failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: La méthode « IsInhibited » n’existe pas
[+8,08s] DEBUG: scanner.vala:889: sane_open ("hpaio:/usb/OfficeJet_Pro_7720_series?serial=CN9A655104") -> SANE_STATUS_IO_ERROR
[+8,08s] WARNING: scanner.vala:893: Unable to open device: Error during device I/O
[+9,80s] DEBUG: autosave-manager.vala:201: Deleting autosave records
[+9,80s] DEBUG: scanner.vala:1711: Stopping scan thread
[+9,80s] DEBUG: scanner.vala:828: Processing request
[+9,80s] DEBUG: scanner.vala:1722: sane_exit ()
https://tracker.debian.org/pkg/simple-scan https://qa.debian.org/cgi-bin/vcswatch?package=simple-scan
Edited by DavidHenryThoreau