#1 Le 07/11/2020, à 19:58
- JLP 20.04.1 LTS
[ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Bonsoir à tous,
je viens d'acquérir une HP DeskJet Plus 4122 et je n'arrive pas à faire fonctionner le scanner.
Ce modèle d'imprimante nécessite à minima hplip-3.20.5.
j'ai fait une installation custom de hplip 3.20.9, l'impression fonctionne correctement mais pas de scan.
Je suppose (débutant sur linux..) que c'est du à "pyqt5" et à "pil".
Y a t'il une solution pour y remedier ?,
merci d'avance
ci dessous les recommandations de sylvain3800
cat /etc/lsb-release && uname -i && groups && lsusb
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
x86_64
jl adm cdrom sudo dip plugdev lpadmin sambashare
Bus 003 Device 002: ID 0bda:0138 Realtek Semiconductor Corp. RTS5138 Card Reader Controller
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 03f0:1953 HP, Inc
Bus 002 Device 003: ID 07d1:3c07 D-Link System DWA-110 Wireless G Adapter(rev.A1) [Ralink RT2571W]
Bus 002 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 04f2:b23f Chicony Electronics Co., Ltd USB 2.0 camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 0461:4d17 Primax Electronics, Ltd Optical Mouse
Bus 004 Device 002: ID 04f2:0402 Chicony Electronics Co., Ltd Genius LuxeMate i200 Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
jl@PC01:~$
jl@PC01:~$ sudo sane-find-scanner -q
[sudo] Mot de passe de jl :
found USB scanner (vendor=0x03f0 [HP], product=0x1953 [DeskJet Plus 4100 series]) at libusb:002:004
found USB scanner (vendor=0x07d1 [Ralink], product=0x3c07 [802.11 bg WLAN]) at libusb:002:003
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
jl@PC01:~$
jl@PC01:~$ scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
jl@PC01:~$
jl@PC01:~$ ls /etc/sane.d/
abaton.conf coolscan.conf genesys.conf lexmark.conf pixma.conf stv680.conf
agfafocus.conf dc210.conf gphoto2.conf ma1509.conf plustek.conf tamarack.conf
apple.conf dc240.conf gt68xx.conf magicolor.conf plustek_pp.conf teco1.conf
artec.conf dc25.conf hp3900.conf matsushita.conf qcam.conf teco2.conf
artec_eplus48u.conf dell1600n_net.conf hp4200.conf microtek2.conf ricoh.conf teco3.conf
avision.conf dll.conf hp5400.conf microtek.conf rts8891.conf test.conf
bh.conf dll.d hp.conf mustek.conf s9036.conf u12.conf
canon630u.conf dmc.conf hpsj5s.conf mustek_pp.conf saned.conf umax1220u.conf
canon.conf epjitsu.conf hs2p.conf mustek_usb.conf sceptre.conf umax.conf
canon_dr.conf epson2.conf ibm.conf nec.conf sharp.conf umax_pp.conf
canon_pp.conf epson.conf kodakaio.conf net.conf sm3840.conf xerox_mfp.conf
cardscan.conf epsonds.conf kodak.conf p5.conf snapscan.conf
coolscan2.conf escl.conf kvs1025.conf pie.conf sp15c.conf
coolscan3.conf fujitsu.conf leo.conf pieusb.conf st400.conf
jl@PC01:~$
jl@PC01:~$ cat /etc/sane.d/dll.conf
# dll.conf - Configuration file for the SANE dynamic backend loader
#
# Backends can also be enabled by configuration snippets under the dll.d/
# directory -- third party backends can drop their configuration file in
# this in this directory, named after the backend.
#
# The next line enables the network backend; comment it out if you don't
# need to use a remote SANE scanner over the network -- see sane-net(5)
# and saned(8) for details.
net
abaton
agfafocus
apple
artec
artec_eplus48u
as6e
avision
bh
canon
canon630u
canon_dr
#canon_pp
cardscan
coolscan
#coolscan2
coolscan3
#dc210
#dc240
#dc25
dell1600n_net
dmc
epjitsu
#epson
epson2
epsonds
escl
fujitsu
genesys
#gphoto2
gt68xx
hp
hp3500
hp3900
hp4200
hp5400
hp5590
hpljm1005
hpsj5s
hs2p
ibm
kodak
kodakaio
kvs1025
kvs20xx
kvs40xx
leo
lexmark
ma1509
magicolor
matsushita
microtek
microtek2
mustek
#mustek_pp
mustek_usb
mustek_usb2
nec
niash
#p5
pie
pieusb
pint
pixma
plustek
#plustek_pp
#pnm
qcam
ricoh
ricoh2
rts8891
s9036
sceptre
sharp
sm3600
sm3840
snapscan
sp15c
#st400
#stv680
tamarack
teco1
teco2
teco3
#test
u12
umax
umax1220u
#umax_pp
v4l
xerox_mfp
hpaio
jl@PC01:~$
jl@PC01:~$ ls /lib/udev/rules.d | grep libsane
60-libsane.rules
jl@PC01:~$
Dernière modification par JLP 20.04.1 LTS (Le 15/11/2020, à 18:21)
Ubuntu 20.04.1 LTS
AMD® E-300 apu with radeon(tm) hd graphics × 2 // AMD® Palm // 64bits / 3,6 GiB / 1TB
HP DeskJet Plus 4122
Hors ligne
#2 Le 07/11/2020, à 21:35
- ylag
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Bonsoir,
Il semble que ton appareil nécessite l'installation du greffon prorpriétaire ( «plugin» ) d'après ce site: hplip supported devices ?
Si tu as bien installé hplip en version 3.20.9, il te faudrait récupérer le greffon en même version, hplip-3.20.9-plugin.run sur ce site:
hp-linux-imaging-and-printing/plugins
Cette commande devrait télécharger le fichier en question dans ton répertoire courant:
wget https://developers.hp.com/sites/default/files/hplip-3.20.9-plugin.run
Il faut ensuite en lancer l'installation de cette façon:
sudo sh hplip-3.20.9-plugin.run
Note: sudo n'est peut-être pas nécessaire, à toi de voir si ça se lance en mode simple utilisateur.
Remarque aussi qu'il te faudra peut-être supprimer le paquet ippusbxd, qui semble causer problème pour certains appareils branchés en USB sur la 20.04; pour le faire:
sudo apt purge ippusbxd
C'est sous toute réserve, je ne suis pas expert en imprimantes, ne possédant qu'une ancienne HP LaserJet P1006 qui fonctionne parfaitement pour moi depuis de nombreuses années.
En espérant que ça puisse t'être utile.
A+
Dernière modification par ylag (Le 07/11/2020, à 21:41)
Hors ligne
#3 Le 08/11/2020, à 13:32
- grigouille
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
hp-plugin -i
Dernière modification par grigouille (Le 08/11/2020, à 13:34)
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#4 Le 09/11/2020, à 17:44
- JLP 20.04.1 LTS
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Bonsoir ylag et grigouille
J'ai réussi à faire fonctionner le scan en installant le plugin 3.20.5 et en refaisant une install custom avec hplip-3.20.5.
J'ai fait une copie écran si ça peut aider (les points d'interrogation indique un choix par défaut)
Je n'ai pas compris la diff entre les class et les discretes drivers, j'ai pris le choix par défaut (d)
le p/n pil est introuvable
Concernant l'install du hplip-3.20.5-plugin, je l'avais déjà installé avant hplip en suivant les préco de ylag, je suppose
que c'est pour cela qu'il est en "failed"
Merci pour vos conseils
jl
jl@PC01:~/Downloads/02drivers$ sh hplip-*.run
Creating directory hplip-3.20.5
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.5 Self Extracting Archive.................................................................................................
........................................................................................................
.........................................................................................................
.........................................................................................................
.........................................................................................................
....
HP Linux Imaging and Printing System (ver. 3.20.5)
HPLIP Installer ver. 5.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.
Installer log saved in: hplip-install_Mon-09-Nov-2020_16:11:31.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) : c
INTRODUCTION
------------
This installer will install HPLIP version 3.20.5 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).
DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 20.04.
Is "Ubuntu 20.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ?
DRIVER OPTIONS
--------------
Would you like to install Custom Discrete Drivers or Class Drivers ( 'd'= Discrete Drivers*,'c'= Class Drivers,'q'= Quit)? : d
Initializing. Please wait...
SELECT HPLIP OPTIONS
--------------------
You can select which HPLIP options to enable. Some options require extra dependencies.
Do you wish to enable 'Network/JetDirect I/O' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'Graphical User Interfaces (Qt5)' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'PC Send Fax support' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'Scanning support' (y=yes*, n=no, q=quit) ?
Do you wish to enable 'HPLIP documentation (HTML)' (y=yes*, n=no, q=quit) ?
ENTER USER PASSWORD
-------------------
Please enter the sudoer (jl)'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) ?
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
pil scan OPTIONAL
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ?
INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'scan': pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan))
warning: This installer cannot install 'pil' for your distro/OS and/or version.
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
----------------------------------
HPLIP-3.20.5 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
------------------------
warning: An optional dependency 'pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan))' is still missing.
warning: Some features may not function as expected.
RUNNING SCANJET DEPENDENCY COMMANDS
-----------------------------------
sudo apt-get install --assume-yes python-pip (Scanjet-depend step 1)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo pip2 install --upgrade pip (Scanjet-depend step 2)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo apt-get install --assume-yes libleptonica-dev (Scanjet-depend step 3)
sudo apt-get install --assume-yes tesseract-ocr (Scanjet-depend step 4)
sudo apt-get install --assume-yes libtesseract-dev (Scanjet-depend step 5)
sudo -H pip2 install tesserocr (Scanjet-depend step 6)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo apt-get install --assume-yes tesseract-ocr-all (Scanjet-depend step 7)
sudo apt-get install --assume-yes libzbar-dev (Scanjet-depend step 8)
sudo apt-get install --assume-yes python-zbar (Scanjet-depend step 9)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install opencv-python (Scanjet-depend step 10)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install PyPDF2 (Scanjet-depend step 11)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install imutils (Scanjet-depend step 12)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install pypdfocr (Scanjet-depend step 13)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install scikit-image (Scanjet-depend step 14)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install scipy (Scanjet-depend step 15)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
OK
READY TO BUILD AND INSTALL
--------------------------
Ready to perform build and install. Press <enter> to continue or 'q' to quit:
PRE-BUILD COMMANDS
------------------
OK
BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --disable-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 --disable-network-build --enable-dbus-build --enable-scan-build --disable-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) :
HPLIP PLUGIN UPDATE NOTIFICATION
--------------------------------
HPLIP Plug-in's needs to be installed/updated. Do you want to update plug-in's?. (y=yes*, n=no) :
Do you want to install plug-in's in GUI mode?. (u=GUI mode*, i=Interactive mode) : i
HP Linux Imaging and Printing System (ver. 3.20.5)
Plugin Download and Install Utility ver. 2.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.
HP Linux Imaging and Printing System (ver. 3.20.5)
Plugin Download and Install Utility ver. 2.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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.20.5 |
-----------------------------------------
Option Description
---------- --------------------------------------------------
d Download plug-in from HP (recommended)
p Specify a path to the plug-in (advanced)
q Quit hp-plugin (skip installation)
Enter option (d=download*, p=specify path, q=quit) ?
-------------------
| DOWNLOAD PLUGIN |
-------------------
Checking for network connection...
Downloading plug-in from:
Downloading plug-in: [\ ] 0% Receiving digital keys: /usr/bin/gpg --homedir /home/jl/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
()
----------------------
| INSTALLING PLUG-IN |
----------------------
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.5 Plugin Self Extracting Archive..............................................................
HP Linux Imaging and Printing System (ver. 3.20.5)
Plugin Installer ver. 3.0
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.
Plug-in version: 3.20.5
Installed HPLIP version: 3.20.5
Number of files to install: 64
You must agree to the license terms before installing the plug-in:
LICENSE TERMS FOR HP Linux Imaging and Printing (HPLIP) Driver Plug-in
These License Terms govern your Use of the HPLIP Driver Plug-in Software (the
"Software"). USE OF THE SOFTWARE INCLUDING, WITHOUT LIMITATION, ANY
DOCUMENTATION, IS SUBJECT TO THESE LICENSE TERMS AND THE APPLICABLE AS-IS
WARRANTY STATEMENT. BY DOWNLOADING AND INSTALLING THE SOFTWARE, YOU ARE AGREEING
TO BE BOUND BY THESE TERMS. IF YOU DO NOT AGREE TO ALL OF THESE TERMS, DO NOT
DOWNLOAD AND INSTALL THE SOFTWARE ON YOUR SYSTEM.
1. License Grant. HP grants you a license to Use one copy of the Software with
HP printing products only. "Use" includes using, storing, loading, installing,
executing, and displaying the Software. You may not modify the Software or
disable any licensing or control features of the Software.
2. Ownership. The Software is owned and copyrighted by HP or its third party
suppliers. Your license confers no title to, or ownership in, the Software and
is not a sale of any rights in the Software. HP's third party suppliers may
protect their rights in the Software in the event of any violation of these
license terms.
9. DISCLAIMER OF WARRANTIES. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW,
HP AND ITS SUPPLIERS PROVIDE THE SOFTWARE "AS IS" AND WITH ALL FAULTS, AND
HEREBY DISCLAIM ALL OTHER WARRANTIES AND CONDITIONS, EITHER EXPRESS, IMPLIED, OR
STATUTORY, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE AND
NON-INFRINGEMENT, ANY IMPLIED WARRANTIES, DUTIES OR CONDITIONS OF
MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE, AND OF LACK OF VIRUSES ALL
WITH REGARD TO THE SOFTWARE. Some states/jurisdictions do not allow exclusion of
implied warranties or limitations on the duration of implied warranties, so the
above disclaimer may not apply to you in its entirety.
10. LIMITATION OF LIABILITY. Notwithstanding any damages that you might incur,
the entire liability of HP and any of its suppliers under any provision of this
agreement and your exclusive remedy for all of the foregoing shall be limited to
the greater of the amount actually paid by you separately for the Software or
U.S. $5.00. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL
HP OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, BUT NOT LIMITED TO,
DAMAGES FOR LOSS OF PROFITS OR CONFIDENTIAL OR OTHER INFORMATION, FOR BUSINESS
INTERRUPTION, FOR PERSONAL INJURY, FOR LOSS OF PRIVACY ARISING OUT OF OR IN ANY
WAY RELATED TO THE USE OF OR INABILITY TO USE THE SOFTWARE, OR OTHERWISE IN
CONNECTION WITH ANY PROVISION OF THIS AGREEMENT, EVEN IF HP OR ANY SUPPLIER HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND EVEN IF THE REMEDY FAILS OF
ITS ESSENTIAL PURPOSE. Some states/jurisdictions do not allow the exclusion or
limitation of incidental or consequential damages, so the above limitation or
exclusion may not apply to you.
Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ?
Please enter the sudoer (jl)'s password:
Plugin installation failed
error: Plugin installation failed
Done.
Done.
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) : p
Please unplug and re-plugin your printer now. Press <enter> to continue or 'q' to quit:
PRINTER SETUP
-------------
Would you like to setup a printer now (y=yes*, n=no, q=quit) ?
Please make sure your printer is connected and powered on at this time.
Do you want to setup printer in GUI mode? (u=GUI mode*, i=Interactive mode) : i
Running 'hp-setup -i' command....
HP Linux Imaging and Printing System (ver. 3.20.5)
Printer/Fax Setup Utility ver. 9.0
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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
Using connection type: usb
Setting up device: hp:/usb/DeskJet_Plus_4100_series?serial=CN0V41
---------------------
| PRINT QUEUE SETUP |
---------------------
warning: One or more print queues already exist for this device: DeskJet_Plus_4100.
Would you like to install another print queue for this device (y=yes, n=no*, q=quit) ?
Done.
RE-STARTING HP_SYSTRAY
----------------------
HP Linux Imaging and Printing System (ver. 3.20.5)
System Tray Status Service ver. 2.0
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.
warning: GUI Modules PyQt4 and PyQt5 are not installed
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
jl@PC01:~/Downloads/02drivers$
Ubuntu 20.04.1 LTS
AMD® E-300 apu with radeon(tm) hd graphics × 2 // AMD® Palm // 64bits / 3,6 GiB / 1TB
HP DeskJet Plus 4122
Hors ligne
#5 Le 09/11/2020, à 17:46
- JLP 20.04.1 LTS
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
J'ai oublié de préciser qu'il a fallu redémarrer le pc
Ubuntu 20.04.1 LTS
AMD® E-300 apu with radeon(tm) hd graphics × 2 // AMD® Palm // 64bits / 3,6 GiB / 1TB
HP DeskJet Plus 4122
Hors ligne
#6 Le 09/11/2020, à 17:53
- ylag
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Bonjour,
Si ça fonctionne, c'est que c'est correctement installé malgré les retours d'erreurs...?
Donne le retour de la commande de @grigouille au commentaire #3, pour voir si l'installation du greffon serait détectée:
hp-plugin -i
A+
Hors ligne
#7 Le 09/11/2020, à 20:34
- grigouille
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Superbe trace de l'installation custom ! Visiblement le plugin est installé donc inutile de faire "hp-plugin -i".
Tout fonctionne donc ?
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#8 Le 15/11/2020, à 18:19
- JLP 20.04.1 LTS
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Bonsoir ylag et grigouille
Si ça fonctionne, c'est que c'est correctement installé malgré les retours d'erreurs...?----> Je n'ai pas compris pourquoi, je suppose que c'est dû au fait que j'avais déjà installé le plugin selon ta méthode (hplip-3.20.9-plugin.run) et que j'ai refait un (hplip-*.run) ce qui faisait une 2eme install du plugin ?
Tout fonctionne donc ? -----> oui le scan et l'impression fonctionne correctement
Merci pour tout à tous les deux
Je vais passer le post en résolu
JL
Ubuntu 20.04.1 LTS
AMD® E-300 apu with radeon(tm) hd graphics × 2 // AMD® Palm // 64bits / 3,6 GiB / 1TB
HP DeskJet Plus 4122
Hors ligne
#9 Le 16/11/2020, à 11:40
- McCoy78
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Bonjour,
Je me joins à cette discussion car pareil, impossible de scanner à partir des (nombreuses) multi-fonctions HP du réseau. L'impression fonctionne (à peu prêt, ce sera un autre sujet).
J'ai une installation 20.04 LTS de base. Comment savoir quelle version de HPLIP est installée et donc appliquer la solution de "JLP 20.04.1 LTS" ?
Cordialement,
MC
Hors ligne
#10 Le 16/11/2020, à 12:35
- grigouille
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Pour connaître ta version d'hplip :
hp-setup -hi | grep ver
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#11 Le 16/11/2020, à 15:25
- McCoy78
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Merci.
HP Linux Imaging and Printing System (ver. 3.20.3)
Printer/Fax Setup Utility ver. 9.0
Je crois que je vais tester la solution sur un PC "souris de laboratoire" avant de fusiller ma config toute neuve...
Hors ligne
#12 Le 16/11/2020, à 15:42
- McCoy78
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Et ben j'ai pas été très loin
mccoy@vostro:~/Téléchargements$ sudo sh hplip-3.20.3-plugin.run
[sudo] Mot de passe de mccoy :
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.3 Plugin Self Extracting Archive..............................................................
HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Installer ver. 3.0
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.
Plug-in version: 3.20.3
Installed HPLIP version: 3.20.3
Number of files to install: 64
error: Unable to load pkit...is HPLIP installed?
Ce qui m'agace c'est que ça fonctionnait très bien aussi en 16.04 LTS...
Du coup qu'en pensez-vous ? Je tente une mise à jour de HPLIP vers la toute dernière version ou j'attends qu'elle arrive par la voie normale des mises à jours ?
Hors ligne
#13 Le 16/11/2020, à 16:23
- ylag
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Bonjour,
Je tente une mise à jour de HPLIP vers la toute dernière version ...
À mon avis, à ne faire que si tes imprimantes ne sont pas supportées par la version de hplip installée de base sur ton système.
Pour vérifier ce qu'il en est, faire une recherche sur ce site: HPLIP, appareils supportés.
error: Unable to load pkit...is HPLIP installed?
Tu ne sembles pas avoir donné le retour compet de la commande, était-ce bien la dernière ligne ?
Se pourrait-il que le greffon se soit installé malgré le message d'erreur ?
...peut-être vérifier avec:
hp-plugin -i
Sinon, et sous toute réserve, peut-être tenter d'installer le paquet python-gobject; c'est disponible dans les dépôts officiels de la 20.04 et ça ne semble pas tirer trop de dépendances.
Voir cette discussion sur le forum ArchLinux:
[hplip] python-gobject dependency should be hard and not optional
...puis retenter l'installation du greffon?
C'est vraiment sous toute réserve, je n'ai aucune idée de la pertinence de la manip.
Au pire, simplement supprimer python-gobject pour revenir à l'état initial.
A+
Dernière modification par ylag (Le 16/11/2020, à 16:30)
Hors ligne
#14 Le 16/11/2020, à 16:53
- McCoy78
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Bonjour,
McKoy78 a écrit :Je tente une mise à jour de HPLIP vers la toute dernière version ...
À mon avis, à ne faire que si tes imprimantes ne sont pas supportées par la version de hplip installée de base sur ton système.
Pour vérifier ce qu'il en est, faire une recherche sur ce site: HPLIP, appareils supportés.
C'est ce que je pense aussi. ceci étant, les imprimantes sont "moyennement bien" gérées avec cette 20.04 LTS: nous retrouvons avec toutes les imprimantes réseau de l'étage accessibles... Ca sera l'occasion d'un autre post.
sudo sh hplip-3.20.3-plugin.run au #12 a écrit :error: Unable to load pkit...is HPLIP installed?
Tu ne sembles pas avoir donné le retour compet de la commande, était-ce bien la dernière ligne ?
Se pourrait-il que le greffon se soit installé malgré le message d'erreur ?
...peut-être vérifier avec:hp-plugin -i
hp-plugin -i
Semble vouloir lancer de nouveau l'installation de HPLIP. Je vais tester sur la souris de laboratoire.
Hors ligne
#15 Le 16/11/2020, à 16:57
- ylag
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Bonjour,
«hp-plugin -i
Semble vouloir lancer de nouveau l'installation de HPLIP...»
Non, l'utilitaire hp-plugin ne sert qu'à gérer l'installation du greffon propriétaire (le "plugin"...), et pas l'installation de hplip.
Voir la page « man » de la commande:
man hp-plugin
A+
Dernière modification par ylag (Le 16/11/2020, à 17:08)
Hors ligne
#16 Le 16/11/2020, à 17:33
- ylag
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Bonjour,
Pour faire suite au commentaire #15, voici ce que j'obtiens sur mon Ubuntu 16.04 avec hplip 3.16.3, version des dépôts, pour ma vielle HP LaserJet P1006 qui requiert l'installation du greffon lorsque je veux vérifier si ce greffon est bien installé avec la commande hp-plugin -i:
yvan@yvan-maison:~$ hp-plugin -i
HP Linux Imaging and Printing System (ver. 3.16.3)
Plugin Download and Install Utility ver. 2.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.
HP Linux Imaging and Printing System (ver. 3.16.3)
Plugin Download and Install Utility ver. 2.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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.16.3 |
-----------------------------------------
The driver plugin for HPLIP 3.16.3 appears to already be installed.
Do you wish to download and re-install the plug-in? (y=yes*, n=no, q=quit) ? q
yvan@yvan-maison:~$
On peut voir que tout baigne, le greffon est déjà installé et reconnu: "The driver plugin for HPLIP 3.16.3 appears to already be installed."
A+
Dernière modification par ylag (Le 16/11/2020, à 17:35)
Hors ligne
#17 Le 16/11/2020, à 17:38
- grigouille
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Quel est le problème exactement ?
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#18 Le 16/11/2020, à 17:40
- ylag
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
@grigouille:
Bonjour,
@McCoy78 semble éprouver des difficultés à installer le greffon propriétaire, et semblait aussi vouloir passer à la version la plus récente de hplip sans s'être assuré au préalable que ce soit nécessaire pour son matériel...?
A+
Dernière modification par ylag (Le 16/11/2020, à 17:42)
Hors ligne
#19 Le 17/11/2020, à 12:37
- McCoy78
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
@grigouille:
Bonjour,
@McCoy78 semble éprouver des difficultés à installer le greffon propriétaire, et semblait aussi vouloir passer à la version la plus récente de hplip sans s'être assuré au préalable que ce soit nécessaire pour son matériel...?
A+
Hello,
Je confirme que le greffon propriétaire n'est pas installé par défaut (ça se tient sur le plan logique).
Voici le dump lors du lancement de hp-plugin -i
mccoy@vostro:~/Téléchargements$ sudo hp-plugin -i
[sudo] Mot de passe de mccoy :
HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Download and Install Utility ver. 2.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.
warning: It is not recommended to run 'hp-plugin' in a root mode.
HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Download and Install Utility ver. 2.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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.20.3 |
-----------------------------------------
Option Description
---------- --------------------------------------------------
d Download plug-in from HP (recommended)
p Specify a path to the plug-in (advanced)
q Quit hp-plugin (skip installation)
Enter option (d=download*, p=specify path, q=quit) ? d
-------------------
| DOWNLOAD PLUGIN |
-------------------
Checking for network connection...
Downloading plug-in from:
Downloading plug-in: [\ ] 0% Receiving digital keys: /usr/bin/gpg --homedir /root/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
()
----------------------
| INSTALLING PLUG-IN |
----------------------
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.3 Plugin Self Extracting Archive..............................................................
HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Installer ver. 3.0
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.
Plug-in version: 3.20.3
Installed HPLIP version: 3.20.3
Number of files to install: 64
error: Unable to load pkit...is HPLIP installed?
error: Python gobject/dbus may be not installed
Done.
Il y a marqué "Done." à la fin ... mais ça ressemble pas à un bon "Done."...
Hors ligne
#20 Le 17/11/2020, à 12:47
- ylag
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Bonjour,
Vu au #19:
mccoy@vostro:~/Téléchargements$ sudo hp-plugin -i
...
warning: It is not recommended to run 'hp-plugin' in a root mode.
En général, il est déconseillé de lancer hp-plugin -i avec « sudo ».
Retente peut-être en simple utilisateur, pour voir si l'installation du greffon se serait quand même effectuée ?
Pour l'erreur:
error: Unable to load pkit...is HPLIP installed?
error: Python gobject/dbus may be not installed
As-tu installé le paquet python-gobject, tel que suggéré au commentaire #13 ?
A+
Dernière modification par ylag (Le 17/11/2020, à 13:06)
Hors ligne
#21 Le 17/11/2020, à 13:01
- McCoy78
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Re,
Effectivement, ca va un peu plus loin en installant le paquet python-gobject et sans utiliser de sudo.
Mais c'est pas non plus la grosse fête. Voici le dump (simplifié):
mccoy@vostro:~/Téléchargements$ hp-plugin -i
HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Download and Install Utility ver. 2.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.
HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Download and Install Utility ver. 2.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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.20.3 |
-----------------------------------------
Option Description
---------- --------------------------------------------------
d Download plug-in from HP (recommended)
p Specify a path to the plug-in (advanced)
q Quit hp-plugin (skip installation)
Enter option (d=download*, p=specify path, q=quit) ? d
-------------------
| DOWNLOAD PLUGIN |
-------------------
Checking for network connection...
Downloading plug-in from:
Downloading plug-in: [\ ] 0% Receiving digital keys: /usr/bin/gpg --homedir /home/pierre/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
()
----------------------
| INSTALLING PLUG-IN |
----------------------
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.3 Plugin Self Extracting Archive..............................................................
HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Installer ver. 3.0
Copyright (c) 2001-18 HP Development Company, LP
[...]
Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y
Please enter the sudoer (mccoy)'s password:
Plugin installation failed
error: Plugin installation failed
Done.
Done.
J'ai testé 3 fois des fois que je me sois planté dans le mdp mais en fait non.
Hors ligne
#22 Le 17/11/2020, à 13:15
- ylag
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Re,
J'ai réussi à faire fonctionner le scan en installant le plugin 3.20.5 et en refaisant une install custom avec hplip-3.20.5.
Là, je t'égare un peu si ça fonctionne toujours, désolé...
Comme @grigouille tentait de le faire remarquer au #17, il n'y aurait pas de problème à part le fait que l'on arrive pas à faire détecter l'installation du greffon avec la commande hp-plugin...
A+
Dernière modification par ylag (Le 17/11/2020, à 13:17)
Hors ligne
#23 Le 17/11/2020, à 13:22
- michel_04
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
Bonjour.
mccoy@vostro:~/Téléchargements$ hp-plugin -i ~ ~ ~ ~ Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y Please enter the sudoer (mccoy)'s password: Plugin installation failed error: Plugin installation failed Done. Done.
J'ai testé 3 fois des fois que je me sois planté dans le mdp mais en fait non.
Vu quelques fois le cas.
En lançant ta commande en superutilisateur (sudo -i) ?
A+
Dernière modification par michel_04 (Le 17/11/2020, à 13:25)
:D
De la bonne manière de poser les questions - Trouver de l'aide grâce au Groupe des Parrains Linux - Le Pacte des Gnous
PCs sous Debian Stable & Debian Sid.
Hors ligne
#24 Le 17/11/2020, à 13:34
- ylag
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
@michel_04:
Bonjour!
En lançant ta commande en superutilisateur (sudo -i) ?
C'est ainsi que je dois procéder sur ma Debian Buster.
Par contre, ça marche en mode simple utilisateur sur Ubuntu 16.04 et 18.04; c'est peut-être différent sur la 20.04...?
J'ai l'impression que le greffon serait installé malgré les retours de la commande hp-plugin, puisque ça fonctionnait au commentaire #4:
«J'ai réussi à faire fonctionner le scan en installant le plugin 3.20.5 et en refaisant une install custom avec hplip-3.20.5.»
A+
Dernière modification par ylag (Le 17/11/2020, à 13:40)
Hors ligne
#25 Le 17/11/2020, à 13:40
- michel_04
Re : [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS
C'est ainsi que je dois procéder sur ma Debian Buster.
Par contre, ça marche en mode simple utilisateur sur Ubuntu 16.04 et 18.04; c'est peut-être différent sur la 20.04...?
Sur 20.04 pour une HP en USB, je suis passé par sudo -i, alors qu'en 18.04 tout passait en simple user.
Pour une HP en réseau Ethernet, ça passe en user... mystère.
Sur Debian Buster, effectivement, c'est sudo -i.
:D
De la bonne manière de poser les questions - Trouver de l'aide grâce au Groupe des Parrains Linux - Le Pacte des Gnous
PCs sous Debian Stable & Debian Sid.
Hors ligne