Comment 57 for bug 1001028

Mitch Claborn (mitch-news) wrote :

Here is the printer from my lsusb that needs the uni-directional setting:

Bus 002 Device 003: ID 0a5f:0027 Zebra

Bus 002 Device 003: ID 0a5f:0027 Zebra
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 7 Printer
  bDeviceSubClass 1 Printer
  bDeviceProtocol 2 Bidirectional
  bMaxPacketSize0 8
  idVendor 0x0a5f Zebra
  idProduct 0x0027
  bcdDevice 0.01
  iManufacturer 1 Zebra Technologies
  iProduct 2 ZTC LP2844-Z-200dpi
  iSerial 3 46A083700002
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 32
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
      Self Powered
    MaxPower 0mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 2 Bidirectional
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 0
Device Status: 0x0001
  Self Powered