public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  Re: CUPS finds printer disconnected.
  2006-12-17  0:42 [gentoo-user] " Carl Adams
@ 2006-12-17 12:48 ` Remy Blank
  0 siblings, 0 replies; 3+ messages in thread
From: Remy Blank @ 2006-12-17 12:48 UTC (permalink / raw
  To: gentoo-user

Carl Adams wrote:
>   Device URI: usb:/dev/usb/lp0

I don't have a solution for your problem, but a warning for people who
rename their printer devices with udev.

Starting with the latest stable CUPS, when using "usb:/dev/*" device
URIs, the device node must be below "/dev/usb", and must be the real
device, not a symlink.

In my case, I had renamed my printer device to "/dev/printers/hplj", and
CUPS refused to use it. Even a "/dev/usb/lp0" symlink to it didn't help.
So I am now stuck with an ugly "usb://HP/LaserJet%201320%20series"
device URI, as auto-detected by CUPS.

-- Remy


Remove underscore and suffix in reply address for a timely response.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: CUPS finds printer disconnected.
@ 2006-12-18 10:49 Carl Adams
  2006-12-18 22:12 ` Neil Bothwick
  0 siblings, 1 reply; 3+ messages in thread
From: Carl Adams @ 2006-12-18 10:49 UTC (permalink / raw
  To: gentoo user


Neil Bothwick wrote

> What does "ls -l /dev/usb/lp0" show?

Answer:

  ls: /dev/usb/lp0: No such file or directory

Hmm! Well done, Neil. Checked in the /dev/ directory and sure enough,
there is no /dev/usb but there is /dev/bus/usb/

Tried ls /dev/bus/usb/lp0 and /dev/bus/usb/004/lp0 all with the same
result. Not sure where to go from here, but it looks either as though
CUPS is assuming an invalid directory structure, or doesn't know how to
work with udev.

Any further thoughts?

Carl Adams.


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Re: CUPS finds printer disconnected.
  2006-12-18 10:49 [gentoo-user] Re: CUPS finds printer disconnected Carl Adams
@ 2006-12-18 22:12 ` Neil Bothwick
  0 siblings, 0 replies; 3+ messages in thread
From: Neil Bothwick @ 2006-12-18 22:12 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

On Mon, 18 Dec 2006 20:49:56 +1000, Carl Adams wrote:

> > What does "ls -l /dev/usb/lp0" show?  

>   ls: /dev/usb/lp0: No such file or directory

Run "tail -f /var/log/messages" and connect the printer. the output
should tell you where the printer appears, then you can change the CUPS
config accordingly.


-- 
Neil Bothwick

Nobody's perfect and since I'm nobody...!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-12-18 22:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-18 10:49 [gentoo-user] Re: CUPS finds printer disconnected Carl Adams
2006-12-18 22:12 ` Neil Bothwick
  -- strict thread matches above, loose matches on Subject: below --
2006-12-17  0:42 [gentoo-user] " Carl Adams
2006-12-17 12:48 ` [gentoo-user] " Remy Blank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox