Slackware This Forum is for the discussion of Slackware 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-25-2013, 11:55 AM
|
#1
|
MLED Founder
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453
|
Printer woes : Canon iSensys MF 8040 CN
Hi,
I'm currently setting up a complete Slackware network (server and desktop clients) in a local radio station. So far, the server is working great, and I have two desktop clients for a start. Eventually all ten machines will be migrated to Slackware. Currently the other client machines are running a mix of Windows XP and Ubuntu.
The Slackware clients are running crisp and clean with KDE as desktop and centralized authentication. Everything's perfect, and the only remaining problem is the darn printer.
It's not natively supported by CUPS, but Canon does provide drivers on its website for... Fedora and Ubuntu. So I downloaded the driver package, extracted the compressed archive, found various DEB and RPM packages for 32-bit and 64-bit, and decided to install the 64-bit RPMs with rpm -ivh --nodeps. (The PC does have a multilib layer installed). I did an rpm -ql to see what was installed, and all the files seemed to be in the right place. Except the printer won't even raise an eyebrow.
So my question to the CUPS gurus in this forum. Through which burning loop do I have to jump in order to get this thing to work? I'm clueless here.
Cheers,
Niki
|
|
|
10-25-2013, 12:25 PM
|
#2
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,559
|
ldd the binaries within the package to make sure they have ask their dependencies fulfilled.
Also look at "rpm -q --scripts" for each package to check the post install scripts. they may have failed due to differences on slack.
Also why not extract the rpm contents with bsdtar or rpm2cpio and knock up a quick package?
|
|
1 members found this post helpful.
|
10-25-2013, 12:28 PM
|
#3
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,559
|
rpm2tgz or src2pkg would have been two more options rather than installing the rpms directly.
|
|
2 members found this post helpful.
|
10-25-2013, 04:50 PM
|
#4
|
Member
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 174
Rep: 
|
i downloaded the driver to see whats in it.. i found a "source" folder in the zip file.. maybe youll try (makeing a slackbuild file and) compile from source?
greatings.
|
|
|
10-25-2013, 07:35 PM
|
#5
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,575
|
A wild guess based on this thread. http://www.linuxquestions.org/questi...0/#post4886521
You may need a symlink like 'ln -s /lib64/ld-2.15.so /lib64/ld-lsb-x86-64.so.3'
|
|
|
10-25-2013, 08:38 PM
|
#6
|
Member
Registered: Mar 2006
Location: Monterrey, México
Distribution: Slackware64 Current
Posts: 33
Rep:
|
Try this ...
Hi, I do not speak English, I'm using google translator ...
Is this the driver ???
http://www.canon-europe.com/Support/...&type=download
Run rpm2txz AS ROOT to convert the 2 packages (cndrvcups-common and cndrvcups-ufr2). Install the packages ...
Restart the CUPS server.
Is the printer connected to the network ? Configure the printer port like this : lpd://printer_ip_adress/print (queue name in lowercase), then select the driver (Canon MF8000C Series UFRII LT).
Let us know the result ... Greetings from México... 
|
|
|
10-25-2013, 10:47 PM
|
#7
|
MLED Founder
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453
Original Poster
|
Thanks everybody for all your numerous answers. I had to finish the install yesterday evening by any means, so in the end, I found a pragmatic solution. One of the desktop clients is supposed to remain with an Ubuntu LTS installation, so I simply connected the printer to this one client, installed the ready-made .deb drivers from Canon (which worked out of the box, well, sort of), activated printer sharing in Ubuntu's CUPS installation so all the Slackware clients can print to it. Not quite elegant, but it works. The folks at the radio station were happy, and I could go home at a decent hour.
Note to self: continue to boycott Canon for their crappy Linux support.
|
|
|
10-26-2013, 02:43 AM
|
#8
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,374
Rep: 
|
J'arrive après la bataille, but here is how Pat unpacks google-chrome's .deb tarball ( in /extra/google-chrome/google-chrome.SlackBuild):
Code:
ar p $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.lzma | lzma -d | tar xv || exit 1
.
|
|
|
10-26-2013, 07:14 AM
|
#9
|
Member
Registered: Jul 2013
Location: Lithuania
Distribution: Slackware64 14, Slackware64 -current, Maemo
Posts: 113
Rep: 
|
I had a lot of problems with Cannon multifunctional and Slackware 14. Drivers compiled from source without problems, but printer refuses to work. problem was with CUPS 1.5.4 usb backend and kernel module usblp. Blacklisting that module solved all problems. In Slackware current the usblp is blacklisted now.
|
|
|
10-26-2013, 11:53 AM
|
#10
|
Member
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 174
Rep: 
|
i would have pluged the printer in the network (at least it is a network printer) and compile the driver from the sourcefiles in the zip.. that way no computer would have to be running to print.. oh well.. as long as the people at the radio are happy all is fine.
|
|
|
10-28-2013, 02:10 AM
|
#11
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,559
|
Quote:
Originally Posted by Didier Spaier
J'arrive après la bataille, but here is how Pat unpacks google-chrome's .deb tarball ( in /extra/google-chrome/google-chrome.SlackBuild):
Code:
ar p $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.lzma | lzma -d | tar xv || exit 1
|
That is one way to extract the contents of a deb but IMHO it is not the best way. I would rather use bsdtar instead:
Code:
bsdtar xOf $CWD/google-chrome-${RELEASE}_current_${DEBARCH}.deb data.tar.* | bsdtar xvf - || exit 1
The advantage of this method is that it will continue to work even if the internal compression method changes (e.g. to XZ) because bsdtar allows globbing when extracting files (i.e. data.tar.*), while ar does not. Additionally, bsdtar can detect and handle automatic decompression of archives received through a pipe without having to specify the compression type, unlike GNU tar.
Last edited by ruario; 10-28-2013 at 02:16 AM.
Reason: Quoted too much initially
|
|
|
All times are GMT -5. The time now is 01:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|