Installing Canon Pixma 520 printer/scanner on 64-bit Ubuntu 7.10
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am using 64-bit Ubuntu 7.10. Canon only supply 32-bit drivers for my Pixma MP520 Printer-scanner. I have read (somewhere?) that it may be possible to use the 32-bit drivers by creating an i386 newroot using CHROOT but I need detailed instructions if I am to so.
There are 2 'print' files:
cnijfilter-common_2.80-1_i386.deb
cnijfilter-mp520series_2.80-1_i386.deb
which I have downloaded fron Canon-europe (which are in red when I examine the contents of my 'downloads' file in Terminal)
There are 2 'scan' files but Canon only provide rpm files, the deb files having apparently been removed, and I have so far been unable to convert these to deb files using 'alien' installed from synaptic package manager. The following is a copy of the failed Terminal episode:
e@e-laptop:~$ cd downloads
e@e-laptop:~/downloads$ ls
cnijfilter-common_2.80-1_i386.deb guidemp520series-sd-1.10-1.tar.tar
cnijfilter-common-2.80-1.i386.rpm j602a_linux64.sh
cnijfilter-mp520series_2.80-1_i386.deb
cnijfilter-mp520series-2.80-1.i386.rpm
faq-pd-2.80-1.tar.tar scangearmp-common-1.10-1.i386.rpm
GoogleEarthLinux.bin scangearmp-mp520series-1.10-1.i386.rpm
guidemp520series-pd-2.80-1.tar.tar ubuntu-7.10-desktop-amd64.iso
e@e-laptop:~/downloads$ sudo alien --scripts /home/e/downloads/scangearmp-common-1.10-1.i386.rpm
Package build failed. Here's the log:
dh_testdir
dh_testdir
dh_testroot
dh_clean -k -d
dh_installdirs
dh_installdocs
dh_installchangelogs
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
xargs -0 -r -i cp -a {} debian/scangearmp-common
dh_compress
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dpkg-shlibdeps: warning: symbol dlsym used by debian/scangearmp-common/usr/lib/libsane-canon_mfp.so.1.0.1 found in none of the libraries.
dpkg-shlibdeps: warning: symbol dlclose used by debian/scangearmp-common/usr/lib/libsane-canon_mfp.so.1.0.1 found in none of the libraries.
dpkg-shlibdeps: warning: symbol dlopen used by debian/scangearmp-common/usr/lib/libsane-canon_mfp.so.1.0.1 found in none of the libraries.
dpkg-shlibdeps: warning: couldn't find library libcncpmsui.so needed by debian/scangearmp-common/usr/local/bin/scangearmp (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dpkg-shlibdeps: failure: couldn't find library libgimp-2.0.so.0 needed by debian/scangearmp-common/usr/local/bin/scangearmp (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make: [binary-arch] Error 1 (ignored)
dh_gencontrol
dpkg-gencontrol: error: current host architecture 'amd64' does not appear in package's architecture list (i386)
dh_gencontrol: command returned error code 65280
make: *** [binary-arch] Error 1
find: scangearmp-common-1.10: No such file or directory
e@e-laptop:~/downloads$
Looks like the problem is the drivers are compiled for x86 and you are running amd64..
it looks like turboprint supports that printer in Linux on amd64 architecture, but it supports the PRINTER only and not the scanner. http://www.turboprint.info/printers.html
Is it new enough that you can you take it back and get an HP ?
Thanks, farslayer, for your advice. I will try turboprint if nothing else is available.
I have become a committed Linux user but there are some things with which it cannot cope because the other parties involved do not offer Linux support. Nationwide internet banking cannot be used via Linux/Firefox. The videos, movie trailers, etc cannot be watched on Tiscali's webpage. And Canon do not offer Linux support (though they do offer some 32-bit drivers). So I dual-boot and my MP520 works fine in Windows XP.
It would of course be much more convenient if I could get the machine to work in my Linux partition. My query to Linux questions was made to this end, but also because, as a relative newcomer, I wish to learn about i386 roots in a 64-bit environment. I have not found any comprehensive source of information on Linux which could help a newbie.
A good read if you take the time. It might help explain why some things in Linux are the way they are. Linux is not Windows
You've taken a harder road in my opinion by going with a 64bit Distribution as a new user. There are some things that are just not available on 64 bit that would work fine in a 32bit Linux install. there are shims and workarounds for a lot of them, but not all, as you are finding out now.
Some hardware manufacturers just don't care about Linux. Windows is their big market and Linux isn't worth bothering with. Here is where we have to vote with out spending money. HP, Samsung, and Brother all have good Linux support for most of their printers. Cannon does not.
Of course being new to Linux you probably want to make use of the hardware you already own, which is not always an easy road. You would think well it works fine in Windows it should work in Linux !!. Not true if the manufacturer does not provide drivers or at least specifications so some enterprising Linux programmer can write drivers for the device. Keep this in mind as you upgrade an replace your equipment.
My banking site works great with Linux in Firefox, the same as in Windows with IE. If they didn't I would have switched banks.. again voting with my money. it seems to be the only thing big businesses understand I would leave them and tell them why I am leaving. Of course they probably wouldn't care that I am taking my $100.00 and going elsewhere with it. but if enough of us do that it does start to add up.
Videos can be frustrating as well, I don't have an answer for that one as I run into the same issues with several sites.
Best of luck to you. as you run into issues feel free to come back here and post, this is an awesome community with a lot of people more than willing to lend a hand.
'Linux is not Windows' certainly is a good read but not really what I needed.
For information:
a) I use Nationwide because they do not add charges when their cards are used abroad, not because of what their attitude to Linux might be.
b) I use the J programming language (which I can heartily recommend - see jsoftware.com ) and they strongly approve of 64-bit.
I have solved the rpm/deb bit of my problem by doing the alien conversion in 32-bit ubuntu and then transferring the created deb files to my 64-bit partition via a pen drive. I don't know whether this means there is a bug in alien as far as 64-bit is concerned.
I now need to find out about i386 roots in 64-bit computing. Am I in the correct forum to ask about this?
I have tried your suggestion but am still unable to scan.
Sorry for the delay in responding. Since trying, I have accepted the invitation to update to Ubuntu 8.1. Towards the end of the update, I received the error massage:
Adding client to server's list failed, CORBA error: 1DLmg.org/CORBA/COMM_FAILURE:1.0
I now cannot connect to the internet using the 64 bit Ubuntu distro (among other things!). I am writing this using Linux Mint.
I use Kubuntu 64bit Intrepid 8.10
I also tried compiling new SANE, but scanner is not detected with scanimage -T.
I am sorry to hear your ubuntu distribution is corrupted through upgrade.
Maybe you should fresh install ubuntu 64bit 8.10 and canon drivers
Canon drivers are: http://software.canon-europe.com/fil...an_drivers.tar
Just proceed with dpkg --force-architecture -i files.deb
You must also install prior to installing canon drivers:
sudo apt-get install libgimp2.0
and then finally
getlibs /usr/bin/scangearmp
When installing getlibs my scanner worked flawlessly in gimp (file, create, scangearMP).
Pleased to hear someone has Intrepid 64-bit working.
I discovered that I had to install libgimp2.0. But I was not able to scan.
After a year's use I had developed some confidence in Linux, but the confidence is beginning to wane. I thought of reinstalling from a live disc but on loading the live version I found that the internet connection had not been activated so I was not prepared to proceed with the install. In Ubuntu 7.1 there is a configure button enabling you to add IP Address, Netmask, etc., but not in 8.1. I don't know the names of the files which need to be amended.
This isn't some esoteric rite that can only be conducted by some Linux High Priest. There is no difficulty making an internet connection in Windows!
I found that ubuntu has some problems keeping static IP network configuration. Especially when machine reboots. It happened to me when installing on my kubuntu server/multimedia machine!
I did not start with live cd but went directly installing (on main menu starting from cd disc). I then solved problem using another computer connected to internet.
I think that through installation process installer asks for network configuration later and activates it!!!
If you want to do it manually in terminal:
The configuration file for network is
'/etc/network/interface'
Thanks for your instructions. I am sure you will agree this is not the friendly Ubuntu we have got used to.
I said the internet connection problem was "among others". 8.10 could not recognize my sound card. Also, though this may or not be important, after the upgrade operation, the Grub list still showed the version to be 7.10.
I thought I would look at the 'long term supported' 8.04 version. This I find does recognize my network connection and my sound card but my laptop's internal speakers don't work. (External speakers connected via the headphone socket do work; the internal speakers work in Windows).
I am currently back on 7.10 but this is not a long term solution because sooner or later it will cease to be supported.
I wanted to print from my x86_64 notebook to a Canon PIXMA MP500 using SMB (because the printer's physically connected to a Windows Vista PC). My notebook has an AMD Turion 64 dual core processor and is running Ubuntu 8.04 OK. Searching http://openprinters.org lead me to LinuxQuestions.org, where I found enough info about adding a Debian based MP520 driver to make a go of it. Here's what I learned:
1. The English language MP520 Linux drivers are only available from Canon's European support site (despite comments referring to the Japanese or Asian support sites that I saw elsewhere). See http://software.canon-europe.com/products/0010487.asp
2. The .deb files in the downloaded tar archive are 32-bit only. You must tell dpkg to forcibly install them on to an x86_64 system, like this, and in the order shown:
3. The included guidemp520series-pd-2.80-1 HTML doc is useful if you will be directly connecting the MP5xx directly to a Linux PC.
4. To make an SMB based connection to the printer, just use the "Printer Manager" to define a new SMB-based printer profile as usual. When it asks you to specify the printer manufacturer and type, click "Other", navigate to /usr/share/ppd, and select the canonmp520.ppd that's been installed there during step 2 above.
Then you can use the SMB-based MP5xx profile like any other printer :-)
What are the symptoms of the failure? Have you made SMB based connections to other printers successfully in the past? Configuring SMB based connections from Linux to Windows can be a bit tricky, so that may be the problem.
If there's a specific error message you're receiving, post it back here and I may be able to help you out.
Hooray, I have updated to Ubuntu 9.04 and, without further ado, I have a wireless connection.
Boo, I have no sound. The volume control suggests that nothing is wrong and visualisations seem to be working but there is no sound from the speakers or the headphone socket. Apparently there are others having this problem with 9.04. Following an ubuntu advice page I have loaded padevchooser and 11 other modules etc but so far without success. I am about to use lspci, cut /proc/asound/cards, etc to find more information about my system and will proceed from there. I will report back if I get any further.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.