[arch-general] CUPS won't detect my usb printer
Hi, I'm new to arch and unable to set up my (USB) Canon printer. I've read quite a large number of threads on the forum about this and suppose my solution is in there somewhere but cups doesn't recognise my printer for some reason. Here's what I've tried: I've installed cups, ghostscript, gsfonts and gutenprint and blacklisted usblp. My printer is picked up by lsusb: Bus 005 Device 003: ID 04a9:1094 Canon, Inc. PIXMA iP3000x Printer and I think it has the right permissions: [jim@daisy ~]$ ls -l /dev/bus/usb/005/003 crw-rw---- 1 root lp 189, 514 2009-11-15 13:44 /dev/bus/usb/005/003 In the web interface when I go to add a printer there are none found. I have set cups logging to debug but there's nothing there that means anything to me. Here is some of the output when I try to find the printer in the web interface: D [15/Nov/2009:13:45:09 +0000] cupsdReadClient: 15 1.1 CUPS-Get-Printers 1 D [15/Nov/2009:13:45:09 +0000] CUPS-Get-Printers D [15/Nov/2009:13:45:09 +0000] CUPS-Get-Printers client-error-not-found: No destinations added. D [15/Nov/2009:13:45:09 +0000] Returning IPP client-error-not-found for CUPS-Get-Printers (no URI) from localhost D [15/Nov/2009:13:45:09 +0000] cupsdReadClient: 15 POST / HTTP/1.1 D [15/Nov/2009:13:45:09 +0000] cupsdAuthorize: No authentication data provided. D [15/Nov/2009:13:45:09 +0000] cupsdReadClient: 15 1.1 CUPS-Get-Devices 1 D [15/Nov/2009:13:45:09 +0000] CUPS-Get-Devices D [15/Nov/2009:13:45:09 +0000] cupsdIsAuthorized: username="" D [15/Nov/2009:13:45:09 +0000] Returning HTTP Unauthorized for CUPS-Get-Devices (no URI) from localhost D [15/Nov/2009:13:45:09 +0000] cupsdSendHeader: 15 WWW-Authenticate: Basic realm="CUPS", trc="y" D [15/Nov/2009:13:45:09 +0000] [CGI] cgi_null_passwd(prompt="Password for daemon on localhost? ") called! D [15/Nov/2009:13:45:09 +0000] [CGI] lang="en_US.UTF8", locale="/en_US"... D [15/Nov/2009:13:45:09 +0000] [CGI] lang="en_US.UTF8", locale="/en_US"... D [15/Nov/2009:13:45:09 +0000] cupsdReadClient: 15 WAITING Closing on EOF D [15/Nov/2009:13:45:09 +0000] cupsdCloseClient: 15 D [15/Nov/2009:13:45:09 +0000] cupsdSetBusyState: Not busy D [15/Nov/2009:13:45:09 +0000] PID 2650 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors. D [15/Nov/2009:13:45:39 +0000] cupsdReadClient: 12 WAITING Closing on EOF D [15/Nov/2009:13:45:39 +0000] cupsdCloseClient: 12 What should I try next? Thanks, Jim
Do you have usblp loaded? lsmod | grep usblp 2009/11/15 Jim Burton <jim@sdf-eu.org>:
Hi, I'm new to arch and unable to set up my (USB) Canon printer. I've read quite a large number of threads on the forum about this and suppose my solution is in there somewhere but cups doesn't recognise my printer for some reason. Here's what I've tried:
I've installed cups, ghostscript, gsfonts and gutenprint and blacklisted usblp. My printer is picked up by lsusb:
Bus 005 Device 003: ID 04a9:1094 Canon, Inc. PIXMA iP3000x Printer
and I think it has the right permissions:
[jim@daisy ~]$ ls -l /dev/bus/usb/005/003 crw-rw---- 1 root lp 189, 514 2009-11-15 13:44 /dev/bus/usb/005/003
In the web interface when I go to add a printer there are none found. I have set cups logging to debug but there's nothing there that means anything to me. Here is some of the output when I try to find the printer in the web interface:
D [15/Nov/2009:13:45:09 +0000] cupsdReadClient: 15 1.1 CUPS-Get-Printers 1 D [15/Nov/2009:13:45:09 +0000] CUPS-Get-Printers D [15/Nov/2009:13:45:09 +0000] CUPS-Get-Printers client-error-not-found: No destinations added. D [15/Nov/2009:13:45:09 +0000] Returning IPP client-error-not-found for CUPS-Get-Printers (no URI) from localhost D [15/Nov/2009:13:45:09 +0000] cupsdReadClient: 15 POST / HTTP/1.1 D [15/Nov/2009:13:45:09 +0000] cupsdAuthorize: No authentication data provided. D [15/Nov/2009:13:45:09 +0000] cupsdReadClient: 15 1.1 CUPS-Get-Devices 1 D [15/Nov/2009:13:45:09 +0000] CUPS-Get-Devices D [15/Nov/2009:13:45:09 +0000] cupsdIsAuthorized: username="" D [15/Nov/2009:13:45:09 +0000] Returning HTTP Unauthorized for CUPS-Get-Devices (no URI) from localhost D [15/Nov/2009:13:45:09 +0000] cupsdSendHeader: 15 WWW-Authenticate: Basic realm="CUPS", trc="y" D [15/Nov/2009:13:45:09 +0000] [CGI] cgi_null_passwd(prompt="Password for daemon on localhost? ") called! D [15/Nov/2009:13:45:09 +0000] [CGI] lang="en_US.UTF8", locale="/en_US"... D [15/Nov/2009:13:45:09 +0000] [CGI] lang="en_US.UTF8", locale="/en_US"... D [15/Nov/2009:13:45:09 +0000] cupsdReadClient: 15 WAITING Closing on EOF D [15/Nov/2009:13:45:09 +0000] cupsdCloseClient: 15 D [15/Nov/2009:13:45:09 +0000] cupsdSetBusyState: Not busy D [15/Nov/2009:13:45:09 +0000] PID 2650 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors. D [15/Nov/2009:13:45:39 +0000] cupsdReadClient: 12 WAITING Closing on EOF D [15/Nov/2009:13:45:39 +0000] cupsdCloseClient: 12
What should I try next?
Thanks,
Jim
At Sun, 15 Nov 2009 14:13:36 +0000, Chris Bannister wrote:
Do you have usblp loaded? lsmod | grep usblp
Hi Chris, yes I think so: $ lsmod |grep usblp usblp 13244 0 usbcore 154032 6 usblp,btusb,uvcvideo,uhci_hcd,ehci_hcd
2009/11/15 Jim Burton <jim@sdf-eu.org>:
Hi, I'm new to arch and unable to set up my (USB) Canon printer. I've read quite a large number of threads on the forum about this and suppose my solution is in there somewhere but cups doesn't recognise my printer for some reason. Here's what I've tried:
I've installed cups, ghostscript, gsfonts and gutenprint and blacklisted usblp. My printer is picked up by lsusb:
Bus 005 Device 003: ID 04a9:1094 Canon, Inc. PIXMA iP3000x Printer
and I think it has the right permissions:
[jim@daisy ~]$ ls -l /dev/bus/usb/005/003 crw-rw---- 1 root lp 189, 514 2009-11-15 13:44 /dev/bus/usb/005/003
In the web interface when I go to add a printer there are none found. I have set cups logging to debug but there's nothing there that means anything to me. Here is some of the output when I try to find the printer in the web interface:
D [15/Nov/2009:13:45:09 +0000] cupsdReadClient: 15 1.1 CUPS-Get-Printers 1 D [15/Nov/2009:13:45:09 +0000] CUPS-Get-Printers D [15/Nov/2009:13:45:09 +0000] CUPS-Get-Printers client-error-not-found: No destinations added. D [15/Nov/2009:13:45:09 +0000] Returning IPP client-error-not-found for CUPS-Get-Printers (no URI) from localhost D [15/Nov/2009:13:45:09 +0000] cupsdReadClient: 15 POST / HTTP/1.1 D [15/Nov/2009:13:45:09 +0000] cupsdAuthorize: No authentication data provided. D [15/Nov/2009:13:45:09 +0000] cupsdReadClient: 15 1.1 CUPS-Get-Devices 1 D [15/Nov/2009:13:45:09 +0000] CUPS-Get-Devices D [15/Nov/2009:13:45:09 +0000] cupsdIsAuthorized: username="" D [15/Nov/2009:13:45:09 +0000] Returning HTTP Unauthorized for CUPS-Get-Devices (no URI) from localhost D [15/Nov/2009:13:45:09 +0000] cupsdSendHeader: 15 WWW-Authenticate: Basic realm="CUPS", trc="y" D [15/Nov/2009:13:45:09 +0000] [CGI] cgi_null_passwd(prompt="Password for daemon on localhost? ") called! D [15/Nov/2009:13:45:09 +0000] [CGI] lang="en_US.UTF8", locale="/en_US"... D [15/Nov/2009:13:45:09 +0000] [CGI] lang="en_US.UTF8", locale="/en_US"... D [15/Nov/2009:13:45:09 +0000] cupsdReadClient: 15 WAITING Closing on EOF D [15/Nov/2009:13:45:09 +0000] cupsdCloseClient: 15 D [15/Nov/2009:13:45:09 +0000] cupsdSetBusyState: Not busy D [15/Nov/2009:13:45:09 +0000] PID 2650 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors. D [15/Nov/2009:13:45:39 +0000] cupsdReadClient: 12 WAITING Closing on EOF D [15/Nov/2009:13:45:39 +0000] cupsdCloseClient: 12
What should I try next?
Thanks,
Jim
On Sun, 15 Nov 2009 14:29:51 +0000 Jim Burton <jim@sdf-eu.org> wrote:
Hi Chris, yes I think so:
$ lsmod |grep usblp usblp 13244 0 usbcore 154032 6
remove usblp since CUPS doesn't use it anymore. try to do this with `rmmod' or `modprobe -r' if it works (printer detected), block this module in rc.conf. -- Ian-Xue Li <da.mi.spirit@gmail.com>
At Sun, 15 Nov 2009 22:45:34 +0800, Ian-Xue Li wrote:
On Sun, 15 Nov 2009 14:29:51 +0000 Jim Burton <jim@sdf-eu.org> wrote:
Hi Chris, yes I think so:
$ lsmod |grep usblp usblp 13244 0 usbcore 154032 6
remove usblp since CUPS doesn't use it anymore. try to do this with `rmmod' or `modprobe -r'
That's weird actually, because I thought it was already blocked in rc.conf. This is ahwat I have there: DAEMONS=(syslog-ng netfs keymaps hal crond alsa slim wicd !usblp cups) Jim
if it works (printer detected), block this module in rc.conf.
-- Ian-Xue Li <da.mi.spirit@gmail.com>
At Sun, 15 Nov 2009 14:49:32 +0000, Jim Burton wrote:
At Sun, 15 Nov 2009 22:45:34 +0800, Ian-Xue Li wrote:
On Sun, 15 Nov 2009 14:29:51 +0000 Jim Burton <jim@sdf-eu.org> wrote:
Hi Chris, yes I think so:
$ lsmod |grep usblp usblp 13244 0 usbcore 154032 6
remove usblp since CUPS doesn't use it anymore. try to do this with `rmmod' or `modprobe -r'
And that's worked -- thanks! I feel silly because removing usblp is the first bit of edvice written everywhere. How come it was being loaded though I had the daemons array as below? Jim
That's weird actually, because I thought it was already blocked in rc.conf. This is ahwat I have there:
DAEMONS=(syslog-ng netfs keymaps hal crond alsa slim wicd !usblp cups)
Jim
if it works (printer detected), block this module in rc.conf.
-- Ian-Xue Li <da.mi.spirit@gmail.com>
2009/11/15, Jim Burton <jim@sdf-eu.org>:
DAEMONS=(syslog-ng netfs keymaps hal crond alsa slim wicd !usblp cups)
Remove it from DAEMONS array and add it to the MODULES array: MODULES=(!usblp) -- Arch Linux Developer http://www.archlinux.org http://www.archlinux.it
At Sun, 15 Nov 2009 06:55:04 -0800, Giovanni Scafora wrote:
2009/11/15, Jim Burton <jim@sdf-eu.org>:
DAEMONS=(syslog-ng netfs keymaps hal crond alsa slim wicd !usblp cups)
Remove it from DAEMONS array and add it to the MODULES array: MODULES=(!usblp)
Yeah, that makes sense :-) Thanks very much for your help. Jim
-- Arch Linux Developer http://www.archlinux.org http://www.archlinux.it
On Sun, 15 Nov 2009 15:13:36 +0100, Chris Bannister <c.bannister@gmail.com> wrote:
Do you have usblp loaded? lsmod | grep usblp
2009/11/15 Jim Burton <jim@sdf-eu.org>:
I've installed cups, ghostscript, gsfonts and gutenprint and blacklisted usblp.
Read again ;-) I've had the same problem a few weeks ago, it works now but I don't know what I've changed back then. Check the CUPS page on Arch Wiki, there must be something about udev rules that helped me out. I'll check tomorrow when I have access to my print server! -- Jeroen Op 't Eynde jeroen@xprsyrslf.be http://xprsyrslf.be Ps: Check the new design for my website: XprsYrslf.be
participants (5)
-
Chris Bannister
-
Giovanni Scafora
-
Ian-Xue Li
-
Jeroen Op 't Eynde
-
Jim Burton