More quirk rules for the USB backend #4191

Closed
michaelrsweet opened this Issue Sep 24, 2012 · 6 comments

Comments

Projects
None yet
1 participant
Collaborator

michaelrsweet commented Sep 24, 2012

Version: 1.6-current
CUPS.org User: till.kamppeter

The attached patch contains additional quirk rules for the USB backend:

Collaborator

michaelrsweet commented Oct 1, 2012

CUPS.org User: mike

Fixed in Subversion repository.

Collaborator

michaelrsweet commented Oct 22, 2012

CUPS.org User: jpopelka

Hi,
I have one more:
Xerox Phaser 3124 (https://bugzilla.redhat.com/show_bug.cgi?id=867392)

Till, do you have some more quirk rules ?
If yes, then you can use my patch once you submit them.
Otherwise I probably need to create separate bug report as this one was already fixed, right Mike ?

Collaborator

michaelrsweet commented Oct 22, 2012

CUPS.org User: mike

Please file a new bug to add more changes.

Collaborator

michaelrsweet commented Oct 22, 2012

CUPS.org User: jpopelka

Reported as STR #4217.
Let's wait for Till in case he has some more to add.

Collaborator

michaelrsweet commented Oct 22, 2012

"usb-backend-more-quirk-rules.patch":

--- a/backend/usb-libusb.c
+++ b/backend/usb-libusb.c
@@ -147,17 +147,37 @@
Printer, http://www.cups.org/str.php?L4155 /
{ 0x04a9, 0x10b6, USBLP_QUIRK_BIDIR }, /
Canon, Inc. PIXMA iP4300
Printer, https://bugs.launchpad.net/bugs/1032385 */

  • { 0x04a9, 0x170c, USBLP_QUIRK_BIDIR }, /* Canon, Inc. MP500
  •           Printer, https://bugs.launchpad.net/bugs/1032456 */
    
  • { 0x04a9, 0x1717, USBLP_QUIRK_BIDIR }, /* Canon, Inc. MP510
  •           Printer, https://bugs.launchpad.net/bugs/1050009 */
    
  • { 0x04a9, 0x173d, USBLP_QUIRK_BIDIR }, /* Canon, Inc. MP550
  •           Printer, http://www.cups.org/str.php?L4155 */
    
  • { 0x04a9, 0x173e, USBLP_QUIRK_BIDIR }, /* Canon, Inc. MP560
  •           Printer, http://www.cups.org/str.php?L4155 */
    
  • { 0x04f9, 0x001a, USBLP_QUIRK_NO_REATTACH }, /* Brother Industries, Ltd
  •                     HL-1430 Laser Printer,
    
  •                https://bugs.launchpad.net/bugs/1038695 _/
    
    { 0x04f9, 0x000d, USBLP_QUIRK_BIDIR |
    USBLP_QUIRK_NO_REATTACH }, /_ Brother Industries, Ltd
  •                     HL-1440 Laser Printer */
    
  •                     HL-1440 Laser Printer,
    
  •                https://bugs.launchpad.net/bugs/1000253 */
    
  • { 0x06bc, 0x000b, USBLP_QUIRK_NO_REATTACH }, /* Oki Data Corp.
  •                     Okipage 14ex Printer,
    
  •                https://bugs.launchpad.net/bugs/872483 */
    
  • { 0x06bc, 0x01c7, USBLP_QUIRK_NO_REATTACH }, /* Oki Data Corp. B410d,
  •                https://bugs.launchpad.net/bugs/872483 _/
    
    { 0x04b8, 0x0202, USBLP_QUIRK_BAD_CLASS }, /_ Seiko Epson Receipt
    Printer M129C /
    { 0x067b, 0x2305, USBLP_QUIRK_BIDIR |
    USBLP_QUIRK_NO_REATTACH |
    USBLP_QUIRK_RESET },
    /
    Prolific Technology, Inc. PL2305 Parallel Port
  •  (USB -> Parallel adapter) */
    
  • { 0x04e8, 0x0000, USBLP_QUIRK_RESET }, /* All Samsung devices */
  •  (USB -> Parallel adapter), https://bugs.launchpad.net/bugs/987485 */
    
  • { 0x04e8, 0x0000, USBLP_QUIRK_RESET }, /* All Samsung devices,
  •                https://bugs.launchpad.net/bugs/1032456 */
    
  • { 0x0a5f, 0x0000, USBLP_QUIRK_BIDIR }, /* All Zebra devices,
  •                https://bugs.launchpad.net/bugs/1001028 */
    
    { 0, 0 }
    };
Collaborator

michaelrsweet commented Oct 22, 2012

"usb-backend-xerox-3124.patch":

diff -up cups-1.6.1/backend/usb-libusb.c.xerox cups-1.6.1/backend/usb-libusb.c
--- cups-1.6.1/backend/usb-libusb.c.xerox 2012-10-22 11:10:24.000000000 +0200
+++ cups-1.6.1/backend/usb-libusb.c 2012-10-22 11:11:18.396218731 +0200
@@ -172,6 +172,8 @@ static const struct quirk_printer_struct
{ 0x067b, 0x2305, USBLP_QUIRK_BIDIR |
USBLP_QUIRK_NO_REATTACH |
USBLP_QUIRK_RESET },

  • { 0x0924, 0x3ce9, USBLP_QUIRK_NO_REATTACH }, /* Xerox Phaser 3124
  •         https://bugzilla.redhat.com/show_bug.cgi?id=867392 _/
    
    /_ Prolific Technology, Inc. PL2305 Parallel Port
    (USB -> Parallel adapter), https://bugs.launchpad.net/bugs/987485 /
    { 0x04e8, 0x0000, USBLP_QUIRK_RESET }, /
    All Samsung devices,

@michaelrsweet michaelrsweet added this to the Stable milestone Mar 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment