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.

#26 Le 17/05/2021, à 07:27

nany

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

Bonjour,


Donne les retours de :

sudo apt install -y libsane-extras
cat /lib/udev/rules.d/60-libsane1.rules
cat /etc/sane.d/canon630u.conf
cat /etc/sane.d/canon.conf
cat /etc/sane.d/canon_dr.conf
ls -l /usr/share/applications

 

Et y a-t-il un message d’erreur si tu lances

scangearmp2

?

Dernière modification par nany (Le 17/05/2021, à 22:21)

Hors ligne

#27 Le 17/05/2021, à 19:16

otamendia

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

Salut  nany et merci de répondre :
- pour "sudo apt install -y lisane-extras" :

Pakete Zerrenda irakurtzen... Eginda
Dependentzia zuhaitza eraikitzen       
Egoera argibideak irakurtzen... Eginda
E: Ezin da lisane-extras paketea lokalizatu

En Basque : le paquet lisane-extras ne peut pas être localisé

- pour "cat /lib/udev/rules.d/60-libsane1.rules" :

# This file was automatically created based on description files (*.desc)
#
# 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@lists.alioth.debian.org).
#
ACTION!="add", 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 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"

- pour "cat /lib/udev/rules.d/60-libsane1.rules" :

# Options for the canonusb backend

# Autodetect the Canon CanoScan FB630u
usb 0x04a9 0x2204

# device list for non-linux-systems (enable if autodetect fails):
#/dev/scanner
#/dev/usb/scanner0

- Pour "cat /etc/sane.d/canon.conf" :

# Options for the canonusb backend

# Autodetect the Canon CanoScan FB630u
usb 0x04a9 0x2204

# device list for non-linux-systems (enable if autodetect fails):
#/dev/scanner
#/dev/usb/scanner0

- pour "ls -l /usr/share/applications" :

