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 14/11/2020, à 13:53

tilt2

[Résolu] utilisation impossible d'un scanner USB Canon LiDE 400

Bonjour
Je tente d'utiliser sans succès  un scanner USB  Canon LiDE 400

Système :

cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
uname -i
x86_64

groups 
 adm cdrom sudo dip plugdev lpadmin scanner lxd sambashare

Anomalies obtenues :
simple-scan :
détecte le scanner
le déclenchement du scan renvoie "Failed to scan , unable to connect to scanner"

scangearmp2 :
au lancement de l'application : "Impossible de trouver les scanners disponibles. le câble est peut-être débranché ou le scanner est hors tension"
l'application lancée, mettre jour la liste des scanner n'améliore pas la situation.

xsane :
au lancement de l'application : "Erreur d’ouverture du périphérique `pixma:04A91912`: Périphérique occupé`
 
J'ai tenté de corriger cette anomalie en suivant les tutos: 
https://doc.ubuntu-fr.org/tutoriel/inst … ante_canon
https://doc.ubuntu-fr.org/scanner_usb_non_reconnu

Mais rien ni a fait.
Cependant, j'ai remarqué ceci :

sudo sane-find-scanner -q
found USB scanner (vendor=0x413c [Broadcom Corp], product=0x8197 [BCM20702A0]) at libusb:001:003
found USB scanner (vendor=0x04a9 [Canon], product=0x1912 [LiDE 400]) at libusb:003:003

scanimage -L
device `pixma:04A91912' is a CANON CanoScan LiDE 400 multi-function peripheral

lsusb 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 001 Device 004: ID 1bcf:2895 Sunplus Innovation Technology Inc.  
Bus 001 Device 003: ID 413c:8197 Dell Computer Corp.  
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 
Bus 003 Device 006: ID 04a9:1912 Canon, Inc. LiDE 400 
Bus 003 Device 003: ID 0461:4d22 Primax Electronics, Ltd USB Optical Mouse 
Bus 003 Device 002: ID 1a2c:2124 China Resource Semico Co., Ltd USB Keyboard 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Et lorsque je débranche le scanner :

sudo sane-find-scanner -q
found USB scanner (vendor=0x413c [Broadcom Corp], product=0x8197 [BCM20702A0]) at libusb:001:003

scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).


lsusb 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 001 Device 004: ID 1bcf:2895 Sunplus Innovation Technology Inc.  
Bus 001 Device 003: ID 413c:8197 Dell Computer Corp.  
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 
Bus 003 Device 003: ID 0461:4d22 Primax Electronics, Ltd USB Optical Mouse 
Bus 003 Device 002: ID 1a2c:2124 China Resource Semico Co., Ltd USB Keyboard 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Mon système trouve donc un scanner "fantôme". Je pense que c'est ce qui est à l’origine de mon problème.

Je n'ai pas trouvé l'origine de cette déclaration en cherchant dans 
/usr/lib/udev/rules.d/60-libsane.rules et sous usr/lib/udev/rules.d/*



dpkg -l | grep sane
ii  libcommon-sense-perl                                        3.74-2build6                                amd64        module that implements some sane defaults for Perl programs
ii  libsane:amd64                                               1.0.29-0ubuntu5.2                           amd64        API library for scanners
ii  libsane-common                                              1.0.29-0ubuntu5.2                           all          API library for scanners -- documentation and support files
rc  libsane-hpaio:amd64                                         3.20.3+dfsg0-2                              amd64        HP SANE backend for multi-function peripherals
ii  sane                                                        1.0.14-15                                   amd64        scanner graphical frontends
ii  sane-utils                                                  1.0.29-0ubuntu5.2                           amd64        API library for scanners -- utilities
ii  xsane                                                       0.999-8ubuntu2                              amd64        featureful graphical frontend for SANE (Scanner Access Now Easy)
ii  xsane-common                                                0.999-8ubuntu2                              all          xsane architecture independent files


ls /etc/sane.d/
abaton.conf          dll.d          leo.conf         s9036.conf
agfafocus.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_pp.conf        gt68xx.conf    nec.conf         teco1.conf
canon_sav.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
dll.conf             kvs1025.conf   rts8891.conf


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_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

ls  /lib/udev/rules.d | grep libsane
60-libsane.rules

Comment retrouver les infos liées a cette déclaration ?
Comment supprimer cette déclaration  ?

Dernière modification par tilt2 (Le 14/11/2020, à 18:38)

Hors ligne

#2 Le 14/11/2020, à 14:02

xubu1957

Re : [Résolu] utilisation impossible d'un scanner USB Canon LiDE 400

Bonjour,

Tu as cette discussion > LIDE 400 Canon installation avec Ubuntu


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

Hors ligne

#3 Le 14/11/2020, à 18:37

tilt2

Re : [Résolu] utilisation impossible d'un scanner USB Canon LiDE 400

Cela a  débloqué la situation
Merci de cette réponse aussi rapide

Hors ligne