Issues installing a Cannon Pixma MP640 Printer on Slackware 13.1
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
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.
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.
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
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.
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.
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?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.