En cours Scanner non-reconnu imprimante HP laserjet M28w

Postez ici toutes vos demandes d’assistance.
Répondre
Largol
Messages : 5
Enregistré le : sam. 11 juin 2022 15:27

Scanner non-reconnu imprimante HP laserjet M28w

Message par Largol »

Bonjour,
j'ai une imprimante HP Laserjet M28w
J'ai installé la dernière version de HP-Lip et le scanner ne fonctionne pas: segmentation fault (core dump)

Que faire ?

j'ai fait un check:

Code : Tout sélectionner

hp-check -r
/usr/bin/hp-check:685: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if 'getfacl' not in g and '' is not g and 'file' not in g:
Saving output in log file: /home/colin/hp-check.log

HP Linux Imaging and Printing System (ver. 3.22.4)
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

 
---------------
| SYSTEM INFO |
---------------

 Kernel: 5.15.0-33-generic #34~20.04.1-Ubuntu SMP Thu May 19 15:51:16 UTC 2022 GNU/Linux
 Host: Billy-X550JK
 Proc: 5.15.0-33-generic #34~20.04.1-Ubuntu SMP Thu May 19 15:51:16 UTC 2022 GNU/Linux
 Distribution: 22 20.3
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.22.4
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for linuxmint distro  20.3 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.22.4

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.22.4
html=/usr/share/doc/hplip-3.22.4
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.22.4
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
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:
[plugin]
installed = 1
eula = 1
version = 3.22.4



Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 06/11/22 15:31:51
version = 3.22.4

[upgrade]
notify_upgrade = true
last_upgraded_time = 1654948947
pending_upgrade_time = 0
latest_available_version = 3.17.10

[last_used]
device_uri = hp:/net/HP_LaserJet_MFP_M28-M31?hostname=NPIE68A29.local


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

-------------------------
| External Dependencies |
-------------------------

 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.3.1           OK         'CUPS Scheduler is running'
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.50            OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.29          OK         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.12.16         OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 network              network -wget                                                OPTIONAL        -               1.20.3          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             OK         -

------------------------
| General Dependencies |
------------------------

 libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.3.1           OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.3.1           OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.31'         OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 sane-devel           SANE - Scanning library development files                    REQUIRED        -               -               OK         -
 libavahi-dev         libavahi-dev                                                 REQUIRED        -               -               OK         -
 libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.8             OK         -
 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           OK         -
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.8.10          OK         -
 python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 python3-pyqt5-dbus   PyQt 5 DBus - DBus Support for PyQt5                         OPTIONAL        5.0             5.14.1          OK         -
 python3-pyqt5        PyQt 5- Qt interface for Python (for Qt version 4.x)         REQUIRED        5.0             5.14.1          OK         -
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.16          OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.9           OK         -
 python3-devel        Python devel - Python development files                      REQUIRED        2.2             3.8.10          OK         -
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               7.0.0           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.5.34          OK         -

--------------
| COMPILEDEP |
--------------

 libtool              libtool - Library building support services                  REQUIRED        -               2.4.6           OK         -
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               9.4.0           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.2.1           OK         -

---------------------
| Python Extentions |
---------------------

 cupsext              CUPS-Extension                                               REQUIRED        -               3.22.4          OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.22.4          OK         -

----------------------
| Scan Configuration |
----------------------

 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.22.4          OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.22.4          OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

error: Failed to get Scanners information.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 


Type: Printer
Device URI: hp:/net/HP_LaserJet_MFP_M28-M31?hostname=NPIE68A29.local
Communication status: Good



Type: Unknown
Device URI: implicitclass://HP_LaserJet_MFP_M28w_E68A29_/


--------------
| PERMISSION |
--------------

No errors or warnings.

Done.
Modifié en dernier par cyrille le sam. 11 juin 2022 16:31, modifié 1 fois.
Raison : Ajout des balises code
Linux Mint 20.3 Cinnamon
noyau: 5.15.0-33-generic

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

Re: Scanner non-reconnu imprimante HP laserjet M28w

Message par alain »

Bonjour Largol

Il te faut installer sane-airscan:

Code : Tout sélectionner

sudo apt install sane-airscan
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: GTX 1080TI-11 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 12.7 | K: 5.10
In a world without walls and fences, who needs windows and gates?

Largol
Messages : 5
Enregistré le : sam. 11 juin 2022 15:27

Re: Scanner non-reconnu imprimante HP laserjet M28w

Message par Largol »