guztira 1008
-rw-r--r-- 1 root root   384 eka 18  2017 activity-log-manager.desktop
-rw-r--r-- 1 root root   291 urt 26 13:21 apport-gtk.desktop
-rw-r--r-- 1 root root   125 mai 19  2016 apturl.desktop
-rw-r--r-- 1 root root  9797 mai 15 22:31 bamf-2.index
-rw-r--r-- 1 root root   202 urt 11  2017 beersmith2.desktop
-rw-r--r-- 1 root root  6393 ots 28  2018 bleachbit.desktop
-rw-r--r-- 1 root root  6407 mar 23  2018 bleachbit-root.desktop
-rw-r--r-- 1 root root   484 api 12  2019 bluetooth-sendto.desktop
-rw-r--r-- 1 root root   320 ira 26  2017 boot-info.desktop
-rw-r--r-- 1 root root   510 mar 21  2018 cheese.desktop
-rw-r--r-- 1 root root   379 mar  2  2018 compiz.desktop
-rw-r--r-- 1 root root  1956 ots 22 18:59 debian-uxterm.desktop
-rw-r--r-- 1 root root  1953 ots 22 18:59 debian-xterm.desktop
lrwxrwxrwx 1 root root    24 aza  6  2018 defaults.list -> /etc/gnome/defaults.list
-rw-r--r-- 1 root root 14629 api 14  2018 eog.desktop
-rw-r--r-- 1 root root  1215 eka 18  2019 evince.desktop
-rw-r--r-- 1 root root   466 eka 18  2019 evince-previewer.desktop
-rw-r--r-- 1 root root   257 abe 16 01:24 evolution-calendar.desktop
-rw-r--r-- 1 root root 15186 api  9 20:08 file-roller.desktop
-rw-r--r-- 1 root root  9261 mai  6 12:47 firefox.desktop
-rw-r--r-- 1 root root   215 mar 12  2018 gcr-prompter.desktop
-rw-r--r-- 1 root root   712 mar 12  2018 gcr-viewer.desktop
-rw-r--r-- 1 root root   367 abe 31  2017 gdebi.desktop
-rw-r--r-- 1 root root   710 api 11  2019 gedit.desktop
-rw-r--r-- 1 root root   319 uzt 20  2017 geoclue-where-am-i.desktop
-rw-r--r-- 1 root root   954 mar 28  2018 gimp.desktop
-rw-r--r-- 1 root root  1164 aza 22  2018 gkbd-keyboard-display.desktop
-rw-r--r-- 1 root root   667 urt 13  2020 gnome-background-panel.desktop
-rw-r--r-- 1 root root   817 urt 13  2020 gnome-bluetooth-panel.desktop
-rw-r--r-- 1 root root   823 urt 13  2020 gnome-color-panel.desktop
-rw-r--r-- 1 root root   639 urt 13  2020 gnome-control-center.desktop
-rw-r--r-- 1 root root   631 urt 13  2020 gnome-datetime-panel.desktop
-rw-r--r-- 1 root root   780 urt 13  2020 gnome-default-apps-panel.desktop
-rw-r--r-- 1 root root  1685 uzt  5  2018 gnome-disk-image-mounter.desktop
-rw-r--r-- 1 root root  1746 uzt  5  2018 gnome-disk-image-writer.desktop
-rw-r--r-- 1 root root   890 urt 13  2020 gnome-display-panel.desktop
-rw-r--r-- 1 root root   992 urt 13  2020 gnome-info-overview-panel.desktop
lrwxrwxrwx 1 root root    55 abu 28  2019 gnome-initial-setup.desktop -> ../gdm/greeter/applications/gnome-initial-setup.desktop
-rw-r--r-- 1 root root   852 urt 13  2020 gnome-keyboard-panel.desktop
-rw-r--r-- 1 root root   494 eka 28  2019 gnome-language-selector.desktop
-rw-r--r-- 1 root root   297 ots  4  2018 gnome-mahjongg.desktop
-rw-r--r-- 1 root root 14539 ira 28  2018 gnome-mines.desktop
-rw-r--r-- 1 root root   854 urt 13  2020 gnome-mouse-panel.desktop
-rw-r--r-- 1 root root   807 urt 13  2020 gnome-network-panel.desktop
-rw-r--r-- 1 root root   896 urt 13  2020 gnome-notifications-panel.desktop
-rw-r--r-- 1 root root  1002 urt 13  2020 gnome-online-accounts-panel.desktop
-rw-r--r-- 1 root root   833 urt 13  2020 gnome-power-panel.desktop
-rw-r--r-- 1 root root   732 urt 13  2020 gnome-printers-panel.desktop
-rw-r--r-- 1 root root   883 urt 13  2020 gnome-privacy-panel.desktop
-rw-r--r-- 1 root root   853 urt 13  2020 gnome-region-panel.desktop
-rw-r--r-- 1 root root   845 urt 13  2020 gnome-removable-media-panel.desktop
-rw-r--r-- 1 root root   836 urt 13  2020 gnome-search-panel.desktop
-rw-r--r-- 1 root root   476 mai  2  2018 gnome-session-properties.desktop
-rw-r--r-- 1 root root   749 urt 13  2020 gnome-sharing-panel.desktop
-rw-r--r-- 1 root root   371 abe 16 01:24 gnome-shell-extension-prefs.desktop
-rw-r--r-- 1 root root   612 api  7  2020 gnome-software-local-file.desktop
-rw-r--r-- 1 root root   832 urt 13  2020 gnome-sound-panel.desktop
-rw-r--r-- 1 root root  1404 mar 11  2018 gnome-sudoku.desktop
-rw-r--r-- 1 root root   477 abe 25  2017 gnome-system-log.desktop
-rw-r--r-- 1 root root   642 mai 30  2018 gnome-terminal.desktop
-rw-r--r-- 1 root root   690 urt 13  2020 gnome-thunderbolt-panel.desktop
-rw-r--r-- 1 root root   583 urt 13  2020 gnome-ubuntu-panel.desktop
-rw-r--r-- 1 root root   960 urt 13  2020 gnome-universal-access-panel.desktop
-rw-r--r-- 1 root root   826 urt 13  2020 gnome-user-accounts-panel.desktop
-rw-r--r-- 1 root root   310 abe 16  2017 gnome-user-share-webdav.desktop
-rw-r--r-- 1 root root   817 urt 13  2020 gnome-wacom-panel.desktop
-rw-r--r-- 1 root root   800 urt 13  2020 gnome-wifi-panel.desktop
-rw-r--r-- 1 root root   328 abe 27  2018 gparted.desktop
-rw-r--r-- 1 root root   402 mar 16  2018 gucharmap.desktop
-rw-r--r-- 1 root root   423 ots 25  2018 hplj1020.desktop
-rw-r--r-- 1 root root   286 aza  4  2019 ibus-setup.desktop
-rw-r--r-- 1 root root   205 urt 14  2017 ibus-setup-table.desktop
-rw-r--r-- 1 root root   969 api  3  2019 im-config.desktop
-rw-r--r-- 1 root root   258 abe  3  2014 kclean.desktop
-rw-r--r-- 1 root root 22453 ira 21  2019 libreoffice-calc.desktop
-rw-r--r-- 1 root root 19479 ira 21  2019 libreoffice-draw.desktop
-rw-r--r-- 1 root root 22552 ira 21  2019 libreoffice-impress.desktop
-rw-r--r-- 1 root root 18389 ira 21  2019 libreoffice-math.desktop
-rw-r--r-- 1 root root 21175 ira 21  2019 libreoffice-startcenter.desktop
-rw-r--r-- 1 root root 21390 ira 21  2019 libreoffice-writer.desktop
-rw-r--r-- 1 root root  4676 ira 21  2019 libreoffice-xsltfilter.desktop
-rw-r--r-- 1 root root   307 eka 26  2017 logout.desktop
-rw-r--r-- 1 root root 27384 mai 15 22:32 mimeinfo.cache
-rw-r--r-- 1 root root   328 urr 25  2019 mount-archive.desktop
-rw-r--r-- 1 root root   494 ira 23  2020 mutter.desktop
-rw-r--r-- 1 root root   353 urr 25  2019 nautilus-autorun-software.desktop
-rw-r--r-- 1 root root   319 urr 25  2019 nautilus-classic.desktop
-rw-r--r-- 1 root root   730 urr 25  2019 nautilus.desktop
-rw-r--r-- 1 root root   464 urr 25  2019 nautilus-folder-handler.desktop
-rw-r--r-- 1 root root   500 urr 25  2019 nautilus-home.desktop
-rw-r--r-- 1 root root   350 urr 15  2019 nm-applet.desktop
-rw-r--r-- 1 root root   439 urr 15  2019 nm-connection-editor.desktop
-rw-r--r-- 1 root root   276 urr  4  2017 onboard.desktop
-rw-r--r-- 1 root root   324 urr  4  2017 onboard-settings.desktop
-rw-r--r-- 1 root root 16968 mar 13  2018 org.gnome.baobab.desktop
-rw-r--r-- 1 root root   665 abe 19  2019 org.gnome.Calculator.desktop
-rw-r--r-- 1 root root  1787 mai 25  2018 org.gnome.Calendar.desktop
-rw-r--r-- 1 root root   522 mar 21  2018 org.gnome.Cheese.desktop
-rw-r--r-- 1 root root  9443 urt 12  2019 org.gnome.DejaDup.desktop
-rw-r--r-- 1 root root  1496 uzt  5  2018 org.gnome.DiskUtility.desktop
-rw-r--r-- 1 root root 16485 api  9 20:08 org.gnome.FileRoller.desktop
-rw-r--r-- 1 root root 11100 mar 18  2018 org.gnome.font-viewer.desktop
-rw-r--r-- 1 root root   743 api 11  2019 org.gnome.gedit.desktop
-rw-r--r-- 1 root root  1236 urr 25  2019 org.gnome.Nautilus.desktop
-rw-r--r-- 1 root root 11386 urt 31  2018 org.gnome.PowerStats.desktop
-rw-r--r-- 1 root root 22681 urr 12  2017 org.gnome.Screenshot.desktop
-rw-r--r-- 1 root root   492 abe 16 01:24 org.gnome.Shell.desktop
-rw-r--r-- 1 root root   326 abe 16 01:24 org.gnome.Shell.PortalHelper.desktop
-rw-r--r-- 1 root root   845 api  7  2020 org.gnome.Software.desktop
-rw-r--r-- 1 root root   690 api  7  2020 org.gnome.Software.Editor.desktop
-rw-r--r-- 1 root root   633 mai 30  2018 org.gnome.Terminal.desktop
-rw-r--r-- 1 root root  1529 api 11  2018 org.gnome.Todo.desktop
-rw-r--r-- 1 root root 22227 urt 15  2019 org.gnome.Totem.desktop
-rw-r--r-- 1 root root  5125 eka  3  2020 org.remmina.Remmina.desktop
-rw-r--r-- 1 root root  4605 ira 26  2017 os-uninstaller.desktop
-rw-r--r-- 1 root root   220 ots 27 16:10 python2.7.desktop
-rw-r--r-- 1 root root   220 urt 26 16:33 python3.6.desktop
-rw-r--r-- 1 root root   302 eka 26  2017 reboot.desktop
-rw-r--r-- 1 root root   231 eka  3  2020 remmina-file.desktop
-rw-r--r-- 1 root root  1226 mar 26  2018 rhythmbox.desktop
-rw-r--r-- 1 root root   622 mar 26  2018 rhythmbox-device.desktop
-rw-r--r-- 1 root root   506 abe 16  2017 seahorse.desktop
-rw-r--r-- 1 root root  1254 api 30  2020 shotwell.desktop
-rw-r--r-- 1 root root  1608 api 30  2020 shotwell-viewer.desktop
-rw-r--r-- 1 root root   314 eka 26  2017 shutdown.desktop
-rw-r--r-- 1 root root   215 urr 27  2017 signon-ui.desktop
-rw-r--r-- 1 root root 10609 mar 27  2018 simple-scan.desktop
-rw-r--r-- 1 root root   218 ots  2 09:21 snap-handle-link.desktop
-rw-r--r-- 1 root root   344 abu  7  2020 software-properties-drivers.desktop
-rw-r--r-- 1 root root   580 abu  7  2020 software-properties-gtk.desktop
-rw-r--r-- 1 root root   337 abu  7  2020 software-properties-livepatch.desktop
-rw-r--r-- 1 root root   447 mar 12  2018 sol.desktop
-rw-r--r-- 1 root root   275 mar 29  2018 synaptic.desktop
-rw-r--r-- 1 root root   518 api  3  2018 system-config-printer.desktop
-rw-r--r-- 1 root root 10062 uzt  1  2020 thunderbird.desktop
-rw-r--r-- 1 root root 19795 urt 15  2019 totem.desktop
-rw-r--r-- 1 root root  4493 ots  6  2018 transmission-gtk.desktop
-rw-r--r-- 1 root root   752 eka 18  2017 unity-activity-log-manager-panel.desktop
-rw-r--r-- 1 root root   549 ots 16  2018 unity-appearance-panel.desktop
-rw-r--r-- 1 root root   362 ots 16  2018 unity-bluetooth-panel.desktop
-rw-r--r-- 1 root root   453 ots 16  2018 unity-color-panel.desktop
-rw-r--r-- 1 root root   273 ots 16  2018 unity-control-center.desktop
-rw-r--r-- 1 root root   412 ots 16  2018 unity-datetime-panel.desktop
-rw-r--r-- 1 root root   502 ots 16  2018 unity-display-panel.desktop
-rw-r--r-- 1 root root   675 ots 16  2018 unity-info-panel.desktop
-rw-r--r-- 1 root root   440 ots 16  2018 unity-keyboard-panel.desktop
-rw-r--r-- 1 root root   194 api  7  2018 unity-lens-photos.desktop
-rw-r--r-- 1 root root   493 ots 16  2018 unity-mouse-panel.desktop
-rw-r--r-- 1 root root   439 ots 16  2018 unity-network-panel.desktop
-rw-r--r-- 1 root root   626 ots 16  2018 unity-online-accounts-panel.desktop
-rw-r--r-- 1 root root   463 ots 16  2018 unity-power-panel.desktop
-rw-r--r-- 1 root root   531 ots 16  2018 unity-region-panel.desktop
-rw-r--r-- 1 root root   506 ots 16  2018 unity-screen-panel.desktop
-rw-r--r-- 1 root root   547 ots 16  2018 unity-screen-sharing-panel.desktop
-rw-r--r-- 1 root root   475 ots 16  2018 unity-sound-panel.desktop
-rw-r--r-- 1 root root   609 ots 16  2018 unity-universal-access-panel.desktop
-rw-r--r-- 1 root root   482 ots 16  2018 unity-user-accounts-panel.desktop
-rw-r--r-- 1 root root   497 ots 16  2018 unity-wacom-panel.desktop
-rw-r--r-- 1 root root   302 eka  3  2020 update-manager.desktop
-rw-r--r-- 1 root root   288 uzt 16  2019 usb-creator-gtk.desktop
-rw-r--r-- 1 root root  3617 urr 13  2020 vim.desktop
-rw-r--r-- 1 root root   354 aza 16 16:56 vino-server.desktop
-rw-r--r-- 1 root root 10126 ira 11  2019 vlc.desktop
-rw-r--r-- 1 root root   336 abe 25  2019 x2goclient.desktop
-rw-r--r-- 1 root root   243 abu 29  2017 xdiagnose.desktop
-rw-r--r-- 1 root root  1140 uzt 23  2017 xsane.desktop
-rw-r--r-- 1 root root   513 api 13  2018 yelp.desktop
otamendia@otamendia-System-Product-Name:~$ 

