You are not logged in.

#1 2012-02-23 20:15:45

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

Tip for Canon Printers after updating system

My working Canon MG8120 was no longer working after doing a massive update.  After some trial and error I got it solved.  I am using the propriatary drivers downloaded from Canon.  See following for more info:
https://bbs.archlinux.org/viewtopic.php?id=128969

First, by more or less following this guide I found out how to find what the problem files were.
http://hplipopensource.com/node/225

As root edit: /etc/cups/cupsd.conf {change warn to debug}

# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel debug

As root restart cups:

/etc/rc.d/cupsd restart

Run the following from terminal as root, then try printing a test page from cups.  Go back to the terminal window to see the debug output and any errors uncovered.

tail -f /var/log/cups/error_log

In my case, I got the following error:

/usr/local/bin/cifmg8100: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

Sure enough, libjpeg-turbo included libjpeg.so.8.0.2 and was one of the updates.  It had been updated to version 1.2.0-1.  This update removed the older version libjpeg.so.62 and replaced it with libjpeg.so.8.0.2.
http://www.archlinux.org/packages/extra … peg-turbo/

The Canon drivers from Canon require specific versions of certain libraries.  What I did was copy /usr/lib64/libjpeg.so.62.0.0 from a Fedora install to /usr/lib/ in Arch (location of libraries is different in Arch), removed the symlink from libjpeg.so, then recreated the symlink from libjpeg.so to libso.62 as follows:

[root@myhost lib]# rm libjpeg.so
[root@myhost lib]# ln -s libjpeg.so.62.0.0 libjpeg.so.62
[root@myhost lib]# ln -s libjpeg.so.62.0.0 libjpeg.so

Some of the other libraries that may cause problems are libpng (probably need libpng12) and libtiff (probably need libtiff.so.3).  I had to use the older version libpng12, but did not seem to need the older version of libtiff (at least so far).

You might try searching AUR for older versions of these libraries, or else extract them from a downloaded Fedora (or other distro) rpm using rpmextract.  Be sure and use a 64-bit library for a 64-bit system, and a 32-bit library for a 32-bit system - otherwise you will see a wrong ELF class error.

EDIT:  One other thing, I edited the /etc/udev/rules.d/80-canon_mfp.rules file, removing SYSFS and replacing with ATTRS in every instance I found the string SYSFS.  Not positive the rules file is still needed, but I had to do the above to get rid of the boot error messages.

Last edited by David Batson (2012-02-23 20:26:33)

Offline

#2 2014-05-15 09:41:42

rea
Member
Registered: 2014-03-21
Posts: 20

Re: Tip for Canon Printers after updating system

David Batson wrote:

As root restart cups:

/etc/rc.d/cupsd restart

I get this prompt:
sudo: /etc/rc.d/cupsd: command not found

???

Offline

#3 2014-05-15 09:43:45

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,545
Website

Re: Tip for Canon Printers after updating system

That's because you have necrobumped a thread that pre-dates the move to systemd...
https://wiki.archlinux.org/index.php/Fo … Bumping.27




Closing


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB