[sane-devel] Sending confirmation about the pixma backend

Rogério Brito rbrito at ime.usp.br
Sun Oct 6 14:14:29 BST 2019


Dear Rolf and others,

On Oct 05 2019, Rolf Bensch wrote:
> Am 05.10.19 um 00:00 schrieb Rogério Brito:
> > 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.

You're welcome.

> $ 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

I tried:

$ SANE_DEBUG_PIXMA=11 scanadf -d pixma:04A91855_103CD1 --source "Automatic Document Feeder" --mode Lineart --output-file foo%02d.pbm 2> scanadf.log

I still couldn't get anything scanned from the ADF (even though I put there
3 sheets of paper).  I'm attaching the log to this message. Any help would
be highly appreciated.

If further information (or more detailed logs) are desired, please let me
know.

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

Thanks for the hint of that manpage.

> > 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

Regarding this device, unfortunately, it seems that I can't return it. :-(
So, I will have to live with it for the moment.

If/when possible, I may be getting another one more compatible and robust
with Free Software support in the future. :-( OTOH, that table is huge.
Which manufacturers are generally good bets/collaborative with Free Software
developers in general?  HP?

> Hope this helps.

It sure did.


Thanks,

Rogério

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
-------------- next part --------------
[sanei_debug] Setting debug level of pixma to 11.
[pixma] pixma is compiled with pthread support.
[pixma] pixma version 0.23.0
[pixma] pixma_collect_devices() found Canon PIXMA E4200 Series at libusb:001:009
[pixma] pixma_open(): Canon PIXMA E4200 Series
[pixma] *mp150_open***** This is a generation 5 scanner.  *****
[pixma] Reader task started
[pixma] 
[pixma] pixma_scan(): start
[pixma]   line_size=640 image_size=70160 channels=1 depth=1
[pixma] [pixma] Reader task id=140717914167040 (threaded)
  dpi=75x75 offset=(0,0) dimension=640x877
[pixma]   gamma_table=0x563abc18e720 source=1
[pixma]   threshold=127 threshold_curve=0
[pixma]   adf-wait=0
[pixma]   ADF page count: 0
[pixma] OUT  T=0.529 len=288
[pixma]  00000000:3c 3f 78 6d 6c 20 76 65  72 73 69 6f 6e 3d 22 31 
[pixma]  00000010:2e 30 22 20 65 6e 63 6f  64 69 6e 67 3d 22 75 74 
[pixma]  00000020:66 2d 38 22 20 3f 3e 3c  63 6d 64 20 78 6d 6c 6e 
[pixma]  00000030:73 3a 69 76 65 63 3d 22  68 74 74 70 3a 2f 2f 77 
[pixma]  00000040:77 77 2e 63 61 6e 6f 6e  2e 63 6f 6d 2f 6e 73 2f 
[pixma]  00000050:63 6d 64 2f 32 30 30 38  2f 30 37 2f 63 6f 6d 6d 
[pixma]  00000060:6f 6e 2f 22 3e 3c 69 76  65 63 3a 63 6f 6e 74 65 
[pixma]  00000070:6e 74 73 3e 3c 69 76 65  63 3a 6f 70 65 72 61 74 
[pixma]  ...
[pixma] 
[pixma] IN   T=0.542 len=348
[pixma]  00000000:3c 3f 78 6d 6c 20 76 65  72 73 69 6f 6e 3d 22 31 
[pixma]  00000010:2e 30 22 20 65 6e 63 6f  64 69 6e 67 3d 22 75 74 
[pixma]  00000020:66 2d 38 22 20 3f 3e 0d  0a 3c 63 6d 64 20 78 6d 
[pixma]  00000030:6c 6e 73 3a 69 76 65 63  3d 22 68 74 74 70 3a 2f 
[pixma]  00000040:2f 77 77 77 2e 63 61 6e  6f 6e 2e 63 6f 6d 2f 6e 
[pixma]  00000050:73 2f 63 6d 64 2f 32 30  30 38 2f 30 37 2f 63 6f 
[pixma]  00000060:6d 6d 6f 6e 2f 22 3e 0d  0a 3c 69 76 65 63 3a 63 
[pixma]  00000070:6f 6e 74 65 6e 74 73 3e  0d 0a 3c 69 76 65 63 3a 
[pixma]  ...
[pixma] 
[pixma] XML message sent to scanner:
<?xml version="1.0" encoding="utf-8" ?><cmd xmlns:ivec="http://www.canon.com/ns/cmd/2008/07/common/"><ivec:contents><ivec:operation>StartJob</ivec:operation><ivec:param_set servicetype="scan"><ivec:jobID>00000001</ivec:jobID><ivec:bidi>1</ivec:bidi></ivec:param_set></ivec:contents></cmd>
[pixma] XML response back from scanner:
<?xml version="1.0" encoding="utf-8" ?>
<cmd xmlns:ivec="http://www.canon.com/ns/cmd/2008/07/common/">
<ivec:contents>
<ivec:operation>StartJobResponse</ivec:operation>
<ivec:param_set servicetype="scan">
<ivec:response>OK</ivec:response>
<ivec:response_detail/>
<ivec:jobID>00000001</ivec:jobID>
</ivec:param_set>
</ivec:contents>
</cmd>
[pixma] OUT  T=0.543 len=390
[pixma]  00000000:3c 3f 78 6d 6c 20 76 65  72 73 69 6f 6e 3d 22 31 
[pixma]  00000010:2e 30 22 20 65 6e 63 6f  64 69 6e 67 3d 22 75 74 
[pixma]  00000020:66 2d 38 22 20 3f 3e 3c  63 6d 64 20 78 6d 6c 6e 
[pixma]  00000030:73 3a 69 76 65 63 3d 22  68 74 74 70 3a 2f 2f 77 
[pixma]  00000040:77 77 2e 63 61 6e 6f 6e  2e 63 6f 6d 2f 6e 73 2f 
[pixma]  00000050:63 6d 64 2f 32 30 30 38  2f 30 37 2f 63 6f 6d 6d 
[pixma]  00000060:6f 6e 2f 22 20 78 6d 6c  6e 73 3a 76 63 6e 3d 22 
[pixma]  00000070:68 74 74 70 3a 2f 2f 77  77 77 2e 63 61 6e 6f 6e 
[pixma]  ...
[pixma] 
[pixma] IN   T=0.547 len=487
[pixma]  00000000:3c 3f 78 6d 6c 20 76 65  72 73 69 6f 6e 3d 22 31 
[pixma]  00000010:2e 30 22 20 65 6e 63 6f  64 69 6e 67 3d 22 75 74 
[pixma]  00000020:66 2d 38 22 20 3f 3e 0d  0a 3c 63 6d 64 20 78 6d 
[pixma]  00000030:6c 6e 73 3a 69 76 65 63  3d 22 68 74 74 70 3a 2f 
[pixma]  00000040:2f 77 77 77 2e 63 61 6e  6f 6e 2e 63 6f 6d 2f 6e 
[pixma]  00000050:73 2f 63 6d 64 2f 32 30  30 38 2f 30 37 2f 63 6f 
[pixma]  00000060:6d 6d 6f 6e 2f 22 0d 0a  78 6d 6c 6e 73 3a 76 63 
[pixma]  00000070:6e 3d 22 68 74 74 70 3a  2f 2f 77 77 77 2e 63 61 
[pixma]  ...
[pixma] 
[pixma] XML message sent to scanner:
<?xml version="1.0" encoding="utf-8" ?><cmd xmlns:ivec="http://www.canon.com/ns/cmd/2008/07/common/" xmlns:vcn="http://www.canon.com/ns/cmd/2008/07/canon/"><ivec:contents><ivec:operation>VendorCmd</ivec:operation><ivec:param_set servicetype="scan"><ivec:jobID>00000001</ivec:jobID><vcn:ijoperation>ModeShift</vcn:ijoperation><vcn:ijmode>1</vcn:ijmode></ivec:param_set></ivec:contents></cmd>
[pixma] XML response back from scanner:
<?xml version="1.0" encoding="utf-8" ?>
<cmd xmlns:ivec="http://www.canon.com/ns/cmd/2008/07/common/"
xmlns:vcn="http://www.canon.com/ns/cmd/2008/07/canon/">
<ivec:contents>
<ivec:operation>VendorCmdResponse</ivec:operation>
<ivec:param_set servicetype="scan">
<ivec:response>OK</ivec:response>
<ivec:response_detail/>
<vcn:ijoperation>ModeShiftResponse</vcn:ijoperation>
<vcn:ijresponse>OK</vcn:ijresponse>
<vcn:ijresponse_detail/>
</ivec:param_set>
</ivec:contents>
</cmd>
[pixma] OUT  T=0.648 len=16
[pixma]  00000000:f3 20 00 00 00 00 00 00  00 00 00 00 00 00 00 10 
[pixma] 
[pixma] IN   T=0.648 len=24
[pixma]  00000000:06 06 00 00 00 00 00 00  03 00 00 01 00 03 01 00 
[pixma]  00000010:00 01 21 00 00 00 00 d6  
[pixma] 
[pixma] Current status: paper=0 cal=0 lamp=0 busy=1
[pixma] *mp150_scan***** start scanning *****
[pixma] OUT  T=0.648 len=16
[pixma]  00000000:db 20 00 00 00 00 00 00  00 00 00 00 00 00 00 00 
[pixma] 
[pixma] IN   T=0.649 len=8
[pixma]  00000000:06 06 00 00 00 00 00 00  
[pixma] 
[pixma] OUT  T=0.649 len=2072
[pixma]  00000000:ee 20 00 00 00 00 00 00  00 00 00 00 00 00 08 08 
[pixma]  00000010:10 00 08 04 00 00 0b 0b  0f 0f 12 12 15 15 17 17 
[pixma]  00000020:19 19 1a 1a 1c 1c 1e 1e  1f 1f 20 20 22 22 23 23 
[pixma]  00000030:24 24 25 25 27 27 28 28  29 29 2a 2a 2b 2b 2c 2c 
[pixma]  00000040:2d 2d 2d 2d 2e 2e 2f 2f  30 30 31 31 32 32 32 32 
[pixma]  00000050:33 33 34 34 35 35 36 36  36 36 37 37 38 38 38 38 
[pixma]  00000060:39 39 3a 3a 3a 3a 3b 3b  3c 3c 3c 3c 3d 3d 3e 3e 
[pixma]  00000070:3e 3e 3f 3f 3f 3f 40 40  41 41 41 41 42 42 42 42 
[pixma]  ...
[pixma] 
[pixma] IN   T=0.650 len=8
[pixma]  00000000:06 06 00 00 00 00 00 00  
[pixma] 
[pixma] OUT  T=0.650 len=2072
[pixma]  00000000:ee 20 00 00 00 00 00 00  00 00 00 00 00 00 08 08 
[pixma]  00000010:10 00 08 04 00 00 0b 0b  0f 0f 12 12 15 15 17 17 
[pixma]  00000020:19 19 1a 1a 1c 1c 1e 1e  1f 1f 20 20 22 22 23 23 
[pixma]  00000030:24 24 25 25 27 27 28 28  29 29 2a 2a 2b 2b 2c 2c 
[pixma]  00000040:2d 2d 2d 2d 2e 2e 2f 2f  30 30 31 31 32 32 32 32 
[pixma]  00000050:33 33 34 34 35 35 36 36  36 36 37 37 38 38 38 38 
[pixma]  00000060:39 39 3a 3a 3a 3a 3b 3b  3c 3c 3c 3c 3d 3d 3e 3e 
[pixma]  00000070:3e 3e 3f 3f 3f 3f 40 40  41 41 41 41 42 42 42 42 
[pixma]  ...
[pixma] 
[pixma] IN   T=0.651 len=8
[pixma]  00000000:06 06 00 00 00 00 00 00  
[pixma] 
[pixma] OUT  T=0.652 len=2072
[pixma]  00000000:ee 20 00 00 00 00 00 00  00 00 00 00 00 00 08 08 
[pixma]  00000010:10 00 08 04 00 00 0b 0b  0f 0f 12 12 15 15 17 17 
[pixma]  00000020:19 19 1a 1a 1c 1c 1e 1e  1f 1f 20 20 22 22 23 23 
[pixma]  00000030:24 24 25 25 27 27 28 28  29 29 2a 2a 2b 2b 2c 2c 
[pixma]  00000040:2d 2d 2d 2d 2e 2e 2f 2f  30 30 31 31 32 32 32 32 
[pixma]  00000050:33 33 34 34 35 35 36 36  36 36 37 37 38 38 38 38 
[pixma]  00000060:39 39 3a 3a 3a 3a 3b 3b  3c 3c 3c 3c 3d 3d 3e 3e 
[pixma]  00000070:3e 3e 3f 3f 3f 3f 40 40  41 41 41 41 42 42 42 42 
[pixma]  ...
[pixma] 
[pixma] IN   T=0.652 len=8
[pixma]  00000000:06 06 00 00 00 00 00 00  
[pixma] 
[pixma] OUT  T=0.653 len=72
[pixma]  00000000:d8 20 00 00 00 00 00 00  00 00 00 00 00 00 00 38 
[pixma]  00000010:02 01 01 00 00 01 00 00  80 4b 80 4b 00 00 00 00 
[pixma]  00000020:00 00 00 00 00 00 02 80  00 00 03 6d 04 08 00 01 
[pixma]  00000030:ff 81 00 02 01 00 00 00  00 00 00 00 00 00 00 00 
[pixma]  00000040:01 00 00 00 00 00 00 e2  
[pixma] 
[pixma] IN   T=0.653 len=8
[pixma]  00000000:15 15 00 00 00 00 00 00  
[pixma] 
[pixma] *mp150_finish_scan***** abort session  *****
[pixma] OUT  T=0.653 len=16
[pixma]  00000000:ef 20 00 00 00 00 00 00  00 00 00 00 00 00 00 00 
[pixma] 
[pixma] IN   T=0.653 len=8
[pixma]  00000000:06 06 00 00 00 00 00 00  
[pixma] 
[pixma] OUT  T=0.654 len=262
[pixma]  00000000:3c 3f 78 6d 6c 20 76 65  72 73 69 6f 6e 3d 22 31 
[pixma]  00000010:2e 30 22 20 65 6e 63 6f  64 69 6e 67 3d 22 75 74 
[pixma]  00000020:66 2d 38 22 20 3f 3e 3c  63 6d 64 20 78 6d 6c 6e 
[pixma]  00000030:73 3a 69 76 65 63 3d 22  68 74 74 70 3a 2f 2f 77 
[pixma]  00000040:77 77 2e 63 61 6e 6f 6e  2e 63 6f 6d 2f 6e 73 2f 
[pixma]  00000050:63 6d 64 2f 32 30 30 38  2f 30 37 2f 63 6f 6d 6d 
[pixma]  00000060:6f 6e 2f 22 3e 3c 69 76  65 63 3a 63 6f 6e 74 65 
[pixma]  00000070:6e 74 73 3e 3c 69 76 65  63 3a 6f 70 65 72 61 74 
[pixma]  ...
[pixma] 
[pixma] IN   T=0.656 len=346
[pixma]  00000000:3c 3f 78 6d 6c 20 76 65  72 73 69 6f 6e 3d 22 31 
[pixma]  00000010:2e 30 22 20 65 6e 63 6f  64 69 6e 67 3d 22 75 74 
[pixma]  00000020:66 2d 38 22 20 3f 3e 0d  0a 3c 63 6d 64 20 78 6d 
[pixma]  00000030:6c 6e 73 3a 69 76 65 63  3d 22 68 74 74 70 3a 2f 
[pixma]  00000040:2f 77 77 77 2e 63 61 6e  6f 6e 2e 63 6f 6d 2f 6e 
[pixma]  00000050:73 2f 63 6d 64 2f 32 30  30 38 2f 30 37 2f 63 6f 
[pixma]  00000060:6d 6d 6f 6e 2f 22 3e 0d  0a 3c 69 76 65 63 3a 63 
[pixma]  00000070:6f 6e 74 65 6e 74 73 3e  0d 0a 3c 69 76 65 63 3a 
[pixma]  ...
[pixma] 
[pixma] XML message sent to scanner:
<?xml version="1.0" encoding="utf-8" ?><cmd xmlns:ivec="http://www.canon.com/ns/cmd/2008/07/common/"><ivec:contents><ivec:operation>EndJob</ivec:operation><ivec:param_set servicetype="scan"><ivec:jobID>00000001</ivec:jobID></ivec:param_set></ivec:contents></cmd>
[pixma] XML response back from scanner:
<?xml version="1.0" encoding="utf-8" ?>
<cmd xmlns:ivec="http://www.canon.com/ns/cmd/2008/07/common/">
<ivec:contents>
<ivec:operation>EndJobResponse</ivec:operation>
<ivec:param_set servicetype="scan">
<ivec:response>OK</ivec:response>
<ivec:response_detail/>
<ivec:jobID>00000001</ivec:jobID>
</ivec:param_set>
</ivec:contents>
</cmd>
[pixma] pixma_scan() failed ECANCELED
[pixma] Reader task terminated: ECANCELED
[pixma] read_image():reader task closed the pipe:0 bytes received, 70160 bytes expected
scanadf: sane_read: Operation was cancelled
Operation was cancelled
Scanned 0 pages
[pixma] pixma_close(): Canon PIXMA E4200 Series


More information about the sane-devel mailing list