Capture on-the-fly or by-filter makes the usb device to disappear.

Discussions related to using VirtualBox on Linux hosts.
Post Reply
david0might
Posts: 5
Joined: 15. Jul 2019, 11:17

Capture on-the-fly or by-filter makes the usb device to disappear.

Post by david0might »

Hi there,
I have several other devices captured successfully using usb filters.
However, trying to capture a TI EV2400 (usb2i2c adapter) makes it disappear from the list (no matter if I try on the fly or by filter).
So the device won't show anymore in the host or the list, and "No attached devices" is shown when hovering over the bottom right USB icon.
If replugging the device with the filter on, the same thing happens.
If the filter is off, replugging the device makes it appear in the host, but any attempt to capture on the fly or reenabling the filter makes it disappear.

I have added the related information as an attachment, as the system does not let me post "urls" (!?).

The VBox.log is also attached.
Attachments
HPSpectrex360ch15-004na-Win10-2019-07-15-10-07-17.txt
Additional information that I cannot put inline.
(14.93 KiB) Downloaded 22 times
HPSpectrex360ch15-004na-Win10-2019-07-15-10-07-17.zip
VBox log
(37.62 KiB) Downloaded 25 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Capture on-the-fly or by-filter makes the usb device to disappear.

Post by socratis »

david0might wrote:So the device won't show anymore in the host or the list
How about the output of:
  • 
    VBoxManage list usbhost
before and after you select the device? You already included the before... Also, can you unplug everything not-related and simplify your setup? And plug the device directly, not through a hub?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
david0might
Posts: 5
Joined: 15. Jul 2019, 11:17

Re: Capture on-the-fly or by-filter makes the usb device to disappear.

Post by david0might »

Hi Socratis,

I have now unplugged as much as I can. The remaining iare things connected to my dock where I have my keyboard and mouse kvm, so not rasy to unplug without stopping completely everything I am doing...

