Re: [sane-devel] Pulstek OpticBook 3800 - problems with openning device on 1.0.23+

2019-10-05 Thread Olaf Meeuwissen
Hi,

Povilas Kanapickas writes:

> Hi,
>
> On 9/29/19 6:24 AM, Olaf Meeuwissen wrote:
>> Hi,
>>
>> <...>
>>
>> @povilas Any idea why this device is not in genesys.desc?
>
> Maybe the scanner just does not work fully and thus was never included
> into the scanner list as a supported one. We can add it as unsupported
> though.

Perhaps untested is more appropriate until we get confirmation that the
latest sources (or at least 1.0.28) doesn't support it?

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join



Re: [sane-devel] Canon ImageClass MF644Cdw

2019-10-05 Thread Kip Shaffer
Hi David!  Here is my output from the same command.  I have nothing in my
pixma.conf file.

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: No devices specified in configuration file.
[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 = 39
[bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
[bjnp] prepare_socket: eth0 is IPv6 capable, sending broadcast, socket = 40
[bjnp] sanei_bjnp_find_devices: Select returned, time left 0.42
[bjnp] sanei_find_devices: Discover response:
[bjnp]  :4d 46 4e 50 82 01 00 00  00 00 00 00 00 00 00 10
[bjnp]  0010:00 01 80 00 06 04 f4 a9  97 c9 3d 62 c0 a8 01 6f
[bjnp] get_scanner_name: Name for 192.168.1.111 not found : Name or service
not known
[bjnp] bjnp_allocate_device(mfnp://192.168.1.111:8610/timeout=1) 0
[bjnp] get_scanner_name: Name for 192.168.1.111 not found : Name or service
not known
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.111  port
8610
[bjnp] bjnp_get_scanner_mac_address: Discover response:
[bjnp]  :4d 46 4e 50 82 01 00 00  00 00 00 00 00 00 00 10
[bjnp]  0010:00 01 80 00 06 04 f4 a9  97 c9 3d 62 c0 a8 01 6f
[bjnp] bjnp_allocate_device: Scanner not yet in our list, added it:
192.168.1.111:8610
[bjnp] get_scanner_id: Get scanner identity
[bjnp]  :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.1.111  port
8610
[bjnp] get_scanner_id: scanner identity:
[bjnp]  :4d 46 4e 50 82 30 00 00  00 01 00 00 00 00 00 5a
[bjnp]  0010:4d 46 47 3a 43 41 4e 4f  4e 3b 43 4d 44 3a 4d 46
[bjnp]  0020:4e 50 31 2c 4d 75 6c 74  69 50 41 53 53 20 32 2e
[bjnp]  0030:31 3b 4d 44 4c 3a 4d 46  36 34 32 43 2f 36 34 33
[bjnp]  0040:43 2f 36 34 34 43 3b 43  4c 53 3a 49 4d 47 3b 44
[bjnp]  0050:45 53 3a 43 61 6e 6f 6e  20 4d 46 36 34 32 43 2f
[bjnp]  0060: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://
192.168.1.111:8610/timeout=1, serial 192.168.1.111, mac address:
f4a997c93d62.
[bjnp] sanei_bjnp_find_devices: Select returned, time left 0.47
[bjnp] sanei_find_devices: Discover response:
[bjnp]  :4d 46 4e 50 82 01 00 00  00 00 00 00 00 00 00 10
[bjnp]  0010:00 01 80 00 06 04 f4 a9  97 c9 3d 62 c0 a8 01 6f
[bjnp] get_scanner_name: Name for 192.168.1.111 not found : Name or service
not known
[bjnp] bjnp_allocate_device(mfnp://192.168.1.111:8610/timeout=1) 1
[bjnp] get_scanner_name: Name for 192.168.1.111 not found : Name or service
not known
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.111  port
8610
[bjnp] bjnp_get_scanner_mac_address: Discover response:
[bjnp]  :4d 46 4e 50 82 01 00 00  00 00 00 00 00 00 00 10
[bjnp]  0010:00 01 80 00 06 04 f4 a9  97 c9 3d 62 c0 a8 01 6f
[bjnp] add_scanner: Scanner at mfnp://192.168.1.111:8610/timeout=1 was
added before, good!
[bjnp] sanei_find_devices: scanner discovery finished...
device `pixma:MF642C/643C/644C_192.168.1.111' is a CANON Canon i-SENSYS
MF640 Series multi-function peripheral


Re: [sane-devel] Canon ImageClass MF644Cdw

2019-10-05 Thread David McMahon
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=1) 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 = 1)
[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]  :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 = 1)
[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=1
[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]  :4d 46 4e 50 82 01 00 00  00 00 00 00 00 00 00 10
[bjnp]  0010: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=1) 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]  :4d 46 4e 50 82 01 00 00  00 00 00 00 00 00 00 10
[bjnp]  0010: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]  :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]  :4d 46 4e 50 82 30 00 00  00 01 00 00 00 00 00 5a
[bjnp]  0010:4d 46 47 3a 43 41 4e 4f  4e 3b 43 4d 44 3a 4d 46
[bjnp]  0020:4e 50 31 2c 4d 75 6c 74  69 50 41 53 53 20 32 2e
[bjnp]  0030:31 3b 4d 44 4c 3a 4d 46  36 34 32 43 2f 36 34 33
[bjnp]  0040:43 2f 36 34 34 43 3b 43  4c 53 3a 49 4d 47 3b 44
[bjnp]  0050:45 53 3a 43 61 6e 6f 6e  20 4d 46 36 34 32 43 2f
[bjnp]  0060: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  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  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:
>> >

Re: [sane-devel] Sending confirmation about the pixma backend

2019-10-05 Thread Rolf Bensch
Hi Rogério,

Am 05.10.19 um 00:00 schrieb Rogério Brito:
> Dear people,
>
> I just (yesterday night) bought myself a Canon PIXMA E4210 that I want to
> use *purely* with Free Software.
>
> In my limited hours with it, I found that the scanning wasn't working with
> the programs in Debian testing nor sid but that I could make it work with an
> USB cable if I installed sane-backends 1.0.28 (I actually grabbed a package
> uploaded to mentors.debian.org).
>
> Since I read the code and it mentioned that it needed testers, here is a
> report.  With the newer version of sane-backends, I can scan from the
> flatbed, as expected, and it works as well as I could expect (minus the
> fragility of this piece of hardware---disappointed with that, but that's not
> software-related, of course).

Many thanks for your report.

>
> Unfortunately, I can't scan from the ADF (which was one of the main reasons
> for me to choose this printer instead of others--with money being a 2nd
> factor, of course).



> - - - - - - - - - - - - - - - - - - - - - -
> $ scanadf -d pixma:04A91855_103CD1 --mode Lineart --gamma 1 --source 
> "Automatic Document Feeder" --output-file foo%02d.pbm
> scanadf: sane_read: Document feeder out of documents
> Scanned 0 pages
> - - - - - - - - - - - - - - - - - - - - - -
>
> The printer doesn't do anything, nothing moves etc.  The ADF works if I tell
> it to scan from my Android device (but, then, the Canon app doesn't allow me
> to specify resolution, nor if I want B/W images etc.---yes, it's that
> limited).

--souce option usually resets previous settings.

Please try this:

$ scanadf -d pixma:04A91855_103CD1 --source "Automatic Document Feeder"
--mode Lineart --output-file foo%02d.pbm

For testing ADF I prefer to use gscan2pdf and for "normal" scans xsane.
You can see some logs with:

$ SANE_DEBUG_PIXMA=11 gscan2pdf

or

$ SANE_DEBUG_PIXMA=11 xsane

add this if you want to save the log into a file:

&> pixma.log

You can decrease the log level to reduce log depth (see 'man sane-pixma'
for details).



> In the case of it being possible to return this device and get something
> else in its place, which manufacturer/model would be preferred to have
> *full* functionality with Free Software only? Any recommendations?

Please have a look at this table:
http://www.sane-project.org/sane-backends.html

Hope this helps.

Cheers,
Rolf




Re: [sane-devel] Canon ImageClass MF644Cdw

2019-10-05 Thread Kip Shaffer
Just a bit more data about the end of the job dialog box - Here is the last
bit of output that happens right after the job finishes from
SANE_DEBUG_BJNP=5 simple-scan 2>&1

[bjnp] bjnp_recv_header: TCP response header(payload data = 4 bytes):
[bjnp]  :4d 46 4e 50 82 21 00 00  10 9d 00 01 00 00 00 04
[bjnp] bjnp_recv_data: read response payload (0x4 bytes max), buffer:
0x7f9ba3ac6934, start_pos: 0x0
[bjnp] bjnp_recv_data: Received TCP response payload (4 bytes):
[bjnp]  :00 00 00 0a
[bjnp] bjnp_set_timeout to 1000, but using minimum value 1
[bjnp] bjnp_read_bulk(dn=1, bufferptr=7f9bb81a6700, 0x2 = 2)
[bjnp] bjnp_read_bulk: 0x0 = 0 bytes available at start
[bjnp] bjnp_read_bulk: Already received 0x0 = 0 bytes, backend requested
0x2 = 2 bytes
[bjnp] bjnp_read_bulk: No (more) scanner data available, requesting more(
blocksize = 262152 = 40008
[bjnp] bjnp_send_read_req sending command
[bjnp]  :4d 46 4e 50 02 20 00 00  10 9e 00 01 00 00 00 00
[bjnp] bjnp_recv_header: receiving response header
[bjnp] bjnp_recv_header: TCP response header(payload data = 2 bytes):
[bjnp]  :4d 46 4e 50 82 20 00 00  10 9e 00 01 00 00 00 02
[bjnp] bjnp_read_bulk: In flight: 0x2 = 2 bytes available
[bjnp] bjnp_read_bulk: Try to read 0x2 = 2 (of max 0x2 = 2) bytes
[bjnp] bjnp_recv_data: read response payload (0x2 bytes max), buffer:
0x7f9bb81a6700, start_pos: 0x0
[bjnp] bjnp_recv_data: Received TCP response payload (2 bytes):
[bjnp]  :06 06
[bjnp] bjnp_read_bulk: Expected at most 2 bytes, received this time: 2
[bjnp] bjnp_read_bulk: OK: Returning 2 bytes, backend expexts 2
[bjnp] sanei_bjnp_deactivate (1)
[bjnp] bjnp_finish_job: Finish scanjob
[bjnp]  :4d 46 4e 50 02 11 00 00  10 9f 00 01 00 00 00 00
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.111  port
8610
[bjnp] bjnp_finish_job: Finish scanjob response
[bjnp]  :4d 46 4e 50 82 11 00 00  10 9f 00 01 00 00 00 00
[bjnp] sanei_bjnp_activate (1)
[bjnp] bjnp_send_job_details: Job details
[bjnp]  :4d 46 4e 50 02 10 00 00  10 a0 00 01 00 00 01 88
[bjnp]  0010:00 00 00 00 00 00 00 00  00 74 00 73 00 75 00 6e
[bjnp]  0020:00 61 00 6d 00 69 00 00  00 00 00 00 00 00 00 00
[bjnp]  0030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0040:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0050:00 00 00 00 00 00 00 00  00 72 00 6f 00 6f 00 74
[bjnp]  0060:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0070:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0080:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0090:00 00 00 00 00 00 00 00  00 50 00 72 00 6f 00 63
[bjnp]  00a0:00 65 00 73 00 73 00 20  00 49 00 44 00 20 00 3d
[bjnp]  00b0:00 20 00 36 00 34 00 38  00 31 00 00 00 00 00 00
[bjnp]  00c0:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  00d0:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  00e0:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  00f0:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0100:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0110:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0120:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0130:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0140:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0150:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0160:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0170:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0180:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0190:00 00 00 00 00 00 00 00  70 5f ac a3 9b 7f 00 00
[bjnp]  01a0:70 60 ac a3 9b 7f 00 00
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.111  port
8610
[bjnp] bjnp_send_job_details: Job details response:
[bjnp]  :4d 46 4e 50 82 10 00 00  10 a0 00 01 00 00 00 04
[bjnp]  0010:80 00 00 00
[bjnp] bjnp_open_tcp: Setting up a TCP socket, dest: 192.168.1.111  port
8610
[bjnp] bjnp_set_timeout to 100, but using minimum value 1
[bjnp] bjnp_read_int(1, bufferptr, 0x10 = 16):
[bjnp] bjnp_poll_scanner: Poll details (type 5)
[bjnp]  :4d 46 4e 50 02 32 00 00  10 a1 00 00 00 00 00 64
[bjnp]  0010:00 05 00 00 00 00 00 00  00 72 00 6f 00 6f 00 74
[bjnp]  0020:00 20 00 20 00 74 00 73  00 75 00 6e 00 61 00 6d
[bjnp]  0030:00 69 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0040:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0050:00 00 00 00 00 00 00 00  00 00 00 14 00 00 00 00
[bjnp]  0060:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[bjnp]  0070:00 00 00 00
[bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.111  port
8610
[bjnp] bjnp_poll_scanner: Poll details response:
[bjnp]  :4d 46 4e 50 82 32 00 00  10 a1 00 00 00 00 00 24
[bjnp]  0010:00 00 00 00 00 00 00 00  00 00 00 14 00 00 00 00
[bjnp] 

Re: [sane-devel] Canon ImageClass MF644Cdw

2019-10-05 Thread Kip Shaffer
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  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  > > 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  
> >
> > 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 
> > [bjnp] bjnp_allocate_device(bjnp://192.168.86.39:8612/timeout=1
> > ) 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 = 1)
> > [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]  :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 = 1)
> > [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=1
> > 
> > [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]  :4d 46 4e 50 82 01 00 00  00 00 00 00 00 00 00 10
> > [bjnp]  0010: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]