Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 10/03/2020, à 10:34

genevrier

Xsane ne fonctionne pas...

Bonjour,

Je suis sous Ubuntu 18.04 et je dispose d'un périphérique HP laserjet 3020 et j'ai installé Xsane ...qui ne fonctionne pas !
Si je lance un scan, le résultat est ...une page quasi blanche...
J'ai installé HPlip 3.17
Qui aurait une idée ?
D'avance merci

Hors ligne

#2 Le 10/03/2020, à 10:36

xubu1957

Re : Xsane ne fonctionne pas...


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#3 Le 10/03/2020, à 10:46

genevrier

Re : Xsane ne fonctionne pas...

Que souhaitez-vous comme info supplémentaire ?

Hors ligne

#4 Le 10/03/2020, à 10:50

xubu1957

Re : Xsane ne fonctionne pas...

sylvain3800 a écrit :

si tu as une HP:

 dpkg -l | grep hplip
hp-check

B.2 )Les infos a donner quel que soit la marque de l'imprimante 

il suffit de copier/coller ces commandes :

dpkg -l | grep cups
lpstat -t
/usr/sbin/lpinfo -v
cat /var/log/cups/error_log
dpkg -l | grep -v ^ii


C ] les infos a donner si ton problème est un problème de scanner .

Bon des fois  c'est le scanner qui veux pas scanner a lors dans ce cas là , c'est ces commandes qui sont intéressante pour les aidants
quel que soit la marque du scanner 

dpkg -l | grep sane
sane-find-scanner
sudo sane-find-scanner
scanimage -L
ls /etc/sane.d/
cat /etc/sane.d/dll.conf
ls  /lib/udev/rules.d | grep libsane

Dernière modification par xubu1957 (Le 10/03/2020, à 10:52)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#5 Le 10/03/2020, à 11:00

genevrier

Re : Xsane ne fonctionne pas...

michel51@michel51-ThinkCentre-M72e:~$  dpkg -l | grep hplip
ii  hplip                                         3.17.10+repack0-5                                amd64        HP Linux Printing and Imaging System (HPLIP)
ii  hplip-data                                    3.17.10+repack0-5                                all          HP Linux Printing and Imaging - data files
 _____________________________________
/ Deux choses ne se peuvent cacher :  \
| l'ivresse et l'amour.               |
|                                     |
\ -+- Antiphane (405-333 av J.C.) -+- /
 -------------------------------------
   \
    \
        .--.
       |o_o |
       |:_/ |
      //   \ \
     (|     | )
    /'\_   _/`\
    \___)=(___/

michel51@michel51-ThinkCentre-M72e:~$ hp-check
Saving output in log file: /home/michel51/hp-check.log

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

/Gtk-Message: 10:59:33.251: Failed to load module "canberra-gtk-module"
-Gtk-Message: 10:59:33.355: Failed to load module "canberra-gtk-module"
 
---------------
| SYSTEM INFO |
---------------

 Kernel: 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 GNU/Linux
 Host: michel51-ThinkCentre-M72e
 Proc: 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 GNU/Linux
 Distribution: 12 18.04
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.20.2
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro  18.04 version 

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

[hplip]
version=3.20.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.20.2
html=/usr/share/doc/hplip-3.20.2
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.20.2
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
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:
Plugins are not installed. Could not access file: Aucun fichier ou dossier de ce type

Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1583795056
pending_upgrade_time = 0
latest_available_version = 3.17.10

[installation]
date_time = 10/03/20 10:59:34
version = 3.20.2


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

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

 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               7.4.0           OK         -
 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         -

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

 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           OK         -
 python-xml           Python XML libraries                                         REQUIRED        -               2.2.5           OK         -
 libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.7.3           OK         -
 sane-devel           SANE - Scanning library development files                    REQUIRED        -               -               OK         -
 pil                  PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               5.1.0           OK         -
 pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4                         REQUIRED        4.0             4.12.1          OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               2.27            OK         -
 python-devel         Python devel - Python development files                      REQUIRED        2.2             2.7.17          OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.2.7           OK         -
 python-dbus          Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.6           OK         -
 cups-ddk             CUPS DDK - CUPS driver development kit                       OPTIONAL        -               -               OK         -
 reportlab            Reportlab - PDF library for Python                           OPTIONAL        2.0             3.4.0           OK         -
 pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.12.1          OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.2.7           OK         -
 python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.17          OK         -
 python-notify        Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -

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

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

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

 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.26            OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.27          OK         -
 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.2.7           OK         'CUPS Scheduler is running'
 network              network -wget                                                OPTIONAL        -               1.19.4          OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
Gtk-Message: 10:59:38.226: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:59:38.251: Failed to load module "canberra-gtk-module"
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.12.2          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             OK         -

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

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

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

No Scanner found.

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

No devices found.

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

 


Type: Printer
Device URI: hp:/usb/hp_LaserJet_3020?serial=00CNBF048758
error: Unable to communicate with device (code=12): hp:/usb/hp_LaserJet_3020?serial=00CNBF048758
error: Device not found
error: Communication status: Failed



Type: Fax
Device URI: hpfax:/usb/hp_LaserJet_3020?serial=00CNBF048758
error: Unable to communicate with device (code=12): hpfax:/usb/hp_LaserJet_3020?serial=00CNBF048758
error: Device not found
error: Communication status: Failed



Type: Printer
Device URI: hp:/usb/hp_LaserJet_3020?serial=00CNBF048758
error: Unable to communicate with device (code=12): hp:/usb/hp_LaserJet_3020?serial=00CNBF048758
error: Device not found
error: Communication status: Failed



Type: Fax
Device URI: hpfax:/usb/hp_LaserJet_3020?serial=00CNBF048758
error: Unable to communicate with device (code=12): hpfax:/usb/hp_LaserJet_3020?serial=00CNBF048758
error: Device not found
error: Communication status: Failed


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

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

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

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


