Page 1 sur 1

Scanner HP qui ne marche pas

Posté : mar. 7 oct. 2025 15:06
par B@B
Bonjour

J'ai installé une HP 2810e sans soucis (via HPLIP) mais impossible de scanner. Xsane et Numériseur de documents trouvent la HP mais j'ai un message d'erreur de connexion......

Pourquoi ?


Merci

Re: Scanner HP qui ne marche pas

Posté : mar. 7 oct. 2025 17:11
par B@B
Bonjour

j'ai installé HPLIP depuis les dépots et j'ai ensuite utilisé HP device manager

Xsane m'affiche un message "d'erreur d'ouverture du périphérique : hpaio:/usb:deskjet__2800_serie?serial:CN53SJWJHT". Erreur d'entrée/sortie sur le périphérique"

Re: Scanner HP qui ne marche pas

Posté : mar. 7 oct. 2025 17:31
par B@B
Vocii le résultat :

Code : Tout sélectionner

HP Linux Imaging and Printing System (ver. 3.23.12)
Plugin Download and Install Utility ver. 2.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.

warning: It is not recommended to run 'hp-plugin' in a root mode.

HP Linux Imaging and Printing System (ver. 3.23.12)
Plugin Download and Install Utility ver. 2.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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


------------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.23.12 |
------------------------------------------

The driver plugin for HPLIP 3.23.12 appears to already be installed.
Do you wish to download and re-install the plug-in? (y=yes*, n=no, q=quit)

Re: Scanner HP qui ne marche pas

Posté : mar. 7 oct. 2025 17:43
par B@B
Voila :

Code : Tout sélectionner

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y
 
Done.
 
Done
.

Code : Tout sélectionner

bob@bob-B365-HD3:~$ groups
bob adm cdrom sudo dip plugdev users lpadmin sambashare
bob@bob-B365-HD3:~$ sudo dmesg | egrep 'error|fail|warn'
[ 7174.847129] nouveau 0000:01:00.0: fifo:000000:0006:0006:[brave[14686]] errored - disabling channel
[ 7175.433827] nouveau 0000:01:00.0: Direct firmware load for nouveau/nv106_fuc084 failed with error -2
[ 7175.433849] nouveau 0000:01:00.0: Direct firmware load for nouveau/nv106_fuc084d failed with error -2
[ 7175.433855] nouveau 0000:01:00.0: msvld: init failed, -19
[ 7175.628678] nouveau 0000:01:00.0: fifo:000000:0006:0006:[brave[14712]] errored - disabling channel
[ 8431.800871] hp-systray[15918]: segfault at 2 ip 00000000005d6460 sp 00007ffd4b825fc0 error 4 in python3.12[1d6460,420000+2e3000] likely on CPU 4 (core 4, socket 0)

Re: Scanner HP qui ne marche pas

Posté : mar. 7 oct. 2025 17:55
par B@B
pas mieux...

Re: Scanner HP qui ne marche pas

Posté : mar. 7 oct. 2025 18:27
par B@B
Installé : 3.23.12+dfsg0-0ubuntu5
Candidat : 3.23.12+dfsg0-0ubuntu5

Re: Scanner HP qui ne marche pas

Posté : mar. 7 oct. 2025 18:46
par B@B

Code : Tout sélectionner

ii  libsane-common                             1.2.1-7build4                              all          API library for scanners -- documentation and support files
ii  libsane-hpaio:amd64                        3.23.12+dfsg0-0ubuntu5                     amd64        HP SANE backend for multi-function peripherals
ii  libsane1:amd64                             1.2.1-7build4                              amd64        API library for scanners
ii  sane-airscan                               0.99.29-0ubuntu4                           amd64        SANE backend for AirScan (eSCL) and WSD document scanner
ii  sane-utils                                 1.2.1-7build4                              amd64        API library for scanners -- utilities
ii  xsane                                      0.999-12ubuntu4                            amd64        featureful graphical frontend for SANE (Scanner Access Now Easy)
ii  xsane-common                               0.999-12ubuntu4                            all          xsane architecture independent files

Code : Tout sélectionner

bob@bob-B365-HD3:~$ sudo sane-find-scanner -q
[sudo] Mot de passe de bob :             
found possible USB scanner (vendor=0x03f0 [HP], product=0x031b [DeskJet 2800 series]) at libusb:001:006

Code : Tout sélectionner

bob@bob-B365-HD3:~$ scanimage -L
device `hpaio:/usb/DeskJet_2800_series?serial=CN53SJWJHY' is a Hewlett-Packard DeskJet_2800_series all-in-one

Code : Tout sélectionner

bob@bob-B365-HD3:~$ ls /etc/sane.d/
abaton.conf          dll.conf       kvs1025.conf     rts8891.conf
agfafocus.conf       dll.d          leo.conf         s9036.conf
airscan.conf         dmc.conf       lexmark.conf     saned.conf
apple.conf           epjitsu.conf   ma1509.conf      sceptre.conf
artec.conf           epson2.conf    magicolor.conf   sharp.conf
artec_eplus48u.conf  epson.conf     matsushita.conf  sm3840.conf
avision.conf         epsonds.conf   microtek2.conf   snapscan.conf
bh.conf              escl.conf      microtek.conf    sp15c.conf
canon630u.conf       fujitsu.conf   mustek.conf      st400.conf
canon.conf           genesys.conf   mustek_pp.conf   stv680.conf
canon_dr.conf        gphoto2.conf   mustek_usb.conf  tamarack.conf
canon_lide70.conf    gt68xx.conf    nec.conf         teco1.conf
canon_pp.conf        hp3900.conf    net.conf         teco2.conf
cardscan.conf        hp4200.conf    p5.conf          teco3.conf
coolscan2.conf       hp5400.conf    pie.conf         test.conf
coolscan3.conf       hp.conf        pieusb.conf      u12.conf
coolscan.conf        hpsj5s.conf    pixma.conf       umax1220u.conf
dc210.conf           hs2p.conf      plustek.conf     umax.conf
dc240.conf           ibm.conf       plustek_pp.conf  umax_pp.conf
dc25.conf            kodakaio.conf  qcam.conf        xerox_mfp.conf
dell1600n_net.conf   kodak.conf     ricoh.conf

Code : Tout sélectionner

bob@bob-B365-HD3:~$ cat /etc/sane.d/dll.conf
# dll.conf - Configuration file for the SANE dynamic backend loader
#
# Backends can also be enabled by configuration snippets under the dll.d/
# directory -- third party backends can drop their configuration file in
# this in this directory, named after the backend.
#
# The next line enables the network backend; comment it out if you don't
# need to use a remote SANE scanner over the network -- see sane-net(5)
# and saned(8) for details.
net
abaton
agfafocus
apple
artec
artec_eplus48u
as6e
avision
bh
canon
canon630u
canon_dr
canon_lide70
#canon_pp
cardscan
coolscan
#coolscan2
coolscan3
#dc210
#dc240
#dc25
dell1600n_net
dmc
epjitsu
#epson
epson2
epsonds
escl
fujitsu
genesys
#gphoto2
gt68xx
hp
hp3500
hp3900
hp4200
hp5400
hp5590
hpljm1005
hpsj5s
hs2p
ibm
kodak
kodakaio
kvs1025
kvs20xx
kvs40xx
leo
lexmark
ma1509
magicolor
matsushita
microtek
microtek2
mustek
#mustek_pp
mustek_usb
mustek_usb2
nec
niash
#p5
pie
pieusb
pint
pixma
plustek
#plustek_pp
#pnm
qcam
ricoh
ricoh2
rts8891
s9036
sceptre
sharp
sm3600
sm3840
snapscan
sp15c
#st400
#stv680
tamarack
teco1
teco2
teco3
#test
u12
umax
umax1220u
#umax_pp
v4l
xerox_mfp
hp2000S1
hpgt2500

Code : Tout sélectionner

bob@bob-B365-HD3:~$ ls  /lib/udev/rules.d | grep libsane
60-libsane1.rules
99-libsane1.rules
bob@bob-B365-HD3:~$

Re: Scanner HP qui ne marche pas

Posté : mar. 7 oct. 2025 18:56
par B@B

Code : Tout sélectionner

LABEL="libsane_rules_end"

Code : Tout sélectionner

bob@bob-B365-HD3:~$ cat  /lib/udev/rules.d/99-libsane1.rules

ENV{DEVNAME}!="", ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}"
bob@bob-B365-HD3:~$

Re: Scanner HP qui ne marche pas

Posté : mar. 7 oct. 2025 20:18
par B@B

Code : Tout sélectionner

cat  /lib/udev/rules.d/60-libsane1.rules
# This file was generated from description files (*.desc)
# by sane-desc 3.6 from sane-backends 1.2.1-debian
#
# udev rules file for supported USB and SCSI devices
#
# For the list of supported USB devices see /usr/lib/udev/hwdb.d/20-sane.hwdb
#
# The SCSI device support is very basic and includes only
# scanners that mark themselves as type "scanner" or
# SCSI-scanners from HP and other vendors that are entitled "processor"
# but are treated accordingly.
#
# If your SCSI scanner isn't listed below, you can add it to a new rules
# file under /etc/udev/rules.d/.
#
# If your scanner is supported by some external backend (brother, epkowa,
# hpaio, etc) please ask the author of the backend to provide proper
# device detection support for your OS
#
# If the scanner is supported by sane-backends, please mail the entry to
# the sane-devel mailing list (sane-devel@alioth-lists.debian.net).
#
ACTION=="remove", GOTO="libsane_rules_end"

# The following rule will disable USB autosuspend for the device
ENV{DEVTYPE}=="usb_device", ENV{libsane_matched}=="yes", TEST=="power/control", ATTR{power/control}="on"

SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin"
GOTO="libsane_rules_end"

LABEL="libsane_scsi_rules_begin"
KERNEL!="sg[0-9]*", GOTO="libsane_rules_end"

# Generic: SCSI device type 6 indicates a scanner
ATTRS{type}=="6", ENV{libsane_matched}="yes"

# Some scanners advertise themselves as SCSI device type 3

# Wildcard: for some Epson SCSI scanners
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="SCANNER*", ENV{libsane_matched}="yes"

# Epson Expression 800 | Epson Expression 800
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Expression800", ENV{libsane_matched}="yes"

# Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9700", ENV{libsane_matched}="yes"

# Epson Perfection 3200 | Epson GT-9800F | Epson Perfection 3200 PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9800", ENV{libsane_matched}="yes"

# Epson GT-X900 | Epson Perfection V700 Photo | Epson Perfection V750 Photo
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-X900", ENV{libsane_matched}="yes"

# Epson Perfection 636S | Epson Perfection 1200S | Epson Perfection 1200S
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1200", ENV{libsane_matched}="yes"

# Epson Perfection 1640SU | Epson Perfection 1640SU PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1640", ENV{libsane_matched}="yes"

# Epson Perfection 636 | Epson Perfection 636S
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection636", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 4p
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1130A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet IIc
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1750A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet IIp
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1790A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet IIcx
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2500A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 4c
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2520A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 5p
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C5110A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 6200C
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C6270A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 6300C
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C7670A", ENV{libsane_matched}="yes"


LABEL="libsane_rules_end"

Re: Scanner HP qui ne marche pas

Posté : mer. 8 oct. 2025 09:28
par B@B
Finalement, j'ai trouvé une solution qui marche.

J'ai suivi ce tuto : https://linuxcapable.com/how-to-install ... ora-linux/


Merci pour votre patience et soutien ;-)