Page 3 of 6

Re: MX340 scanner

Posted: Wed 27 Jun 2012, 13:50
by rcrsn51
KJ wrote:I'm running Fluppy 12 as my main OS ... so I loaded the pixma-backend-431-1.0.21.pet for Puppy 4.3.1
I can't figure out from the SANE site when a particular model starts receiving support. But it sounds like your MX340 is newer than Fluppy's version of SANE.

As a test, you can try the above PET in Lupu. Or your unit may work OOTB in Slacko. But we need to know that first, below dealing with Fluppy.

MX340 scan

Posted: Fri 29 Jun 2012, 22:25
by KJ
Tried my canon MX340 on Saluki 22 no joy ... then tried Lupu-528, looked like it was detected as Xsane came up but got an "Error during read: Error during device I/O" message. Printer shows that there is a "save to usb pc" connection.

Loaded pixma_backend_lupu-1.0.22.pet ..... Got the same message

Loaded Slacko533F ... Xsane reports "no device found" OOTB. Thanks .. KJ

Posted: Sat 30 Jun 2012, 01:42
by rcrsn51
Hmm.. Slacko has SANE 1.0.21. So if your MX340 is not being detected, it must have first received support in 1.0.22.

I have packaged a version for Slacko below.

[deleted]

MX340 scan

Posted: Sat 30 Jun 2012, 03:16
by KJ
rcrsn51: Thank you very much for all your help with My MX-340 printer-scanner set up. I was about to edit my last post and saw that you had already responded. Turns out that both pixma_backend_lupu-1.0.22.pet and pixma_backend_slacko-1.0.22.pet work with Slacko533F. Did a test file scan and save to file and both .pets work on my older Acer Aspire 5570Z laptop. Great to have the scanner up and running... I really like Fluppy12 but will need to move on before long .... Thanks again KJ

Posted: Sat 30 Jun 2012, 03:44
by rcrsn51
Glad to help. As a test, could you please try the pixma_backend_slacko-1.0.22.pet in Lupu? It should be backwards compatible.

Posted: Sat 30 Jun 2012, 17:26
by KJ
rcrsn51: Tried the pixma_backend_slacko-1.0.22.pet in Lupu-lucid528. Sorry .... no joy. Xsane did not work. Ran sane-find-scanner ..... detected MX340 .... Ran scanimage -L and got this error message

Code: Select all

scanimage: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory
What shall I try next? KJ

Posted: Sat 30 Jun 2012, 18:23
by rcrsn51
My mistake - I uploaded the wrong file. The new PET above fixes the missing lib in Lupu.

MX340 scan

Posted: Sun 01 Jul 2012, 13:33
by KJ
Sorry .... I need to retest my setup before I comment. I downloaded the Updated 2012-06-30" pixma_backend_slacko-1.0.22.pet but now I can not find the pixma_backend_lupu-1.0.22.pet for download on page 3 (?) anymore so I guess you would like the "new Slacko .pet tested? KJ

Re: MX340 scan

Posted: Sun 01 Jul 2012, 13:55
by rcrsn51
KJ wrote: so I guess you would like the "new Slacko .pet tested? KJ
Yes. This one works for me in Lupu with my MP490. But it sounds like your MX340 is a bit different.

MX340 scan

Posted: Sun 01 Jul 2012, 20:30
by KJ
rcrsn51: Updated 2012-06-30" pixma_backend_slacko-1.0.22.pet works fine on Slacko533F but still not working on Lupu528. Xsane comes up on screen but "preview" or "scan" still gives an immediate "scan-I/O error" KJ

Posted: Sun 01 Jul 2012, 20:45
by rcrsn51
Here is one more thing to try in Lupu:

Open a terminal and type

Code: Select all

export SANE_DEBUG_DLL=255
export SANE_DEBUG_PIXMA=255
xsane
Do a scan. Hopefully, the last message that shows in the terminal will be useful.

Posted: Mon 02 Jul 2012, 13:25
by KJ
rcrsn51 This is the response section.

Code: Select all

