Re: Device communication error (5012)
Posté : sam. 7 juil. 2018 14:45
Dernier message de la page précédente :
Il y a du neuf ? Tu as trouvé une solution ?
https://forum-francophone-linuxmint.fr/
https://forum-francophone-linuxmint.fr/viewtopic.php?f=18&t=10333
Dernier message de la page précédente :
Il y a du neuf ? Tu as trouvé une solution ?Code : Tout sélectionner
linuxing@linuxing-Satellite-Pro-S300 ~ $ cd /home/linuxing/Téléchargements
linuxing@linuxing-Satellite-Pro-S300 ~/Téléchargements $ sh hplip-*.run
Creating directory hplip-3.18.6
Verifying archive integrity... All good.
Uncompressing HPLIP 3.18.6 Self Extracting Archive................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
HP Linux Imaging and Printing System (ver. 3.18.6)
HPLIP Installer ver. 5.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.
Installer log saved in: hplip-install_Sat-07-Jul-2018_14:58:15.log
\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.
Please choose the installation mode (a=automatic*, c=custom, q=quit) : a
INTRODUCTION
------------
This installer will install HPLIP version 3.18.6 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).
DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Linux Mint 18.3.
Is "Linux Mint 18.3" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y
Initializing. Please wait...
ENTER USER PASSWORD
-------------------
Please enter the sudoer (linuxing)'s password:
INSTALLATION NOTES
------------------
Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main" Repositories. See: https://help.ubuntu.com/community/Repositories/Ubuntu for more information. Disable the CD-ROM/DVD source if you do not have the Ubuntu installation media inserted in the drive.
Please read the installation notes. Press <enter> to continue or 'q' to quit:
SECURITY PACKAGES
-----------------
AppArmor is installed.
AppArmor protects the application from external intrusion attempts making the application secure
Would you like to have this installer install the hplip specific policy/profile (y=yes*, n=no, q=quit) ? y
RUNNING PRE-INSTALL COMMANDS
----------------------------
OK
MISSING DEPENDENCIES
--------------------
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed.
Package-Name Component Required/Optional
libcrypto network REQUIRED
libnetsnmp-devel network REQUIRED
sane-devel scan REQUIRED
gcc base REQUIRED
python-devel base REQUIRED
cups-devel base REQUIRED
libusb base REQUIRED
libtool base REQUIRED
cups-image base REQUIRED
xsane scan OPTIONAL
libjpeg base REQUIRED
dbus fax REQUIRED
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y
INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: gcc (gcc - GNU Project C and C++ Compiler)
warning: Missing REQUIRED dependency: python-devel (Python devel - Python development files)
warning: Missing REQUIRED dependency: cups-devel (CUPS devel- Common Unix Printing System development files)
warning: Missing REQUIRED dependency: libusb (libusb - USB library)
warning: Missing REQUIRED dependency: libtool (libtool - Library building support services)
warning: Missing REQUIRED dependency: cups-image (CUPS image - CUPS image development files)
warning: Missing REQUIRED dependency: libjpeg (libjpeg - JPEG library)
warning: Missing REQUIRED dependency: libcrypto (libcrypto - OpenSSL cryptographic library)
warning: Missing REQUIRED dependency: libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
warning: Missing REQUIRED dependency: dbus (DBus - Message bus system)
warning: Missing REQUIRED dependency: sane-devel (SANE - Scanning library development files)
INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'scan': xsane (xsane - Graphical scanner frontend for SANE)
CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.
RUNNING PRE-PACKAGE COMMANDS
----------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo apt-get update (Pre-depend step 3)
OK
DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes build-essential'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libcups2-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes cups-bsd'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes cups-client'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libusb-1.0.0-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libtool'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libtool-bin'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libcupsimage2-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libjpeg8-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes openssl'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libsnmp-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes snmp-mibs-downloader'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libdbus-1-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libsane-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes xsane'
Please wait, this may take several minutes...
HPLIP-3.16.3 exists, this may conflict with the new one being installed.
Do you want to ('i'= Remove and Install*, 'q'= Quit)? :i
Starting uninstallation...
HPLIP uninstallation is completed
RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK
RE-CHECKING DEPENDENCIES
------------------------
PRE-BUILD COMMANDS
------------------
OK
BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-qt4 --disable-qt5 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-libusb01_build --disable-foomatic-ppd-install --disable-hpijs-install --disable-class-driver --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build --enable-apparmor_build'
Please wait, this may take several minutes...
Command completed successfully.
Running 'make clean'
Please wait, this may take several minutes...
Command completed successfully.
Running 'make'
Please wait, this may take several minutes...
Command completed successfully.
Running 'sudo make install'
Please wait, this may take several minutes...
Command completed successfully.
Build complete.
POST-BUILD COMMANDS
-------------------
CLOSE HP_SYSTRAY
----------------
Sending close message to hp-systray (if it is currently running)...
OK
HPLIP UPDATE NOTIFICATION
-------------------------
Do you want to check for HPLIP updates?. (y=yes*, n=no) : y
RESTART OR RE-PLUG IS REQUIRED
------------------------------
If you are installing a USB connected printer, and the printer was plugged in
when you started this installer, you will need to either restart your PC or
unplug and re-plug in your printer (USB cable only). If you choose to restart,
run this command after restarting: hp-setup (Note: If you are using a parallel
connection, you will have to restart your PC. If you are using network/wireless,
you can ignore and continue).
Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) : r
note:
note: IMPORTANT! Make sure to save all work in all open applications before restarting!
Restart now (y=yes, n=no*, q=quit) ?
Sauf que moi... j'ai tapé «Y» (yes) + Enter pour qu'il installe ces dépendancesLycaon a écrit :Il me paraît normal que quelque chose cloche, vu le nombre de dépendances "required" manquantes. Le plus étonnant est qu'il ne trouve pas gcc sur ta machine.
Code : Tout sélectionner
HP Linux Imaging and Printing System (ver. 3.18.6)
Self Diagnse Utility and Healing Utility ver. 1.0
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.
HP Linux Imaging and Printing System (ver. 3.18.6)
Self Diagnse Utility and Healing Utility ver. 1.0
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.
Checking for Deprecated items....
No Deprecated items are found
Checking for HPLIP updates....
HP Linux Imaging and Printing System (ver. 3.18.6)
HPLIP upgrade latest version ver. 1.0
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.
Latest version of HPLIP is already installed.
Checking for Dependencies....
---------------
| SYSTEM INFO |
---------------
Kernel: 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:32:20 UTC 2017 GNU/Linux
Host: linuxing-Satellite-Pro-S300
Proc: 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:32:20 UTC 2017 GNU/Linux
Distribution: 22 18.3
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.18.6
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for linuxmint distro 18.3 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.18.6
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.18.6
html=/usr/share/doc/hplip-3.18.6
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.18.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=yes
class-driver=no
Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: Aucun fichier ou dossier de ce type
Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1530969269
pending_upgrade_time = 0
latest_available_version = 3.17.10
[settings]
systray_visible = 0
systray_messages = 0
[last_used]
device_uri = "hp:/net/Deskjet_2540_series?ip=192.168.1.2"
printer_name =
working_dir = .
[commands]
scan = /usr/bin/xsane -V %SANE_URI%
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
interval = 5
device_list =
[fax]
voice_phone =
email_address =
[installation]
date_time = 12/07/18 01:33:37
version = 3.18.6
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
--------------
| COMPILEDEP |
--------------
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 5.4.0 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
------------------------
| General Dependencies |
------------------------
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 OK -
python-xml Python XML libraries REQUIRED - 2.1.0 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
sane-devel SANE - Scanning library development files REQUIRED - 1.0.25 OK -
pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 REQUIRED 4.0 4.11.4 OK -
libpthread libpthread - POSIX threads library REQUIRED - 2.23 OK -
python-devel Python devel - Python development files REQUIRED 2.2 2.7.12 OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.1.3 OK -
python-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
cups-ddk CUPS DDK - CUPS driver development kit OPTIONAL - - OK -
reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.3.0 OK -
pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.4 OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.1.3 OK -
python2X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.7.12 OK -
python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
libjpeg libjpeg - JPEG library REQUIRED - - OK -
sane SANE - Scanning library REQUIRED - 1.0.25 OK -
----------------------
| Scan Configuration |
----------------------
scanext Scan-SANE-Extension REQUIRED - 3.18.6 OK -
hpaio HPLIP-SANE-Backend REQUIRED - 3.18.6 OK 'hpaio found in /etc/sane.d/dll.conf'
-------------------------
| External Dependencies |
-------------------------
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.18 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
cups CUPS - Common Unix Printing System REQUIRED 1.1 2.1.3 OK 'CUPS Scheduler is running'
network network -wget OPTIONAL - 1.17.1 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
dbus DBus - Message bus system REQUIRED - 1.10.6 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.32 OK -
---------------------
| Python Extentions |
---------------------
hpmudext IO-Extension REQUIRED - 3.18.6 OK -
cupsext CUPS-Extension REQUIRED - 3.18.6 OK -
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
device `hpaio:/net/Deskjet_2540_series?ip=192.168.1.2' is a Hewlett-Packard Deskjet_2540_series all-in-one
device `hpaio:/net/deskjet_2540_series?ip=192.168.1.36&queue=false' is a Hewlett-Packard deskjet_2540_series all-in-one
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
Deskjet_2540_3
--------------
Type: Printer
Device URI: hp:/net/Deskjet_2540_series?ip=192.168.1.2
PPD: /etc/cups/ppd/Deskjet_2540_3.ppd
warning: Failed to read /etc/cups/ppd/Deskjet_2540_3.ppd ppd file
PPD Description:
Printer status: printer Deskjet_2540_3 is idle. enabled since jeu 12 jui 2018 01:18:07 Rendering completed
error: Unable to communicate with device (code=12): hp:/net/Deskjet_2540_series?ip=192.168.1.2
error: unable to open channel
error: Communication status: Failed
--------------
| PERMISSION |
--------------
Checking Permissions....
Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/Deskjet_2540_3.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/Deskjet_2540_3.ppd
warning: Could not complete Queue(s) configuration check
Checking for HP Properitery Plugin's....
No plug-in printers are configured.
Checking for Printer Status....
error: 'Deskjet_2540_3' Printer is either Powered-OFF or Failed to communicate.
Turn On Printer and re-run hp-doctor
Diagnose completed...
More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html
Please close this terminal manually.
J'en doute , à mon avis que tu as plutôt désinstaller quelque chose qui aurait eu en dépendanceLinuxing a écrit :On y voit que hplip et hplip-data furent également ajoutés
Curieux quand même qu'il y a moins de 2 semaines tout marchait sans ça
Code : Tout sélectionner
sudo apt install -f