Total Errors: 4
Total Warnings: 0


Done.

Hors ligne

#6 Le 10/03/2020, à 11:01

genevrier

Re : Xsane ne fonctionne pas...

$ dpkg -l | grep sane
ii  libcommon-sense-perl                          3.74-2build2                                     amd64        module that implements some sane defaults for Perl programs
ii  libimage-sane-perl                            0.14-1build2                                     amd64        Perl extension for the SANE (Scanner Access Now Easy) Project
ii  libkf5sane-data                               17.12.3-0ubuntu1                                 all          scanner library (data files)
ii  libkf5sane5                                   17.12.3-0ubuntu1                                 amd64        scanner library (runtime)
ii  libsane-common                                1.0.27-1~experimental3ubuntu2.2                  all          API library for scanners -- documentation and support files
ii  libsane-dev:amd64                             1.0.27-1~experimental3ubuntu2.2                  amd64        API development library for scanners [development files]
ii  libsane-hpaio:amd64                           3.17.10+repack0-5                                amd64        HP SANE backend for multi-function peripherals
ii  libsane1:amd64                                1.0.27-1~experimental3ubuntu2.2                  amd64        API library for scanners
ii  sane                                          1.0.14-12build1                                  amd64        scanner graphical frontends
ii  sane-utils                                    1.0.27-1~experimental3ubuntu2.2                  amd64        API library for scanners -- utilities
ii  xsane                                         0.999-5ubuntu2                                   amd64        featureful graphical frontend for SANE (Scanner Access Now Easy)
ii  xsane-common                                  0.999-5ubuntu2                                   all          xsane architecture independent files
michel51@michel51-ThinkCentre-M72e:~$ 

Hors ligne

#7 Le 11/03/2020, à 09:33

xubu1957

Re : Xsane ne fonctionne pas...

Bonjour,

3 retours sur 14 demandés !!!

Vu :

error: Unable to communicate with device (code=12): hp:/usb/hp_LaserJet_3020?serial=00CNBF048758
Le 14/04/2019, ylag a écrit :

Salut,

Au risque de dire une bêtise, le problème pourrait-il être lié au remplacement des cartouches d'encre (error code=12, vu dans le retour au #21) ?

Peut-être une piste là: HP DeskJet 2130 Printer Protected Cartridge Error – How to Disable

A+

dans > [RESOLU] Pilotes HP DESKJET 2130


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#8 Le 11/03/2020, à 09:42

genevrier

Re : Xsane ne fonctionne pas...

Je ne vois pas de lien entre la cartouche et le scanner ....
D'autre part, l'imprimante fonctionne très bien !

Hors ligne

#9 Le 11/03/2020, à 09:47

xubu1957

Re : Xsane ne fonctionne pas...

Vu la Doc au § 5 > hplip#installer_le_scanner_multifonctions

Que donne :

hp-scan

?


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#10 Le 11/03/2020, à 09:59

genevrier

Re : Xsane ne fonctionne pas...

 hp-scan

HP Linux Imaging and Printing System (ver. 3.20.2)
Scan Utility ver. 2.2

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.

warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/usb/hp_LaserJet_3020?serial=00CNBF048758
Opening connection to device...
error: Unable to set option source to value Flatbed

Resolution: 300dpi
Mode: gray
Compression: JPEG
Scan area (mm):
  Top left (x,y): (0.000000mm, 0.000000mm)
  Bottom right (x,y): (228.599991mm, 381.000000mm)
  Width: 228.599991mm
  Height: 381.000000mm
Destination(s): file
Output file: 
warning: File destination enabled with no output file specified.
Setting output format to PNG for greyscale mode.
warning: Defaulting to '/home/michel51/hpscan001.png'.

Warming up...
 

Scanning...
Reading data: [\                                          ] 0%     
error: No data read.
Closing device.
michel51@michel51-ThinkCentre-M72e:~$ 

Hors ligne

#11 Le 11/03/2020, à 10:07

xubu1957

Re : Xsane ne fonctionne pas...

Fournis :

sane-find-scanner
sudo sane-find-scanner
scanimage -L

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#12 Le 11/03/2020, à 12:09

genevrier

Re : Xsane ne fonctionne pas...

sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

could not open USB device 0x0bda/0x0186 at 002:004: Access denied (insufficient permissions)
could not open USB device 0x1267/0x0103 at 002:003: Access denied (insufficient permissions)
could not open USB device 0x0781/0x558b at 002:006: Access denied (insufficient permissions)
could not open USB device 0x8087/0x0024 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1267/0x0210 at 001:003: Access denied (insufficient permissions)
could not open USB device 0x1058/0x1140 at 001:004: Access denied (insufficient permissions)
could not open USB device 0x8087/0x0024 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller and have setup
  # the USB system correctly. See man sane-usb for details.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
 sudo sane-find-scanner
[sudo] Mot de passe de michel51 : 

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller and have setup
  # the USB system correctly. See man sane-usb for details.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.
 scanimage -L
device `hpaio:/usb/hp_LaserJet_3020?serial=00CNBF048758' is a Hewlett-Packard hp_LaserJet_3020 all-in-one

Hors ligne

#13 Le 11/03/2020, à 12:20

xubu1957

Re : Xsane ne fonctionne pas...

En lançant en commande :

xsane

ressort-il un message d'erreur ?

Je repique dans > ./viewtopic.php?pid=21913219#p21913219


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#14 Le 11/03/2020, à 12:31

genevrier

Re : Xsane ne fonctionne pas...

xsane
Gtk-Message: 12:29:59.118: Failed to load module "canberra-gtk-module"

Hors ligne