[sane-devel] scanbd Canon MG6250

Matthias Thon thon.matthias at gmail.com
Thu Feb 7 06:26:16 UTC 2013


Hello Louis,

thank's for your quick response. Here the debug output. I think you are
only interestet at the portion near the Button-Update.

The scanner is connectet via WLAN and first i press "COLOR"  and then at my
PC scanimage -A

  Buttons:
    --button-update
        Update button state
[pixma] bjnp_set_timeout to 300
[pixma] bjnp_read_int(0, bufferptr, 0x40 = 64):
[pixma] Poll details (type 0)
[pixma]  00000000:42 4a 4e 50 02 32 00 00  00 04 00 00 00 00 00 50
[pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000040:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000050:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22
port 8612
[pixma] Poll details response:
[pixma]  00000000:42 4a 4e 50 82 32 00 00  00 04 00 00 00 00 00 34
[pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 24 00 00 00 00
[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000040:00 00 00 00
[pixma] Poll details (type 1)
[pixma]  00000000:42 4a 4e 50 02 32 00 00  00 05 00 00 00 00 00 50
[pixma]  00000010:00 01 00 00 00 00 00 00  00 72 00 6f 00 6f 00 74
[pixma]  00000020:00 20 00 20 00 6d 00 61  00 74 00 7a 00 65 00 2d
[pixma]  00000030:00 53 00 61 00 74 00 65  00 6c 00 6c 00 69 00 74
[pixma]  00000040:00 65 00 2d 00 43 00 36  00 36 00 30 00 00 00 00
[pixma]  00000050:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22
port 8612
[pixma] Poll details response:
[pixma]  00000000:42 4a 4e 50 82 32 00 00  00 05 00 00 00 00 00 34
[pixma]  00000010:00 00 00 00 00 00 00 03  00 00 00 24 00 00 00 00
[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000040:00 00 00 00
[pixma] Poll details (type 2)
[pixma]  00000000:42 4a 4e 50 02 32 00 00  00 06 00 00 00 00 00 74
[pixma]  00000010:00 02 00 00 00 00 00 03  00 72 00 6f 00 6f 00 74
[pixma]  00000020:00 20 00 20 00 6d 00 61  00 74 00 7a 00 65 00 2d
[pixma]  00000030:00 53 00 61 00 74 00 65  00 6c 00 6c 00 69 00 74
[pixma]  00000040:00 65 00 2d 00 43 00 36  00 36 00 30 00 00 00 00
[pixma]  00000050:00 00 00 00 00 00 00 00  00 00 00 14 00 00 00 00
[pixma]  00000060:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000070:00 00 00 10 32 30 31 33  30 32 30 37 30 37 31 36
[pixma]  00000080:34 36 00 00
[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22
port 8612
[pixma] Poll details response:
[pixma]  00000000:42 4a 4e 50 82 32 00 00  00 06 00 00 00 00 00 34
[pixma]  00000010:00 00 00 00 00 00 00 03  00 00 00 24 00 00 00 00
[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000040:00 00 00 00
    --button-1 <int> [0] [read-only]
        Button 1
    --button-2 <int> [0] [read-only]
        Button 2
    --original <int> [0] [read-only]
        Type of original to scan
    --target <int> [0] [read-only]
        Target operation type
  Extras:
    --threshold auto|0..100% (in steps of 1) [inactive]
        Select minimum-brightness to get a white point
    --threshold-curve auto|0..127 (in steps of 1) [inactive]
        Dynamic threshold curve, from light to dark, normally 50-65

[pixma] pixma_close(): Canon PIXMA MG6200
[pixma] sanei_bjnp_close(0):
[pixma] sanei_bjnp_deactivate (0)
[pixma] Finish scanjob
[pixma]  00000000:42 4a 4e 50 02 11 00 00  00 07 00 56 00 00 00 00
[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22
port 8612
[pixma] Finish scanjob response
[pixma]  00000000:42 4a 4e 50 82 11 00 00  00 07 00 56 00 00 00 00

Second case is the same but I pressed "BLACK" (button-2)


  Buttons:
    --button-update
        Update button state
[pixma] bjnp_set_timeout to 300
[pixma] bjnp_read_int(0, bufferptr, 0x40 = 64):
[pixma] Poll details (type 0)
[pixma]  00000000:42 4a 4e 50 02 32 00 00  00 04 00 00 00 00 00 50
[pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000040:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000050:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22
port 8612
[pixma] Poll details response:
[pixma]  00000000:42 4a 4e 50 82 32 00 00  00 04 00 00 00 00 00 34
[pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 24 00 00 00 00
[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000040:00 00 00 00
[pixma] Poll details (type 1)
[pixma]  00000000:42 4a 4e 50 02 32 00 00  00 05 00 00 00 00 00 50
[pixma]  00000010:00 01 00 00 00 00 00 00  00 72 00 6f 00 6f 00 74
[pixma]  00000020:00 20 00 20 00 6d 00 61  00 74 00 7a 00 65 00 2d
[pixma]  00000030:00 53 00 61 00 74 00 65  00 6c 00 6c 00 69 00 74
[pixma]  00000040:00 65 00 2d 00 43 00 36  00 36 00 30 00 00 00 00
[pixma]  00000050:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22
port 8612
[pixma] Poll details response:
[pixma]  00000000:42 4a 4e 50 82 32 00 00  00 05 00 00 00 00 00 34
[pixma]  00000010:00 00 00 00 00 00 00 05  00 00 00 24 00 00 00 00
[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000040:00 00 00 00
[pixma] Poll details (type 2)
[pixma]  00000000:42 4a 4e 50 02 32 00 00  00 06 00 00 00 00 00 74
[pixma]  00000010:00 02 00 00 00 00 00 05  00 72 00 6f 00 6f 00 74
[pixma]  00000020:00 20 00 20 00 6d 00 61  00 74 00 7a 00 65 00 2d
[pixma]  00000030:00 53 00 61 00 74 00 65  00 6c 00 6c 00 69 00 74
[pixma]  00000040:00 65 00 2d 00 43 00 36  00 36 00 30 00 00 00 00
[pixma]  00000050:00 00 00 00 00 00 00 00  00 00 00 14 00 00 00 00
[pixma]  00000060:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000070:00 00 00 10 32 30 31 33  30 32 30 37 30 37 32 31
[pixma]  00000080:35 34 00 00
[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22
port 8612
[pixma] Poll details response:
[pixma]  00000000:42 4a 4e 50 82 32 00 00  00 06 00 00 00 00 00 34
[pixma]  00000010:00 00 00 00 00 00 00 05  00 00 00 24 00 00 00 00
[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]  00000040:00 00 00 00
    --button-1 <int> [0] [read-only]
        Button 1
    --button-2 <int> [0] [read-only]
        Button 2
    --original <int> [0] [read-only]
        Type of original to scan
    --target <int> [0] [read-only]
        Target operation type
  Extras:
    --threshold auto|0..100% (in steps of 1) [inactive]
        Select minimum-brightness to get a white point
    --threshold-curve auto|0..127 (in steps of 1) [inactive]
        Dynamic threshold curve, from light to dark, normally 50-65

[pixma] pixma_close(): Canon PIXMA MG6200
[pixma] sanei_bjnp_close(0):
[pixma] sanei_bjnp_deactivate (0)
[pixma] Finish scanjob
[pixma]  00000000:42 4a 4e 50 02 11 00 00  00 07 00 58 00 00 00 00
[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22
port 8612
[pixma] Finish scanjob response
[pixma]  00000000:42 4a 4e 50 82 11 00 00  00 07 00 58 00 00 00 00
roo

regards Matthias


2013/2/7 Louis Lagendijk <louis at fazant.net>

> On Wed, 2013-02-06 at 22:27 +0100, Rolf Bensch wrote:
> > Hi Matthias,
> >
> > Many thanks for your patch. I just committed your patch to git.
> >
> > I have no idea about BJNP. Please open a new thread about this issue
> > here in the ml, and/or search for a BJNP maintainer in "ChangeLog".
> >
> > Cheers,
> > Rolf
> >
> Gents
> No need for searching: please get me a log with SANE_DEBUG_BJNP=4 and I
> will have a look at it.
>
> I have been following this thread and am surprised that you don't see
> anything happening, but there is always a chance that there is something
> wrong
>
> kind regards, Louis
>
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130207/c7ec85c9/attachment-0001.html>


More information about the sane-devel mailing list