You are not logged in.

#1 2009-10-19 23:50:38

psilo357
Member
Registered: 2008-10-31
Posts: 116

Printer not recognized by CUPS [SOLVED]

So my printer is no longer recognized by cups.  I was having some problems with it always flashing busy light, and was trying things, in the process, i uninstalled it an attempt to reinstall.  Before that, i read about the REAL problem being that i had gotten my phone disconnected recently, but still had the cord hooked up, so it was constantly receiving a fax...anyways, i went to reinstall it today and now cups is upgraded and my printer won't show.  Its a local printer hooked up through USB, and used to always work before.

So far I have blacklisted usblp module by putting !usblp in the modules() section of /etc/rc.conf.  I have reinstalled cups and gutenprint as well, as my printer uses a gutenprint driver.  It does show up just fine by using lsusb, here is the output:

Bus 002 Device 003: ID 046d:c043 Logitech, Inc. MX320/MX400 Laser Mouse
Bus 002 Device 002: ID 046d:c317 Logitech, Inc. 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash Card Reader/Writer (Internal/External)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 04a9:1728 Canon, Inc. MX310 ser
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

so the canon printer is recognized as a usb device...

I also tried to downgrade cups, but it seems SO much stuff depends on libcups, including gtk2, so it was a never ending hole of uninstalling my whole system practically just to downgrade cups to the last version.

Anybody else have any other idea?  Or a way to easily downgrade cups?

Thanks

EDIT: Here is what is in the cups error log:

E [19/Oct/2009:18:54:59 -0500] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [19/Oct/2009:18:55:15 -0500] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [19/Oct/2009:18:55:15 -0500] [CGI] CUPS-Get-Devices request failed with status 401: Forbidden

Thats from one startup to me trying to add a printer.  I get to the screen fine my printer just isn't listed.

Thanks again

Last edited by psilo357 (2009-10-20 23:19:43)

Offline

#2 2009-10-20 02:56:28

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Printer not recognized by CUPS [SOLVED]

There have been like a dozen threads about this in the last few days.  Try doing a search.

Jay

Offline

#3 2009-10-20 22:58:03

psilo357
Member
Registered: 2008-10-31
Posts: 116

Re: Printer not recognized by CUPS [SOLVED]

Yes, i have done a search, and that is how i knew to try what i did.  How else would I have just known on my own to blacklist usblp?

thanks for the insightful post.

anyone have any help?

Thanks

Offline

#4 2009-10-20 23:06:33

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Printer not recognized by CUPS [SOLVED]

Try http://wiki.archlinux.org/index.php/CUP … CUPS_1.4.x. It worked for a lot of people, but not for everyone.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#5 2009-10-20 23:19:19

psilo357
Member
Registered: 2008-10-31
Posts: 116

Re: Printer not recognized by CUPS [SOLVED]

Thanks for the link gray, i had just found it right before you posted and rebooted, this was what got it to work, i added this udev rule

in /etc/udev/rules.d/10-usbprinter.rules

ATTR{idVendor}=="04b8", ATTR{idProduct}=="0841", MODE:="0660", GROUP:="lp"

I did have to create the file 10-usbprinter.rules as one did not already exist, anyways, i put this line into it, changed the idVender and idProduct to match what was shown in lsusb

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 046d:c043 Logitech, Inc. MX320/MX400 Laser Mouse
Bus 003 Device 002: ID 046d:c317 Logitech, Inc. 
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash Card Reader/Writer (Internal/External)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04a9:1728 Canon, Inc. MX310 ser
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So my printer is idVendor 04a9 and idProduct 1728.

After the reboot my printer was showing again under add printer menu in cups.

Thanks for posting the link in the thread, as that could help others that search, now instead of having to go through 10 unfinished threads, they can see the solution in this one (and others im sure, but there are some that lead nowhere, as i tried them...lol)

peace

Offline

#6 2009-10-20 23:33:46

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Printer not recognized by CUPS [SOLVED]

FTR the wiki entry is essentially the write up of a forum post by jt512 (and Gnux). So he did help - just not directly.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#7 2009-10-21 00:07:36

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Printer not recognized by CUPS [SOLVED]

