<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Louis,</p>
<p>Please try to fix this issue. The main problem are special needed
settings in function send_scan_param() (command 0xde20) from
pixma_mp150.c. You can fetch correct settings from reference scans
from a Windows machine.</p>
<p>To check button support, you can use this simple test:</p>
<p>1. push any button</p>
<p>2. $ SANE_DEBUG_PIXMA=11 scanimage -A</p>
<p>If you scanner has button support, you should get a similar
response:</p>
<p>[...]<br>
Buttons:<br>
--button-update<br>
Update button state<br>
[pixma] INTR T=1.165 len=32<br>
[pixma] 00000000:00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
<br>
[pixma] 00000010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
<br>
[pixma] <br>
--button-1 <int> [1] [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> [2] [read-only]<br>
Target operation type<br>
--scan-resolution <int> [0] [read-only]<br>
Scan resolution<br>
[...]</p>
<p>Important are existing lines starting with [pixma]. With this
info it's simple to enable button support.</p>
<p>Hope this helps.</p>
<p>Cheers,<br>
Rolf<br>
</p>
<br>
<div class="moz-cite-prefix">Am 29.01.2018 um 20:40 schrieb Louis
Lagendijk:<br>
</div>
<blockquote type="cite"
cite="mid:%3C1517254808.2755.10.camel@fazant.net%3E">
<div>On Sun, 2018-01-28 at 14:26 +0000, Patrick Roncagliolo wrote:</div>
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px
#729fcf solid;padding-left:1ex">
<div dir="ltr">Hi Rolf,<br>
<br>
I tested scanimage with different options today. In
particular, I tested all the combinations of
connection/resolution/color available with flatbed mode:<br>
<br>
<div> --Connection: usb/net<br>
--Resolution: 75/150/300/600/1200<br>
--Color: color/gray/lineart<br>
<br>
<div>...for a total of 30 tests. I can confirm that all the
combinations work, I have a folder with all the scans and
a script, so I can replicate the operation while
collecting debug info by setting SANE_DEBUG_PIXMA if
necessary, and share all the results somewhere (eg. Google
Drive). <br>
<br>
But ADF _do not_ work for me using scanimage or scanadf.
Here's a sample output (SANE_DEBUG_PIXMA=3
PIXMA_EXPERIMENT=1):</div>
</div>
</div>
</blockquote>
<div>This sounds the same as the status on my MB5050. You may also
want to test the button support: that probably does not work
either.</div>
<div><br>
</div>
<div>BR, Louis</div>
</blockquote>
<br>
</body>
</html>