Pb scanner

4 réponses [Dernière contribution]
unareil
Hors ligne
A rejoint: 02/26/2020

Bonjour,

j'essaie d'installer en vain le scanner de mon HP Color LaserJet Pro MFP 180 N.
J'ai essayer avec hplip-3.20.3.run mais j'ai des problèmes de dépendance.

Et voila ce que me donne la commande hp-check :
root@amartineau-Portable:~/logiciels/imprimante# hp-check

Saving output in log file: /home/amartineau/logiciels/imprimante/hp-check.log

HP Linux Imaging and Printing System (ver. 3.16.3)
Dependency/Version Check Utility ver. 15.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: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are
installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the
proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).

Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
OK
MISSING - Missing Dependency or Permission or Plug-in
INCOMPAT - Incompatible dependency-version or Plugin-version

warning: trisquel distro is not found in AUTH_TYPES
warning: unknown-8.0 version is not supported. Using unknown-0 versions dependencies to verify and install...

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

Kernel: 4.4.0-173-generic #203+8.0trisquel2 SMP Wed Jan 29 03:00:49 UTC 2020 GNU/Linux
Host: amartineau-Portable
Proc: 4.4.0-173-generic #203+8.0trisquel2 SMP Wed Jan 29 03:00:49 UTC 2020 GNU/Linux
Distribution: unknown 8.0
Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.16.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for unknown distro 8.0 version

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

[hplip]
version=3.16.3

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
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=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.16.3
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no

Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 03/16/20 15:07:08
version = 3.20.3

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

xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.26 OK -
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
network network -wget OPTIONAL - 1.17.1 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
error: dbus DBus - Message bus system REQUIRED - 1.10.6 MISSING 'DBUS may not be installed or not running'
error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'

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

error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed'
error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
sane SANE - Scanning library REQUIRED - - OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.3.0 OK -
error: libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 MISSING 'libcrypto needs to be installed'
error: python3-devel Python devel - Python development files REQUIRED 2.2 3.5.2 MISSING 'python3-devel needs to be installed'
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.23' OK -
python3-xml Python XML libraries REQUIRED - 2.1.0 OK -
error: cups-image CUPS image - CUPS image development files REQUIRED - - MISSING 'cups-image needs to be installed'
error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.5.2 OK -
error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'
error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'
error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - MISSING 'cups-devel needs to be installed'
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'

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

error: gcc gcc - GNU Project C and C++ Compiler REQUIRED - 5.4.0 MISSING 'gcc needs to be installed'
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'

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

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

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

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

-----------------------
| Other Dependencies |
-----------------------

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

No Scanner found.

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

No devices found.

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

Generic-PostScript
------------------
Type: Unknown
Device URI: usb://HP/ColorLaserJet%20MFP%20M178-M181?serial=VNC4143722
PPD: /etc/cups/ppd/Generic-PostScript.ppd
PPD Description: Generic PostScript Printer
Printer status: printer Generic-PostScript is idle. enabled since lun. 16 mars 2020 14:41:47 CET
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

HP-ColorLaserjet-MFP-180N
-------------------------
Type: Unknown
Device URI: socket://192.168.1.10:9100
PPD: /etc/cups/ppd/HP-ColorLaserjet-MFP-180N.ppd
PPD Description: Generic PostScript Printer
Printer status: printer HP-ColorLaserjet-MFP-180N is idle. enabled since mer. 11 mars 2020 12:29:33 CET
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

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

error: Unsupported model: HP_ColorLaserJet_MFP_M178-M181
warning: Failed to find vid and pid for USB device[Unknown line at line 2468]

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
None

Total Errors: 16
Total Warnings: 2

Done.

Je ne sais plus quoi faire.

Je suis preneur de vos idées, si vous en avez.

Merci

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

Le support de ton matériel a apparemment commencé avec la version 3.18.5 de HPLIP. Trisquel 8 vient avec la version 3.16.3, par défaut. À ta place je verrais déjà si la future Trisquel 9 supportera directement ton scanner, en testant le système live. L'ISO est ici : http://jenkins.trisquel.info/makeiso-etiona/iso/

unareil
Hors ligne
A rejoint: 02/26/2020

Bonjour Magic Banana,

Merci de ton retour, j'ai fait les tests avec la version de Trisquel 9.0 et Triskel 9.0 avec le CD live mais malheureusement le scanner n'est toujours pas reconnu.

Je pense que je vais mettre en place une solution de scanner partagé sous Débian avec un vieux ordinateur qui ne sert plus à rien, j'aime trop trisquel pour le quitter maintenant à cause d'un petit problème de scanner...

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

Il y a parfois d'obscures solutions (ajouter des règles udev, etc.) qui fonctionnent sur le Web. J'ai notamment fait fonctionner le scanner de mes parents en suivant une. Je te laisse chercher.

unareil
Hors ligne
A rejoint: 02/26/2020

Finalement, j'ai résolu le problème du moins constaté d'où il venait.

J'ai réinstallé sur un vieux ordinateur une debian 10.2, le scanner avec le logiciel hplib Version: 3.20.3 du site https://developers.hp.com/hp-linux-imaging-and-printing.

L'imprimante était reconnu par contre le scanner m'indiquait des erreurs d'entrées/sorties lorsque je le lançais avec xsane directement.

En passant par l'interface graphique de HPlib, il m'a indiqué qu'il manquait un driver à récupérer sur le site d'HP(une petite licence à accepter plus tard ...) me montre que finalement le problème vient d'un plugin non libre à ajouter, snif...

Le problème ne vient donc pas de Trisquel et de sa philosophie que j'adore mais du matériel que j'ai acheté qui est presque tout libre ...