- et pour "scangearmp2" : le scanner marche !!

Hors ligne

#28 Le 17/05/2021, à 20:29

otamendia

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

Je ne sais pas si les commandes que nany m'a fait faire ont permis que scangearmp2 fonctionne : il a fonctionné avant-hier, n'a pas fonctionné hier, et refonctionne maintenant !
Par contre scangearmp2 n'est pas proposé par les applications : je clique sur les 9 points en bas à gauche de l'écran, mais scangearmp2 est invisible. Pour l'activer, je tape scangearmp2 sur un terminal. Mais je n'arive pas à "fixer" l'application sur le menu vertical à gauche de l'écran, car enfaisant clic-droit sur l'icone de scangearmp2, je n'ai pas la possibilité de le "fixer" aux applications favorites.
J'ai consulté ici, mais je n'ai pas compris...

Hors ligne

#29 Le 17/05/2021, à 22:35

nany

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

otamendia a écrit :

Je ne sais pas si les commandes que nany m'a fait faire ont permis que scangearmp2 fonctionne : il a fonctionné avant-hier, n'a pas fonctionné hier, et refonctionne maintenant !

Les commandes que j’ai données sont purement informatives et ne corrigent rien.
D’ailleurs tu as dû t’emmêler dans les copier/coller.
Redonne :

