CUPS and USB

Anton Markov anton-F0u+EriZ6ihBDgjK7y7TUQ at public.gmane.org
Sat Sep 18 04:55:56 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Martin,

If I understand you correctly, your problem is that the device URI of
the printer keeps changing (/dev/usb/lp0, /dev/usb/lp1, etc.). If this
is the case, then you should take a look at UDEV and Hotplug. Together
they should let you do something like: any device with the model/make or
UID = whatever will be assigned to device /dev/usb/lp0 (or whatever you
choose).

It may require a newer kernel (2.6 preferably), but works great
otherwise. I use it to manage my Jumpdrive and USB cardreader. Also does
a good job at cleaning up /dev without screwing up existing coldplug
devices.

Martin Duclos wrote:
| Hi,
|
| I've been have this really annoying problem with cups and usb. I have a
| printer connected to the cups server with usb cable. The usb cable is
| not secure on the printer end and whenever the printer moves a little,
| the cable disconnects. When I reconnect the printer, the server
| increments the usb id number by one and cups doesn't know about it since
| the configuration file is set with a static value. The question is, is
| there some utility or some way to tell the usb controller to reset? For
| now the only solution I have is to reset the computer...
|


- --
Anton Markov <("anton" + "@" + "truxtar" + "." + "com")>

GnuPG Key fingerprint =
5546 A6E2 1FFB 9BB8 15C3  CE34 46B7 8D93 3AD1 44B4

"Don't be evil." - Google.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBS7/aRreNkzrRRLQRAr7zAJ4yAc0nsx74zKZDkPsjDKQZU/ljzgCfV2Go
km7YECuKKvqcnKBs8k3MGvQ=
=WqHp
-----END PGP SIGNATURE-----
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list