[cups.bugs] [MOD] STR #2017: Linux USB driver cannot find printers

Matthias Urlichs smurf at smurf.noris.de
Mon Oct 9 19:26:51 PDT 2006


[STR New]

The current USB printer discovery code falls back to the /dev/usb/lp#
naming scheme if it cannot find the character device file /dev/usblp0 or
/dev/usb/isblp0.

However:
- Current Linux kernels + udev use /dev/usblp#
- Current udev removes device nodes which do not exist any more

The practical effect is that, if you have more than one USB printer and
unplug the one that has been assigned to usblp0, cupsys is unable to find
any of them.

That's not nice, to say the least.

The attached patch fixes this problem.

Link: http://www.cups.org/str.php?L2017
Version: 1.2-current
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15_usb-devname.dpatch
Type: application/octet-stream
Size: 4026 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20061009/1185c63b/attachment.obj>


More information about the cups mailing list