LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-29-2008, 05:37 PM   #1
e82
Member
 
Registered: Oct 2008
Location: Milnthorpe, Cumbria
Distribution: Ubuntu 7.10 64-bit
Posts: 31

Rep: Reputation: 15
Installing Canon Pixma 520 printer/scanner on 64-bit Ubuntu 7.10


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$
 
Old 10-30-2008, 10:26 AM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
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 ?
 
Old 10-31-2008, 11:07 AM   #3
e82
Member
 
Registered: Oct 2008
Location: Milnthorpe, Cumbria
Distribution: Ubuntu 7.10 64-bit
Posts: 31

Original Poster
Rep: Reputation: 15
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.
 
Old 10-31-2008, 02:51 PM   #4
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
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.
 
Old 11-01-2008, 04:57 PM   #5
e82
Member
 
Registered: Oct 2008
Location: Milnthorpe, Cumbria
Distribution: Ubuntu 7.10 64-bit
Posts: 31

Original Poster
Rep: Reputation: 15
'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?
 
Old 02-08-2009, 03:19 PM   #6
tpehant
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Rep: Reputation: 0
You should install getlibs
http://www.boundlesssupremacy.com/Ca...etlibs-all.deb
and then execute command:

getlibs /usr/bin/scangearmp

then your scanner should work

Tomaž
 
Old 02-11-2009, 03:28 PM   #7
e82
Member
 
Registered: Oct 2008
Location: Milnthorpe, Cumbria
Distribution: Ubuntu 7.10 64-bit
Posts: 31

Original Poster
Rep: Reputation: 15
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.

Regards,

e82
 
Old 02-12-2009, 03:55 AM   #8
tpehant
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Rep: Reputation: 0
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).

Regards,
Tomaz

Last edited by tpehant; 02-12-2009 at 04:03 AM.
 
Old 02-13-2009, 03:49 PM   #9
e82
Member
 
Registered: Oct 2008
Location: Milnthorpe, Cumbria
Distribution: Ubuntu 7.10 64-bit
Posts: 31

Original Poster
Rep: Reputation: 15
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!

Not sure where I go from here.
 
Old 02-14-2009, 03:32 PM   #10
tpehant
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Rep: Reputation: 0
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'

this should be in it:


auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.9
netmask 255.255.255.0
gateway 192.168.1.1



..................change numbers according to your isp!!!!!

Then you must also enter dns addresses in '/etc/resolv.conf' otherwise you wont be able to browse internet.
This should be in it:

nameserver x.y.d.e
nameserver f.d.s.a



you can change all this with

sudo nano 'name of file'
and save file with ctrl+x

After editing files you must restart your network

sudo /etc/init.d/networking restart

You can also check if your network card is activated:

sudo ifconfig

If you did not loose hope, those are some instructions.



Regards,
 
Old 02-17-2009, 03:01 PM   #11
e82
Member
 
Registered: Oct 2008
Location: Milnthorpe, Cumbria
Distribution: Ubuntu 7.10 64-bit
Posts: 31

Original Poster
Rep: Reputation: 15
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.
 
Old 04-03-2009, 04:07 PM   #12
sqaview
LQ Newbie
 
Registered: Apr 2009
Location: Silicon Valley, USA
Distribution: Ubuntu 8.04 Hardy Heron
Posts: 3

Rep: Reputation: 0
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:

sudo dpkg --force-architecture -i cnijfilter-common_2.80-1_i386.deb
sudo dpkg --force-architecture -i cnijfilter-mp520series_2.80-1_i386.deb

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 :-)
 
Old 04-13-2009, 05:35 PM   #13
e82
Member
 
Registered: Oct 2008
Location: Milnthorpe, Cumbria
Distribution: Ubuntu 7.10 64-bit
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks, squaview, for your contribution. I have (re)tried what has worked for you. For some reason it does not work for me.
 
Old 04-21-2009, 10:08 AM   #14
sqaview
LQ Newbie
 
Registered: Apr 2009
Location: Silicon Valley, USA
Distribution: Ubuntu 8.04 Hardy Heron
Posts: 3

Rep: Reputation: 0

> For some reason it does not work for me.

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.

Regards
 
Old 04-28-2009, 04:09 PM   #15
e82
Member
 
Registered: Oct 2008
Location: Milnthorpe, Cumbria
Distribution: Ubuntu 7.10 64-bit
Posts: 31

Original Poster
Rep: Reputation: 15
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.
 
  


Reply

Tags
drivers, pixma


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Canon PIXMA iP90 printer Crito Linux - Hardware 8 08-21-2010 03:53 PM
Printer Problem-Canon Pixma MP170 commandante Linux - Software 4 10-28-2007 03:39 PM
Trying to install a Canon Pixma iP1600 printer SatanvsBuddha Linux - Hardware 2 11-29-2006 10:07 AM
Canon PIXMA IP-3000 Printer Russ Linux - Server 1 11-09-2006 02:31 PM
Canon PIXMA IP4200 printer - works on rpm based but not ubuntu penguintutor Linux - Hardware 1 08-18-2006 05:15 AM


All times are GMT -5. The time now is 07:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration