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
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 tions 1 ionValue 1 orType 4 eNumber 0 eSetting 0 eClass 7 Printer eSubClass 1 Printer eProtocol 2 Bidirectional
bDescriptorTyp e 5
bEndpointAddre ss 0x82 EP 2 IN
bmAttributes 2
wMaxPacketSize 0x0040 1x 64 bytes
bDescriptorTyp e 5
bEndpointAddre ss 0x01 EP 1 OUT
bmAttributes 2
wMaxPacketSize 0x0040 1x 64 bytes
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
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurat
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 2
bInterfac
bInterfac
bInterfac
iInterface 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Endpoint Descriptor:
bLength 7
Transfer Type Bulk
Synch Type None
Usage Type Data
bInterval 0
Device Status: 0x0001
Self Powered