FreeBSD Bugzilla – Attachment 168365 Details for
Bug 207939
print/cups: Removal of LIBUSB option breaks some printer types
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-usb-dbg
patch-usb-dbg (text/plain), 1.22 KB, created by
Tijl Coosemans
on 2016-03-18 09:34:54 UTC
(
hide
)
Description:
patch-usb-dbg
Filename:
MIME Type:
Creator:
Tijl Coosemans
Created:
2016-03-18 09:34:54 UTC
Size:
1.22 KB
patch
obsolete
>--- backend/usb-libusb.c.orig 2015-09-15 23:20:02.000000000 +0200 >+++ backend/usb-libusb.c 2016-03-18 09:52:45.872175000 +0100 >@@ -860,6 +860,7 @@ > continue; > > printer.quirks = find_quirks(devdesc.idVendor, devdesc.idProduct); >+ fprintf(stderr, "DEBUG: quirks=0x%x\n", printer.quirks); > > /* > * Ignore blacklisted printers... >@@ -892,6 +893,9 @@ > * 1284.4 (packet mode) protocol as well. > */ > >+ fprintf(stderr, "DEBUG: ic=%d isc=%d ip=%d\n", altptr->bInterfaceClass, >+ altptr->bInterfaceSubClass, altptr->bInterfaceProtocol); >+ > if (((altptr->bInterfaceClass != LIBUSB_CLASS_PRINTER || > altptr->bInterfaceSubClass != 1) && > ((printer.quirks & USB_QUIRK_VENDOR_CLASS) == 0)) || >@@ -935,6 +939,8 @@ > } > } > >+ fprintf(stderr, "DEBUG: protocol=%d read=%d write=%d\n", protocol, >+ printer.read_endp, printer.write_endp); > if (protocol > 0) > { > printer.device = device; >@@ -949,7 +955,7 @@ > make_device_uri(&printer, device_id, device_uri, > sizeof(device_uri)); > >- fprintf(stderr, "DEBUG2: Printer found with device ID: %s " >+ fprintf(stderr, "DEBUG: Printer found with device ID: %s " > "Device URI: %s\n", > device_id, device_uri); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 207939
: 168365 |
168392