Cannot scan with m281fdw laserjet - failed: Error during device I/O
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
In Progress
|
Undecided
|
Unassigned | ||
hplip (Fedora) |
Confirmed
|
Undecided
|
Bug Description
I bought a HP M281fdw LaserJet Pro. I use it with Fedora 29.
I cannot use the scanning functionality via the network.
When I test the scanner with:
$ scanimage -v hpaio:/
I get this result:
scanimage: open of device hpaio:/
# dnf list installed | grep hplip
hplip.x86_64 3.18.12-4.fc29 @updates
hplip-common.x86_64 3.18.12-4.fc29 @updates
hplip-gui.x86_64 3.18.12-4.fc29 @updates
hplip-libs.x86_64 3.18.12-4.fc29 @updates
]# hp-check
Saving output in log file: /home/jan/
HP Linux Imaging and Printing System (ver. 3.18.12)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are
installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the
proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).
Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION
Status Types:
OK
MISSING - Missing Dependency or Permission or Plug-in
INCOMPAT - Incompatible dependency-version or Plugin-version
\No protocol specified
(xsane:20250): Gtk-WARNING **: 21:29:52.150: cannot open display: :0
warning: 5-29 version is not supported. Using 5-28 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 5.0.3-200.
Host: nyx
Proc: 5.0.3-200.
Distribution: 5 29
Bitness: 64 bit
-------
| HPLIP CONFIGURATION |
-------
HPLIP-Version: HPLIP 3.18.12
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 5 distro 29 version
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.18.12
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
bin=/usr/bin
apparmor=
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-install=no
internal-
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-
hpijs-only-build=no
apparmor_build=no
class-driver=no
Current contents of '/var/lib/
Plugins are not installed. Could not access file: No such file or directory
Current contents of '~/.hplip/
warning: Could not access file: No such file or directory
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------
| External Dependencies |
-------
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.26 OK -
No protocol specified
(xsane:20347): Gtk-WARNING **: 21:29:54.011: cannot open display: :0
No protocol specified
(xsane:20348): Gtk-WARNING **: 21:29:54.027: cannot open display: :0
error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK -
dbus DBus - Message bus system REQUIRED - 1.12.12 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.115 OK -
network network -wget OPTIONAL - 1.20.1 OK -
avahi-utils avahi-utils OPTIONAL - 0.7 OK -
-------
| General Dependencies |
-------
libjpeg libjpeg - JPEG library REQUIRED - - OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - OK -
cups-image CUPS image - CUPS image development files REQUIRED - - OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.28' OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
sane SANE - Scanning library REQUIRED - 1.0.27 OK -
sane-devel SANE - Scanning library development files REQUIRED - 1.0.27 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.8 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.7.2 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.12.1 OK -
python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.12.1 OK -
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.8 OK -
python3-xml Python XML libraries REQUIRED - 2.2.6 OK -
python3-devel Python devel - Python development files REQUIRED 2.2 3.7.2 OK -
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -
--------------
| COMPILEDEP |
--------------
libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 8.3.1 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.2.1 OK -
-------
| Python Extentions |
-------
cupsext CUPS-Extension REQUIRED - 3.18.12 OK -
hpmudext IO-Extension REQUIRED - 3.18.12 OK -
-------
| Scan Configuration |
-------
hpaio HPLIP-SANE-Backend REQUIRED - 3.18.12 OK 'hpaio found in /etc/sane.
scanext Scan-SANE-Extension REQUIRED - 3.18.12 OK -
-------
| DISCOVERED SCANNER DEVICES |
-------
device `hpaio:
device `hpaio:
-------
| DISCOVERED USB DEVICES |
-------
No devices found.
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
HP-ColorLaserJet
----------------
Type: Unknown
Device URI: dnssd:/
PPD: /etc/cups/
PPD Description: HP ColorLaserJet MFP M278-M281, driverless, cups-filters 1.20.3
Printer status: printer HP-ColorLaserJet is idle. enabled since vr 29 mrt 2019 16:42:43 CET
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
OfficeJet-4650
--------------
Type: Unknown
Device URI: dnssd:/
PPD: /etc/cups/
PPD Description: HP Officejet 4650 Series, hpcups 3.18.12
Printer status: printer OfficeJet-4650 is idle. enabled since di 26 feb 2019 11:34:36 CET
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
--------------
| PERMISSION |
--------------
-----------
| SUMMARY |
-----------
Missing Required Dependencies
-------
error: 'cups' package is missing or 'cups' service is not running.
Missing Optional Dependencies
-------
error: 'xsane' package is missing/
Total Errors: 2
Total Warnings: 3
Done.
[root@nyx VMs]# dnf info xsane
Last metadata expiration check: 2:33:41 ago on vr 29 mrt 2019 19:08:15 CET.
Installed Packages
Name : xsane
Version : 0.999
Release : 29.fc29
Architecture : x86_64
Size : 2.1 M
Source : xsane-0.
Repository : @System
From repo : fedora
Summary : X Window System front-end for the SANE scanner interface
URL : http://
License : GPLv2+
Description : XSane is an X based interface for the SANE (Scanner Access Now Easy)
: library, which provides access to scanners, digital cameras, and other
: capture devices. XSane is written in GTK+ and provides control for
: performing the scan and then manipulating the captured image.
Might the problem be related to the fact that I have xsane 0.999 instead of xsane 0.9
and cups 2.2.8 instead of cups 1.1?
Changed in hplip (Fedora): | |
importance: | Unknown → Undecided |
status: | Unknown → Confirmed |
no longer affects: | hplip (Freespire) |
Changed in hplip: | |
status: | New → In Progress |
Created attachment 1471812 HPAIO=255 SANE_DEBUG_DLL=255 SANE_DEBUG_ SANEI_TCP= 255 scanimage -L &> sane.debug
SANE_DEBUG_
Description of problem:
The Sane URI is not automatically created and propagated.
Version-Release number of selected component (if applicable):
hplip 3.18.6
SANE dll backend version 1.0.13 from sane-backends 1.0.27
Steps to Reproduce:
install hp-plugin
install mfp 281fdw using gnome-settings
printing works
the scanner is not detected by simple-scan
i need to call hp-makeuri 192.168.2.106 net/HP_ ColorLaserJet_ MFP_M278- M281?ip= 192.168. 2.106
and then
simple-scan hpaio:/
to scan. The Sane URI is not automatically created and propagated.