psilo357 wrote:

Yes, i have done a search, and that is how i knew to try what i did.  How else would I have just known on my own to blacklist usblp?

thanks for the insightful post.

Sorry.  I guess I should have been more explicit.  Perhaps if I had said, "Do a thorough search, actually read through the threads, and follow the advice of people who have solved the exact same problem you have."

Jay

Offline

#8 2009-10-23 18:22:01

semperfiguy
Member
Registered: 2007-12-03
Posts: 224

Re: Printer not recognized by CUPS [SOLVED]

How do I ensure my Epson Stylus NX400 gets into the lp group? I made the udev rule in /etc/udev/rules.d/10-cups-rules

Here is what is in the file:
ATTR{idVendor}=="04b8", ATTR{idProduct}=="084a", MODE:="0664", GROUP:="lp", ENV{libsane_matched}:="yes"

Offline

#9 2009-10-23 19:07:12

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Printer not recognized by CUPS [SOLVED]

Did you read the wiki entry?
The file needs to be called <name>.rules, not -rules. After renaming it should work. Check the permissions of the usb node of your printer.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#10 2009-10-23 23:42:39

psilo357
Member
Registered: 2008-10-31
Posts: 116

Re: Printer not recognized by CUPS [SOLVED]

jt512 wrote:
psilo357 wrote:

Yes, i have done a search, and that is how i knew to try what i did.  How else would I have just known on my own to blacklist usblp?

thanks for the insightful post.

Sorry.  I guess I should have been more explicit.  Perhaps if I had said, "Do a thorough search, actually read through the threads, and follow the advice of people who have solved the exact same problem you have."

Jay

You know, i have never understood this, if you are so adversed to helping people, then why do you even logon or post in a help forum at all?  it has always perplexed me when people come to help forums and make a thread for help, and the help that person gets is, 'search for another thread that has the answer'.  This happens enough times since people that log on to help forums like yourself, just hate helping people, and eventually, a search ends up like this.

Search 'USB printer not recognized'

Returns 20 threads, all with 1 or 2 replies that say something along the lines of, 'this is solved in another thread, search it up'.

So now everyone gets to go through 20 threads just to get nowhere.  Then finally, after spending 2.5 hours searching through 20 useless threads, since nobody could post any help in them, you find the thread with a solution, and its 71 pages long and has 30 different try this, no try that, that didn't work says one person, oh, it did says another, instead of just posting the link to the wiki in each of the subsequent threads...but that is just asking too much out of anyone, after all, they are too busy looking at threads in a help forum that they know the solution to, and making posts for the poster to look for a solution, instead of actually helping...

I guess it just bugs me.  If i had found the answer, i wouldn't have posted about it now would I?

peace

Offline

#11 2009-10-24 00:56:33

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: Printer not recognized by CUPS [SOLVED]

psilo357 wrote:
jt512 wrote:
psilo357 wrote:

Yes, i have done a search, and that is how i knew to try what i did.  How else would I have just known on my own to blacklist usblp?

thanks for the insightful post.

Sorry.  I guess I should have been more explicit.  Perhaps if I had said, "Do a thorough search, actually read through the threads, and follow the advice of people who have solved the exact same problem you have."

Jay

You know, i have never understood this, if you are so adversed to helping people, then why do you even logon or post in a help forum at all?

"Adversed [sic] to helping people"?  What are you talking about?  I'm the one who figured out how to solve the problem, and posted the solution in the first place!

...it has always perplexed me when people come to help forums and make a thread for help, and the help that person gets is, 'search for another thread that has the answer'.

Perplexed you?  There is nothing perplexing about it at all.  People tell you to search for another thread that has the answer because there is another thread that has the answer, and thus there is no point in repeating the solution in another thread. 

I guess it just bugs me.  If i had found the answer, i wouldn't have posted about it now would I?

Look, when the information exists, your job is to find it.  If you're too lazy or incompetent to do a thorough search, don't expect everyone to coddle you.  You'll just constantly find yourself "perplexed."

Jay

Offline

Board footer

Powered by FluxBB