cat /etc/sane.d/canon.conf
cat /etc/sane.d/canon_dr.conf
otamendia a écrit :

Par contre scangearmp2 n'est pas proposé par les applications : je clique sur les 9 points en bas à gauche de l'écran, mais scangearmp2 est invisible. Pour l'activer, je tape scangearmp2 sur un terminal. Mais je n'arive pas à "fixer" l'application sur le menu vertical à gauche de l'écran, car enfaisant clic-droit sur l'icone de scangearmp2, je n'ai pas la possibilité de le "fixer" aux applications favorites.
J'ai consulté ici, mais je n'ai pas compris...

Alors donne le retour de :

echo -e "[Desktop Entry]\nType=Application\nExec=/usr/bin/scangearmp2\nStartupNotify=true\nComment=Scanner Canon\nName=Scanner Canon\nCategories=Application;Graphics;GTK;RasterGraphics;Scanning;OCR;2DGraphics;\nIcon=scanner" | sudo tee /usr/share/applications/scangearmp2.desktop

Hors ligne

#30 Le 17/05/2021, à 23:03

otamendia

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

Merci.
- pour "cat /etc/sane.d/canon.conf" :

#canon.conf
scsi CANON IX

- pour "cat /etc/sane.d/canon_dr.conf" :

#######################################################################
# NOTE: 'option' lines only apply to the devices found by
# the NEXT 'usb' or 'scsi' line. You may repeat the option line if 
# required for multiple scanners of different models/connections.

