[sane-devel] Trouble scanning with Canon MF8280

Ralph Little skelband at gmail.com
Thu Apr 25 18:12:29 BST 2024


Hi,
The diag seems to indicate that the machine is busy. This is often because
a lot of the imageClass machines require it to be put in "remote scanning
mode" in order to scan off it. I believe in this case, you press SCAN on
the machine, and select "Remote Scanner" from the menu.

Cheers,
Ralph

On Thu, Apr 25, 2024 at 4:20 AM Karsten Opel <karsteno281 at gmail.com> wrote:

> Hi,
>
> I have tried for some time to scan from a Canon i-Sensys MF8280Cw. To
> exclude network issues the device is now connected to USB.
> It is found by both sane-find-scanner and scanimage -L, detected as
> MF8200C series device.
> scanimage -d test -T passes.
> simple-scan allows to select the device but starting a scan gives "Failed
> to scan: Error communicating with scanner."
> I've set the environment variables as described in
> http://www.sane-project.org/man/sane.7.html and get the output below when
> using scanimage.
> Any ideas why it's not working?
>
> Kind regards
> Karsten
>
> ~$ scanimage >image.pnm
> [13:05:31.639477] [sanei_debug] Setting debug level of dll to 128.
> [13:05:31.639554] [dll] sane_init: SANE dll backend version 1.0.13 from
> sane-backends 1.1.1-debian
> [13:05:31.639569] [dll] sane_init/read_dlld: attempting to open directory
> `./dll.d'
> [13:05:31.639591] [dll] sane_init/read_dlld: attempting to open directory
> `/etc/sane.d/dll.d'
> [13:05:31.639612] [dll] sane_init/read_dlld: using config directory
> `/etc/sane.d/dll.d'
> [13:05:31.639637] [dll] sane_init/read_dlld: considering
> /etc/sane.d/dll.d/hplip
> [13:05:31.639659] [dll] sane_init/read_config: reading dll.d/hplip
> [13:05:31.639681] [dll] add_backend: adding backend `hpaio'
> [13:05:31.639703] [dll] sane_init/read_dlld: done.
> [13:05:31.639721] [dll] sane_init/read_config: reading dll.conf
> [13:05:31.639752] [dll] add_backend: adding backend `pixma'
> Output format is not set, using pnm as a default.
> [13:05:31.639785] [dll] sane_get_devices
> [13:05:31.639797] [dll] load: searching backend `pixma' in
> `/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane:/usr/lib64/sane'
> [13:05:31.639808] [dll] load: trying to load
> `/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1'
> [13:05:31.639825] [dll] load: dlopen()ing
> `/usr/lib/x86_64-linux-gnu/sane/libsane-pixma.so.1'
> [13:05:31.640038] [dll] init: initializing backend `pixma'
> [13:05:31.640062] [sanei_debug] Setting debug level of pixma to 11.
> [13:05:31.640079] [pixma] pixma is compiled with pthread support.
> [13:05:31.640114] [pixma] pixma version 0.28.6
> [13:05:31.654871] [dll] init: backend `pixma' is version 1.0.28
> [13:05:31.654903] [pixma] pixma_collect_devices() found Canon i-SENSYS
> MF8200C Series at libusb:003:011
> [13:05:32.390277] [pixma] pixma_collect_devices() found Canon i-SENSYS
> MF8200C Series at mfnp://192.168.39.107:8610/timeout=3000
> [13:05:32.390337] [pixma] pixma_find_scanners() found 2 devices
> [13:05:32.390359] [dll] load: searching backend `hpaio' in
> `/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane:/usr/lib64/sane'
> [13:05:32.390373] [dll] load: trying to load
> `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
> [13:05:32.390408] [dll] load: dlopen()ing
> `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
> [13:05:32.397265] [dll] init: initializing backend `hpaio'
> [13:05:32.398298] [dll] init: backend `hpaio' is version 1.0.0
> [13:05:33.429751] [dll] sane_get_devices: found 2 devices
> [13:05:33.429794] [dll] sane_open: trying to open
> `pixma:MF8200C_192.168.39.107'
> [13:05:33.429827] [pixma] pixma_collect_devices() found Canon i-SENSYS
> MF8200C Series at libusb:003:011
> [13:05:34.102077] [pixma] pixma_collect_devices() found Canon i-SENSYS
> MF8200C Series at mfnp://192.168.39.107:8610/timeout=3000
> [13:05:34.102145] [pixma] pixma_open(): Canon i-SENSYS MF8200C Series
> [13:05:34.134289] [pixma] *iclass_open***** This is a generation 2
> scanner.  *****
> [13:05:34.134337] [pixma] Trying to clear the interrupt buffer...
> [13:05:35.142661] [pixma]   no packets in buffer
> [13:05:35.142731] [dll] sane_open: open successful
> [13:05:35.142750] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=0)
> [13:05:35.142767] [dll]
> sane_control_option(handle=0x5641bc236bb0,option=0,action=0,value=0x7ffe72ed3b24,info=(nil))
> [13:05:35.142787] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=0)
> [13:05:35.142800] [dll]
> sane_control_option(handle=0x5641bc236bb0,option=0,action=0,value=0x7ffe72ed3a30,info=(nil))
> [13:05:35.142813] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=1)
> [13:05:35.142823] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=2)
> [13:05:35.142833] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=3)
> [13:05:35.142843] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=4)
> [13:05:35.142853] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=5)
> [13:05:35.142863] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=6)
> [13:05:35.142872] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=7)
> [13:05:35.142882] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=8)
> [13:05:35.142892] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=9)
> [13:05:35.142905] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=10)
> [13:05:35.142919] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=11)
> [13:05:35.142935] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=12)
> [13:05:35.142950] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=13)
> [13:05:35.142964] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=14)
> [13:05:35.142979] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=15)
> [13:05:35.142992] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=16)
> [13:05:35.143008] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=17)
> [13:05:35.143022] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=18)
> [13:05:35.143036] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=19)
> [13:05:35.143058] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=20)
> [13:05:35.143074] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=21)
> [13:05:35.143089] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=22)
> [13:05:35.143103] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=23)
> [13:05:35.143117] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=24)
> [13:05:35.143129] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=25)
> [13:05:35.143141] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=26)
> [13:05:35.143157] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=27)
> [13:05:35.143172] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=28)
> [13:05:35.143186] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=29)
> [13:05:35.143201] [dll]
> sane_control_option(handle=0x5641bc236bb0,option=13,action=0,value=0x5641bbc6d378,info=(nil))
> [13:05:35.143215] [dll]
> sane_control_option(handle=0x5641bc236bb0,option=11,action=0,value=0x7ffe72ed3a34,info=(nil))
> [13:05:35.143231] [dll]
> sane_control_option(handle=0x5641bc236bb0,option=14,action=0,value=0x5641bbc6d37c,info=(nil))
> [13:05:35.143248] [dll]
> sane_control_option(handle=0x5641bc236bb0,option=12,action=0,value=0x7ffe72ed3a34,info=(nil))
> [13:05:35.143267] [dll]
> sane_control_option(handle=0x5641bc236bb0,option=11,action=0,value=0x7ffe72ed3b80,info=(nil))
> [13:05:35.143282] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=13)
> [13:05:35.143294] [dll]
> sane_control_option(handle=0x5641bc236bb0,option=13,action=1,value=0x7ffe72ed3b60,info=0x7ffe72ed3a44)
> [13:05:35.143307] [dll]
> sane_control_option(handle=0x5641bc236bb0,option=12,action=0,value=0x7ffe72ed3b80,info=(nil))
> [13:05:35.143323] [dll]
> sane_get_option_descriptor(handle=0x5641bc236bb0,option=14)
> [13:05:35.143335] [dll]
> sane_control_option(handle=0x5641bc236bb0,option=14,action=1,value=0x7ffe72ed3b60,info=0x7ffe72ed3a44)
> [13:05:35.143391] [dll] sane_start(handle=0x5641bc236bb0)
> [13:05:35.143610] [pixma] Reader task id=140395754935872 (threaded)
> [13:05:35.143611] [pixma] Reader task started
> [13:05:35.143631] [dll] [13:05:35.143738] [pixma]
> sane_get_parameters(handle=0x5641bc236bb0,params=0x7ffe72ed3b60)
> [13:05:35.143756] [pixma] pixma_scan(): start
> [13:05:35.143774] [dll]
> sane_read(handle=0x5641bc236bb0,data=0x5641bc296840,maxlen=32768,lenp=0x7ffe72ed3b2c)
> [13:05:35.143780] [pixma]   line_size=1920 image_size=1683840 channels=3
> depth=8
> [13:05:35.143812] [pixma]   dpi=75x75 offset=(0,0) dimension=640x877
> [13:05:35.143825] [pixma]   gamma=2.199997 gamma_table=0x5641bc28c6d8
> source=0
> [13:05:35.143845] [pixma]   threshold=127 threshold_curve=0
> [13:05:35.143857] [pixma]   adf-wait=0
> [13:05:35.143868] [pixma]   ADF page count: 0
> [13:05:36.162326] [pixma] raw_width = 640
> [13:05:36.171744] [pixma] OUT  T=4.531 len=10
> [13:05:36.171786] [pixma]  00000000:f3 20 00 00 00 00 00 00  0c 00     .
> ...... ..
> [13:05:36.171797] [pixma]
> [13:05:36.181237] [pixma] IN   T=4.541 len=14
> [13:05:36.181279] [pixma]  00000000:06 06 03 01 00 41 03 00  41 10 00 01
> 00 66     .....A.. A....f
> [13:05:36.181290] [pixma]
> [13:05:36.181300] [pixma] Current status: paper=0x01 cal=0 lamp=16
> [13:05:36.181310] [pixma] *iclass_scan***** start scanning *****
> [13:05:36.185463] [pixma] OUT  T=4.545 len=10
> [13:05:36.185520] [pixma]  00000000:db 20 00 00 00 00 00 00  00 00     .
> ...... ..
> [13:05:36.185531] [pixma]
> [13:05:36.190071] [pixma] IN   T=4.549 len=2
> [13:05:36.190117] [pixma]  00000000:14 14     ..
> [13:05:36.190130] [pixma]
> [13:05:36.190143] [pixma] pixma_scan() failed EBUSY
> [13:05:36.190167] [pixma] Reader task terminated: EBUSY
> [13:05:36.190218] [pixma] read_image():reader task closed the pipe:0 bytes
> received, 1683840 bytes expected
> scanimage: sane_read: Device busy
> [13:05:36.190339] [dll] sane_cancel(handle=0x5641bc236bb0)
> [13:05:36.190353] [dll] sane_close(handle=0x5641bc236bb0)
> [13:05:36.190364] [pixma] pixma_close(): Canon i-SENSYS MF8200C Series
> [13:05:36.192213] [dll] sane_exit: exiting
> [13:05:36.192236] [dll] sane_exit: calling backend `pixma's exit function
> [13:05:36.192430] [dll] sane_exit: calling backend `hpaio's exit function
> [13:05:36.192952] [dll] sane_exit: finished
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20240425/d8a6e52f/attachment.htm>


More information about the sane-devel mailing list