[cups.bugs] [HIGH] STR #3423: Solaris USB support fails to detect printers

Norm Jacobs naj at snapcon.com
Sun Nov 22 16:53:09 PST 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

When CUPS is built using the "native" usb backend support instead of with
libusb (--disable-libusb), it fails to detect USB attached printers on
Solaris and failed to communicate with USB attached printers.

This appears to be because ECPPIOC_GETDEVID is not getting defined.  Prior
to 1.4, it looks like usb-unix.c includes "ieee1284.c", which includes
<sys/ecppio.h> where ECPPIOC_GETDEVID is defined.  This broke when the
change was made to separately compile ieee1284.c instead of including it
as had been done in the past.

Unpatched CUPS 1.4.1
    opensolaris% /usr/lib/cups/backend/usb 
Patched CUPS 1.4 devel
    opensolaris% backend/usb 
    direct usb://HP/Photosmart%20C7200%20series?serial=MY843H32Q004YG "HP
Photosmart C7200 series" "HP Photosmart C7200 series"
"MFG:HP;MDL:Photosmart C7200
series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1;CLS:PRINTER;DES:CC567A;SN:MY843H32Q004YG;S:038088C4840010210178cb0000041b8000046b8000047b8000044b8000048b8000045b80000;Z:0102,05000009016a81013241013241013241013241013241,0600,070000000000000000000000000000,0b000000000000000000000000000000000000000000000000000000000000000000000000000000000000,0c0;"
""
opensolaris%

Link: http://www.cups.org/str.php?L3423
Version: 1.4-current
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: usb.patch
URL: <https://lists.cups.org/pipermail/cups/attachments/20091122/7b831397/attachment.ksh>


More information about the cups mailing list