[cups.development] Re: [RFE] STR #1575: Let the "usb" backend use libusb instead of the usblp kernel module

Till Kamppeter till.kamppeter at gmx.net
Thu Apr 20 08:12:35 PDT 2006


[STR New]

Note that the usb-libusb.c was developed with CUPS 1.1.23, a slight change
has to be done for CUPS 1.2 to compile it. See attached patch. You need to
add "-lusb" to the "LDFLAGS" line in Makedefs after running "./configure"
and before running "make". Then you get the libusb-based backend as
backend/usb. Replace the original backend in /usr/lib/cups/backend by it.

Now it auto-detects the HP PhotoSmart 2600 on USB as follows:

[root at majax c]# /usr/lib/cups/backend/usb
direct usb://HP/Photosmart%202600%20series?serial=MY53OK70V10400 "HP
Photosmart 2600 series" "USB Printer #001002"
[root at majax c]#

There is no 1284 device ID, but the web interface still assigns the
correct PPD file from HPLIP.

The problem is that this backend does not actually print. When printing
the test page via the web interface button I get

Unable to find USB device
"usb://HP/Photosmart%202600%20series?serial=MY53OK70V10400"

and the queue gets stopped due to backend failure.

So the backend seems to need some further adaptation to CUPS 1.2.

Link: http://www.cups.org/str.php?L1575
Version: 1.2-feature





More information about the cups-devel mailing list