LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 01-25-2011, 12:07 PM   #1
Luke_Wolf
LQ Newbie
 
Registered: Jan 2011
Distribution: Slackware & openSUSE
Posts: 10

Rep: Reputation: 0
Issues installing a Cannon Pixma MP640 Printer on Slackware 13.1


As the title says I'm having issues with installing a Canon Pixma MP640 printer on Slackware 13.1.

So far I've downloaded the source of the IJ Printer Driver from the Canon site and tried installing the driver using a ppd inside the source package through the CUPs administration page, it appears to install but when you go to print the job is always stopped. The source package has confused me otherwise as it doesn't seem to be following the usual ./configure, make, make install, dance, although it is possible to compile the stuff inside the folder.

So from there I downloaded the rpm version of the print drivers, and tried running the install.sh but that didn't work, and so I did and rpm2tgz and installed the packages manually that way, that still didn't work so I followed the instructions to make my installation of slackware multilib, removed the packages, used convertpkg-compat32 to make them 64bit compatible and installed them that way, this still isn't working.

On openSUSE and Fedora typically one has to run the install.sh to get the driver to actually install the printer, instead of just installing the RPMs and using the printer administration tools, so I've been reading over the script to see if I could make heads or tails of it, but I'm still just getting back into programming and it doesn't appear to be C, or anything else I would be familiar with so I'm lost there. CUPS recognized the device without the drivers, but there was nothing I could do as far as printing so I doubt that's the issue. More than likely I'm going to have to figure out how to tweak the install script to make it work.

I couldn't find anything while searching on Google either, so I figured I would post this here, and then get back to tinkering with it.
 
Old 01-26-2011, 08:49 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 6,880

Rep: Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267Reputation: 1267
Here's the listing at the Open Printing database. Try the PPD file there:

http://www.openprinting.org/printer/...on-PIXMA_MP640
 
Old 01-29-2011, 01:17 PM   #3
Luke_Wolf
LQ Newbie
 
Registered: Jan 2011
Distribution: Slackware & openSUSE
Posts: 10

Original Poster
Rep: Reputation: 0
I've actually already tried that and it didn't work. I also tried to pull the PPD out of the RPMs after I converted and exploded them, but there was naught to be had. There has to be some way to do it though, be it mimicking the installation process or otherwise
 
Old 01-31-2011, 12:41 AM   #4
icqraid
LQ Newbie
 
Registered: Jan 2011
Location: Oregon USA
Distribution: Slackware13.1 Ubuntu10.10
Posts: 25

Rep: Reputation: 0
I am having a possibly similiar problem with my Canon MP490.
I think this debug message is the culprit.

Jan 30 21:46:59 BSL1 kernel: [ 5040.998767] uhci_hcd 0000:00:1d.3: reserve dev 2 ep81-INT, period 8, phase 4, 99 us
Jan 30 21:47:40 BSL1 kernel: [ 5082.785223] hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0004
Jan 30 21:47:40 BSL1 kernel: [ 5082.785244] ehci_hcd 0000:00:1d.7: GetStatus port:2 status 001803 0 ACK POWER sig=j CSC CONNECT
Jan 30 21:47:40 BSL1 kernel: [ 5082.785258] hub 1-0:1.0: port 2, status 0501, change 0001, 480 Mb/s
Jan 30 21:47:41 BSL1 kernel: [ 5082.889042] hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501
Jan 30 21:47:41 BSL1 kernel: [ 5082.940297] ehci_hcd 0000:00:1d.7: port 2 high speed
Jan 30 21:47:41 BSL1 kernel: [ 5082.940310] ehci_hcd 0000:00:1d.7: GetStatus port:2 status 001005 0 ACK POWER sig=se0 PE CONNECT
Jan 30 21:47:41 BSL1 kernel: [ 5083.042270] ehci_hcd 0000:00:1d.7: port 2 high speed
Jan 30 21:47:41 BSL1 kernel: [ 5083.042283] ehci_hcd 0000:00:1d.7: GetStatus port:2 status 001005 0 ACK POWER sig=se0 PE CONNECT
Jan 30 21:47:41 BSL1 kernel: [ 5083.106640] usb 1-2: default language 0x0409
Jan 30 21:47:41 BSL1 kernel: [ 5083.107641] usb 1-2: udev 4, busnum 1, minor = 3
Jan 30 21:47:41 BSL1 kernel: [ 5083.107840] usb 1-2: usb_probe_device
Jan 30 21:47:41 BSL1 kernel: [ 5083.107848] usb 1-2: configuration #1 chosen from 1 choice
Jan 30 21:47:41 BSL1 kernel: [ 5083.109515] usb 1-2: adding 1-2:1.0 (config #1, interface 0)
Jan 30 21:47:41 BSL1 kernel: [ 5083.109723] usb 1-2: adding 1-2:1.1 (config #1, interface 1)
Jan 30 21:47:41 BSL1 kernel: [ 5083.109788] usblp 1-2:1.1: usb_probe_interface
Jan 30 21:47:41 BSL1 kernel: [ 5083.109795] usblp 1-2:1.1: usb_probe_interface - got id
Jan 30 21:47:41 BSL1 kernel: [ 5083.113917] usblp 1-2:1.1: looking for a minor, starting at 0
Jan 30 21:47:41 BSL1 kernel: [ 5083.114061] usb 1-2: adding 1-2:1.2 (config #1, interface 2)
Jan 30 21:47:41 BSL1 kernel: [ 5083.114144] usb-storage 1-2:1.2: usb_probe_interface
Jan 30 21:47:41 BSL1 kernel: [ 5083.114159] usb-storage 1-2:1.2: usb_probe_interface - got id
Jan 30 21:47:41 BSL1 kernel: [ 5083.115356] drivers/usb/core/inode.c: creating file '004'
Jan 30 21:47:41 BSL1 udev-configure-printer: add /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.1
Jan 30 21:47:41 BSL1 udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:1d.7/usb1/1-2
Jan 30 21:47:41 BSL1 udev-configure-printer: Device vendor/product is 04A9:173C
Jan 30 21:47:41 BSL1 udev-configure-printer: failed to claim interface
Jan 30 21:47:41 BSL1 udev-configure-printer: add /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.1/usb/lp0
Jan 30 21:47:41 BSL1 udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:1d.7/usb1/1-2
Jan 30 21:47:41 BSL1 udev-configure-printer: MFG:Canon MDL:MP490 series SERN:- serial:82525B
Jan 30 21:47:42 BSL1 udev-configure-printer: failed to connect to CUPS server; giving up


I have CUPS 1.4.3, kernel 2.6.37 custom although the same error came up with the slack generic kernel.
lsusb puts the printer in bus 0001 device 0004
CUPS is started and the printer shows up
The printer prints through samba with a computer running ubuntu.
Attached Files
File Type: txt cupsd.txt (1.6 KB, 1 views)
 
Old 01-31-2011, 12:55 AM   #5
icqraid
LQ Newbie
 
Registered: Jan 2011
Location: Oregon USA
Distribution: Slackware13.1 Ubuntu10.10
Posts: 25

Rep: Reputation: 0
Sorry, I it is late.

I also have a
Unable to set ACLs on root certificate "/var/run/cups/certs/0" Operation no supported.
this shows up in the cups error log
I did have ACL configured in my generic kernel but not in the new one.
I am not even sure that this is a problem that stops the printer because it keeps putting out text in the log file.

My old kernel had usblp as a loaded module. It is compiled in the new kernel now.
Attached Files
File Type: txt printer.txt (589 Bytes, 0 views)
 
Old 02-01-2011, 01:18 AM   #6
icqraid
LQ Newbie
 
Registered: Jan 2011
Location: Oregon USA
Distribution: Slackware13.1 Ubuntu10.10
Posts: 25

Rep: Reputation: 0
Well, I finally got mine to work. I tried the rpm files again. This time I noticed that I had not gone deep enough after downloading the rpm files. They went from tar to tar.gz then to .rpm. I took the tgz that the rpm2tgz converted and installed with installpkg. Then when modifying the driver with the cups web I pointed it to that file. lpusb is loaded as a module and usblp is using the printer. I thought I had compiled the kernel to accept the old libusb things but I can't remember what they were called.

I don't know if that helps you or not Luke_Wolf.
What does your debug (or messages if no debug) log print out when you unplug and replug the printer?
 
Old 02-01-2011, 04:49 PM   #7
Luke_Wolf
LQ Newbie
 
Registered: Jan 2011
Distribution: Slackware & openSUSE
Posts: 10

Original Poster
Rep: Reputation: 0
Actually I fixed it, Cups finally told me what the problem was, I had to copy /usr/lib/cups/filter/pstocanonij over to /usr/lib64/cups/filter/ and now it prints
 
Old 02-06-2011, 11:09 PM   #8
icqraid
LQ Newbie
 
Registered: Jan 2011
Location: Oregon USA
Distribution: Slackware13.1 Ubuntu10.10
Posts: 25

Rep: Reputation: 0
Glad to see that it works.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with connecting Cannon Pixma MP495 over Wi-Fi using Ubuntu 10.10 Netbook edition Kingpug Linux - Newbie 3 03-17-2011 03:41 AM
My Cannon Pixma iP1000 Printer Won't Run On Linux Richmont Linux - Newbie 1 09-17-2010 07:49 PM
missing drivers cannon pixma mp150 remy-ooms Linux - Hardware 2 09-09-2008 03:02 AM
Can't get Canon PIXMA iP1600 printer to work in Slackware 12 AceofSpades19 Slackware 10 12-11-2007 06:59 PM
Request Special Install Instructions f/Cannon PIXMA iP1500, if this vrg Ubuntu 1 09-13-2007 08:27 AM


All times are GMT -5. The time now is 08:38 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