[OmniOS-discuss] usb printer debugging
Richard PALO
richard at netbsd.org
Tue Oct 13 03:24:15 UTC 2015
Hi, me again.
Trying to see if why my multifunction doesn't show up in correctly on omnios.
a similar box works okay on OI..
I have a single purpose DYMO label printer that is configured okay, but not the epson.
> richard at omnis:/home/richard/src$ cfgadm -lv usb5/1
> Ap_Id Receptacle Occupant Condition Information
> When Type Busy Phys_Id
> usb5/1 connected unconfigured ok Mfg: DYMO Product: DYMO LabelWriter 450 NConfigs: 1 Config: 0 <no cfg str descr>
> unavailable usb-printer n /devices/pci at 0,0/pci15d9,a711 at 13:1
> richard at omnis:/home/richard/src$ cfgadm -lv usb4/1
> Ap_Id Receptacle Occupant Condition Information
> When Type Busy Phys_Id
> usb4/1 connected configured ok Mfg: EPSON Product: EPSON WP-4595 Series NConfigs: 1 Config: 0 : USB2.0 MFP(Hi-Speed)
> unavailable usb-device n /devices/pci at 0,0/pci15d9,a711 at 12,2:1
> richard at omnis:/home/richard# echo ::prtusb |mdb -k
> INDEX DRIVER INST NODE VID.PID PRODUCT
> 1 ehci 0 pci15d9,a711 0000.0000 No Product String
> 2 ehci 1 pci1002,4396 0000.0000 No Product String
> 3 ohci 0 pci15d9,a711 0000.0000 No Product String
> 4 ohci 1 pci15d9,a711 0000.0000 No Product String
> 5 ohci 2 pci15d9,a711 0000.0000 No Product String
> 6 ohci 3 pci15d9,a711 0000.0000 No Product String
> 7 ohci 4 pci1002,4396 0000.0000 No Product String
> 8 usb_mid 1 device 0557.2221 Hermon USB hidmouse Device
> 9 usb_mid 4 device 046d.c52b USB Receiver
> a usbprn 0 printer 0922.0020 DYMO LabelWriter 450
> b usb_mid 6 device 04b8.087e EPSON WP-4595 Series
> richard at omnis:/home/richard# echo ::prtusb -v -ia |mdb -k
> INDEX DRIVER INST NODE VID.PID PRODUCT
> a usbprn 0 printer 0922.0020 DYMO LabelWriter 450
>
> Device Descriptor
> {
> bLength = 0x12
> bDescriptorType = 0x1
> bcdUSB = 0x200
> bDeviceClass = 0
> bDeviceSubClass = 0
> bDeviceProtocol = 0
> bMaxPacketSize0 = 0x40
> idVendor = 0x922
> idProduct = 0x20
> bcdDevice = 0x112
> iManufacturer = 0x1
> iProduct = 0x2
> iSerialNumber = 0x3
> bNumConfigurations = 0x1
> }
> -- Active Config Index 0
> Configuration Descriptor
> {
> bLength = 0x9
> bDescriptorType = 0x2
> wTotalLength = 0x20
> bNumInterfaces = 0x1
> bConfigurationValue = 0x1
> iConfiguration = 0x0
> bmAttributes = 0xc0
> bMaxPower = 0x1
> }
> Interface Descriptor
> {
> bLength = 0x9
> bDescriptorType = 0x4
> bInterfaceNumber = 0x0
> bAlternateSetting = 0x0
> bNumEndpoints = 0x2
> bInterfaceClass = 0x7
> bInterfaceSubClass = 0x1
> bInterfaceProtocol = 0x2
> iInterface = 0x0
> }
> Endpoint Descriptor
> {
> bLength = 0x7
> bDescriptorType = 0x5
> bEndpointAddress = 0x82
> bmAttributes = 0x2
> wMaxPacketSize = 0x40
> bInterval = 0x0
> }
> Endpoint Descriptor
> {
> bLength = 0x7
> bDescriptorType = 0x5
> bEndpointAddress = 0x2
> bmAttributes = 0x2
> wMaxPacketSize = 0x40
> bInterval = 0x0
> }
>
> richard at omnis:/home/richard# echo ::prtusb -v -ib |mdb -k
> INDEX DRIVER INST NODE VID.PID PRODUCT
> b usb_mid 6 device 04b8.087e EPSON WP-4595 Series
>
> Device Descriptor
> {
> bLength = 0x12
> bDescriptorType = 0x1
> bcdUSB = 0x200
> bDeviceClass = 0
> bDeviceSubClass = 0
> bDeviceProtocol = 0
> bMaxPacketSize0 = 0x40
> idVendor = 0x4b8
> idProduct = 0x87e
> bcdDevice = 0x100
> iManufacturer = 0x1
> iProduct = 0x2
> iSerialNumber = 0x3
> bNumConfigurations = 0x1
> }
> -- Active Config Index 0
> Configuration Descriptor
> {
> bLength = 0x9
> bDescriptorType = 0x2
> wTotalLength = 0x4e
> bNumInterfaces = 0x3
> bConfigurationValue = 0x1
> iConfiguration = 0x4
> bmAttributes = 0xc0
> bMaxPower = 0x1
> }
> Interface Descriptor
> {
> bLength = 0x9
> bDescriptorType = 0x4
> bInterfaceNumber = 0x0
> bAlternateSetting = 0x0
> bNumEndpoints = 0x2
> bInterfaceClass = 0xff
> bInterfaceSubClass = 0xff
> bInterfaceProtocol = 0xff
> iInterface = 0x5
> }
> Endpoint Descriptor
> {
> bLength = 0x7
> bDescriptorType = 0x5
> bEndpointAddress = 0x1
> bmAttributes = 0x2
> wMaxPacketSize = 0x200
> bInterval = 0x0
> }
> Endpoint Descriptor
> {
> bLength = 0x7
> bDescriptorType = 0x5
> bEndpointAddress = 0x82
> bmAttributes = 0x2
> wMaxPacketSize = 0x200
> bInterval = 0x0
> }
> Interface Descriptor
> {
> bLength = 0x9
> bDescriptorType = 0x4
> bInterfaceNumber = 0x1
> bAlternateSetting = 0x0
> bNumEndpoints = 0x2
> bInterfaceClass = 0x7
> bInterfaceSubClass = 0x1
> bInterfaceProtocol = 0x2
> iInterface = 0x6
> }
> Endpoint Descriptor
> {
> bLength = 0x7
> bDescriptorType = 0x5
> bEndpointAddress = 0x4
> bmAttributes = 0x2
> wMaxPacketSize = 0x200
> bInterval = 0x0
> }
> Endpoint Descriptor
> {
> bLength = 0x7
> bDescriptorType = 0x5
> bEndpointAddress = 0x85
> bmAttributes = 0x2
> wMaxPacketSize = 0x200
> bInterval = 0x0
> }
> Interface Descriptor
> {
> bLength = 0x9
> bDescriptorType = 0x4
> bInterfaceNumber = 0x2
> bAlternateSetting = 0x0
> bNumEndpoints = 0x2
> bInterfaceClass = 0x8
> bInterfaceSubClass = 0x6
> bInterfaceProtocol = 0x50
> iInterface = 0x7
> }
> Endpoint Descriptor
> {
> bLength = 0x7
> bDescriptorType = 0x5
> bEndpointAddress = 0x7
> bmAttributes = 0x2
> wMaxPacketSize = 0x200
> bInterval = 0x0
> }
> Endpoint Descriptor
> {
> bLength = 0x7
> bDescriptorType = 0x5
> bEndpointAddress = 0x88
> bmAttributes = 0x2
> wMaxPacketSize = 0x200
> bInterval = 0x0
> }
>
The multifonction only gets one configuration made, config 0
although the other two are certainly listed.
On OI, I get automagically a printer and a fax device.
Any hints?
--
Richard PALO
More information about the OmniOS-discuss
mailing list