Hallo Rolf, sorry to bother you again. But here is another bug with my MX375.
If I start an ADF-scan while the ADF is empty, the scanner does not recover and needs to be restarted by hand. Basically there are two commands to demonstrate it: scanimage --source "Automatic Document Feeder" --batch=test%02d.pnm # without paper in ADF scanimage > test.pnm #fails I attached a log for you. Maybe you'll have the time to take a look into it. I mean scanning ADF without paper in it is stupid, but it should not crash the device :) Greetings from Münster Matthias
mpw@Server1:~$ export SANE_DEBUG_PIXMA=11 mpw@Server1:~$ scanimage --source "Automatic Document Feeder" --batch=test%02d.pnm [sanei_debug] Setting debug level of pixma to 11. [pixma] pixma is compiled with pthread support. [pixma] pixma version 0.17.8 [pixma] pixma_collect_devices() found Canon PIXMA MX370 Series at libusb:001:011 [pixma] pixma_find_scanners() found 1 devices [pixma] pixma_collect_devices() found Canon PIXMA MX370 Series at libusb:001:011 [pixma] pixma_open(): Canon PIXMA MX370 Series Scanning -1 pages, incrementing by 1, numbering from 1 Scanning page 1 [pixma] Reader task started [pixma] [pixma] pixma_scan(): start [pixma] line_size=1914 image_size=2009700 channels=3 depth=8 [pixma] dpi=75x75 offset=(0,0) dimension=638x1050 [pixma] gamma_table=0x198aeb0 source=1 [pixma] threshold=127 threshold_curve=0 [pixma] ADF page count: 0 [pixma] Reader task id=139964097533696 (threaded) [pixma] OUT T=3.155 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=3.161 len=365 [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 09 3c 69 76 65 63 3a [pixma] 00000070:63 6f 6e 74 65 6e 74 73 3e 0d 0a 09 09 3c 69 76 [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=3.162 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=3.164 len=510 [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=3.265 len=16 [pixma] 00000000:f3 20 00 00 00 00 00 00 00 00 00 00 00 00 00 10 [pixma] [pixma] IN T=3.266 len=24 [pixma] 00000000:06 06 00 00 00 00 00 00 03 01 00 00 00 00 00 00 [pixma] 00000010:00 00 21 00 00 00 00 db [pixma] [pixma] Current status: paper=1 cal=0 lamp=0 busy=0 [pixma] INTR T=3.411 len=32 [pixma] 00000000:00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 [pixma] 00000010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [pixma] [pixma] Sending time: '14/05/20 17:39' [pixma] OUT T=3.412 len=36 [pixma] 00000000:eb 80 00 00 00 00 00 00 00 00 00 00 00 00 00 14 [pixma] 00000010:31 34 2f 30 35 2f 32 30 20 31 37 3a 33 39 00 00 [pixma] 00000020:00 00 00 48 [pixma] [pixma] IN T=3.414 len=8 [pixma] 00000000:06 06 00 00 00 00 00 00 [pixma] [pixma] No paper in ADF. Timed out in 9 sec. [pixma] INTR T=3.667 len=32 [pixma] 00000000:00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 [pixma] 00000010:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [pixma] [pixma] Sending time: '14/05/20 17:39' [pixma] OUT T=3.670 len=36 [pixma] 00000000:eb 80 00 00 00 00 00 00 00 00 00 00 00 00 00 14 [pixma] 00000010:31 34 2f 30 35 2f 32 30 20 31 37 3a 33 39 00 00 [pixma] 00000020:00 00 00 48 [pixma] [pixma] IN T=3.673 len=8 [pixma] 00000000:06 06 00 00 00 00 00 00 [pixma] [pixma] No paper in ADF. Timed out in 8 sec. [pixma] No paper in ADF. Timed out in 7 sec. [pixma] No paper in ADF. Timed out in 6 sec. [pixma] No paper in ADF. Timed out in 5 sec. [pixma] No paper in ADF. Timed out in 4 sec. [pixma] No paper in ADF. Timed out in 3 sec. [pixma] No paper in ADF. Timed out in 2 sec. [pixma] No paper in ADF. Timed out in 1 sec. [pixma] No paper in ADF. Timed out in 0 sec. [pixma] pixma_scan() failed ENO_PAPER [pixma] read_image():reader task closed the pipe:0 bytes received, 2009700 bytes expected [pixma] Reader task terminated: ENO_PAPER scanimage: sane_read: Document feeder out of documents Scanned page 1. (scanner status = 7) [pixma] pixma_close(): Canon PIXMA MX370 Series mpw@Server1:~$ scanimage > test.pnm [sanei_debug] Setting debug level of pixma to 11. [pixma] pixma is compiled with pthread support. [pixma] pixma version 0.17.8 [pixma] pixma_collect_devices() found Canon PIXMA MX370 Series at libusb:001:011 [pixma] pixma_find_scanners() found 1 devices [pixma] pixma_collect_devices() found Canon PIXMA MX370 Series at libusb:001:011 [pixma] pixma_open(): Canon PIXMA MX370 Series [pixma] Reader task started [pixma] [pixma] pixma_scan(): start [pixma] line_size=1914 image_size=1678578 channels=3 depth=8 [pixma] dpi=75x75 offset=(0,0) dimension=638x877 [pixma] gamma_table=0xf88eb0 source=0 [pixma] threshold=127 threshold_curve=0 [pixma] ADF page count: 0 [pixma] OUT T=3.079 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] Reader task id=139746968688384 (threaded) [pixma] ... [pixma] [pixma] IN T=3.079 len=8 [pixma] 00000000:15 15 00 00 00 00 00 00 [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: [pixma] pixma_scan() failed EPROTO [pixma] Reader task terminated: EPROTO [pixma] read_image():reader task closed the pipe:0 bytes received, 1678578 bytes expected scanimage: sane_read: Error during device I/O [pixma] pixma_close(): Canon PIXMA MX370 Series
-- sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org