#######################################################################
# Some machines are incapable of providing basic inquiry info, and will
# lock up if asked for it. The driver will not ask for this info if all
# three of these options are provided. They should NOT be used unless
# you know for sure that your machine requires it.
# NOTE: the vendor and model must be correct. The version need not.
#option vendor-name   CANON
#option model-name    DR-2050C
#option version-name  XXXX

#######################################################################
# Set data buffer size, in bytes. The value ranges from 4096 - infinity
# Large values may cause timeouts, or long pauses at the end of each
# page. Small values may cause slow scans. 2MB is the default.
#option buffer-size 2097152

#######################################################################
# Most scanners dont pad their reads
#option padded-read 0

#######################################################################
# SCSI scanners:

# To search for any CANON scsi device, if name starts with 'CR' or 'DR'
scsi CANON CR
scsi CANON DR

# To use a specific scsi device
#scsi /dev/sg1

#######################################################################
# USB scanners:

# For Canon scanners connected via USB on a known device (kernel driver):
#usb /dev/usb/scanner0

# For Canon scanners connected via USB using vendor and device ids (libusb):
#usb VENDORID PRODUCTID

# NOTE: if you have to add your device here- please send the id and model
# to the author via email, so it can be included in next version. kitno455 at
# gmail dot com - with canon_dr in the subject line

# DR-2080C (uses weird protocol)
option duplex-offset 840
option vendor-name  CANON
option model-name   DR-2080C
option version-name XXXX
option padded-read  1
usb 0x04a9 0x1601

# CR-180
usb 0x04a9 0x1602

# DR-9080C
usb 0x04a9 0x1603

# DR-7080C
usb 0x04a9 0x1604

# DR-5010C
usb 0x04a9 0x1606

# DR-6080C
usb 0x04a9 0x1607

# DR-2580C
option duplex-offset 432
usb 0x04a9 0x1608

# DR-3080CII
option padded-read  1
usb 0x04a9 0x1609

# DR-2050C/SP (uses weird protocol)
option duplex-offset 840
option vendor-name  CANON
option model-name   DR-2050C
option version-name XXXX
option padded-read  1
usb 0x04a9 0x160a

# DR-7580
usb 0x04a9 0x160b

# CR-55
usb 0x1083 0x160c

# DR-1210C (two versions?)
usb 0x1083 0x160f
usb 0x04a9 0x2222

# DR-4010C
usb 0x1083 0x1614

# DR-2510C
option duplex-offset 400
usb 0x1083 0x1617

# DR-X10C
usb 0x1083 0x1618

# CR-25
usb 0x1083 0x161a

# DR-2010C
option duplex-offset 400
usb 0x1083 0x161b

# DR-3010C
option duplex-offset 400
usb 0x1083 0x161d

# DR-7090C
usb 0x1083 0x1620

# DR-9050C
usb 0x1083 0x1622

# DR-7550C
usb 0x1083 0x1623

# DR-6050C
usb 0x1083 0x1624

# DR-6010C
usb 0x1083 0x1626

# CR-190i
usb 0x1083 0x162b

# P-150M
usb 0x1083 0x162c

# DR-6030C
usb 0x1083 0x1638

# CR-135i
usb 0x1083 0x1639

# DR-M160
option extra-status 1
option duplex-offset 400
usb 0x1083 0x163e

# DR-M140
option extra-status 1
option duplex-offset 400
usb 0x1083 0x163f

# DR-C125
option duplex-offset 400
usb 0x1083 0x1640

# DR-P215
usb 0x1083 0x1641

# P-215
usb 0x1083 0x1646

# FSU-201
usb 0x1083 0x1648

# DR-C130
usb 0x1083 0x164a

# DR-P208
usb 0x1083 0x164b

# P-208
usb 0x1083 0x164c

# DR-G1130
option buffer-size 8000000
usb 0x1083 0x164f

# DR-G1100
option buffer-size 8000000
usb 0x1083 0x1650

# DR-C120
usb 0x1083 0x1651

# P-201
usb 0x1083 0x1652

# DR-F120
option duplex-offset 1640
usb 0x1083 0x1654

# DR-M1060
usb 0x1083 0x1657

# DR-C225
usb 0x1083 0x1658

# DR-P215II
usb 0x1083 0x1659

# P-215II
usb 0x1083 0x165b

# DR-P208II
usb 0x1083 0x165d

# P-208II
usb 0x1083 0x165f

- et pour "echo -e "[Desktop Entry]\nType=Application\nExec=/usr/bin/scangearmp2\nStartupNotify=true\nComment=Scanner Canon\nName=Scanner Canon\nCategories=Application;Graphics;GTK;RasterGraphics;Scanning;OCR;2DGraphics;\nIcon=scanner" | sudo tee /usr/share/applications/scangearmp2.desktop" :

echo -e "[Desktop Entry]\nType=Application\nExec=/usr/bin/scangearmp2\nStartupNotify=true\nComment=Scanner Canon\nName=Scanner Canon\nCategories=Application;Graphics;GTK;RasterGraphics;Scanning;OCR;2DGraphics;\nIcon=scanner" | sudo tee /usr/share/applications/scangearmp2.desktop

Par ailleur, j'ai redémarré l'ordi, et alors le scanner ne marchait plus, mais en éteignant et en rallumant l'imprimante/scanner, ça remarchait, toujours en tapant "scangearmp2" en ligne de commande.

Hors ligne

#31 Le 17/05/2021, à 23:21

nany

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

Donne le retour de :

echo -e "\n# TS3300 series\nusb 0x04a9 0x18a2" | sudo tee -a /etc/sane.d/canon_dr.conf

Hors ligne

#32 Le 17/05/2021, à 23:23

nany

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

otamendia a écrit :

- et pour "echo -e "[Desktop Entry]\nType=Application\nExec=/usr/bin/scangearmp2\nStartupNotify=true\nComment=Scanner Canon\nName=Scanner Canon\nCategories=Application;Graphics;GTK;RasterGraphics;Scanning;OCR;2DGraphics;\nIcon=scanner" | sudo tee /usr/share/applications/scangearmp2.desktop" :

echo -e "[Desktop Entry]\nType=Application\nExec=/usr/bin/scangearmp2\nStartupNotify=true\nComment=Scanner Canon\nName=Scanner Canon\nCategories=Application;Graphics;GTK;RasterGraphics;Scanning;OCR;2DGraphics;\nIcon=scanner" | sudo tee /usr/share/applications/scangearmp2.desktop

Là tu as redonné la commande et pas son retour. hmm

Hors ligne

#33 Le 18/05/2021, à 08:04

otamendia

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

Désolé !!

[Desktop Entry]
Type=Application
Exec=/usr/bin/scangearmp2
StartupNotify=true
Comment=Scanner Canon
Name=Scanner Canon
Categories=Application;Graphics;GTK;RasterGraphics;Scanning;OCR;2DGraphics;
Icon=scanner

Hors ligne

#34 Le 18/05/2021, à 08:16

otamendia

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

Et maintenant, bizarrement (?) j'ai une icone et une application "Scanner Canon", et en l'ouvrant, c'est la même interface que "scangearmp2".
Mais il me faut éteindre puis rallumer l'imprimante/scanner avant que l'application ne soit effective.
Je joins 3 captures d'écran :
pantaila-argazkia '2021-05-18 08-06-51'(e)ndik.png
pantaila-argazkia '2021-05-18 08-07-21'(e)ndik.png
pantaila-argazkia '2021-05-18 08-07-27'(e)ndik.png

Hors ligne