[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_read_image() failed EEOF
[pixma] Reader task terminated: EEOF
[pixma] BUG: unmapped error -14
[pixma] read_image():reader task closed the pipe:0 bytes received, 1678578 bytes expected

I will redo and send more data if that will help. Thanks KJ

Posted: Mon 02 Jul 2012, 13:48
by rcrsn51
KJ wrote:[pixma] pixma_read_image() failed EEOF
[pixma] Reader task terminated: EEOF
[pixma] BUG: unmapped error -14
[pixma] read_image():reader task closed the pipe:0 bytes received, 1678578 bytes expected
That's a mystery. I have no idea why this driver would fail with your MX340 in Lupu. Like I said, it works with my MP490. This sounds like some kind of low-level USB issue.

As a final test, could you boot Lupu off its Live CD using "puppy pfix=ram"? Install the driver again and do a scan.

You could also try the same thing with Wary. The driver should be backwards compatible with Wary.

I googled this and you are not alone.

Posted: Mon 02 Jul 2012, 16:56
by KJ
EDIT: I realized that I had burned the wrong lupu528 version to CD.... not the same as the USB loaded version (lucid528v4) .... am burning correct copy for comparison. KJ

Posted: Mon 02 Jul 2012, 18:36
by rcrsn51
Since the SANE driver is problematic, here is the official Canon driver. You will also need to install the scangearmp_common-1.5.pet from Page 3.

This driver uses its own scanning program - find it in the Graphic menu.

For the purposes of testing, run "scangearmp" from the console.

Posted: Mon 02 Jul 2012, 19:59
by KJ
rcrsn51: Thanks will try the scangearmp next. I reburned the CD and ran it with the slacko .pet Here are the last few lines from the sane debug:
code][dll] sane_get_option_descriptor(handle=0x8166400,option=17)
[dll] sane_control_option(handle=0x8166400,option=17,action=0,value=0xbfd0d3f0,info=(nil))
[dll] sane_close(handle=0x8166400)
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `xerox_mfp's exit function
[dll] sane_exit: calling backend `v4l's exit function
[dll] sane_exit: calling backend `umax1220u's exit function
[dll] sane_exit: calling backend `umax's exit function
[dll] sane_exit: calling backend `u12's exit function
[dll] sane_exit: calling backend `teco3's exit function
[dll] sane_exit: calling backend `teco2's exit function
[dll] sane_exit: calling backend `teco1's exit function
[dll] sane_exit: calling backend `tamarack's exit function
[dll] sane_exit: calling backend `sp15c's exit function
[dll] sane_exit: calling backend `snapscan's exit function
[dll] sane_exit: calling backend `sm3840's exit function
[dll] sane_exit: calling backend `sm3600's exit function
[dll] sane_exit: calling backend `sharp's exit function
[dll] sane_exit: calling backend `sceptre's exit function
[dll] sane_exit: calling backend `s9036's exit function
[dll] sane_exit: calling backend `rts8891's exit function
[dll] sane_exit: calling backend `ricoh's exit function
[dll] sane_exit: calling backend `qcam's exit function
[dll] sane_exit: calling backend `plustek's exit function
[dll] sane_exit: calling backend `pixma's exit function
[dll] sane_exit: calling backend `pie's exit function
[dll] sane_exit: calling backend `niash's exit function
[dll] sane_exit: calling backend `nec's exit function
[dll] sane_exit: calling backend `mustek_usb2's exit function
[dll] sane_exit: calling backend `mustek_usb's exit function
[dll] sane_exit: calling backend `mustek's exit function
[dll] sane_exit: calling backend `microtek2's exit function
[dll] sane_exit: calling backend `microtek's exit function
[dll] sane_exit: calling backend `matsushita's exit function
[dll] sane_exit: calling backend `ma1509's exit function
[dll] sane_exit: calling backend `lexmark's exit function
[dll] sane_exit: calling backend `leo's exit function
[dll] sane_exit: calling backend `ibm's exit function
[dll] sane_exit: calling backend `hs2p's exit function
[dll] sane_exit: calling backend `hpljm1005's exit function
[dll] sane_exit: calling backend `hp5590's exit function
[dll] sane_exit: calling backend `hp5400's exit function
[dll] sane_exit: calling backend `hp4200's exit function
[dll] sane_exit: calling backend `hp3500's exit function
[dll] sane_exit: calling backend `hpsj5s's exit function
[dll] sane_exit: calling backend `hp3900's exit function
[dll] sane_exit: calling backend `hp's exit function
[dll] sane_exit: calling backend `gt68xx's exit function
[dll] sane_exit: calling backend `genesys's exit function
[dll] sane_exit: calling backend `fujitsu's exit function
[dll] sane_exit: calling backend `epson2's exit function
[dll] sane_exit: calling backend `epjitsu's exit function
[dll] sane_exit: calling backend `dmc's exit function
[dll] sane_exit: calling backend `dell1600n_net's exit function
[dll] sane_exit: calling backend `coolscan3's exit function
[dll] sane_exit: calling backend `coolscan's exit function
[dll] sane_exit: calling backend `cardscan's exit function
[dll] sane_exit: calling backend `canon_dr's exit function
[dll] sane_exit: calling backend `canon630u's exit function
[dll] sane_exit: calling backend `canon's exit function
[dll] sane_exit: calling backend `bh's exit function
[dll] sane_exit: calling backend `artec_eplus48u's exit function
[dll] sane_exit: calling backend `artec's exit function
[dll] sane_exit: calling backend `avision's exit function
[dll] sane_exit: calling backend `apple's exit function
[dll] sane_exit: calling backend `agfafocus's exit function
[dll] sane_exit: calling backend `abaton's exit function
[dll] sane_exit: calling backend `net's exit function
[dll] sane_exit: finished
sh-4.1#
[/code]

Sorry I didn't get that to you earlier ... was trying to post from Dillo on the live CD and somehow lost the post. KJ

Posted: Mon 02 Jul 2012, 20:38
by KJ
rcrsn51: Installed the scangearmp_common-1.5.pet, then the scangearmp_mx340-1.50.pet on lucid528v4 ... ran "scangearmp" from CLI and got this error:

Code: Select all

sh-4.1# scangearmp
scangearmp: error while loading shared libraries: libgimp-2.0.so.0: cannot open shared object file: No such file or directory
sh-4.1# 
Didn't try it on slacko533F. KJ

Posted: Mon 02 Jul 2012, 20:56
by rcrsn51
Are you sure you got the scangearmp_common-1.5 and not the 1.3? Because I don't get that error with 1.5.

Posted: Tue 03 Jul 2012, 02:23
by KJ
rcrsn51: Oops .... You are correct .... I installed the 1.3 and not the scangearmp_common-1.5 .pet. Corrected and now scan works on my MX340 on Lucid528v4 ... time to "save" to USB flashdrive. Thanks for all your help and "talking" me thru. the process. I'm guessing that scangearmp should also work on slacko533F? Thanks again ....

EDIT: Also works with Fluppy12 and Saluki22 .... Nice job ... Thanks ... KJ

Posted: Sat 18 Aug 2012, 15:20
by rcrsn51
Here are the scanner drivers for the Canon MG2100 series. You must install both.

This is a new package. Please provide feedback.