This is what linux shows when the VM is stopped and the device is plugged for reference (offending device connected to Bus01 root hub, port #2, not through any other hub)
N.B. the port #2 is a type-C connector using an adapter from type-c socket to type-a socket.

Code: Select all

# lsusb -vvt
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
    /sys/bus/usb/devices/  /dev/bus/usb/004/001
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    /sys/bus/usb/devices/usb3  /dev/bus/usb/003/001
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 5000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
    /sys/bus/usb/devices/usb2  /dev/bus/usb/002/001
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    /sys/bus/usb/devices/usb1  /dev/bus/usb/001/001
    |__ Port 1: Dev 26, If 0, Class=Hub, Driver=hub/6p, 480M
        ID 04cc:1521 ST-Ericsson USB 2.0 Hub
        /sys/bus/usb/devices/1-1  /dev/bus/usb/001/026
        |__ Port 1: Dev 27, If 0, Class=Vendor Specific Class, Driver=asix, 480M
            ID 0b95:7720 ASIX Electronics Corp. AX88772
            /sys/bus/usb/devices/1-1.1  /dev/bus/usb/001/027
        |__ Port 6: Dev 31, If 0, Class=Hub, Driver=hub/4p, 12M
            ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
            /sys/bus/usb/devices/1-1.6  /dev/bus/usb/001/031
            |__ Port 3: Dev 36, If 0, Class=Vendor Specific Class, Driver=pl2303, 12M
                ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
                /sys/bus/usb/devices/1-1.6.3  /dev/bus/usb/001/036
            |__ Port 1: Dev 33, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
                ID 0711:0260 Magic Control Technology Corp. 
                /sys/bus/usb/devices/1-1.6.1  /dev/bus/usb/001/033
            |__ Port 1: Dev 33, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
                ID 0711:0260 Magic Control Technology Corp. 
                /sys/bus/usb/devices/1-1.6.1  /dev/bus/usb/001/033
            |__ Port 4: Dev 37, If 2, Class=Audio, Driver=snd-usb-audio, 12M
                ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
                /sys/bus/usb/devices/1-1.6.4  /dev/bus/usb/001/037
            |__ Port 4: Dev 37, If 0, Class=Audio, Driver=snd-usb-audio, 12M
                ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
                /sys/bus/usb/devices/1-1.6.4  /dev/bus/usb/001/037
            |__ Port 4: Dev 37, If 3, Class=Human Interface Device, Driver=usbhid, 12M
                ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
                /sys/bus/usb/devices/1-1.6.4  /dev/bus/usb/001/037
            |__ Port 4: Dev 37, If 1, Class=Audio, Driver=snd-usb-audio, 12M
                ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
                /sys/bus/usb/devices/1-1.6.4  /dev/bus/usb/001/037
            |__ Port 2: Dev 35, If 0, Class=Printer, Driver=usblp, 12M
                ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port
                /sys/bus/usb/devices/1-1.6.2  /dev/bus/usb/001/035
        |__ Port 4: Dev 29, If 0, Class=Hub, Driver=hub/7p, 12M
            ID 0b95:6804 ASIX Electronics Corp. 
            /sys/bus/usb/devices/1-1.4  /dev/bus/usb/001/029
            |__ Port 2: Dev 34, If 0, Class=Human Interface Device, Driver=usbhid, 12M
                ID 046d:c534 Logitech, Inc. Unifying Receiver
                /sys/bus/usb/devices/1-1.4.2  /dev/bus/usb/001/034
            |__ Port 2: Dev 34, If 1, Class=Human Interface Device, Driver=usbhid, 12M
                ID 046d:c534 Logitech, Inc. Unifying Receiver
                /sys/bus/usb/devices/1-1.4.2  /dev/bus/usb/001/034
            |__ Port 1: Dev 32, If 1, Class=Human Interface Device, Driver=usbhid, 12M
                ID 04d9:a0cd Holtek Semiconductor, Inc. 
                /sys/bus/usb/devices/1-1.4.1  /dev/bus/usb/001/032
            |__ Port 1: Dev 32, If 2, Class=Human Interface Device, Driver=usbhid, 12M
                ID 04d9:a0cd Holtek Semiconductor, Inc. 
                /sys/bus/usb/devices/1-1.4.1  /dev/bus/usb/001/032
            |__ Port 1: Dev 32, If 0, Class=Human Interface Device, Driver=usbhid, 12M
                ID 04d9:a0cd Holtek Semiconductor, Inc. 
                /sys/bus/usb/devices/1-1.4.1  /dev/bus/usb/001/032
    |__ Port 2: Dev 91, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        ID 0451:0037 Texas Instruments, Inc. 
        /sys/bus/usb/devices/1-2  /dev/bus/usb/001/091
    |__ Port 5: Dev 5, If 3, Class=Video, Driver=uvcvideo, 480M
        ID 05c8:0815 Cheng Uei Precision Industry Co., Ltd (Foxlink) 
        /sys/bus/usb/devices/1-5  /dev/bus/usb/001/005
    |__ Port 5: Dev 5, If 1, Class=Video, Driver=uvcvideo, 480M
        ID 05c8:0815 Cheng Uei Precision Industry Co., Ltd (Foxlink) 
        /sys/bus/usb/devices/1-5  /dev/bus/usb/001/005
    |__ Port 5: Dev 5, If 2, Class=Video, Driver=uvcvideo, 480M
        ID 05c8:0815 Cheng Uei Precision Industry Co., Ltd (Foxlink) 
        /sys/bus/usb/devices/1-5  /dev/bus/usb/001/005
    |__ Port 5: Dev 5, If 0, Class=Video, Driver=uvcvideo, 480M
        ID 05c8:0815 Cheng Uei Precision Industry Co., Ltd (Foxlink) 
        /sys/bus/usb/devices/1-5  /dev/bus/usb/001/005
    |__ Port 7: Dev 8, If 0, Class=Wireless, Driver=btusb, 12M
        ID 8087:0a2b Intel Corp. 
        /sys/bus/usb/devices/1-7  /dev/bus/usb/001/008
    |__ Port 7: Dev 8, If 1, Class=Wireless, Driver=btusb, 12M
        ID 8087:0a2b Intel Corp. 
        /sys/bus/usb/devices/1-7  /dev/bus/usb/001/008
With the filter configured at the top of the list and enabled, but with the device unplugged:

Code: Select all

$ VBoxManage list usbhost
Host USB Devices:

UUID:               21eece65-e42f-433b-bb12-8a525bc340ce
VendorId:           0x8087 (8087)
ProductId:          0x0a2b (0A2B)
Revision:           0.16 (0016)
Port:               6
USB version/speed:  2/Full
Manufacturer:       Intel Corp.
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7//device:/dev/vboxusb/001/008
Current State:      Busy

UUID:               4daa0e6f-2ac4-428d-9ea6-754f601c7403
VendorId:           0x0d8c (0D8C)
ProductId:          0x000c (000C)
Revision:           1.0 (0100)
Port:               3
USB version/speed:  1/Full
Manufacturer:       C-Media Electronics, Inc.
Product:            C-Media USB Headphone Set  
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.6/1-1.6.4//device:/dev/vboxusb/001/037
Current State:      Busy

UUID:               5f51137c-33f7-47b1-b01e-d3924f0024fd
VendorId:           0x0b95 (0B95)
ProductId:          0x7720 (7720)
Revision:           0.1 (0001)
Port:               0
USB version/speed:  2/High
Manufacturer:       ASIX Elec. Corp.
Product:            AX88772 
SerialNumber:       000001
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1//device:/dev/vboxusb/001/027
Current State:      Busy

UUID:               2252374c-b14f-420f-b5d2-760b3a575b4b
VendorId:           0x0711 (0711)
ProductId:          0x0260 (0260)
Revision:           0.1 (0001)
Port:               0
USB version/speed:  1/Low
Manufacturer:       MCT
Product:            USB PS/2 Keyboard - PS/2 Mouse
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.6/1-1.6.1//device:/dev/vboxusb/001/033
Current State:      Busy

UUID:               ca922ae1-c904-445d-be49-4fc7625e0361
VendorId:           0x067b (067B)
ProductId:          0x2305 (2305)
Revision:           2.2 (0202)
Port:               1
USB version/speed:  1/Full
Manufacturer:       Prolific Technology Inc.
Product:            IEEE-1284 Controller
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.6/1-1.6.2//device:/dev/vboxusb/001/035
Current State:      Busy

UUID:               b2fa9809-8e3f-4bad-a736-6bc23e329d44
VendorId:           0x067b (067B)
ProductId:          0x2303 (2303)
Revision:           3.0 (0300)
Port:               2
USB version/speed:  1/Full
Manufacturer:       Prolific Technology Inc.
Product:            USB-Serial Controller
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.6/1-1.6.3//device:/dev/vboxusb/001/036
Current State:      Busy

UUID:               a9ce962e-2cc6-4b6d-a5ed-99146b744b83
VendorId:           0x05c8 (05C8)
ProductId:          0x0815 (0815)
Revision:           0.17 (0017)
Port:               4
USB version/speed:  2/High
Manufacturer:       Generic
Product:            HP Wide Vision FHD Camera
SerialNumber:       200901010001
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5//device:/dev/vboxusb/001/005
Current State:      Busy

UUID:               a1f3a042-0af2-4995-bab7-b71618917d4d
VendorId:           0x04d9 (04D9)
ProductId:          0xa0cd (A0CD)
Revision:           1.5 (0105)
Port:               0
USB version/speed:  2/Full
Manufacturer:       Holtek Semiconductor, Inc.
Product:            USB Keyboard
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.1//device:/dev/vboxusb/001/032
Current State:      Busy

UUID:               95da9778-a52d-40e9-8d60-ea5573d0664e
VendorId:           0x046d (046D)
ProductId:          0xc534 (C534)
Revision:           41.1 (4101)
Port:               1
USB version/speed:  2/Full
Manufacturer:       Logitech
Product:            USB Receiver
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.2//device:/dev/vboxusb/001/034
Current State:      Busy
Now plugging the device:

Code: Select all

$ VBoxManage list usbhost
Host USB Devices:

UUID:               21eece65-e42f-433b-bb12-8a525bc340ce
VendorId:           0x8087 (8087)
ProductId:          0x0a2b (0A2B)
Revision:           0.16 (0016)
Port:               6
USB version/speed:  2/Full
Manufacturer:       Intel Corp.
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7//device:/dev/vboxusb/001/008
Current State:      Busy

UUID:               4daa0e6f-2ac4-428d-9ea6-754f601c7403
VendorId:           0x0d8c (0D8C)
ProductId:          0x000c (000C)
Revision:           1.0 (0100)
Port:               3
USB version/speed:  1/Full
Manufacturer:       C-Media Electronics, Inc.
Product:            C-Media USB Headphone Set  
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.6/1-1.6.4//device:/dev/vboxusb/001/037
Current State:      Busy

UUID:               5f51137c-33f7-47b1-b01e-d3924f0024fd
VendorId:           0x0b95 (0B95)
ProductId:          0x7720 (7720)
Revision:           0.1 (0001)
Port:               0
USB version/speed:  2/High
Manufacturer:       ASIX Elec. Corp.
Product:            AX88772 
SerialNumber:       000001
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1//device:/dev/vboxusb/001/027
Current State:      Busy

UUID:               2252374c-b14f-420f-b5d2-760b3a575b4b
VendorId:           0x0711 (0711)
ProductId:          0x0260 (0260)
Revision:           0.1 (0001)
Port:               0
USB version/speed:  1/Low
Manufacturer:       MCT
Product:            USB PS/2 Keyboard - PS/2 Mouse
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.6/1-1.6.1//device:/dev/vboxusb/001/033
Current State:      Busy

UUID:               ca922ae1-c904-445d-be49-4fc7625e0361
VendorId:           0x067b (067B)
ProductId:          0x2305 (2305)
Revision:           2.2 (0202)
Port:               1
USB version/speed:  1/Full
Manufacturer:       Prolific Technology Inc.
Product:            IEEE-1284 Controller
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.6/1-1.6.2//device:/dev/vboxusb/001/035
Current State:      Busy

UUID:               b2fa9809-8e3f-4bad-a736-6bc23e329d44
VendorId:           0x067b (067B)
ProductId:          0x2303 (2303)
Revision:           3.0 (0300)
Port:               2
USB version/speed:  1/Full
Manufacturer:       Prolific Technology Inc.
Product:            USB-Serial Controller
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.6/1-1.6.3//device:/dev/vboxusb/001/036
Current State:      Busy

UUID:               a9ce962e-2cc6-4b6d-a5ed-99146b744b83
VendorId:           0x05c8 (05C8)
ProductId:          0x0815 (0815)
Revision:           0.17 (0017)
Port:               4
USB version/speed:  2/High
Manufacturer:       Generic
Product:            HP Wide Vision FHD Camera
SerialNumber:       200901010001
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5//device:/dev/vboxusb/001/005
Current State:      Busy

UUID:               a1f3a042-0af2-4995-bab7-b71618917d4d
VendorId:           0x04d9 (04D9)
ProductId:          0xa0cd (A0CD)
Revision:           1.5 (0105)
Port:               0
USB version/speed:  2/Full
Manufacturer:       Holtek Semiconductor, Inc.
Product:            USB Keyboard
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.1//device:/dev/vboxusb/001/032
Current State:      Busy

UUID:               95da9778-a52d-40e9-8d60-ea5573d0664e
VendorId:           0x046d (046D)
ProductId:          0xc534 (C534)
Revision:           41.1 (4101)
Port:               1
USB version/speed:  2/Full
Manufacturer:       Logitech
Product:            USB Receiver
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.2//device:/dev/vboxusb/001/034
Current State:      Busy
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Capture on-the-fly or by-filter makes the usb device to disappear.

Post by socratis »

david0might wrote:remaining iare things connected to my dock
Dock? What dock? When did this come into the equation? I would like you to try with the simplest case, and that should not involve a dock. It might be the dock-connection that's at fault. There are plenty of tickets about docking laptops and all sorts of things going crazy.
david0might wrote:N.B. the port #2 is a type-C connector using an adapter from type-c socket to type-a socket.
Hmm... that could also be problematic. Is it a USB 3.1 port? Again, searching for "USB-C", shows plenty of hits...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
david0might
Posts: 5
Joined: 15. Jul 2019, 11:17

Re: Capture on-the-fly or by-filter makes the usb device to disappear.

Post by david0might »

Dock? What dock? When did this come into the equation? I would like you to try with the simplest case, and that should not involve a dock. It might be the dock-connection that's at fault. There are plenty of tickets about docking laptops and all sorts of things going crazy.
Calm down... I am not using any dock in between, but my keyboard and mouse go to a dock on a different port, so I cannot remove that easily. It al just mean that you see a few other devices in other root ports. The "dock" are just two usb hubs in a completely different root port.
Hmm... that could also be problematic. Is it a USB 3.1 port? Again, searching for "USB-C", shows plenty of hits...
You can see that the device is connected to the 480Mb of the usb 3.1 port, i.e. Bus 01 Port 2 at the top of my previous answer, where I show you the result of lsusb -vvt.
david0might
Posts: 5
Joined: 15. Jul 2019, 11:17

Re: Capture on-the-fly or by-filter makes the usb device to disappear.

Post by david0might »

I'll try something simpler, just the laptop, for your own sanity, tomorrow early morning... but I am sure that won't make any difference. It is just a usb 2.0 hub with the usual old ps2 keyboard and mouse, ear/mic jacks and a serial and parallel port.
david0might
Posts: 5
Joined: 15. Jul 2019, 11:17

Re: Capture on-the-fly or by-filter makes the usb device to disappear.

Post by david0might »

A bit late due to my holidays, but here it is:

I have disabled the filter and select the device by hand from the Devices\USB menu.

Tried this with the VirtualBox 6.0.10 now.

Before starting the VM:

Code: Select all

$ VBoxManage list usbhost
Host USB Devices:

UUID:               171581cb-d7f5-4944-b83d-836b8f24d986
VendorId:           0x8087 (8087)
ProductId:          0x0a2b (0A2B)
Revision:           0.16 (0016)
Port:               6
USB version/speed:  2/Full
Manufacturer:       Intel Corp.
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7//device:/dev/vboxusb/001/008
Current State:      Busy

UUID:               af9d72a5-f222-44d0-9090-c1b2f3998fb6
VendorId:           0x05c8 (05C8)
ProductId:          0x0815 (0815)
Revision:           0.17 (0017)
Port:               4
USB version/speed:  2/High
Manufacturer:       Generic
Product:            HP Wide Vision FHD Camera
SerialNumber:       200901010001
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5//device:/dev/vboxusb/001/005
Current State:      Busy

UUID:               48a9ffee-1cec-4a81-8694-95a941fee23a
VendorId:           0x046d (046D)
ProductId:          0xc534 (C534)
Revision:           41.1 (4101)
Port:               1
USB version/speed:  2/Full
Manufacturer:       Logitech
Product:            USB Receiver
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2//device:/dev/vboxusb/001/082
Current State:      Busy

UUID:               e2968917-3fe6-4261-a9fb-5f2e85ca4d1e
VendorId:           0x0451 (0451)
ProductId:          0x0037 (0037)
Revision:           0.18 (0018)
Port:               0
USB version/speed:  2/Full
Manufacturer:       Texas Instruments
Product:            EV2400
SerialNumber:       F9BA1B5103000F00
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1//device:/dev/vboxusb/001/083
Current State:      Busy
After starting the VM, but before selecting the device:

Code: Select all

$ VBoxManage list usbhost
Host USB Devices:

UUID:               171581cb-d7f5-4944-b83d-836b8f24d986
VendorId:           0x8087 (8087)
ProductId:          0x0a2b (0A2B)
Revision:           0.16 (0016)
Port:               6
USB version/speed:  2/Full
Manufacturer:       Intel Corp.
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7//device:/dev/vboxusb/001/008
Current State:      Busy

UUID:               af9d72a5-f222-44d0-9090-c1b2f3998fb6
VendorId:           0x05c8 (05C8)
ProductId:          0x0815 (0815)
Revision:           0.17 (0017)
Port:               4
USB version/speed:  2/High
Manufacturer:       Generic
Product:            HP Wide Vision FHD Camera
SerialNumber:       200901010001
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5//device:/dev/vboxusb/001/005
Current State:      Busy

UUID:               48a9ffee-1cec-4a81-8694-95a941fee23a
VendorId:           0x046d (046D)
ProductId:          0xc534 (C534)
Revision:           41.1 (4101)
Port:               1
USB version/speed:  2/Full
Manufacturer:       Logitech
Product:            USB Receiver
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2//device:/dev/vboxusb/001/082
Current State:      Busy

UUID:               e2968917-3fe6-4261-a9fb-5f2e85ca4d1e
VendorId:           0x0451 (0451)
ProductId:          0x0037 (0037)
Revision:           0.18 (0018)
Port:               0
USB version/speed:  2/Full
Manufacturer:       Texas Instruments
Product:            EV2400
SerialNumber:       F9BA1B5103000F00
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1//device:/dev/vboxusb/001/083
Current State:      Busy
After selecting the device:

Code: Select all

$ VBoxManage list usbhost
Host USB Devices:

UUID:               171581cb-d7f5-4944-b83d-836b8f24d986
VendorId:           0x8087 (8087)
ProductId:          0x0a2b (0A2B)
Revision:           0.16 (0016)
Port:               6
USB version/speed:  2/Full
Manufacturer:       Intel Corp.
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7//device:/dev/vboxusb/001/008
Current State:      Busy

UUID:               af9d72a5-f222-44d0-9090-c1b2f3998fb6
VendorId:           0x05c8 (05C8)
ProductId:          0x0815 (0815)
Revision:           0.17 (0017)
Port:               4
USB version/speed:  2/High
Manufacturer:       Generic
Product:            HP Wide Vision FHD Camera
SerialNumber:       200901010001
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5//device:/dev/vboxusb/001/005
Current State:      Busy

UUID:               48a9ffee-1cec-4a81-8694-95a941fee23a
VendorId:           0x046d (046D)
ProductId:          0xc534 (C534)
Revision:           41.1 (4101)
Port:               1
USB version/speed:  2/Full
Manufacturer:       Logitech
Product:            USB Receiver
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2//device:/dev/vboxusb/001/082
Current State:      Busy
xorly
Posts: 2
Joined: 15. Dec 2019, 14:38

Re: Capture on-the-fly or by-filter makes the usb device to disappear.

Post by xorly »

Hi, I have to deal with same device as you. Other USB devices work fine in Virtualbox (eg ST-link V2). I have found out, that every device is reset when being captured. Using simple utility from question on StackOverflow (sorry, registered tody, can't post links) I tried to reset it manually and same error happened.

device connected to USB port

Code: Select all

[26883.579055] usb 1-1.2: new full-speed USB device number 58 using ehci-pci
[26883.680096] usb 1-1.2: New USB device found, idVendor=0451, idProduct=0037, bcdDevice= 0.12
[26883.680100] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[26883.680102] usb 1-1.2: Product: EV2400
[26883.680104] usb 1-1.2: Manufacturer: Texas Instruments
[26883.680105] usb 1-1.2: SerialNumber: F7BA1B5108002500
[26883.682966] hid-generic 0003:0451:0037.0021: hiddev2,hidraw5: USB HID v1.01 Device [Texas Instruments EV2400] on usb-0000:00:1a.0-1.2/input0
Requested device reset...

Code: Select all

[26906.388492] usb 1-1.2: reset full-speed USB device number 58 using ehci-pci
[26906.461812] usb 1-1.2: device descriptor read/64, error -32
[26906.641826] usb 1-1.2: device descriptor read/64, error -32
[26906.821794] usb 1-1.2: reset full-speed USB device number 58 using ehci-pci
[26906.898502] usb 1-1.2: device descriptor read/64, error -32
[26907.078457] usb 1-1.2: device descriptor read/64, error -32
[26907.261803] usb 1-1.2: reset full-speed USB device number 58 using ehci-pci
[26907.678445] usb 1-1.2: device not accepting address 58, error -32
[26907.751761] usb 1-1.2: reset full-speed USB device number 58 using ehci-pci
[26908.168447] usb 1-1.2: device not accepting address 58, error -32
[26908.169620] usb 1-1.2: USB disconnect, device number 58
[26908.241777] usb 1-1.2: new full-speed USB device number 59 using ehci-pci
[26908.315081] usb 1-1.2: device descriptor read/64, error -32
[26908.495075] usb 1-1.2: device descriptor read/64, error -32
[26908.675085] usb 1-1.2: new full-speed USB device number 60 using ehci-pci
[26908.748449] usb 1-1.2: device descriptor read/64, error -32
[26908.931741] usb 1-1.2: device descriptor read/64, error -32
[26909.038749] usb 1-1-port2: attempt power cycle
[26909.635078] usb 1-1.2: new full-speed USB device number 61 using ehci-pci
[26910.048403] usb 1-1.2: device not accepting address 61, error -32
[26910.121744] usb 1-1.2: new full-speed USB device number 62 using ehci-pci
[26910.535070] usb 1-1.2: device not accepting address 62, error -32
[26910.535449] usb 1-1-port2: unable to enumerate USB device
...and device remains dead until reconnected. Exactly same behavior when Virtualbox captures this device.
Thus, it is not Virtualboxes' blame. It must be kernel bug or device USB implementation sucks and I put my bet on device.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Capture on-the-fly or by-filter makes the usb device to disappear.

Post by socratis »

Thank you 'xorly' for the analysis! 8)
I don't think it's a VirtualBox issue too. There are too many links in the chain that can go wrong, in this case I tend to agree with you that it's a device problem, not a Host or a VirtualBox problem...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
xorly
Posts: 2
Joined: 15. Dec 2019, 14:38

Re: Capture on-the-fly or by-filter makes the usb device to disappear.

Post by xorly »

EV2400 behaves like regular USB HID device. I'd guess, other HID devices works in VBox.

Here, I am trying to convince TI, that their USB implementation in EV2400 is broken.

Basically, EV2400 can't handle more than one initial USB reset request during device enumeration. However, it is necessary to reset USB device to be released by host OS and captured by Vbox for guest OS. (Beutiful piece of.... HW for €200, right?)

There is dirty workaround though! (GNU/Linux Host, Windows guest)
  1. boot your virtual machine without USB filter
  2. open terminal on host and execute (live kernel log)

    Code: Select all

    dmesg -w
  3. do the "on-the-fly" device capture, now you'll start seeing USB errors in log
  4. press and release reset button on EV2400 (there is small hole in plastic case)
  5. errors should stop and device will be be available to guest OS
Sometimes, it is necessary to press reset button more than once. If capture fails, try again. As I said, it's dirty...
Post Reply