Canon MP640 printer [Solved]

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Canon MP640 printer [Solved]

Postby den_car » Sat Oct 15, 2011 14:25

I am enjoying my first look at Sabayon 7 and would like to stay with it, but inability to set up my Canon MP640 printer might curtail my experience. The printer runs in Linux Mint Debian Edition and Fedora 15, but neither the source or rpm drivers will install in Sabayon. If I run the source install script I get "Error! The appropriate package is not found in the appropriate directory." I tried the source install in /home and /usr/local/src. I installed rpm and get a mile of unresolved dependencies, but the dependencies are in the source package, if only it would compile. So, I can get the Debian driver to work as well as the rpm in Fedora. Can anyone please suggest a cure for the compile problems in Sabayon, please?

Edit: The printer is a wireless network device. I have read the Gentoo guide without seeing any solution.
Last edited by den_car on Sun Oct 16, 2011 22:21, edited 1 time in total.
den_car
Baby Hen
 
Posts: 9
Joined: Sat Oct 15, 2011 14:03

Re: Canon MP640 printer

Postby Fitzcarraldo » Sat Oct 15, 2011 18:13

The good news is that your printer model is supported in Gentoo/Sabayon Linux. However, you'll need to install the driver by using a local overlay in the Portage package manager. You can check which version of the cnijfilter package supports your particular model by looking at the list in the thread Re: Installing Canon PIXMA MX870 drivers in Sabayon (which also tells you the number of the Gentoo Bugzilla Bug Report in which you'll find the ebuild), and you can see an example of how to install a Canon printer driver by reading the post Re: How to intall canon ip1980 printer? (If you were using 32-bit SL then you wouldn't need to install the emul-linux-x86-bjdeps package).
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Canon MP640 printer

Postby den_car » Sun Oct 16, 2011 1:32

Thank you. I'll work my way through that today. I would still like to know what is stopping source and rpm drivers compiling in Sabayon.
Edit. One other observation is that Sulfur, when asked to install a binary, gets to the packages directory and finds it empty, whereas the packages are there in file manager. That is why I installed rpm, which runs the packages.
den_car
Baby Hen
 
Posts: 9
Joined: Sat Oct 15, 2011 14:03

Re: Canon MP640 printer

Postby den_car » Sun Oct 16, 2011 12:32

I managed to get the canonmp640.ppd driver installed, but cannot get Cups to connect wirelessly and I can't afford a dedicated usb port. That could be a deal-breaker. Also, the fact that wireless has to be reconnected every boot is tedious. The printer was immediately recognised when connected by usb. At least the ebuild exercise was a challenge for the old brain and I recall why I enjoyed Gentoo up until the time I had to revert to Windows four years ago.
den_car
Baby Hen
 
Posts: 9
Joined: Sat Oct 15, 2011 14:03

Re: Canon MP640 printer

Postby Fitzcarraldo » Sun Oct 16, 2011 13:17

If you want to use a Canon printer with a wireless network then you also need to install the net-print/cups-bjnp package, which is the CUPS backend for Canon printers that use Canon's proprietary USB over IP BJNP protocol. You can find an ebuild in e.g. the dev-zero overlay. If you prefer to use a local overlay then you can simply copy the ebuild: cups-bjnp-0.5.4.ebuild.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Canon MP640 printer

Postby den_car » Sun Oct 16, 2011 13:48

Thank you, Fitzcarraldo. Tomorrow's challenge.
den_car
Baby Hen
 
Posts: 9
Joined: Sat Oct 15, 2011 14:03

Re: Canon MP640 printer

Postby Fitzcarraldo » Sun Oct 16, 2011 17:46

Actually, I've just noticed that, since I installed it many months ago, Version 1.0 of the the package was added to the main Portage tree: http://packages.gentoo.org/package/net- ... ches=linux

Code: Select all
# eix cups-bjnp
[I] net-print/cups-bjnp
     Available versions:  (~)1.0
     Installed versions:  1.0(17:43:26 16/10/11)
     Homepage:            http://sourceforge.net/projects/cups-bjnp/
     Description:         CUPS backend for the canon printers using the proprietary USB over IP BJNP protocol.

So you don't need to add any third-party overlays or add an ebuild to your local overlay, just sync the Portage tree and merge the package. Even easier.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Canon MP640 printer

Postby den_car » Sun Oct 16, 2011 22:20

That worked a treat, thanks, Fitzcarraldo, and I now have a working wireless printer. Now to solve the wireless connect on boot problem which is a pain. Thanks again for your help and support. :)
den_car
Baby Hen
 
Posts: 9
Joined: Sat Oct 15, 2011 14:03

Re: Canon MP640 printer [Solved]

Postby Fitzcarraldo » Sun Oct 16, 2011 22:39

You're welcome. Regarding your other problem, are you using nm-applet? If you are, have a look at the post Re: Wireless network doesn't auto-connect. I don't have the problem myself with nm-applet one of my machines that uses it (nor with KNetworkManager on my machines running KDE) but that post might help you.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Canon MP640 printer [Solved]

Postby Fitzcarraldo » Mon Oct 17, 2011 19:29

Moving this thread to the Hardware forum as it's a better place for it, especially as this is not specific to 64-bit Linux.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7328
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Next

Return to Hardware

Who is online

Users browsing this forum: No registered users and 0 guests