#35 Le 18/05/2021, à 08:17

nany

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

nany a écrit :

Donne le retour de :

echo -e "\n# TS3300 series\nusb 0x04a9 0x18a2" | sudo tee -a /etc/sane.d/canon_dr.conf

Hors ligne

#36 Le 18/05/2021, à 08:22

nany

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

otamendia a écrit :

Et maintenant, bizarrement (?) j'ai une icone et une application "Scanner Canon", et en l'ouvrant, c'est la même interface que "scangearmp2".

C’est grâce à la commande que j’ai donnée qui a créé un lanceur. wink

otamendia a écrit :

Mais il me faut éteindre puis rallumer l'imprimante/scanner avant que l'application ne soit effective.
Je joins 3 captures d'écran :
pantaila-argazkia '2021-05-18 08-06-51'(e)ndik.png
pantaila-argazkia '2021-05-18 08-07-21'(e)ndik.png
pantaila-argazkia '2021-05-18 08-07-27'(e)ndik.png

Mauvaises url, impossible de cliquer sur les liens.

Hors ligne

#37 Le 18/05/2021, à 08:39

otamendia

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

# TS3300 series
usb 0x04a9 0x18a2

Hors ligne

#38 Le 18/05/2021, à 09:10

nany

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

Maintenant donne le retour de :

grep -nE "TS3300|0x18a2" /etc/sane.d/canon_dr.conf

Hors ligne

#39 Le 18/05/2021, à 09:17

otamendia

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

214:# TS3300 series
215:usb 0x04a9 0x18a2

Hors ligne

#40 Le 18/05/2021, à 09:19

otamendia

Hors ligne

#41 Le 18/05/2021, à 09:26

nany

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

Bien, pour être sûr que tout soit bien pris en compte, redémarre.

Puis essaie de lancer « Numériseur de documents » (je ne sais pas ce que c’est en basque).
Si tu ne le trouves pas dans les applications, fait [Alt]+[F2] puis lance :

simple-scan

Hors ligne

#42 Le 18/05/2021, à 09:51

otamendia

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

simple-scan ne marche pas, de façon graphique ou en ligne de commande. Le logiciel s'ouvre mais le scanner n'est pas vu, même en éteignant et redémarrant l'appareil.

Hors ligne

#43 Le 18/05/2021, à 09:55

xubu1957

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

Bonjour,

Tu avais utilisé un ppa ?

Pour un scanner Canon :

Le 09/04/2021, L'Africain a écrit :

Je ne le redirai jamais assez, il faut utiliser le ppa canon: https://doc.ubuntu-fr.org/tutoriel/ppa_canon

> canon mg 3650S scangearmp2 ne fonctionne pas


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#44 Le 18/05/2021, à 10:02

otamendia

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

J'avais installé le pilote "cnijfilter2-5.90-1-deb.tar.gz" pour l'imprimante et "scangearmp2-3.90-1-deb.tar.gz" pour le scanner, en les téléchargeant chez Canon.

Hors ligne

#45 Le 18/05/2021, à 10:35

nany

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

Donne les retours de :

ls -l /etc/udev/rules.d
sudo apt purge ippusbxd

Hors ligne

#46 Le 18/05/2021, à 10:48

otamendia

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

J'ai installé ces paquets : ppa:thierry-f/fork-michael-gruz

- pour "ls -l /etc/udev/rules.d" :

guztira 96
-rw-r--r-- 1 root root  8230 mai 12 11:19 70-snap.chromium.rules
-rw-r--r-- 1 root root 58549 abu 20  2018 70-snap.core.rules
-rw-r--r-- 1 root root   834 mar  4 21:05 70-snap.gnome-calculator.rules
-rw-r--r-- 1 root root   834 mar  4 21:05 70-snap.gnome-characters.rules
-rw-r--r-- 1 root root   714 mar  4 21:05 70-snap.gnome-logs.rules
-rw-r--r-- 1 root root   914 mar  4 21:05 70-snap.gnome-system-monitor.rules
-rw-r--r-- 1 root root  5922 eka 24  2019 80-canon_mfp2.rules

- pour "sudo apt purge ippusbxd" :

Pakete Zerrenda irakurtzen... Eginda
Dependentzia zuhaitza eraikitzen       
Egoera argibideak irakurtzen... Eginda
Pakete hauek automatikoki instalatu ziren eta ez dira gehiago behar:
  libllvm9 libllvm9:i386
Erabili 'sudo apt autoremove' pakete hauek kentzeko..
Ondorengo paketeak KENDUKO dira:
  ippusbxd*
