Device communication error - HPLIP
Since upgrading from Fedora 37 to Fedora 38 (Using Mate/Compiz spin)
Processing - Not connected?
Printer 'HP-ENVY' may not be connected.
Device communication error ... code 5012
Also; Sane can't find the scanner.
(HP Laser jet works just fine)
--------
Printer = HP ENVY 4500
------[ hp-check -t ]------------
Saving output in log file: /root/hp-check.log
HP Linux Imaging and Printing System (ver. 3.23.5)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 2001-18 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
warning: 5-38 version is not supported. Using 5-37 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 6.4.11-
Host: abox
Proc: 6.4.11-
Distribution: 5 38
Bitness: 64 bit
-------
| HPLIP CONFIGURATION |
-------
HPLIP-Version: HPLIP 3.23.5
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 5 distro 38 version
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.23.5
[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-tag=3.23.5
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 10.01.2 OK -
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.2.1 OK -
dbus DBus - Message bus system REQUIRED - 1.14.8 OK -
error: policykit PolicyKit - Administrative policy framework OPTIONAL - 122 MISSING 'policykit needs to be installed'
network network -wget OPTIONAL - 1.21.3 OK -
avahi-utils avahi-utils OPTIONAL - 0.8 OK -
-------
| General Dependencies |
-------
error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'
error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - MISSING 'cups-devel needs to be installed'
error: cups-image CUPS image - CUPS image development files REQUIRED - - MISSING 'cups-image needs to be installed'
libpthread libpthread - POSIX threads library REQUIRED - b'2.37' OK -
error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
sane SANE - Scanning library REQUIRED - - OK -
error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'
error: libavahi-dev libavahi-dev REQUIRED - - MISSING 'libavahi-dev needs to be installed'
error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'
error: libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 3.0.9 MISSING 'libcrypto needs to be installed'
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.11.4 OK -
error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed'
error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.3.2 OK -
python3-xml Python XML libraries REQUIRED - 2.5.0 OK -
error: python3-devel Python devel - Python development files REQUIRED 2.2 3.11.4 MISSING 'python3-devel needs to be installed'
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 9.4.0 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 4.0.4 OK -
--------------
| COMPILEDEP |
--------------
error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'
error: gcc gcc - GNU Project C and C++ Compiler REQUIRED - 13.2.1 MISSING 'gcc needs to be installed'
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.4 OK -
-------
| Python Extentions |
-------
cupsext CUPS-Extension REQUIRED - 3.23.5 OK -
hpmudext IO-Extension REQUIRED - 3.23.5 OK -
-------
| Scan Configuration |
-------
hpaio HPLIP-SANE-Backend REQUIRED - 3.23.5 OK 'hpaio found in /etc/sane.
scanext Scan-SANE-Extension REQUIRED - 3.23.5 OK -
-------
| DISCOVERED SCANNER DEVICES |
-------
device `hpaio:
device `airscan:
-------
| DISCOVERED USB DEVICES |
-------
Device URI Model
-----
hp:/usb/
hp:/usb/
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
HP-ENVY
-------
Type: Printer
Device URI: hp:/usb/
PPD: /etc/cups/
PPD Description: HP Envy 4500 Series, hpcups 3.23.5
Printer cfFilterGhostsc
error: Device busy: hp:/usb/
error: Device not found
error: Communication status: Failed
LaserJet
--------
Type: Printer
Device URI: hp:/usb/
PPD: /etc/cups/
PPD Description: HP LaserJet 400 M401dne Postscript (recommended)
Printer status: printer LaserJet is idle. enabled since Mon 21 Aug 2023 01:39:25 PM EDT
Communication status: Good
--------------
| PERMISSION |
--------------
USB HP-ENVY Required - - OK Node:'/
USB LaserJet Required - - OK Node:'/
-----------
| SUMMARY |
-----------
Missing Required Dependencies
-------
error: 'cups' package is missing or 'cups' service is not running.
error: 'libjpeg-devel' package is missing/
error: 'cups-devel' package is missing/
error: 'cups-devel' package is missing/
error: 'libusb1-devel' package is missing/
error: 'sane-backends-
error: 'avahi-devel' package is missing/
error: 'net-snmp-devel' package is missing/
error: 'openssl-devel' package is missing/
error: 'python3-devel' package is missing/
error: 'libtool' package is missing/
error: 'rpm-build' package is missing/
error: 'gcc-c++' package is missing/
Missing Optional Dependencies
-------
error: 'polkit' package is missing/
error: 'polkit-gnome' package is missing/
error: 'PKG_FROM_
Total Errors: 17
Total Warnings: 1
Done.
----------- [ more info ]------
[root@abox ~]# systemctl status cups
� cups.service - CUPS Scheduler
Loaded: loaded (/usr/lib/
Drop-In: /usr/lib/
Active: active (running) since Mon 2023-08-21 15:23:44 EDT; 38min ago
TriggeredBy: � cups.socket
� cups.path
Docs: man:cupsd(8)
Main PID: 2672 (cupsd)
Status: "Scheduler is running..."
Tasks: 8 (limit: 18990)
Memory: 60.6M
CPU: 1.121s
CGroup: /system.
Aug 21 16:02:00 abox hp[4145]: io/hpmud/musb.c 428: Found interface conf=0, iface=0, altset=1, index=3
Aug 21 16:02:00 abox hp[4145]: io/hpmud/musb.c 390: Active kernel driver on interface=0 ret=0
Aug 21 16:02:00 abox hp[4145]: io/hpmud/musb.c 516: invalid claim_interface 7/1/4: Device or resource busy
Aug 21 16:02:00 abox hp[4145]: io/hpmud/musb.c 428: Found interface conf=0, iface=2, altset=0, index=9
Aug 21 16:02:00 abox hp[4145]: io/hpmud/musb.c 390: Active kernel driver on interface=2 ret=0
Aug 21 16:02:00 abox hp[4145]: io/hpmud/musb.c 516: invalid claim_interface ff/4/1: Device or resource busy
Aug 21 16:02:00 abox hp[4145]: io/hpmud/musb.c 428: Found interface conf=0, iface=0, altset=0, index=11
Aug 21 16:02:00 abox hp[4145]: io/hpmud/musb.c 390: Active kernel driver on interface=0 ret=0
Aug 21 16:02:00 abox hp[4145]: io/hpmud/musb.c 516: invalid claim_interface ff/cc/0: Device or resource busy
Aug 21 16:02:00 abox hp[4145]: prnt/backend/hp.c 825: INFO: open device failed stat=21: hp:/usb/
lines 1-32/32 (END)
-------
root@abox ~]# locate policykit
/usr/share/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
-------
[root@abox ~]# dnf info libjpeg-turbo
Last metadata expiration check: 2:07:37 ago on Mon 21 Aug 2023 02:00:36 PM EDT.
Installed Packages
Name : libjpeg-turbo
Version : 2.1.4
Release : 2.fc38
Architecture : x86_64
Size : 653 k
Source : libjpeg-
Repository : @System
From repo : fedora
Summary : A MMX/SSE2/SIMD accelerated library for manipulating JPEG image files
URL : http://
License : IJG
Description : The libjpeg-turbo package contains a library of functions for manipulating JPEG
: images.
-------
[root@abox ~]# locate libtool
/usr/lib64/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
-------
[root@abox ~]# dnf info gcc
Last metadata expiration check: 2:20:37 ago on Mon 21 Aug 2023 02:00:36 PM EDT.
Installed Packages
Name : gcc
Version : 13.2.1
Release : 1.fc38
Architecture : x86_64
Size : 95 M
Source : gcc-13.
Repository : @System
From repo : updates
Summary : Various compilers (C, C++, Objective-C, ...)
URL : http://
License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
Description : The gcc package contains the GNU Compiler Collection version 13.
: You'll need this package in order to compile C code.
=======
Steps to recreate: Try to print anything to the ENVY 4500. (As I said above, I can print
just fine to the laserjet.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- brian_p
- Solved:
- Last query:
- Last reply: