Résolu le 31-01-22 Scanner HP Photosmart B 109a-m

Questions concernant les composants
Répondre
Minkolo
Messages : 72
Enregistré le : mar. 11 janv. 2022 09:21

Scanner HP Photosmart B 109a-m

Message par Minkolo »

Bonjour!

Quelqu'un a-t-l une idée pour faire fonctionner le scanner d'une imprimante HP Photosmart B109?
L'imprimante ne fonctionne pas, mais le scanner est fonctionnel sous Xubuntu 18.04 (pas sous Xubuntu 20), et Simple scan.

L'imprimante est branchée en USB, est reconnue par le système, mais le Numériseur de document ne détecte pas le scanner.

Image

:(

[Edit] Je viens de tenter la manip indiquée ici au point 8 https://doc.ubuntu-fr.org/hplip
et il y a des paquets introuvables....

Code : Tout sélectionner

minkolo@minkolo-Bureau:/media/minkolo/Data/TELECHARGEMENTS$ 
minkolo@minkolo-Bureau:/media/minkolo/Data/TELECHARGEMENTS$ 
minkolo@minkolo-Bureau:/media/minkolo/Data/TELECHARGEMENTS$     sh hplip-*.run 
Creating directory hplip-3.21.12
Verifying archive integrity... All good.
Uncompressing HPLIP 3.21.12 Self Extracting Archive................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

HP Linux Imaging and Printing System (ver. 3.21.12)
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_Wed-26-Jan-2022_11:13:17.log

-
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
error: linuxmint-20.3 version is not supported, so all dependencies may not be installed. However trying to install using linuxmint-20.2 version packages.

Press 'y' to continue auto installation. Press 'n' to quit auto instalation(y=yes, n=no*): y


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.21.12 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 20.3.

Is "Linux Mint 20.3" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y

Initializing. Please wait...


ENTER USER PASSWORD
-------------------
Please enter the sudoer (minkolo)'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


RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp ( hp_libs_remove step 1)
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   
libjpeg              base                 REQUIRED            
libtool              base                 REQUIRED            
cups-devel           base                 REQUIRED            
cups-image           base                 REQUIRED            
libusb               base                 REQUIRED            
sane-devel           scan                 REQUIRED            
libavahi-dev         scan                 REQUIRED            
xsane                scan                 OPTIONAL            
dbus                 fax                  REQUIRED            
libnetsnmp-devel     network              REQUIRED            
python3-pyqt4-dbus   gui_qt4              OPTIONAL            
python3-pyqt4        gui_qt4              REQUIRED            
python3-pyqt5-dbus   gui_qt5              OPTIONAL            
python3-pyqt5        gui_qt5              REQUIRED            
python3-devel        base                 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: libjpeg (libjpeg - JPEG library)
warning: Missing REQUIRED dependency: libtool (libtool - Library building support services)
warning: Missing REQUIRED dependency: cups-devel (CUPS devel- Common Unix Printing System development files)
warning: Missing REQUIRED dependency: cups-image (CUPS image - CUPS image development files)
warning: Missing REQUIRED dependency: libusb (libusb - USB library)
warning: Missing REQUIRED dependency: python3-devel (Python devel - Python development files)
warning: Missing REQUIRED dependency: libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
warning: Missing REQUIRED dependency: python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))
warning: This installer cannot install 'python3-pyqt4' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.
minkolo@minkolo-Bureau:/media/minkolo/Data/TELECHARGEMENTS$ sudo apt-get install libjpeg
[sudo] Mot de passe de minkolo :         
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet libjpeg
minkolo@minkolo-Bureau:/media/minkolo/Data/TELECHARGEMENTS$ sudo apt-get install libtool
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
libtool est déjà la version la plus récente (2.4.6-14).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
minkolo@minkolo-Bureau:/media/minkolo/Data/TELECHARGEMENTS$ sudo apt-get install cups-devel
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet cups-devel
minkolo@minkolo-Bureau:/media/minkolo/Data/TELECHARGEMENTS$ 
Modifié en dernier par Minkolo le lun. 31 janv. 2022 11:21, modifié 1 fois.
Laptop: Toshiba Satellite Pro L770-15L 2012 - sous Mint 21.2.
Carte graphique NVIDIA GT218M [GeForce 315M]. .
Processeur Core i3-2350M CPU @ 2.30GHz.
8 go de RAM DDR3. Disque hybride Seagate ST1000LM014-1EJ164 1TB
Multiboot avec W$10

Avatar du membre
cyrille
Administrateur du site
Messages : 12285
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: Scanner HP Photosmart B 109a-m

Message par cyrille »

Code : Tout sélectionner

sudo apt update
sudo apt-get install -f
te corrige t il les erreurs ?
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Avatar du membre
cyrille
Administrateur du site
Messages : 12285
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: Scanner HP Photosmart B 109a-m

Message par cyrille »

Et aussi

Code : Tout sélectionner

sudo apt install python-is-python3
avant toute chose
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Minkolo
Messages : 72
Enregistré le : mar. 11 janv. 2022 09:21

Re: Scanner HP Photosmart B 109a-m

Message par Minkolo »

Bonjour, merci.
Non, c''est la même chose:

Code : Tout sélectionner

minkolo@minkolo-Bureau:~$ sudo apt install python-is-python3
[sudo] Mot de passe de minkolo :         
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
python-is-python3 est déjà la version la plus récente (3.8.2-4).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
minkolo@minkolo-Bureau:~$ 

Code : Tout sélectionner

minkolo@minkolo-Bureau:/media/minkolo/Data/TELECHARGEMENTS$ sh hplip-*.run
Creating directory hplip-3.21.12
Verifying archive integrity... All good.
Uncompressing HPLIP 3.21.12 Self Extracting Archive................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

HP Linux Imaging and Printing System (ver. 3.21.12)
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_Wed-26-Jan-2022_11:58:54.log

-
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
error: linuxmint-20.3 version is not supported, so all dependencies may not be installed. However trying to install using linuxmint-20.2 version packages.

Press 'y' to continue auto installation. Press 'n' to quit auto instalation(y=yes, n=no*): y


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.21.12 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 20.3.

Is "Linux Mint 20.3" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y

Initializing. Please wait...


ENTER USER PASSWORD
-------------------
Please enter the sudoer (minkolo)'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


RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp ( hp_libs_remove step 1)
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   
libjpeg              base                 REQUIRED            
libtool              base                 REQUIRED            
cups-devel           base                 REQUIRED            
cups-image           base                 REQUIRED            
libusb               base                 REQUIRED            
sane-devel           scan                 REQUIRED            
libavahi-dev         scan                 REQUIRED            
xsane                scan                 OPTIONAL            
dbus                 fax                  REQUIRED            
libnetsnmp-devel     network              REQUIRED            
python3-pyqt4-dbus   gui_qt4              OPTIONAL            
python3-pyqt4        gui_qt4              REQUIRED            
python3-pyqt5-dbus   gui_qt5              OPTIONAL            
python3-pyqt5        gui_qt5              REQUIRED            
python3-devel        base                 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: libjpeg (libjpeg - JPEG library)
warning: Missing REQUIRED dependency: libtool (libtool - Library building support services)
warning: Missing REQUIRED dependency: cups-devel (CUPS devel- Common Unix Printing System development files)
warning: Missing REQUIRED dependency: cups-image (CUPS image - CUPS image development files)
warning: Missing REQUIRED dependency: libusb (libusb - USB library)
warning: Missing REQUIRED dependency: python3-devel (Python devel - Python development files)
warning: Missing REQUIRED dependency: libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
warning: Missing REQUIRED dependency: python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))
warning: This installer cannot install 'python3-pyqt4' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.
minkolo@minkolo-Bureau:/media/minkolo/Data/TELECHARGEMENTS$ 
Laptop: Toshiba Satellite Pro L770-15L 2012 - sous Mint 21.2.
Carte graphique NVIDIA GT218M [GeForce 315M]. .
Processeur Core i3-2350M CPU @ 2.30GHz.
8 go de RAM DDR3. Disque hybride Seagate ST1000LM014-1EJ164 1TB
Multiboot avec W$10

Minkolo
Messages : 72
Enregistré le : mar. 11 janv. 2022 09:21

Re: Scanner HP Photosmart B 109a-m

Message par Minkolo »

Hello!

Solution trouvée au post 23 de la page https://forum.ubuntu-fr.org/viewtopic.php?id=2052020

Citation de m.balthazar
Après lecture de la question que tu as mis en lien, je suis allé modifié le fichier « models.dat » en suivant la méthode de Mubeen Jukalu :
« Open /usr/share/hplip/data/models/models.dat as root(sudo)
replace photosmart_b109a_series with photosmart_b109a-m »

Chez moi, c'est la ligne n° 2754 [photosmart_b109a_series] qui devient [photosmart_b109a-m]
Voilà, si ça peut aider/inspirer... :)
Laptop: Toshiba Satellite Pro L770-15L 2012 - sous Mint 21.2.
Carte graphique NVIDIA GT218M [GeForce 315M]. .
Processeur Core i3-2350M CPU @ 2.30GHz.
8 go de RAM DDR3. Disque hybride Seagate ST1000LM014-1EJ164 1TB
Multiboot avec W$10

Avatar du membre
alain
Administrateur du site
Messages : 14704
Enregistré le : dim. 11 oct. 2015 23:41
Localisation : Chelles
Contact :

Re: Scanner HP Photosmart B 109a-m

Message par alain »

Bonjour.

Sujet archivé (en lecture seule) car résolu.
Si besoin de rouvrir faire un MP à un membre de l'équipe ;)
PC are like air conditioning, they becomes useless when you open Windows (L.T)
PC1 : CM : ASRock 990FX | CPU: AMD FX 8350-8 cores, 4 GHz | RAM: 16 Go DDR3 1600 MHz | CG: ATI RX 580-8 Go | OS : LM 20.3 Uma Xfce 4.16 | K: 5.4
PC2
:Core2 Quad Q9650 @ 3 GHz | CG: Nvidia GTX 650TI | OS: LM 21.3 Xfce 4.18| K: 6.5
PC3 :Core i7-2600 @ 3,5 GHz | CG: ATI HD 4650 | OS: Emmade5 Xfce 4.18.0 | K: 6.1
PC4 : AMD Ryzen 5 3500X 4GHz | CG: GTX 970 | Ram : 8GB |OS : Debian 10.5 | K: 5.10
In a world without walls and fences, who needs windows and gates?

Répondre