Canon MG5200 installation Newbie

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

Moderator: Moderators

Canon MG5200 installation Newbie

Postby benno33 » Thu Dec 06, 2012 13:48

I have just moved over from Windows and have try Various distro's Sabayon being the most stable and polished all the others seem to be a straight forward printer/scanner Wifi install, but Sabayon no, I need help with the basics upwards.
From what I understand I need a local overly cnijfilter-3.40-r5.ebuild or cnijfilter-3.40.ebuild but adding them from here I get stuck.

Can anyone give me advice please.
benno33
Baby Hen
 
Posts: 1
Joined: Thu Dec 06, 2012 13:31

Re: Canon MG5200 installation Newbie

Postby Fitzcarraldo » Thu Dec 06, 2012 16:17

I'm assuming you are using the 64-bit version of SL (Sabayon Linux)? [In future please always give as much information as possible about your installation -- hardware and software -- so that people will be able to offer appropriate advice.]

Unfortunately the package you want is not in Entropy so you'll have to use the Gentoo Portage package manager. The cnijfilter ebuilds (Portage build scripts) are a nightmare. Different versions of the cnijfilter ebuild (and different revisions of those different versions) install drivers for different Canon models, and the ebuilds for each version have been hacked by different people over the years and are often a mess (see e.g. Gentoo Bugzilla Bug Report No. 130645 which even has several revisions of the cnijfilter-3.40 ebuild you're interested in). So what I'm about to tell you will work if you're lucky, but be aware it may not. You'll need to set up your SL installation to use Portage for the first time, by using some commands that you would not use normally. The procedure, which you'll need to perform in a Konsole/Terminal window, is given below.

Code: Select all
$ su
Password: <--- Enter the root user's password here, not your password.
# equo install git
# equo install subversion
# equo install emul-linux-x86-compat emul-linux-x86-baselibs emul-linux-x86-gtklibs
# emerge --sync
# layman -S
# layman -d sabayon
# layman -d sabayon-distro
# layman -a sabayon
# layman -a sabayon-distro
# layman -a gentoo-zh # 3rd-party overlay with cnijfilter-3.40
# layman -a zugaina # 3rd-party overlay with emul-linux-x86-bjdeps-0.1-r2
# layman -S
# USE="amd64 mg5200 net" emerge -1v =cnijfilter-3.40 emul-linux-x86-bjdeps # Omit net if printer connected via USB
# equo rescue spmsync # Tell Entropy what you did in Portage
# exit
exit
$

I install cnijfilter and emul-linux-x86-bjdeps using a local overlay rather than third-party overlays, but you may as well try gentoo-zh and zugaina (although in Gentoo I have to use emul-linux-x86-bjdeps-0.4, which isn't available in a third-party overlay as far as I know).

If all the above runs through correctly, fire up your Web browser, enter the address http://localhost:631/ in the address bar to view the CUPS Manager, and add the printer.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Canon MG5200 installation Newbie

Postby dattaway2 » Tue Dec 11, 2012 16:33

^^^ This works for me! My MG5220 has been an elusive printer and just does NOT work on other distributions. Now it is 100% functional. Thank you!
dattaway2
Baby Hen
 
Posts: 1
Joined: Tue Dec 11, 2012 15:53


Return to Hardware

Who is online

Users browsing this forum: No registered users and 0 guests