<div dir="ltr"><div><div><div><div>Hello Louis,<br><br></div>thank's for your quick response. Here the debug output. I think you are only interestet at the portion near the Button-Update.<br><br></div>The scanner is connectet via WLAN and first i press "COLOR"  and then at my PC scanimage -A<br>
<br>  Buttons:<br>    --button-update<br>        Update button state<br>[pixma] bjnp_set_timeout to 300<br>[pixma] bjnp_read_int(0, bufferptr, 0x40 = 64):<br>[pixma] Poll details (type 0)<br>[pixma]  00000000:42 4a 4e 50 02 32 00 00  00 04 00 00 00 00 00 50 <br>
[pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000040:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>
[pixma]  00000050:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22  port 8612<br>[pixma] Poll details response:<br>[pixma]  00000000:42 4a 4e 50 82 32 00 00  00 04 00 00 00 00 00 34 <br>
[pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 24 00 00 00 00 <br>[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000040:00 00 00 00 <br>
[pixma] Poll details (type 1)<br>[pixma]  00000000:42 4a 4e 50 02 32 00 00  00 05 00 00 00 00 00 50 <br>[pixma]  00000010:00 01 00 00 00 00 00 00  00 72 00 6f 00 6f 00 74 <br>[pixma]  00000020:00 20 00 20 00 6d 00 61  00 74 00 7a 00 65 00 2d <br>
[pixma]  00000030:00 53 00 61 00 74 00 65  00 6c 00 6c 00 69 00 74 <br>[pixma]  00000040:00 65 00 2d 00 43 00 36  00 36 00 30 00 00 00 00 <br>[pixma]  00000050:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22  port 8612<br>
[pixma] Poll details response:<br>[pixma]  00000000:42 4a 4e 50 82 32 00 00  00 05 00 00 00 00 00 34 <br>[pixma]  00000010:00 00 00 00 00 00 00 03  00 00 00 24 00 00 00 00 <br>[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>
[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000040:00 00 00 00 <br>[pixma] Poll details (type 2)<br>[pixma]  00000000:42 4a 4e 50 02 32 00 00  00 06 00 00 00 00 00 74 <br>[pixma]  00000010:00 02 00 00 00 00 00 03  00 72 00 6f 00 6f 00 74 <br>
[pixma]  00000020:00 20 00 20 00 6d 00 61  00 74 00 7a 00 65 00 2d <br>[pixma]  00000030:00 53 00 61 00 74 00 65  00 6c 00 6c 00 69 00 74 <br>[pixma]  00000040:00 65 00 2d 00 43 00 36  00 36 00 30 00 00 00 00 <br>[pixma]  00000050:00 00 00 00 00 00 00 00  00 00 00 14 00 00 00 00 <br>
[pixma]  00000060:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000070:00 00 00 10 32 30 31 33  30 32 30 37 30 37 31 36 <br>[pixma]  00000080:34 36 00 00 <br>[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22  port 8612<br>
[pixma] Poll details response:<br>[pixma]  00000000:42 4a 4e 50 82 32 00 00  00 06 00 00 00 00 00 34 <br>[pixma]  00000010:00 00 00 00 00 00 00 03  00 00 00 24 00 00 00 00 <br>[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>
[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000040:00 00 00 00 <br>    --button-1 <int> [0] [read-only]<br>        Button 1<br>    --button-2 <int> [0] [read-only]<br>        Button 2<br>
    --original <int> [0] [read-only]<br>        Type of original to scan<br>    --target <int> [0] [read-only]<br>        Target operation type<br>  Extras:<br>    --threshold auto|0..100% (in steps of 1) [inactive]<br>
        Select minimum-brightness to get a white point<br>    --threshold-curve auto|0..127 (in steps of 1) [inactive]<br>        Dynamic threshold curve, from light to dark, normally 50-65<br><br>[pixma] pixma_close(): Canon PIXMA MG6200<br>
[pixma] sanei_bjnp_close(0):<br>[pixma] sanei_bjnp_deactivate (0)<br>[pixma] Finish scanjob<br>[pixma]  00000000:42 4a 4e 50 02 11 00 00  00 07 00 56 00 00 00 00 <br>[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22  port 8612<br>
[pixma] Finish scanjob response<br>[pixma]  00000000:42 4a 4e 50 82 11 00 00  00 07 00 56 00 00 00 00<br><br></div>Second case is the same but I pressed "BLACK" (button-2)<br><br><br>  Buttons:<br>    --button-update<br>
        Update button state<br>[pixma] bjnp_set_timeout to 300<br>[pixma] bjnp_read_int(0, bufferptr, 0x40 = 64):<br>[pixma] Poll details (type 0)<br>[pixma]  00000000:42 4a 4e 50 02 32 00 00  00 04 00 00 00 00 00 50 <br>
[pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000040:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>
[pixma]  00000050:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22  port 8612<br>[pixma] Poll details response:<br>[pixma]  00000000:42 4a 4e 50 82 32 00 00  00 04 00 00 00 00 00 34 <br>
[pixma]  00000010:00 00 00 00 00 00 00 00  00 00 00 24 00 00 00 00 <br>[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000040:00 00 00 00 <br>
[pixma] Poll details (type 1)<br>[pixma]  00000000:42 4a 4e 50 02 32 00 00  00 05 00 00 00 00 00 50 <br>[pixma]  00000010:00 01 00 00 00 00 00 00  00 72 00 6f 00 6f 00 74 <br>[pixma]  00000020:00 20 00 20 00 6d 00 61  00 74 00 7a 00 65 00 2d <br>
[pixma]  00000030:00 53 00 61 00 74 00 65  00 6c 00 6c 00 69 00 74 <br>[pixma]  00000040:00 65 00 2d 00 43 00 36  00 36 00 30 00 00 00 00 <br>[pixma]  00000050:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22  port 8612<br>
[pixma] Poll details response:<br>[pixma]  00000000:42 4a 4e 50 82 32 00 00  00 05 00 00 00 00 00 34 <br>[pixma]  00000010:00 00 00 00 00 00 00 05  00 00 00 24 00 00 00 00 <br>[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>
[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000040:00 00 00 00 <br>[pixma] Poll details (type 2)<br>[pixma]  00000000:42 4a 4e 50 02 32 00 00  00 06 00 00 00 00 00 74 <br>[pixma]  00000010:00 02 00 00 00 00 00 05  00 72 00 6f 00 6f 00 74 <br>
[pixma]  00000020:00 20 00 20 00 6d 00 61  00 74 00 7a 00 65 00 2d <br>[pixma]  00000030:00 53 00 61 00 74 00 65  00 6c 00 6c 00 69 00 74 <br>[pixma]  00000040:00 65 00 2d 00 43 00 36  00 36 00 30 00 00 00 00 <br>[pixma]  00000050:00 00 00 00 00 00 00 00  00 00 00 14 00 00 00 00 <br>
[pixma]  00000060:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000070:00 00 00 10 32 30 31 33  30 32 30 37 30 37 32 31 <br>[pixma]  00000080:35 34 00 00 <br>[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22  port 8612<br>
[pixma] Poll details response:<br>[pixma]  00000000:42 4a 4e 50 82 32 00 00  00 06 00 00 00 00 00 34 <br>[pixma]  00000010:00 00 00 00 00 00 00 05  00 00 00 24 00 00 00 00 <br>[pixma]  00000020:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>
[pixma]  00000030:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 <br>[pixma]  00000040:00 00 00 00 <br>    --button-1 <int> [0] [read-only]<br>        Button 1<br>    --button-2 <int> [0] [read-only]<br>        Button 2<br>
    --original <int> [0] [read-only]<br>        Type of original to scan<br>    --target <int> [0] [read-only]<br>        Target operation type<br>  Extras:<br>    --threshold auto|0..100% (in steps of 1) [inactive]<br>
        Select minimum-brightness to get a white point<br>    --threshold-curve auto|0..127 (in steps of 1) [inactive]<br>        Dynamic threshold curve, from light to dark, normally 50-65<br><br>[pixma] pixma_close(): Canon PIXMA MG6200<br>
[pixma] sanei_bjnp_close(0):<br>[pixma] sanei_bjnp_deactivate (0)<br>[pixma] Finish scanjob<br>[pixma]  00000000:42 4a 4e 50 02 11 00 00  00 07 00 58 00 00 00 00 <br>[pixma] setup_udp_socket: Setting up a UDP socket, dest: 192.168.99.22  port 8612<br>
[pixma] Finish scanjob response<br>[pixma]  00000000:42 4a 4e 50 82 11 00 00  00 07 00 58 00 00 00 00 <br>roo<br><br></div>regards Matthias<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/7 Louis Lagendijk <span dir="ltr"><<a href="mailto:louis@fazant.net" target="_blank">louis@fazant.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed, 2013-02-06 at 22:27 +0100, Rolf Bensch wrote:<br>
> Hi Matthias,<br>
><br>
> Many thanks for your patch. I just committed your patch to git.<br>
><br>
> I have no idea about BJNP. Please open a new thread about this issue<br>
> here in the ml, and/or search for a BJNP maintainer in "ChangeLog".<br>
><br>
> Cheers,<br>
> Rolf<br>
><br>
</div>Gents<br>
No need for searching: please get me a log with SANE_DEBUG_BJNP=4 and I<br>
will have a look at it.<br>
<br>
I have been following this thread and am surprised that you don't see<br>
anything happening, but there is always a chance that there is something<br>
wrong<br>
<br>
kind regards, Louis<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel</a><br>
Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
             to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
</font></span></blockquote></div><br></div>