HPLIP: scan impossible

Bonjour à tous!

Voici les données du problème:

OS: Debian 7.7 wheezy stable amd64 (OS unique)
Scanner: HP Color LaserJet Pro MFP m177fw-fax connexion usb au PC et wifi
HP manager: 3.14.10 installé en suivant les instructions de compilation. Installation réussie:
deux périphériques détectés: l’imprimante et le fax.

L’imprimante fonctionne correctement dans les tâches d’impression ce qui semble montrer que la compilation de HPLIP résout le “warning: Distro 7.7 not supported”

hp-check -t ne signale apparemment pas d’anomalies:
[i]
[size=85]claudy@debian7:~$ hp-check -t
Saving output in log file: /home/claudy/hp-check.log

HP Linux Imaging and Printing System (ver. 3.14.10)
Dependency/Version Check Utility ver. 15.1

Copyright © 2001-13 Hewlett-Packard 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: debian-7.7 version is not supported. Using debian-7.6 versions dependencies to verify and install…


SYSTEM INFO

Kernel: 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 GNU/Linux
Host: debian7
Proc: 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 GNU/Linux
Distribution: debian 7.7
Bitness: 64 bit


HPLIP CONFIGURATION

HPLIP-Version: HPLIP 3.14.10
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro 7.7 version

Current contents of ‘/etc/hp/hplip.conf’ file:

hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.14.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.14.10
html=/usr/share/doc/hplip-3.14.10
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin

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.14.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of ‘/var/lib/hp/hplip.state’ file:
[plugin]
installed = 1
eula = 1
version = 3.14.10

Current contents of ‘~/.hplip/hplip.conf’ file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1403115185
pending_upgrade_time = 1413617439
latest_available_version = 3.14.10

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNB6G1M9M0"
printer_name = HP-Color-LaserJet-Pro-MFP-M177fw-Fax-2
working_dir = .

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[refresh]
rate = 30
enable = true
type = 2

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[installation]
date_time = 17/11/2014 15:59:36
version = 3.14.10

<Required/Optional>


External Dependencies

policykit Admin-Policy-framework OPTIONAL - 0.105 OK -
gs Ghostscript REQUIRED 7.05 9.05 OK -
network Network-wget OPTIONAL - 1.13.4 OK -
scanimage Shell-Scanning OPTIONAL 1.0 1.0.22 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
dbus DBus REQUIRED - 1.6.8 OK -
cups CUPS REQUIRED 1.1 1.5.3 OK 'CUPS Scheduler is running’
xsane SANE-GUI OPTIONAL 0.9 0.998 OK -


General Dependencies

reportlab Python-PDF-Lib OPTIONAL 2.0 2.5 OK -
libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK -
pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.9.3 OK -
libjpeg JPEG-Lib REQUIRED - - OK -
libpthread POSIX-Threads-Lib REQUIRED - 2.13 OK -
python-dbus Python-DBUS REQUIRED 0.80.0 1.1.1 OK -
python-devel Python-SDK REQUIRED 2.2 2.7.3 OK -
pyqt4 Python-Qt4 REQUIRED 4.0 4.9.3 OK -
cups-devel CUPS-SDK REQUIRED - 1.5.3 OK -
sane-devel SANE-SDK REQUIRED - 1.0.22 OK -
libusb USB-Lib REQUIRED - 1.0 OK -
sane Scan-Lib REQUIRED - 1.0.22 OK -
cups-image CUPS-Image-Lib REQUIRED - 1.5.3 OK -
libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.4.3 OK -
python-xml Python-XML-Lib REQUIRED - 2.1.0 OK -
python-notify Desktop-notifications OPTIONAL - - OK -


Compile Time Dependencies

gcc gcc-Compiler REQUIRED - 4.7.2 OK -
libtool Build-tools REQUIRED - 2.4.2 OK -
make GNU-Build-tools REQUIRED 3.0 3.81 OK -


Python Extentions

cupsext CUPS-Extension REQUIRED - 3.14.10 OK -
pcardext PhotoCard-Extension REQUIRED - 3.14.10 OK -
hpmudext IO-Extension REQUIRED - 3.14.10 OK -


Scan Configuration

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


DISCOVERED SCANNER DEVICES

device hpaio:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNB6G1M9M0' is a Hewlett-Packard HP_Color_LaserJet_Pro_MFP_M177fw all-in-one devicev4l:/dev/video0’ is a Noname UVC Camera (046d:0825) virtual device


DISCOVERED USB DEVICES

Device URI Model


hp:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?ser HP Color LaserJet Pro MFP M177fw
ial=CNB6G1M9M0


INSTALLED CUPS PRINTER QUEUES

HP_Color_LaserJet_Pro_MFP_M177fw

Type: Printer
Device URI: hp:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNB6G1M9M0
PPD: /etc/cups/ppd/HP_Color_LaserJet_Pro_MFP_M177fw.ppd
PPD Description: HP Color LaserJet Pro MFP m177fw, hpcups 3.14.10, requires proprietary plugin
Printer /usr/lib/cups/backend/hp failedet_Pro_MFP_M177fw disabled since lun. 17 nov. 2014 11:31:37 CET -
Required plug-in status: Installed
Communication status: Good

HP_Color_LaserJet_Pro_MFP_M177fw_fax

Type: Fax
Device URI: hpfax:/usb/HP_Color_LaserJet_Pro_MFP_M177fw?serial=CNB6G1M9M0
PPD: /etc/cups/ppd/HP_Color_LaserJet_Pro_MFP_M177fw_fax.ppd
PPD Description: HP Fax2 hpcups
Printer status: printer HP_Color_LaserJet_Pro_MFP_M177fw_fax is idle. enabled since dim. 16 nov. 2014 16:57:13 CET
Required plug-in status: Installed
Communication status: Good


PERMISSION

USB HP_Color_LaserJet_Pro_MFP_M177fw Required - - OK Node:’/dev/bus/usb/001/009’ Perm:’ root lp --t rw- rw- rw- rw- rw- r–'
No errors or warnings.

Done.[/size]
[/i]
Pourtant en lançant le scan depuis HPLIP ou depuis Xsane l’erreur suivante apparaît:
“Echec de l’obtention de l’option mode: Paramètre non valable.”

En outre j’ai suivi les instructions de ce lien (qui semble traiter la question):
forums.linuxmint.com/viewtopic.php?f=42&t=76930
et j’ai donc ajouté au fichier en question la ligne
ATTRS{idVendor}==“03f0”, ATTRS{idProduct}==“332a”, ENV{libsane_matched}=“yes”

et aussi décommenté la ligne contenant l’expression MODE==“0664” (à tout hasard)

Cela ne change rien au problème en redémarrant le PC et l’imprimante.

Ma question est :question: comment parvenir à scanner avec cette config matérielle ou bien :question: comment faut-il procéder pour faire une réinstallation en Debian 7.6 (et cela réglera-t-il réellement le problème)???

Merci :pray: aux linuxiens avertis (dont je ne fais pas partie!)