[sane-devel] Question/Bug for button Scan Pixma

Louis Lagendijk louis at fazant.net
Mon Apr 25 13:33:27 UTC 2016


On Sat, 2016-04-23 at 20:27 +0200, Helmut Schiefer wrote:
> Hello,
> 
> Now I was able to test and unfortunately it doesn't work. For sure
> the  
> upnp time out problem is gone, but the button mode doesn't work.
> 
> Situation so far:
> Command I use:  scanimage --button-controlled=yes -b > /tmp/blub
> 
> Output with debug option:  there is a poll like that.....
> [bjnp] bjnp_set_timeout to 1000
> [bjnp] bjnp_read_int(0, bufferptr, 0x40 = 64):
> [bjnp] bjnp_poll_scanner: Poll details (type 2)
> [bjnp]  00000000:42 4a 4e 50 02 32 00 00  00 30 00 00 00 00 00 74
> [bjnp]  00000010:00 02 00 00 00 00 00 0d  00 72 00 6f 00 6f 00 74
> [bjnp] ......
> [bjnp] setup_udp_socket: Setting up a UDP socket, dest:
> 192.168.100.41  
>   port 8612
> [bjnp] bjnp_poll_scanner: Poll details response:
> [bjnp]  00000000:42 4a 4e 50 82 32 00 00  00 30 00 00 00 00 00 34
> [bjnp]  00000010:00 00 00 00 00 00 00 0d  00 00 00 24 00 00 00 00
> [bjnp] ......
> [bjnp] bjnp_set_timeout to 1000
> [bjnp] bjnp_read_int(0, bufferptr, 0x40 = 64):
> [bjnp] bjnp_poll_scanner: Poll details (type 2)
> [bjnp]  00000000:42 4a 4e 50 02 32 00 00  00 31 00 00 00 00 00 74
> [bjnp]  00000010:00 02 00 00 00 00 00 0d  00 72 00 6f 00 6f 00 74
> [bjnp] ......
> [bjnp] setup_udp_socket: Setting up a UDP socket, dest:
> 192.168.100.41  
>   port 8612
> [bjnp] bjnp_poll_scanner: Poll details response:
> [bjnp]  00000000:42 4a 4e 50 82 32 00 00  00 31 00 00 00 00 00 34
> [bjnp]  00000010:00 00 00 00 00 00 00 0d  00 00 00 24 00 00 00 00
> [bjnp] ......
> 
> In case I hit the color button, the short display at the scanner  
> shows: “Verarbeitung läuft” (Work in progress), but nothing happened.
> 
> The scanner is a pixma mg4250.
> 
> Scanning without the button-controlled mode works well.
> 
> Best Regards
> Helmut
> 
Can you please try the atached, updated version of the pixma_mp150.c
(to be placed in the backend directory)? I guess that this will solve
this.

Thanks
Louis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pixma_mp150.c
Type: text/x-csrc
Size: 61350 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20160425/def81399/attachment-0001.c>


More information about the sane-devel mailing list