Unable to scan with a Canon MG7500
Hello,
I have previously opened an issue on https://github.com/Ordissimo/scangearmp2 and @Ordissimo advised me to reach for additional help here :-).
Here is the original issue: https://github.com/Ordissimo/scangearmp2/issues/42
The main point is that I did not succeed to reach my Canon MG7500 scanner whatever the tool I use. According to @Ordissimo, it is either a network or a device issue but we were unable to pinpoint it.
The device is accessible for printing but not for scanning. I can only operate tests under Ubuntu 20.04, the workstation is managed by our IT department and I cannot boot alternately on another OS as other boot options are locked.
Here is the output of scanimage
with debugging enabled (for this test I only enabled canon_pixma
in /etc/sane.d/dll.conf
):
$ SANE_DEBUG_DLL=255 SANE_DEBUG_CANON_PIXAMA=255 scanimage -L
[10:50:57.667395] [sanei_debug] Setting debug level of dll to 255.
[10:50:57.667562] [dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.32.100-1ba63
[10:50:57.667588] [dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[10:50:57.667628] [dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[10:50:57.667668] [dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[10:50:57.667708] [dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/hplip
[10:50:57.667746] [dll] sane_init/read_config: reading dll.d/hplip
[10:50:57.667780] [dll] add_backend: adding backend `hpaio'
[10:50:57.667808] [dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/mfp2
[10:50:57.667842] [dll] sane_init/read_config: reading dll.d/mfp2
[10:50:57.667865] [dll] add_backend: adding backend `canon_pixma'
[10:50:57.667891] [dll] sane_init/read_dlld: done.
[10:50:57.667921] [dll] sane_init/read_config: reading dll.conf
[10:50:57.667990] [dll] add_backend: adding backend `canon_pixma'
[10:50:57.668013] [dll] add_backend: `canon_pixma' is already there
[10:50:57.668118] [dll] sane_get_devices
[10:50:57.668144] [dll] load: searching backend `canon_pixma' in `/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[10:50:57.668174] [dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-canon_pixma.so.1'
[10:50:57.668217] [dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-canon_pixma.so.1'
[10:50:57.669211] [dll] init: initializing backend `canon_pixma'
[10:50:58.691204] [dll] init: backend `canon_pixma' is version 1.0.0
Error my backend : out of memory
[10:50:58.691273] [dll] load: searching backend `hpaio' in `/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[10:50:58.691294] [dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[10:50:58.691336] [dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[10:50:58.701687] [dll] init: initializing backend `hpaio'
[10:50:58.703675] [dll] init: backend `hpaio' is version 1.0.0
[10:51:00.108128] [dll] sane_get_devices: found 0 devices
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).
[10:51:00.108204] [dll] sane_exit: exiting
[10:51:00.108228] [dll] sane_exit: calling backend `canon_pixma's exit function
[10:51:00.108894] [dll] sane_exit: calling backend `hpaio's exit function
[10:51:00.109859] [dll] sane_exit: finished
And just to ensure that the scanner was reachable:
$ avahi-browse -rt _scanner._tcp
+ enx00e04c68187e IPv6 Canon MG7500 series _scanner._tcp local
+ enx00e04c68187e IPv4 Canon MG7500 series _scanner._tcp local
= enx00e04c68187e IPv4 Canon MG7500 series _scanner._tcp local
hostname = [000000D07860.local]
address = [10.0.0.102]
port = [8612]
txt = ["scannerAvailable=1" "UUID=00000000-0000-1000-8000-D8492F3F1818" "mac=F4:81:39:D0:78:60" "mdl=MG7500 series" "mfg=Canon" "adminurl=http://000000D07860.local." "ty=Canon MG7500 series" "txtvers=1"]
= enx00e04c68187e IPv6 Canon MG7500 series _scanner._tcp local
hostname = [000000D07860.local]
address = [10.0.0.102]
port = [8612]
txt = ["scannerAvailable=1" "UUID=00000000-0000-1000-8000-D8492F3F1818" "mac=F4:81:39:D0:78:60" "mdl=MG7500 series" "mfg=Canon" "adminurl=http://000000D07860.local." "ty=Canon MG7500 series" "txtvers=1"]