0 bertsio berritua(k), 0 berriki instalatuta, 1 kentzeko, eta 2 bertsio-berritu gabe.
Ekintza honen ondoren, 94,2 kB libratuko dira diskoan.
Aurrera jarraitu nahi al duzu? [B/e] b
(Datu-basea irakurtzen ... 205345 fitxategi edo direktorio daude unean instalatuta).
ippusbxd (1.32-2) kentzen...
man-db (2.8.3-2ubuntu0.1)-(r)en abiarazleak prozesatzen ...
(Datu-basea irakurtzen ... 205335 fitxategi edo direktorio daude unean instalatuta).
ippusbxd (1.32-2): konfigurazio-fitxategiak purgatzen ...

Hors ligne

#47 Le 18/05/2021, à 10:56

otamendia

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

J'arrive à scanner avec Simple Scan !
Par contre avec Scanner Canon, ça ne marche plus;
Je redémarre pour m'assurer que tout va bien.

Hors ligne

#48 Le 18/05/2021, à 11:05

otamendia

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

Oui, ça marche bien avec Simple Scan ! Mais c'est très lent (à reconnaitre ?)
Par contre, Scanner Canon ne marche pas. Message d'erreur : "scanner driver will be closed"

Hors ligne

#49 Le 18/05/2021, à 11:10

nany

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

otamendia a écrit :

J'ai installé ces paquets : ppa:thierry-f/fork-michael-gruz

Alors montre :

find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n\t$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;
dpkg -l cnijfilter2 scangearmp2

Hors ligne

#50 Le 18/05/2021, à 11:16

otamendia

Re : [résolu ]Imprimante / scanner Canon PIXMA TS3351

Pour "find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n\t$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;" :

	/etc/apt/sources.list.save


	/etc/apt/sources.list

     1	# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted
     2	
     3	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4	# newer versions of the distribution.
     5	deb http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted
     6	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
     7	
     8	## Major bug fix updates produced after the final release of the
     9	## distribution.
    10	deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
    11	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    12	
    13	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14	## team. Also, please note that software in universe WILL NOT receive any
    15	## review or updates from the Ubuntu security team.
    16	deb http://fr.archive.ubuntu.com/ubuntu/ bionic universe
    17	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
    18	deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates universe
    19	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
    20	
    21	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    22	## team, and may not be under a free licence. Please satisfy yourself as to 
    23	## your rights to use the software. Also, please note that software in 
    24	## multiverse WILL NOT receive any review or updates from the Ubuntu
    25	## security team.
    26	deb http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
    27	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
    28	deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
    29	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    30	
    31	## N.B. software from this repository may not have been tested as
    32	## extensively as that contained in the main release, although it includes
    33	## newer versions of some applications which may provide useful features.
    34	## Also, please note that software in backports WILL NOT receive any review
    35	## or updates from the Ubuntu security team.
    36	deb http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
    37	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
    38	
    39	## Uncomment the following two lines to add software from Canonical's
    40	## 'partner' repository.
    41	## This software is not part of Ubuntu, but is offered by Canonical and the
    42	## respective vendors as a service to Ubuntu users.
    43	# deb http://archive.canonical.com/ubuntu xenial partner
    44	# deb-src http://archive.canonical.com/ubuntu xenial partner
    45	
    46	deb http://security.ubuntu.com/ubuntu bionic-security main restricted
    47	# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
    48	deb http://security.ubuntu.com/ubuntu bionic-security universe
    49	# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
    50	deb http://security.ubuntu.com/ubuntu bionic-security multiverse
    51	# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
    52	deb http://archive.ubuntu.com/ubuntu bionic universe
    53	# deb-src http://archive.ubuntu.com/ubuntu xenial universe

	/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-xenial.list.distUpgrade


	/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-xenial.list.save


	/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-xenial.list

     1	# deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic main # ezgaituta bionic(e)ra bertsio-berritzean
     2	# deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial main
     3	# deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial main

	/etc/apt/sources.list.d/thierry-f-ubuntu-fork-michael-gruz-bionic.list

     1	deb http://ppa.launchpad.net/thierry-f/fork-michael-gruz/ubuntu bionic main
     2	# deb-src http://ppa.launchpad.net/thierry-f/fork-michael-gruz/ubuntu bionic main

	/etc/apt/sources.list.d/steam.list.save


	/etc/apt/sources.list.distUpgrade

et pour "dpkg -l cnijfilter2 scangearmp2" :

Nahia=Unknown/Install/Remove/Purge/Hold
| Egoera=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(bat ere ez)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Izena          Bertsioa     Arkitektura  Azalpena
+++-==============-============-============-=================================
ii  cnijfilter2    6.10-1+1804  amd64        IJ Printer Driver for Linux.
ii  scangearmp2    4.12-1ubuntu amd64        ScanGear MP for Linux.

Hors ligne