Problèmes et questions concernant le noyau et le support matériel.
Répondre

Erreur 5012 HP

#1Messageil y a 8 ans

Installation toute fraîche, je n'arrive pas à faire fonctionner ma HP officejet 6700 all-in-one..
J'ai déjà ramé pour l'installer (problèmes de privilèges).
Ca, j'ai résolu par :

gpasswd -a [nom_d'utilisateur] lp
gpasswd -a [nom_d'utilisateur] sys
gpasswd -a [nom_d'utilisateur] scanner

L'impimante a bien une IP fixe et elle est bien appelée par son IP...mais l'impression se lance, puis se plante : erreur 5012
Le diagnostic me raconte une histoire de "rendering completed"...
Dernière modification par nam1962il y a 8 ans, modifié au total 1 fois.

Erreur 5012 HP

#2Messageil y a 8 ans

Perso, pour rajouter les groupes à l'user toto je passe cette commande :

# usermod -aG lp,scanner,sys toto

Erreur 5012 HP

#3Messageil y a 8 ans

Penses tu que je doive le passer ?
Sinon, mon imprimante fonctionne correctement avec Manjaro ou Antergos en USB et avec Xubuntu en Wifi.

Erreur 5012 HP

#4Messageil y a 8 ans

J'ai fait quelques recherches rapides, et cela semble lié à un problème d'IP. Assez chiant au passage.

Tu as installé HPLIP ou pas ? Et est-ce que le panneau cups fonctionne bien ? À saisir dans la barre d'URL de ton navigateur internet :

localhost:631

Erreur 5012 HP

#5Messageil y a 8 ans

Hplip est là, j'ai tenté les installs via cups, via hp-setup, via l'interface GUI...
L'imprimante est bien déclarée sous son iP.
et.... comme je dis, ça fonctionne parfaitement avec Xubuntu....

Erreur 5012 HP

#6Messageil y a 8 ans

comment as-tu lancé Hp-setup ? j'ai aussi une HP et le seul moyen de la configurer correctement est de lancer Hp-setup en Root (ou avec Sudo).

Erreur 5012 HP

#7Messageil y a 8 ans

Je viens de tenter... 5012...
Bon, j'ai aussi installé hpoj pour voir.
pour le moment j'ai çà :

~]$ hp-check -t
Saving output in log file: /home/asatysco2/hp-check.log

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

Copyright (c) 2001-15 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: manjarolinux distro is not found in AUTH_TYPES
warning: unknown- version is not supported. Using unknown-0 versions dependencies to verify and install...

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

 Kernel: 3.18.17-1-MANJARO #1 SMP PREEMPT Tue Jun 30 16:33:51 UTC 2015 GNU/Linux
 Host: ordi2
 Proc: 3.18.17-1-MANJARO #1 SMP PREEMPT Tue Jun 30 16:33:51 UTC 2015 GNU/Linux
 Distribution: unknown
 Bitness: 64 bit


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

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

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

[hplip]
version=3.15.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.15.6
html=/usr/share/doc/hplip-3.15.6
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=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=yes
internal-tag=3.15.6
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.15.6


Current contents of '~/.hplip/hplip.conf' file:
[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/net/Officejet_6700?ip=192.168.0.24"
printer_name = Officejet_6700
working_dir = .

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

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[upgrade]
notify_upgrade = false
last_upgraded_time = 1436085460
pending_upgrade_time = 0

[installation]
date_time = 07/06/15 10:04:06
version = 3.15.6


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

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

 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.0.3           OK         'CUPS Scheduler is running'
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.8.18          OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.24          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.6.31          OK         -
 network              network -wget                                                OPTIONAL        -               1.16.3          OK         -
 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.16            OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.113           OK         -

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

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

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

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

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

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

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

 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.15.6          OK         -
'/etc/sane.d/dll.d/hpaio' not found.
'/etc/sane.d/dll.d/hplip' not found.
error: 'hpaio' not found in SANE conf files. Is SANE installed?
 error: hpaio         HPLIP-SANE-Backend                                           REQUIRED        -               3.15.6          MISSING    'hpaio not found in /etc/sane.d/dll.conf. hpaio needs to be added in this file.'

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


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

device `v4l:/dev/video0' is a Noname HP Truevision HD virtual device


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

No devices found.

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

 
Officejet_6700
--------------
Type: Printer
Device URI: hp:/net/Officejet_6700?ip=192.168.0.24
PPD: /etc/cups/ppd/Officejet_6700.ppd
PPD Description: HP Officejet 6700 hpijs, 3.15.6
Printer status: printer Officejet_6700 is idle.  enabled since lun. 06 juil. 2015 10:03:42 CEST
error: Unable to communicate with device (code=12): hp:/net/Officejet_6700?ip=192.168.0.24
error: unable to open channel
error: Communication status: Failed


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

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

Missing Required Dependencies
-----------------------------
error: 'hpaio' package is missing/incompatible

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


Total Errors: 3
Total Warnings: 0

Run 'hp-doctor' command to prompt and fix the issues.

Done.

et ceci :

~]$ hp-doctor

HP Linux Imaging and Printing System (ver. 3.15.6)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-15 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.

warning: manjarolinux distro is not found in AUTH_TYPES
 

Checking for Deprecated items....
error: This distro (i.e unknown  ) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):y


Checking for HPLIP updates....
error: HPLIP upgrade is disabled by Archlinux for security reasons, see https://bugs.archlinux.org/task/38083 - if you like to upgrade HPLIP, use the Archlinux software package manager pacman.

Done.
error: Failed to upgrade latest HPLIP. Is hp-upgrade already running (i.e. foreground or background)?


Checking for Dependencies....
warning: unknown- version is not supported. Using unknown-0 versions dependencies to verify and install...

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

 Kernel: 3.18.17-1-MANJARO #1 SMP PREEMPT Tue Jun 30 16:33:51 UTC 2015 GNU/Linux
 Host: ordi2
 Proc: 3.18.17-1-MANJARO #1 SMP PREEMPT Tue Jun 30 16:33:51 UTC 2015 GNU/Linux
 Distribution: unknown
 Bitness: 64 bit


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

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

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

[hplip]
version=3.15.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.15.6
html=/usr/share/doc/hplip-3.15.6
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=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=yes
internal-tag=3.15.6
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.15.6


Current contents of '~/.hplip/hplip.conf' file:
[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/net/Officejet_6700?ip=192.168.0.24"
printer_name = Officejet_6700
working_dir = .

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

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[upgrade]
notify_upgrade = false
last_upgraded_time = 1436085460
pending_upgrade_time = 0

[installation]
date_time = 07/06/15 10:06:05
version = 3.15.6


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

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

 dbus                 DBus - Message bus system                                    REQUIRED        -               1.8.18          OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.113           OK         -
 network              network -wget                                                OPTIONAL        -               1.16.3          OK         -
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.16            OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.24          OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.6.31          OK         -
 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.0.3           OK         'CUPS Scheduler is running'

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

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

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

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

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

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

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

'/etc/sane.d/dll.d/hpaio' not found.
'/etc/sane.d/dll.d/hplip' not found.
error: 'hpaio' not found in SANE conf files. Is SANE installed?
 error: hpaio         HPLIP-SANE-Backend                                           REQUIRED        -               3.15.6          MISSING    'hpaio not found in /etc/sane.d/dll.conf. hpaio needs to be added in this file.'
 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.15.6          OK         -

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


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

device `v4l:/dev/video0' is a Noname HP Truevision HD virtual device


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

No devices found.

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

 
Officejet_6700
--------------
Type: Printer
Device URI: hp:/net/Officejet_6700?ip=192.168.0.24
PPD: /etc/cups/ppd/Officejet_6700.ppd
PPD Description: HP Officejet 6700 hpijs, 3.15.6
Printer status: printer Officejet_6700 is idle.  enabled since lun. 06 juil. 2015 10:03:42 CEST
error: Unable to communicate with device (code=12): hp:/net/Officejet_6700?ip=192.168.0.24
error: unable to open channel
error: Communication status: Failed


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

Missing Required Dependencies
-----------------------------
error: 'hpaio' package is missing/incompatible


ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password:



..Si une bonne âme y voit plus clair que moi là dedans... :sos:

Erreur 5012 HP

#8Messageil y a 8 ans

À ce que j'ai pu comprendre, tu as déjà une erreur au niveau du /etc/sane.d/dll.conf malgré l'installation de Sane. hpaio semble absent ?

Gnnn ?

Essaye déjà ça, ça aidera peut-être, car ton problème est bizarre !

https://wiki.archlinux.fr/Sane#HP

Erreur 5012 HP

#9Messageil y a 8 ans

Ayé ! Résolu ! C'était tordu (et un poil incompréhensible)
Bon, j'ai suivi ton conseil et décommenté hpaio (ça ne peut pas faire de mal) mais ce n'était pas ça du tout !
En fait, par curiosité j'ai changé l'IP fixe de mon imprimante et du coup testé en entrant la nouvelle IP dans ma barre d'adresses depuis l'ordi en USB.
...quand on force l'IP, il faut aussi forcer les DNS.
...et là j'ai vu que mes DNS étaient obsolètes !
Le grand mystère est : pourquoi j'arrivais à imprimer depuis ma Xubuntu en wifi... (Et pourquoi depuis la Manjaro, ça imprimait le début de la page avant de faire l'erreur 5012)

Erreur 5012 HP

#10Messageil y a 8 ans

C'est quoi cette imprimate déjà, que je l'évite ? :D

Les imprimantes en wifi, ce sont comme les claviers et souris en bluetooth : j'évite au maximum, car c'est monstrueusement laxatif à dépanner.

Erreur 5012 HP

#11Messageil y a 8 ans

les imprimantes en wifi sont juste des imprimantes autonomes qui se connectent à une passerelle (une box) et embarquent un serveur Cups en mode partage (ce qui du reste est par défaut dans Cups). elles ne se connectent pas directement au PC.
concrètement, c'est exactement la même chose que si un PC du réseau partageait son imprimante USB.

par contre, si on s'aperçoit d'un problème au niveau configuration réseau de cette imprimante, on peut déjà voir si on peut bloquer son IP dans la config de la box (tout en restant en DHCP, la plupart des box le permettent); ensuite, il faut essayer de trouver pourquoi l'IP est perdue, et si on peut régler ça sur le PC (/etc/hosts).
et ne pas pas oublier que si une imprimante se connecte à la box en wifi, elle est suceptible de rencontrer les mêmes problèmes qu'un PC qui se connecte de la même façon: interférences, éloignement trop important...

NB: "hpaio" concerne le scanner, et si on a "net" qui est décommenté, on peut scanner en réseau.

Erreur 5012 HP

#12Messageil y a 8 ans

FredBezies a écrit :C'est quoi cette imprimate déjà, que je l'évite ? :D

Les imprimantes en wifi, ce sont comme les claviers et souris en bluetooth : j'évite au maximum, car c'est monstrueusement laxatif à dépanner.


Une HP Officejet 6700, mais je pense qu'il y a bien pire !
Pour le laxatif, tu as raison.
Cela dit, c'est intéressant comme antitussif du coup.

Erreur 5012 HP

#13Messageil y a 8 ans

Je passe souvent pour un vieux con quand je dis que je préfère avoir soit une imprimante, soit un clavier, soit une souris en connexion filaire.

Au moins, quand ça part en cacahuètes, on est certain que le matériel est en cause et que ce n'est pas un sombre réglage caché au fin fonds des tripes de l'ordinateur qui corrigera le problème.

Erreur 5012 HP

#14Messageil y a 8 ans

+1 pour la souris et le clavier ;)

Erreur 5012 HP

#15Messageil y a 8 ans

Bienvenue en 2015. [] =>

Erreur 5012 HP

#16Messageil y a 8 ans

S3B a écrit :Bienvenue en 2015. [] =>


Elle est facile, celle-ci :maître:
Répondre