[sane-devel] Canon ImageClass MF644Cdw
David McMahon
thedjm at gmail.com
Sat Oct 5 20:54:24 BST 2019
Hi Kip, Rolf
I've got the latest and still unable to connect. Did you need to resolve
anything like this? Are you just adding a bjnp line to pixma.conf?
$ SANE_DEBUG_BJNP=5 scanimage -L 2>&1
[sanei_debug] Setting debug level of bjnp to 5.
[bjnp] sanei_bjnp_find_devices, pixma backend version: 0.23.4
[bjnp] sanei_bjnp_find_devices: Adding scanner from pixma.conf: bjnp://
192.168.86.39
[bjnp] bjnp_allocate_device(bjnp://192.168.86.39:8612/timeout=10000) 0
[bjnp] get_scanner_name: Forward lookup for canoncbcab3.lan succeeded,
using as hostname
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.86.39 port
8612
[bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp]
udp_command: ERROR - recv failed: Connection refused[bjnp] udp_command:
ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - no data
received (timeout = 10000)
[bjnp] bjnp_init_device_structure: Cannot read mac address, skipping this
scanner
[bjnp] bjnp_allocate_device: Scanner not yet in our list, added it:
192.168.86.39:8612
[bjnp] get_scanner_id: Get scanner identity
[bjnp] 00000000:42 4a 4e 50 02 30 00 00 00 01 00 00 00 00 00 00
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.86.39 port
8612
[bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp]
udp_command: ERROR - recv failed: Connection refused[bjnp] udp_command:
ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - no data
received (timeout = 10000)
[bjnp] get_scanner_id: ERROR - Failed to retrieve scanner identity:
[bjnp] add_scanner: ERROR - Cannot read scanner make & model: bjnp://
192.168.86.39:8612/timeout=10000
[bjnp] sanei_bjnp_find_devices: Added all configured scanners, now do auto
detection...
[bjnp] prepare_socket: lo is not a valid IPv4 interface, skipping...
[bjnp] prepare_socket: eth0 is IPv4 capable, sending broadcast, socket = 9
[bjnp] prepare_socket: docker0 is IPv4 capable, sending broadcast, socket =
10
[bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
[bjnp] prepare_socket: eth0 is IPv6 capable, sending broadcast, socket = 11
[bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499969....
[bjnp] sanei_find_devices: Discover response:
[bjnp] 00000000:4d 46 4e 50 82 01 00 00 00 00 00 00 00 00 00 10
[bjnp] 00000010:00 01 80 00 06 04 10 98 c3 da 2c f7 c0 a8 56 27
[bjnp] get_scanner_name: Forward lookup for canoncbcab3.lan succeeded,
using as hostname
[bjnp] bjnp_allocate_device(mfnp://canoncbcab3.lan:8610/timeout=10000) 1
[bjnp] get_scanner_name: Forward lookup for canoncbcab3.lan succeeded,
using as hostname
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.86.39 port
8610
[bjnp] bjnp_get_scanner_mac_address: Discover response:
[bjnp] 00000000:4d 46 4e 50 82 01 00 00 00 00 00 00 00 00 00 10
[bjnp] 00000010:00 01 80 00 06 04 10 98 c3 da 2c f7 c0 a8 56 27
[bjnp] bjnp_allocate_device: Scanner not yet in our list, added it:
canoncbcab3.lan:8610
[bjnp] get_scanner_id: Get scanner identity
[bjnp] 00000000:4d 46 4e 50 02 30 00 00 00 01 00 00 00 00 00 00
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.86.39 port
8610
[bjnp] get_scanner_id: scanner identity:
[bjnp] 00000000:4d 46 4e 50 82 30 00 00 00 01 00 00 00 00 00 5a
[bjnp] 00000010:4d 46 47 3a 43 41 4e 4f 4e 3b 43 4d 44 3a 4d 46
[bjnp] 00000020:4e 50 31 2c 4d 75 6c 74 69 50 41 53 53 20 32 2e
[bjnp] 00000030:31 3b 4d 44 4c 3a 4d 46 36 34 32 43 2f 36 34 33
[bjnp] 00000040:43 2f 36 34 34 43 3b 43 4c 53 3a 49 4d 47 3b 44
[bjnp] 00000050:45 53 3a 43 61 6e 6f 6e 20 4d 46 36 34 32 43 2f
[bjnp] 00000060:36 34 33 43 2f 36 34 34 43 3b
*** buffer overflow detected ***: scanimage terminated
[bjnp] get_scanner_id: Scanner identity string =
MFG:CANON;CMD:MFNP1,MultiPASS 2.1;MDL:MF642C/643C/644C;CLS:IMG;DES:Canon
MF642C/643C/644C; - length = 90
[bjnp] get_scanner_id: Scanner model = MF642C/643C/644C
On Sat, Oct 5, 2019 at 8:13 AM Kip Shaffer <kip at shafferhouse.org> wrote:
> I just updated from Rolf's PPA, and I am very happy to say that I can now
> detect and scan from my Canon ImageClass MF644Cdw over the network. I
> confirmed it can scan in resolutions of 75, 150, 300, 600, 1200, and 2400
> for both Text and Color modes. It successfully read 2 sided multiple pages
> from the sheet feeder.
>
> The only issue I saw (same as earlier) is that when it completes a job
> reading from the sheet feeder, SimpleScan pops up a dialog box stating
> "Failed to Scan" "Error communicating with scanner." This does not affect
> the job... all pages were scanned successfully.
>
> Thank you everyone! I am happy to continue tests if there is energy for
> debugging the error message!
>
> -Kip
>
> On Fri, Oct 4, 2019 at 3:33 PM Rolf Bensch <rolf at bensch-online.de> wrote:
>
>> Hi,
>>
>> It seems that the network model differs between sources and network
>> scanner discovery. I just fixed it. It will be available from my ppa
>> tomorrow.
>>
>> Hope this helps.
>>
>> Cheers,
>> Rolf
>>
>>
>> Am 04.10.19 um 18:53 schrieb David McMahon:
>> >
>> >
>> > On Fri, Oct 4, 2019 at 3:51 AM Rolf Bensch <rolf at bensch-online.de
>> > <mailto:rolf at bensch-online.de>> wrote:
>> >
>> > Hi Kip,
>> >
>> > Am 14.09.19 um 03:40 schrieb Kip Shaffer:
>> > > Scanning Results! I updated to today's
>> > version: 1.0.28+git20190913-bionic0
>> > >
>> > > Using Simple Scan I was able to scan at 75, 150, 300, 600, 1200,
>> and
>> > > 2400 dpi in both Text and Photo modes. Perfect!
>> >
>> > I just updated the doc files.
>> >
>> > >
>> > > When scanning from the document feeder, it scans front and back,
>> one
>> > > sheet or many, but after the job is done there is a pause, and
>> then it
>> > > says "Error communicating with scanner".
>> >
>> > Can you scan again after closing the message and/or does your
>> > scanner hang?
>> >
>> > The pause comes from adf-wait parameter. Please read the man page
>> for
>> > details.
>> >
>> > >
>> > > Also, this has all been through USB. I tried to connect with the
>> > > network and scanimage -L cannot find it. I added the address to
>> > > pixma.conf (neither line helped):
>> > > bjnp://MF640_192.168.1.97
>> > > bjnp://192.168.1.97 <http://192.168.1.97> <http://192.168.1.97>
>> >
>> > Please read 'man sane-pixma' to get some help for this issue. If
>> this
>> > won't help, please provide a log file with SANE_DEBUG_BJNP.
>> >
>> >
>> > Here's mine:
>> >
>> > $ SANE_DEBUG_BJNP=5 scanimage -L 2>&1
>> > [sanei_debug] Setting debug level of bjnp to 5.
>> > [bjnp] sanei_bjnp_find_devices, pixma backend version: 0.23.3
>> > [bjnp] sanei_bjnp_find_devices: Adding scanner from pixma.conf:
>> > bjnp://192.168.86.39 <http://192.168.86.39>
>> > [bjnp] bjnp_allocate_device(bjnp://192.168.86.39:8612/timeout=10000
>> > <http://192.168.86.39:8612/timeout=10000>) 0
>> > [bjnp] get_scanner_name: Forward lookup for canoncbcab3.lan succeeded,
>> > using as hostname
>> > [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.86.39
>> > port 8612
>> > [bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp]
>> > udp_command: ERROR - recv failed: Connection refused[bjnp] udp_command:
>> > ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - no
>> > data received (timeout = 10000)
>> > [bjnp] bjnp_init_device_structure: Cannot read mac address, skipping
>> > this scanner
>> > [bjnp] bjnp_allocate_device: Scanner not yet in our list, added it:
>> > 192.168.86.39:8612 <http://192.168.86.39:8612>
>> > [bjnp] get_scanner_id: Get scanner identity
>> > [bjnp] 00000000:42 4a 4e 50 02 30 00 00 00 01 00 00 00 00 00 00
>> > [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.86.39
>> > port 8612
>> > [bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp]
>> > udp_command: ERROR - recv failed: Connection refused[bjnp] udp_command:
>> > ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - no
>> > data received (timeout = 10000)
>> > [bjnp] get_scanner_id: ERROR - Failed to retrieve scanner identity:
>> > [bjnp] add_scanner: ERROR - Cannot read scanner make & model:
>> > bjnp://192.168.86.39:8612/timeout=10000
>> > <http://192.168.86.39:8612/timeout=10000>
>> > [bjnp] sanei_bjnp_find_devices: Added all configured scanners, now do
>> > auto detection...
>> > [bjnp] prepare_socket: lo is not a valid IPv4 interface, skipping...
>> > [bjnp] prepare_socket: eth0 is IPv4 capable, sending broadcast, socket
>> = 9
>> > [bjnp] prepare_socket: docker0 is IPv4 capable, sending broadcast,
>> > socket = 10
>> > [bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
>> > [bjnp] prepare_socket: eth0 is IPv6 capable, sending broadcast, socket
>> = 11
>> > [bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499988....
>> > [bjnp] sanei_find_devices: Discover response:
>> > [bjnp] 00000000:4d 46 4e 50 82 01 00 00 00 00 00 00 00 00 00 10
>> > [bjnp] 00000010:00 01 80 00 06 04 10 98 c3 da 2c f7 c0 a8 56 27
>> > [bjnp] get_scanner_name: Forward lookup for canoncbcab3.lan succeeded,
>> > using as hostname
>> > [bjnp] bjnp_allocate_device(mfnp://canoncbcab3.lan:8610/timeout=10000) 1
>> > [bjnp] get_scanner_name: Forward lookup for canoncbcab3.lan succeeded,
>> > using as hostname
>> > [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.86.39
>> > port 8610
>> > [bjnp] bjnp_get_scanner_mac_address: Discover response:
>> > [bjnp] 00000000:4d 46 4e 50 82 01 00 00 00 00 00 00 00 00 00 10
>> > [bjnp] 00000010:00 01 80 00 06 04 10 98 c3 da 2c f7 c0 a8 56 27
>> > [bjnp] bjnp_allocate_device: Scanner not yet in our list, added it:
>> > canoncbcab3.lan:8610
>> > [bjnp] get_scanner_id: Get scanner identity
>> > [bjnp] 00000000:4d 46 4e 50 02 30 00 00 00 01 00 00 00 00 00 00
>> > [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.86.39
>> > port 8610
>> > [bjnp] get_scanner_id: scanner identity:
>> > [bjnp] 00000000:4d 46 4e 50 82 30 00 00 00 01 00 00 00 00 00 5a
>> > [bjnp] 00000010:4d 46 47 3a 43 41 4e 4f 4e 3b 43 4d 44 3a 4d 46
>> > [bjnp] 00000020:4e 50 31 2c 4d 75 6c 74 69 50 41 53 53 20 32 2e
>> > [bjnp] 00000030:31 3b 4d 44 4c 3a 4d 46 36 34 32 43 2f 36 34 33
>> > [bjnp] 00000040:43 2f 36 34 34 43 3b 43 4c 53 3a 49 4d 47 3b 44
>> > [bjnp] 00000050:45 53 3a 43 61 6e 6f 6e 20 4d 46 36 34 32 43 2f
>> > [bjnp] 00000060:36 34 33 43 2f 36 34 34 43 3b
>> > [bjnp] get_scanner_id: Scanner identity string =
>> > MFG:CANON;CMD:MFNP1,MultiPASS 2.1;MDL:MF642C/643C/644C;CLS:IMG;DES:Canon
>> > MF642C/643C/644C; - length = 90
>> > [bjnp] get_scanner_id: Scanner model = MF642C/643C/644C
>> > [bjnp] add_scanner: New scanner added:
>> > mfnp://canoncbcab3.lan:8610/timeout=10000, serial canoncbcab3.lan, mac
>> > address: 1098c3da2cf7.
>> > [bjnp] sanei_find_devices: Discover response:
>> > [bjnp] 00000000:42 4a 4e 50 02 01 00 00 00 00 00 00 00 00 00 00
>> > [bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499992....
>> > [bjnp] sanei_find_devices: Discover response:
>> > [bjnp] 00000000:4d 46 4e 50 82 01 00 00 00 00 00 00 00 00 00 10
>> > [bjnp] 00000010:00 01 80 00 06 04 10 98 c3 da 2c f7 c0 a8 56 27
>> > [bjnp] get_scanner_name: Forward lookup for canoncbcab3.lan succeeded,
>> > using as hostname
>> > [bjnp] bjnp_allocate_device(mfnp://canoncbcab3.lan:8610/timeout=10000) 2
>> > [bjnp] get_scanner_name: Forward lookup for canoncbcab3.lan succeeded,
>> > using as hostname
>> > [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.86.39
>> > port 8610
>> > [bjnp] bjnp_get_scanner_mac_address: Discover response:
>> > [bjnp] 00000000:4d 46 4e 50 82 01 00 00 00 00 00 00 00 00 00 10
>> > [bjnp] 00000010:00 01 80 00 06 04 10 98 c3 da 2c f7 c0 a8 56 27
>> > [bjnp] add_scanner: Scanner at mfnp://canoncbcab3.lan:8610/timeout=10000
>> > was added before, good!
>> > [bjnp] sanei_find_devices: Discover response:
>> > [bjnp] 00000000:42 4a 4e 50 02 01 00 00 00 00 00 00 00 00 00 00
>> > [bjnp] sanei_find_devices: scanner discovery finished...
>> >
>> > 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).
>> >
>> >
>> > >
>> > > TL:DR - the sane-pixma backend is functional for the Canon
>> ImageClass
>> > > MF644Cdw when connected via USB, with only a slight hiccup after
>> > > scanning from the sheet feeder. I was not able to scan over the
>> > network.
>> >
>> > Many thanks for your report.
>> >
>> > Hope this helps.
>> >
>> > Cheers,
>> > Rolf
>> >
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20191005/46f9ed6c/attachment-0001.html>
More information about the sane-devel
mailing list