Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Feb 2006 14:36:23 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-usb@freebsd.org
Subject:   Dymo LabelManager PC (usb label printer) doesn't work with FreeBSD
Message-ID:  <20060205143623.2ee1609d.torfinn.ingolfsen@broadpark.no>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I have a "LabelManager PC" label printer from Dymo
(http://global.dymo.com/enUS/Products/LabelMANAGER_PC.html).

When I attach the device to a FreeBSD machine, it doesn't get connected.
Here is what /var/log/messages shows:
Feb  5 14:29:50 kg-quiet kernel: ulpt0: DYMO DYMO LabelMANAGER PC, rev
0.21/1.00, addr 2, iclass 7/1 Feb  5 14:29:50 kg-quiet kernel: ulpt0:
could not find bulk out endpoint Feb  5 14:29:50 kg-quiet kernel:
device_attach: ulpt0 attach returned 6

and usbdevs -v:

root@kg-quiet# usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), (0x1002)(0x0000), rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), (0x1002)(0x0000), rev 1.00
 port 1 powered
 port 2 powered
 port 3 addr 2: low speed, self powered, config 1, product 0x0011(0x0011), DYMO(0x0922), rev 1.00
 port 4 powered
Controller /dev/usb2:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), (0x1002)(0x0000), rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 powered
 port 7 powered
 port 8 powered

I have usb snoop logs from windows (see attached file). I can't see what's wrong with this device, but I'm not very failiar with the ins and outs of usb.
Any hints on what I can try is welcome.
-- 
Regards,
Torfinn Ingolfsen,
Norway


[-- Attachment #2 --]
[0 ms] UsbSnoop compiled on Jan 18 2003 22:41:32 loading
[0 ms] UsbSnoop - DriverEntry(f5b3ac40) : Windows NT WDM version 1.16
[2 ms] UsbSnoop - AddDevice(f5b3af50) : DriverObject 8118a210, pdo 81159330
[4 ms] UsbSnoop - MyDispatchPNP(f5b3aee0) : IRP_MJ_PNP (IRP_MN_QUERY_CAPABILITIES)
[4 ms] UsbSnoop - DispatchAny(f5b38610) : IRP_MJ_PNP (0x00000018)
[4 ms] UsbSnoop - MyDispatchPNP(f5b3aee0) : IRP_MJ_PNP (0x00000018)
[4 ms] UsbSnoop - DispatchAny(f5b38610) : IRP_MJ_PNP (IRP_MN_QUERY_RESOURCE_REQUIREMENTS)
[4 ms] UsbSnoop - MyDispatchPNP(f5b3aee0) : IRP_MJ_PNP (IRP_MN_QUERY_RESOURCE_REQUIREMENTS)
[5 ms] UsbSnoop - DispatchAny(f5b38610) : IRP_MJ_PNP (IRP_MN_FILTER_RESOURCE_REQUIREMENTS)
[5 ms] UsbSnoop - MyDispatchPNP(f5b3aee0) : IRP_MJ_PNP (IRP_MN_FILTER_RESOURCE_REQUIREMENTS)
[5 ms] UsbSnoop - DispatchAny(f5b38610) : IRP_MJ_PNP (IRP_MN_START_DEVICE)
[5 ms] UsbSnoop - MyDispatchPNP(f5b3aee0) : IRP_MJ_PNP (IRP_MN_START_DEVICE)
[6 ms] UsbSnoop - DispatchAny(f5b38610) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[6 ms] UsbSnoop - MyDispatchInternalIOCTL(f5b39e80) : fdo=81159330, Irp=811739e8, IRQL=0
[6 ms]  >>>  URB 1 going down  >>> 
-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:
  TransferBufferLength = 00000012
  TransferBuffer       = 811a47c8
  TransferBufferMDL    = 00000000
  Index                = 00000000
  DescriptorType       = 00000001 (USB_DEVICE_DESCRIPTOR_TYPE)
  LanguageId           = 00000000
[12 ms] UsbSnoop - MyInternalIOCTLCompletion(f5b39db0) : fido=00000000, Irp=811739e8, Context=8126f0a8, IRQL=2
[12 ms]  <<<  URB 1 coming back  <<< 
-- URB_FUNCTION_CONTROL_TRANSFER:
  PipeHandle           = 8143b6f4
  TransferFlags        = 00720047 (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
  TransferBufferLength = 00000012
  TransferBuffer       = 811a47c8
  TransferBufferMDL    = 81244948
    00000000: 12 01 10 01 00 00 00 08 22 09 11 00 00 01 01 02
    00000010: 03 01
  UrbLink              = 00000000
  SetupPacket          =
    00000000: 80 06 00 01 00 00 12 00
[12 ms] UsbSnoop - DispatchAny(f5b38610) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[12 ms] UsbSnoop - MyDispatchInternalIOCTL(f5b39e80) : fdo=81159330, Irp=811739e8, IRQL=0
[12 ms]  >>>  URB 2 going down  >>> 
-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:
  TransferBufferLength = 00000109
  TransferBuffer       = 8119f9a8
  TransferBufferMDL    = 00000000
  Index                = 00000000
  DescriptorType       = 00000002 (USB_CONFIGURATION_DESCRIPTOR_TYPE)
  LanguageId           = 00000000
[21 ms] UsbSnoop - MyInternalIOCTLCompletion(f5b39db0) : fido=00000000, Irp=811739e8, Context=81213ec8, IRQL=2
[21 ms]  <<<  URB 2 coming back  <<< 
-- URB_FUNCTION_CONTROL_TRANSFER:
  PipeHandle           = 8143b6f4
  TransferFlags        = 00720047 (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
  TransferBufferLength = 00000021
  TransferBuffer       = 8119f9a8
  TransferBufferMDL    = 81244948
    00000000: 09 02 21 00 01 01 00 c0 01 09 04 00 00 02 07 01
    00000010: 02 00 07 05 81 02 08 00 00 08 05 02 03 08 00 04
    00000020: ff
  UrbLink              = 00000000
  SetupPacket          =
    00000000: 80 06 00 02 00 00 09 01
[21 ms] UsbSnoop - DispatchAny(f5b38610) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[21 ms] UsbSnoop - MyDispatchInternalIOCTL(f5b39e80) : fdo=81159330, Irp=811739e8, IRQL=0
[21 ms]  >>>  URB 3 going down  >>> 
-- URB_FUNCTION_SELECT_CONFIGURATION:
  ConfigurationDescriptor = 0x8119f9a8 (configure)
  ConfigurationDescriptor : bLength             = 9
  ConfigurationDescriptor : bDescriptorType     = 0x00000002
  ConfigurationDescriptor : wTotalLength        = 0x00000021
  ConfigurationDescriptor : bNumInterfaces      = 0x00000001
  ConfigurationDescriptor : bConfigurationValue = 0x00000001
  ConfigurationDescriptor : iConfiguration      = 0x00000000
  ConfigurationDescriptor : bmAttributes        = 0x000000c0
  ConfigurationDescriptor : MaxPower            = 0x00000001
  ConfigurationHandle     = 0x00720047
  Interface[0]: Length            = 56
  Interface[0]: InterfaceNumber   = 0
  Interface[0]: AlternateSetting  = 0
[24 ms] UsbSnoop - MyInternalIOCTLCompletion(f5b39db0) : fido=00000000, Irp=811739e8, Context=812b6b88, IRQL=0
[24 ms]  <<<  URB 3 coming back  <<< 
-- URB_FUNCTION_SELECT_CONFIGURATION:
  ConfigurationDescriptor = 0x8119f9a8 (configure)
  ConfigurationDescriptor : bLength             = 9
  ConfigurationDescriptor : bDescriptorType     = 0x00000002
  ConfigurationDescriptor : wTotalLength        = 0x00000021
  ConfigurationDescriptor : bNumInterfaces      = 0x00000001
  ConfigurationDescriptor : bConfigurationValue = 0x00000001
  ConfigurationDescriptor : iConfiguration      = 0x00000000
  ConfigurationDescriptor : bmAttributes        = 0x000000c0
  ConfigurationDescriptor : MaxPower            = 0x00000001
  ConfigurationHandle     = 0xe24d5468
  Interface[0]: Length            = 56
  Interface[0]: InterfaceNumber   = 0
  Interface[0]: AlternateSetting  = 0
  Interface[0]: Class             = 0x00000007
  Interface[0]: SubClass          = 0x00000001
  Interface[0]: Protocol          = 0x00000002
  Interface[0]: InterfaceHandle   = 0x813edd68
  Interface[0]: NumberOfPipes     = 2
  Interface[0]: Pipes[0] : MaximumPacketSize = 0x00000008
  Interface[0]: Pipes[0] : EndpointAddress   = 0x00000081
  Interface[0]: Pipes[0] : Interval          = 0x00000000
  Interface[0]: Pipes[0] : PipeType          = 0x00000002 (UsbdPipeTypeBulk)
  Interface[0]: Pipes[0] : PipeHandle        = 0x813edd80
  Interface[0]: Pipes[0] : MaxTransferSize   = 0x00001000
  Interface[0]: Pipes[0] : PipeFlags         = 0x00000000
  Interface[0]: Pipes[1] : MaximumPacketSize = 0x00000008
  Interface[0]: Pipes[1] : EndpointAddress   = 0x00000002
  Interface[0]: Pipes[1] : Interval          = 0x00000004
  Interface[0]: Pipes[1] : PipeType          = 0x00000003 (UsbdPipeTypeInterrupt)
  Interface[0]: Pipes[1] : PipeHandle        = 0x813edd9c
  Interface[0]: Pipes[1] : MaxTransferSize   = 0x00001000
  Interface[0]: Pipes[1] : PipeFlags         = 0x00000000
[26 ms] UsbSnoop - DispatchAny(f5b38610) : IRP_MJ_PNP (IRP_MN_QUERY_CAPABILITIES)
[26 ms] UsbSnoop - MyDispatchPNP(f5b3aee0) : IRP_MJ_PNP (IRP_MN_QUERY_CAPABILITIES)
[26 ms] UsbSnoop - DispatchAny(f5b38610) : IRP_MJ_PNP (IRP_MN_QUERY_PNP_DEVICE_STATE)
[26 ms] UsbSnoop - MyDispatchPNP(f5b3aee0) : IRP_MJ_PNP (IRP_MN_QUERY_PNP_DEVICE_STATE)
[26 ms] UsbSnoop - DispatchAny(f5b38610) : IRP_MJ_PNP (IRP_MN_QUERY_DEVICE_RELATIONS)
[26 ms] UsbSnoop - MyDispatchPNP(f5b3aee0) : IRP_MJ_PNP (IRP_MN_QUERY_DEVICE_RELATIONS)
[27 ms] UsbSnoop - DispatchAny(f5b38610) : IRP_MJ_INTERNAL_DEVICE_CONTROL
[27 ms] UsbSnoop - MyDispatchInternalIOCTL(f5b39e80) : fdo=81159330, Irp=81309628, IRQL=0
[27 ms]  >>>  URB 4 going down  >>> 
-- URB_FUNCTION_CLASS_INTERFACE:
  TransferFlags          = 00000003 (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
  TransferBufferLength = 000003f1
  TransferBuffer       = 81183be8
  TransferBufferMDL    = 00000000
  UrbLink                 = 00000000
  RequestTypeReservedBits = 00000000
  Request                 = 00000000
  Value                   = 00000000
  Index                   = 00000000
[41 ms] UsbSnoop - MyInternalIOCTLCompletion(f5b39db0) : fido=00000000, Irp=81309628, Context=813ec348, IRQL=2
[41 ms]  <<<  URB 4 coming back  <<< 
-- URB_FUNCTION_CONTROL_TRANSFER:
  PipeHandle           = 8143b6f4
  TransferFlags        = 00000003 (USBD_TRANSFER_DIRECTION_IN, USBD_SHORT_TRANSFER_OK)
  TransferBufferLength = 00000051
  TransferBuffer       = 81183be8
  TransferBufferMDL    = 81244948
    00000000: 00 51 4d 46 47 3a 44 59 4d 4f 3b 43 4d 44 3a 20
    00000010: 3b 4d 44 4c 3a 44 59 4d 30 30 31 31 3b 43 4c 41
    00000020: 53 53 3a 50 52 49 4e 54 45 52 3b 44 45 53 43 52
    00000030: 49 50 54 49 4f 4e 3a 44 59 4d 4f 20 4c 61 62 65
    00000040: 6c 4d 41 4e 41 47 45 52 20 50 43 3b 20 20 ff ff
    00000050: ff
  UrbLink              = 00000000
  SetupPacket          =
    00000000: a1 00 00 00 00 00 f1 03
[79 ms] UsbSnoop - DispatchAny(f5b38610) : IRP_MJ_PNP (IRP_MN_QUERY_DEVICE_RELATIONS)
[79 ms] UsbSnoop - MyDispatchPNP(f5b3aee0) : IRP_MJ_PNP (IRP_MN_QUERY_DEVICE_RELATIONS)

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060205143623.2ee1609d.torfinn.ingolfsen>