Ok, j'essayerais. Merci pour le conseil :)
Linux Mint 20.3 Cinnamon
noyau: 5.15.0-33-generic

Largol
Messages : 5
Enregistré le : sam. 11 juin 2022 15:27

Re: Scanner non-reconnu imprimante HP laserjet M28w

Message par Largol »

ça ne fonctionne pas :( mais je continue d'investiguer!
Linux Mint 20.3 Cinnamon
noyau: 5.15.0-33-generic

Largol
Messages : 5
Enregistré le : sam. 11 juin 2022 15:27

Re: Scanner non-reconnu imprimante HP laserjet M28w

Message par Largol »

Faut il que je supprime sane pour utiliser sane-airscan ?
Linux Mint 20.3 Cinnamon
noyau: 5.15.0-33-generic

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

Re: Scanner non-reconnu imprimante HP laserjet M28w

Message par alain »

Non, chez moi j'ai juste installé sane-air-scan en plus de sane, et ça a fonctionné directement.
Mais je n'ai pas la même HP que toi. Moi c'est une MFP 178nw....

Puis je vois dans ton retour d'installation de hplip que ton scanner, n'est pas vu.
Moi j'ai installé la version des dépôts et le scanner était vu. Sauf que ça ne fonctionnait pas.

Code : Tout sélectionner

alain@alain-desktop:~$ apt policy hplip
hplip:
  Installé : 3.21.8+dfsg0-1+klbkfocal
  Candidat : 3.21.8+dfsg0-1+klbkfocal
 Table de version :
 *** 3.21.8+dfsg0-1+klbkfocal 500
        500 http://packages.linuxmint.com una/backport amd64 Packages
        100 /var/lib/dpkg/status
     3.20.3+dfsg0-2 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
alain@alain-desktop:~$ 
simplescan et xsane le voyaient bien mais il ne démarrait pas. Puis avec sane-air-scan ça a fonctionné avec les deux.
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: GTX 1080TI-11 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 12.7 | K: 5.10
In a world without walls and fences, who needs windows and gates?

Largol
Messages : 5
Enregistré le : sam. 11 juin 2022 15:27

Re: Scanner non-reconnu imprimante HP laserjet M28w

Message par Largol »

Comment lances tu une numérisation en ligne de commande avec Sane-Airscan s'il te plait ?
Merci pour ton aide Alain :)
Linux Mint 20.3 Cinnamon
noyau: 5.15.0-33-generic

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

Re: Scanner non-reconnu imprimante HP laserjet M28w

Message par alain »

Aucune idée et le man n'existe pas :?
Mais je ne crois pas que ce paquet servent comme commande, c'est juste comme un plugin qui sert au logiciels de scan comme sane ou xsane à faire fonctionner les scanners eSCL comme mon scanner sur ma HP .

Regarde la description:
Similar to how most modern network printers support "driverless"
printing, using the universal vendor-neutral printing protocol, many
modern network scanners and MFPs support "driverless" scanning.

Driverless scanning comes in two flavors:

* Apple AirScan or AirPrint scanning (official protocol name is eSCL)
* Microsoft WSD, or WS-Scan (term WSD means "Web Services for Devices)

This backend implements both protocols, choosing automatically between
them. It was successfully tested with many devices from Brother, Canon,
Kyocera, Lexmark, Epson, HP, Ricoh, Samsung and Xerox both in WSD and
eSCL modes.
Et une traduction sommaire :
Semblable à la façon dont la plupart des imprimantes réseau modernes prennent en charge le 'sans pilote'
l'impression, en utilisant le protocole d'impression universel indépendant du fournisseur, de nombreux
les scanners réseau modernes et les MFP prennent en charge la numérisation « sans pilote ».

La numérisation sans pilote se décline en deux versions :

* Numérisation Apple AirScan ou AirPrint (le nom officiel du protocole est eSCL)
* Microsoft WSD, ou WS-Scan (le terme WSD signifie « Web Services for Devices »)

Ce backend implémente les deux protocoles, en choisissant automatiquement entre
leur. Il a été testé avec succès avec de nombreux appareils de Brother, Canon,
Kyocera, Lexmark, Epson, HP, Ricoh, Samsung et Xerox en WSD et
Modes eSCL.
Tu vois c'est un backend qui choisi automatiquement le protocole en fonction de ton scanner. C'est pas une commande.
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: GTX 1080TI-11 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 12.7 | K: 5.10
In a world without walls and fences, who needs windows and gates?

Répondre