You are not logged in.

#1 2011-10-25 13:22:56

LaMorte
Member
Registered: 2011-10-22
Posts: 7

[SOLVED] Canon Pixma MG5140 scanner not working

The ScangearMP software that comes from the Canon site depends on libpng12.  I've tried to compile the source to update the dependencies but it will only build for DEB or RPM.

Any advice?

[Solved]
Found a package that CPUnltd had created and uploaded to AUR for the Canon Pixma MG5200 series.  I modified the build file and it works like a dream.  I'll upload the package right after I hit the POST button.

Last edited by LaMorte (2011-10-25 13:46:30)

Offline

#2 2011-10-25 14:29:35

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: [SOLVED] Canon Pixma MG5140 scanner not working

Got the scanner on a Canon MG8120 working with scangearmp yesterday, but couldn't post at the time because the forum was down.  Similar to the printer installation.  Downloaded the scangearmp software (rpm) from Canon.

Used rpmextract to open the rpm.
# rpmextract.sh scangearmp-mg8100series-1.60-1-rpm

Changed directories to /packages/
# cd /home/~/Downloads/scangearmp-mg8100series-1.60-1-rpm/packages
...
scangearmp-common-1.60-1.i386.rpm
scangearmp-common-1.60-1.x86_64.rpm
scangearmp-mg8100series-1.60-1.i386.rpm
scangearmp-mg8100series-1.60-1.x86_64.rpm

Used rpmextract to open the (2 )64-bit rpms.
# rpmextract.sh scangearmp-common-1.60-1.x86_64.rpm
# rpmextract.sh scangearmp-mg8100series-1.60-1.x86_64.rpm

Copied the /etc/ and /usr/ directories.
cp -r /home/~/Downloads/scangearmp-mg8100series-1.60-1-rpm/packages/etc/* /etc
cp -r /home/~/Downloads/scangearmp-mg8100series-1.60-1-rpm/packages/usr/* /usr

Created symbolic links for all the libcn* files in /usr/lib64/
# cd /usr/lib64
[root@myhost lib64]# ls libcn*
libcnbpcmcm377.so.8.0.1             libcncpmsimg377.so.1.6.0
libcnbpcnclapi377.so.3.5.0           libcncpmsimg.so.1.0.2
libcnbpcnclbjcmd377.so.3.3.0      libcncpmslld377c.so.1.04.1
libcnbpcnclui377.so.3.6.0             libcncpmslld377.so.1.6.0
libcnbpess377.so.3.3.3          libcncpmslld.so.1.0.1
libcnbpo377.so.1.0.1          libcncpmsui.so.1.6.0
libcncpcmcm.so.8.0.1                   libcncpnet.so.1.2.0
libcnnet.so.1.2.0
[root@myhost lib64]# ln -s libcncpmsimg.so.1.0.2 libcncpmsimg.so
[root@myhost lib64]# ln -s libcnbpcmcm377.so.8.0.1 libcnbpcmcm377.so
[root@myhost lib64]# ln -s libcncpmslld377c.so.1.04.1 libcncpmslld377c.so
[root@myhost lib64]# ln -s libcncpmslld377.so.1.6.0 libcncpmslld377.so
[root@myhost lib64]# ln -s libcnbpcnclapi377.so.3.5.0 libcnbpcnclapi377.so
[root@myhost lib64]# ln -s libcncpmslld.so.1.0.1 libcncpmslld.so
[root@myhost lib64]# ln -s libcnbpess377.so.3.3.3 libcnbpess377.so
[root@myhost lib64]# ln -s libcnbpcnclbjcmd377.so.3.3.0 libcnbpcnclbjcmd377.so
[root@myhost lib64]# ln -s libcncpmsui.so.1.6.0 libcncpmsui.so
[root@myhost lib64]# ln -s libcnbpcnclui377.so.3.6.0 libcnbpcnclui377.so
[root@myhost lib64]# ln -s libcncpnet.so.1.2.0 libcncpnet.so
[root@myhost lib64]# ln -s libcnbpo377.so.1.0.1 libcnbpo377.so
[root@myhost lib64]# ln -s libcncpcmcm.so.8.0.1 libcncpcmcm.so
[root@myhost lib64]# ln -s libcncpmsimg377.so.1.6.0 libcncpmsimg377.so
[root@myhost lib64]# ln -s libcnnet.so.1.2.0 libcnnet.so

Try running scangearmp.  I had errors from a couple of symbolic links I missed.
# /usr/local/bin/scangearmp

Next to find the errors, run.
# ldd /usr/local/bin/scangearmp | grep "not found"

There is a configuration file to run for scangearmp.
# ldconfig

Try running # ldd /usr/local/bin/scangearmp | grep "not found" again to make sure all the errors are gone.

Now scangearmp should work.
# /usr/local/bin/scangearmp

EDIT:  Apparently GIMP can run scangearmp.  Haven't tried it yet myself as I don't have GIMP installed.
http://www.murga-linux.com/puppy/viewto … 143#412143
BTW, this thread is where I learned about the ldconfig and ldd commands for scangearmp.

Last edited by David Batson (2011-10-25 15:30:29)

Offline

#3 2013-03-06 02:26:27

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: [SOLVED] Canon Pixma MG5140 scanner not working

Now scangearmp requires "pangox-compat" from the extra repository.

It seems you need to run scangearmp using sudo to initially detect the scanner.  After that, you can run scangearmp as a regular user (although you might need to be part of the scanner group).

Offline

Board footer

Powered by FluxBB