When the serial number of a device has garbage, the USB functionality breaks completely. And there seems to be a lock that doesn't get released in VBOXSVC.<br><br>The problem happened on a Windows machine (xp,Vista and Win7), vboxmanage list usbhost spits out a general server-failure message right when its trying to get the serial number. So I hooked a debugger and traced down the problem to line 219 in HostUSBDeviceImpl.cpp<br>

<br>Bstr (mUsb->pszSerialNumber).cloneTo(aSerialNumber);<br><br>mUsb->pszSerialNumber has garbage (see below) and cloneTo throws an exception and things from there stop working. VBoxSVC.exe never quits and list USB devices stops.<br>

<br><br>The garbage value (Probably USB device issue) also appears on Linux with lsusb:<br>sudo lsusb  -d 1199:0301 -v<br><br>Bus 001 Device 006: ID 1199:0301 Sierra Wireless, Inc. <br>Device Descriptor:<br>  bLength                18<br>

  bDescriptorType         1<br>  bcdUSB               1.10<br>  bDeviceClass            0 (Defined at Interface level)<br>  bDeviceSubClass         0 <br>  bDeviceProtocol         0 <br>  bMaxPacketSize0        64<br>  idVendor           0x1199 Sierra Wireless, Inc.<br>

  idProduct          0x0301 <br>  bcdDevice            0.03<br>  iManufacturer           1 Sierra Wireless, Incorporated<br>  iProduct                2 Sierra Wireless Device<br>  iSerial                 4  4Vx��������<br>

  bNumConfigurations      1<br>  Configuration Descriptor:<br>    bLength                 9<br>    bDescriptorType         2<br>    wTotalLength           81<br>    bNumInterfaces          1<br>    bConfigurationValue     1<br>

    iConfiguration          0 <br>    bmAttributes         0xa0<br>      (Bus Powered)<br>      Remote Wakeup<br>    MaxPower              500mA<br>    Interface Descriptor:<br>      bLength                 9<br>      bDescriptorType         4<br>

      bInterfaceNumber        0<br>      bAlternateSetting       0<br>      bNumEndpoints           9<br>      bInterfaceClass       255 Vendor Specific Class<br>      bInterfaceSubClass    255 Vendor Specific Subclass<br>

      bInterfaceProtocol    255 Vendor Specific Protocol<br>      iInterface              3 Data Interface<br>      Endpoint Descriptor:<br>        bLength                 7<br>        bDescriptorType         5<br>        bEndpointAddress     0x81  EP 1 IN<br>

        bmAttributes            3<br>          Transfer Type            Interrupt<br>          Synch Type               None<br>          Usage Type               Data<br>        wMaxPacketSize     0x0010  1x 16 bytes<br>

        bInterval             128<br>      Endpoint Descriptor:<br>        bLength                 7<br>        bDescriptorType         5<br>        bEndpointAddress     0x82  EP 2 IN<br>        bmAttributes            2<br>

          Transfer Type            Bulk<br>          Synch Type               None<br>          Usage Type               Data<br>        wMaxPacketSize     0x0040  1x 64 bytes<br>        bInterval               0<br>      Endpoint Descriptor:<br>

        bLength                 7<br>        bDescriptorType         5<br>        bEndpointAddress     0x02  EP 2 OUT<br>        bmAttributes            2<br>          Transfer Type            Bulk<br>          Synch Type               None<br>

          Usage Type               Data<br>        wMaxPacketSize     0x0040  1x 64 bytes<br>        bInterval               0<br>      Endpoint Descriptor:<br>        bLength                 7<br>        bDescriptorType         5<br>

        bEndpointAddress     0x84  EP 4 IN<br>        bmAttributes            2<br>          Transfer Type            Bulk<br>          Synch Type               None<br>          Usage Type               Data<br>        wMaxPacketSize     0x0040  1x 64 bytes<br>

        bInterval               0<br>      Endpoint Descriptor:<br>        bLength                 7<br>        bDescriptorType         5<br>        bEndpointAddress     0x04  EP 4 OUT<br>        bmAttributes            2<br>

          Transfer Type            Bulk<br>          Synch Type               None<br>          Usage Type               Data<br>        wMaxPacketSize     0x0040  1x 64 bytes<br>        bInterval               0<br>      Endpoint Descriptor:<br>

        bLength                 7<br>        bDescriptorType         5<br>        bEndpointAddress     0x85  EP 5 IN<br>        bmAttributes            2<br>          Transfer Type            Bulk<br>          Synch Type               None<br>

          Usage Type               Data<br>        wMaxPacketSize     0x0040  1x 64 bytes<br>        bInterval               0<br>      Endpoint Descriptor:<br>        bLength                 7<br>        bDescriptorType         5<br>

        bEndpointAddress     0x05  EP 5 OUT<br>        bmAttributes            2<br>          Transfer Type            Bulk<br>          Synch Type               None<br>          Usage Type               Data<br>        wMaxPacketSize     0x0040  1x 64 bytes<br>

        bInterval               0<br>      Endpoint Descriptor:<br>        bLength                 7<br>        bDescriptorType         5<br>        bEndpointAddress     0x88  EP 8 IN<br>        bmAttributes            2<br>

          Transfer Type            Bulk<br>          Synch Type               None<br>          Usage Type               Data<br>        wMaxPacketSize     0x0040  1x 64 bytes<br>        bInterval               0<br>      Endpoint Descriptor:<br>

        bLength                 7<br>        bDescriptorType         5<br>        bEndpointAddress     0x08  EP 8 OUT<br>        bmAttributes            2<br>          Transfer Type            Bulk<br>          Synch Type               None<br>

          Usage Type               Data<br>        wMaxPacketSize     0x0040  1x 64 bytes<br>        bInterval               0<br>Device Status:     0x0000<br>  (Bus Powered)<br><br clear="all"><br>-- <br>-- Ribhi<br>