New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADF on MX495 does not work with scangearmp2 #43
Comments
Hi @nudgegoonies, |
Hi @nudgegoonies, |
Hi @Ordissimo The original scangearmp2 3.10-1 package is from the german site. The canadian site you have linked has the higher version 4.10-1. Using this versions scangearmp2 executable flatbed and ADF work. Using simple-scan flatbed works and ADF not. When installing libmfp2-canon and simple-scan flatbed works and ADF results in a flatbed scan. By the way, in the scanner select dialog the scanner cannot be seen, but it works anyway, at least flatbed. |
Hi @nudgegoonies,
I am waiting for your feedback Thierry |
Hi @Ordissimo
I forgot to tell, that you cannot install scangearmp2_4.12-1buster+1.1_amd64.deb and libmfp2-canon_0.2+buster1_amd64.deb together although libmfp2-canon declares scangearmp2 as dependency. The problem are that they install an equal configfile in etc and more crucial, they both contain a libsane-canon_pixma.so.1.0.0. Well, i tried both. The one from the scangearmp2 package and (installed by hand) the one from the libmfp2 package. The output you see above is with the libsane-canon_pixma.so.1.0.0 from the libmfp2-canon package. Is it really intended that libmfp2 depends on scangearmp2? |
Ok, can you uninstall scangearmp2 and not use mine?
Install scangearmp2 from Canon :
Add the repository containing libmfp2-canon and install it:
Can you make me the log of this command?
|
Ok, i installed that scangearmp2_4.10-1_amd64.deb. The file was identical to the one from the canadian site you linked above. Excuse me, but the PPO does not work with Debian buster (libc version to old on installing the package). I use Debian 10/Buster and not Ubuntu so none of these packages work on Debian. But i have build the package from source and installed it. Your command works but scans from flatbed and not from ADF altough a paper is in:
|
Hi @nudgegoonies, |
@Ordissimo The quote above is the content of the test-ADF.log file. |
Hi @nudgegoonies, |
Hi @nudgegoonies, this fix ThierryHFR/libmfp2-canon@307669f |
Use this command :
|
Thank you for the fix. But with this commit the project does not compile under Debian 10 anymore:
With commit dd4f1f2f6ca70b3d8381ab038401a5ebc6f11d23 it still compiled. |
Sorry, Fixed with ThierryHFR/libmfp2-canon@d0154ee |
The scan does not start at all and the logfile contains this:
|
Hi @nudgegoonies |
with this commit : ThierryHFR/libmfp2-canon@0e48a7d |
Sorry:
|
Hi @nudgegoonies, |
@Ordissimo
|
Hi @nudgegoonies, |
Hi @nudgegoonies |
Thank you. I will test it when available. |
Hi @nudgegoonies, |
@Ordissimo Thank you very much. I have tried it out and now the scanimage command now works and scans from ADF! scangear2 version 4.10 works. |
Hi @nudgegoonies,
Thank's |
@Ordissimo
I installed xsane and i can select between: |
Hi @nudgegoonies,
Give me a feedback for each source. |
Hi @nudgegoonies,
|
@Ordissimo Ok, i started xsane with debug and have chosen canon_pixma:
The last word is german and means memory access error. I tried setting the LANG variable to englisch but the message is still german. |
@nudgegoonies , It is xsane that crashes, can you give me the log? |
Maybe my chains are too long. |
@Ordissimo Here it is. Even LC_ALL seems to be ignored:
|
@nudgegoonies , test with commit ThierryHFR/libmfp2-canon@82fd745 |
Thank you. I built and installed it and found out something interesting. Without XSANE_DEBUG i started xsane several times and it always crashes. With XSANE_DEBUG=255 it starts ca. 1 out of 3 tries. Some times it starts and i can only choose ADF and not Flatbed anymore. When i start the scan the paper is transported and is sounds like it is scanning but after the first page the UI does not come back. Another successful start i could choose between flatben and ADF Duplex. After selecting ADF Duplex and starting the scan nothing happened. When xsane starts and i can select the scanner then it generates lots of log lines that exceed the console. Can i grep for something specific? By the way, i installed package and debug package. The SANE_DEBUG_CANON_PIXMA=255 scanimage --source="ADF" -d 'canon_pixma' 2> test-ADF.log > test-ADF.pnm command still works most of the time but fails ca. 1 out of 3 with a memory access error. Maybe i havn't tried often enough with the older commit where i reported that it works. |
Can you return the log of :
When it works and when it fails? |
This command worked immediatly:
First start of this had a memory access error. On second start scanning worked with the following test-flatbed.log: This is test-ADF-Duplex.log: I am confused by "--source="ADF Duplex"" in the command because the Scanner works only Simplex for Printing and also for ADF Scanning. Could this be the reason that the "SANE_DEBUG_CANON_PIXMA=255 scanimage --source="ADF Duplex" -d 'canon_pixma' 2> test-ADF-Duplex.log > test-ADF-duplex.pnm" does not end. The scan works but then the program seems to wait for ever for the next paper instead of detecting that there are no more papers. I had to stop it with ctrl c. |
I need the trace: I display the sources that I detect, can you make me a capture of the content of the sources in scangearmp2 |
It is me who treats badly the exit, without the device, it is complicated :-) |
Please excuse me, i don't understand. What do you mean with a capture. A screen capture? In scangearmp2 i can select only one scanner. Thats "Canon MX490 series (libusb:003:015). |
Here it is: |
@nudgegoonies, please test this : ThierryHFR/libmfp2-canon@6ecfa1c |
@nudgegoonies, Good news, I found the MX455 in the stock under a pile of dust |
@nudgegoonies, with the Canon MX455, I reproduce the same mistakes as you. Thierry |
@nudgegoonies, Thierry |
Have a nice vacation. I try it out next week when i have more time. |
Hi @nudgegoonies, |
Hi @nudgegoonies, |
With the original scangearmp2 package 3.10-1 scanning ADF with the Simple Scan program does not work. But at least i could scan ADF with the scangearmp2 executable.
With this scancgearmp2 package 4.12-1buster+1.1 scanning ADF with the Simple Scan program results in a flatbed scan. But the scangearmp2 reports internal error on both flatbed and ADF scan.
Distribution is Debian buster 10.10.
The text was updated successfully, but these errors were encountered: