logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 12-03-2017 14:32:40

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

[terminé] hplip et hp envy 5536

bonjour à tous et à toutes .

j'ai un gros problème :

voilà je suis en pleine procédure de résiliation de mes contrats avec sfr et voilà que mon imprimante me lâche  ....

quand il faut pas bien sûr .

elle est connectée en usb sur ma carte usb 3.0

et , malheureusement , elle n'est pas reconnue .

voilà ce que me dit hp -levels (controle du niveau d'encre )

alain@debian:~$ hp-levels

HP Linux Imaging and Printing System (ver. 3.16.11)
Supply Levels Utility ver. 2.0

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.

Using device : hp:/usb/ENVY_5530_series?serial=CN595530XD06BX

error: Unable to communicate with device (code=12): hp:/usb/ENVY_5530_series?serial=CN595530XD06BX
error: Error opening device (Device not found). Exiting.
alain@debian:~$



et voilà ce que me donne hp-check

alain@debian:~$ hp-check
Saving output in log file: /home/alain/hp-check.log

HP Linux Imaging and Printing System (ver. 3.16.11)
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: 2-8.7 version is not supported. Using 2-8.6 versions dependencies to verify and install...

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

Kernel: 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) GNU/Linux
Host: debian
Proc: 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) GNU/Linux
Distribution: 2 8.7
Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.16.11
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 2 distro  8.7 version

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

[hplip]
version=3.16.11

[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.11
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=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:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[fax]
email_address =
voice_phone =

[installation]
date_time = 03/12/17 14:26:06
version = 3.16.11

[last_used]
device_uri = hp:/usb/ENVY_5530_series?serial=CN595530XD06BX
printer_name =
working_dir = .

[polling]
device_list =
enable = false
interval = 5

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

[settings]
systray_messages = 0
systray_visible = 0

[upgrade]
last_upgraded_time = 1484859605
notify_upgrade = true
pending_upgrade_time = 0


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

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

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

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

make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.0             OK         -
libtool              libtool - Library building support services                  REQUIRED        -               2.4.2           OK         -
gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               4.9.2           OK         -

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

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

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

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

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

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

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

device `hpaio:/net/envy_5530_series?ip=192.168.1.97&queue=false' is a Hewlett-Packard envy_5530_series all-in-one
device `v4l:/dev/video1' is a Noname Hauppauge WinTV-HVR1120 DVB-T/H virtual device


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

No devices found.

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


ENVY_5530
---------
Type: Printer
Device URI: hp:/usb/ENVY_5530_series?serial=CN595530XD06BX
PPD: /etc/cups/ppd/ENVY_5530.ppd
PPD Description: HP Envy 5530 Series, hpcups 3.16.11
Printer status: printer ENVY_5530 disabled since dim. 12 mars 2017 14:03:30 CET -       Unplugged or turned off
error: Unable to communicate with device (code=12): hp:/usb/ENVY_5530_series?serial=CN595530XD06BX
error: Device not found
error: Communication status: Failed


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


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

Missing Required Dependencies
-----------------------------
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible

Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible

Total Errors: 3
Total Warnings: 0


Done.
alain@debian:~$



message hplip :

device communication error (5012)

après plusieurs branchés / débranchés du cable usb sur ma carte usb 3.0 : pas mieux
branchement sur un port usb 2.0 de la carte mère : ok

finalement , j'ai paniqué pour rien . (apparemment)

Edit à toto :

Utilisation des balises Commande user en exemple pour que ce soit plus lisible sur le forum plutôt qu'avec quote qui sert aux citations :

hp-levels


HP Linux Imaging and Printing System (ver. 3.16.11)
Supply Levels Utility ver. 2.0

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.

Using device : hp:/usb/ENVY_5530_series?serial=CN595530XD06BX

error: Unable to communicate with device (code=12): hp:/usb/ENVY_5530_series?serial=CN595530XD06BX
error: Error opening device (Device not found). Exiting.



et voilà ce que me donne hp-check

hp-check


Saving output in log file: /home/alain/hp-check.log

HP Linux Imaging and Printing System (ver. 3.16.11)
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: 2-8.7 version is not supported. Using 2-8.6 versions dependencies to verify and install...

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

 Kernel: 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) GNU/Linux
 Host: debian
 Proc: 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) GNU/Linux
 Distribution: 2 8.7
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.16.11
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 2 distro  8.7 version

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

[hplip]
version=3.16.11

[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.11
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=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:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[fax]
email_address =
voice_phone =

[installation]
date_time = 03/12/17 14:26:06
version = 3.16.11

[last_used]
device_uri = hp:/usb/ENVY_5530_series?serial=CN595530XD06BX
printer_name =
working_dir = .

[polling]
device_list =
enable = false
interval = 5

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

[settings]
systray_messages = 0
systray_visible = 0

[upgrade]
last_upgraded_time = 1484859605
notify_upgrade = true
pending_upgrade_time = 0


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

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

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

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

 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.0             OK         -
 libtool              libtool - Library building support services                  REQUIRED        -               2.4.2           OK         -
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               4.9.2           OK         -

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

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

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

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

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

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

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

device `hpaio:/net/envy_5530_series?ip=192.168.1.97&queue=false' is a Hewlett-Packard envy_5530_series all-in-one
device `v4l:/dev/video1' is a Noname Hauppauge WinTV-HVR1120 DVB-T/H virtual device


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

No devices found.

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

 
ENVY_5530
---------
Type: Printer
Device URI: hp:/usb/ENVY_5530_series?serial=CN595530XD06BX
PPD: /etc/cups/ppd/ENVY_5530.ppd
PPD Description: HP Envy 5530 Series, hpcups 3.16.11
Printer status: printer ENVY_5530 disabled since dim. 12 mars 2017 14:03:30 CET -       Unplugged or turned off
error: Unable to communicate with device (code=12): hp:/usb/ENVY_5530_series?serial=CN595530XD06BX
error: Device not found
error: Communication status: Failed


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

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

Missing Required Dependencies
-----------------------------
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible

Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible

Total Errors: 3
Total Warnings: 0


Done.

Dernière modification par Debian Alain (01-05-2017 08:55:16)

Hors ligne

#2 13-03-2017 20:29:14

al louarn
Membre
Distrib. : Buster
Noyau : Linux 4.19.0-23-amd64
(G)UI : lightdm-xsession/xfce
Inscription : 21-02-2012

Re : [terminé] hplip et hp envy 5536

Salut et bienvenue à toi.

Quel bureau as-tu ? car dans tes messages d'erreur tu as du Qt (Kde) et du Gtk (gnome)

Missing Required Dependencies
-----------------------------
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible

Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible


Donc selon ton bureau, en adaptant le nom du paquet, tu peux faire un

apt install python3-pyqt4


Copicolles aussitot un retour d'erreur, au cas où.
Si tu ne suis pas tes mises à jour il est préférable de se remettre à jour auparavant :

apt update


Quand t'auras 5 minutes, Voir le tuto : Trop cool d'indiquer son installation dans son profil !

Et n'oublies pas les balises (commande, code...)


Debianophile = DebiaNoGeek

Hors ligne

#3 05-04-2017 10:46:41

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

Re : [terminé] hplip et hp envy 5536

merci al louarn .

mon bureau c'est du gnome

donc du gtk si j'ai bien compris

Hors ligne

Pied de page des forums