USB issues with devices including Moxa UPort1150
Posted: 19. Aug 2020, 03:37
Hi,
I am currently evaluating VirtualBox as an alternative to other virtual environments I use.
Unfortunately I use various USB devices and so far VirtualBox has failed to correctly function with several devices I have tested (with more to test).
Please note that I have had success with other USB devices without having to create filters, and can successfully attach and detach either by unplugging or selecting the attached device in the USB menu.
I have followed the USB basics and troubleshooting guide.
- Checked registry as per hyperlinks in guide
- Created filter, tested various changes in filter content for devices not correctly captured by VirtualBox
- Tested the Moxa USB serial adapter on two separate computers and VirtualBox versions as noted.
- Installed the xHCI USB3 drivers in the Windows 7 test client where using xHCI in VirtualBox.
- Tried using VBoxManage usbdevsource to remove devices when they are not released correctly by VirtualBox. Failed when device was still plugged in and also when unplugged.
I have focused on the Moxa UPort 1150 USB serial adapter as this is the most common device I and others use.
Device: Moxa UPort 1150 RS232/RS485 USB serial adapter, presents to Windows as two devices in device manager.
Moxa thread, no resolution or followup since last post 12 June 2019.
viewtopic.php?f=2&t=93496
Previous Moxa thread started September 2011. No apparent resolution or followup.
viewtopic.php?f=2&t=44957
Host: OS Name Microsoft Windows 10 Enterprise (64 bit)
Version 10.0.19041 Build 19041
VM1: OS Name Microsoft Windows 10 Pro (64 bit)
Version 10.0.15063 Build 15063
VM2: OS Name Microsoft Windows 7 Enterprise (32 bit)
Version 6.1.7600 Build 7600
xHCI Intel USB3 drivers installed
Notes:
With filter: Manually detach, stays in USB menu, only way to remove it was to reboot client and host. Similarly if device plugged in before booting client and trying to manually attach device, it indicate captured but no tick.
Removed filter: Trying to attach shows captured but no tick, can only remove from USB list by host and client restarts. Filter back in place, can capture and release when plugged in after client started, and detached by pulling out device but clicking on device to release causes it to stay in USB list.
Only one device shown in Device Manager (Extension pack installed)
When Moxa driver is installed, the following message is seen in Device Manager: Driver Failure: This device cannot start. (Code 10) {Operation Failed} The requested operation was unsuccessful.
USB2 test:
Dell Precision M6600
VirtualBox version: 4.3.40 r110317, 4.0.36 r104075, 6.1.12 r139181
Extension pack version: 4.3.40 r110317, 4.0.36 r104075, 6.1.12 r139181
Host: OS Name Microsoft Windows 7 Ultimate (64 bit)
Version 6.1.7601 Service Pack 1 Build 7601
VM: OS Name Microsoft Windows 7 Enterprise (32 bit)
Version 6.1.7601 Service Pack 1 Build 7601
Notes:
Filter applied, generally seemed to capture device and release if it was plugged in and unplugged after client has started, but would leave device in USB menu if it was selected to remove or manually add as noted above.
No VirtualBox extension pack installed, two devices are seen in device manager, but Moxa multiport device driver cannot start and the second device shows as unknown device.
Extension pack installed, only one device appears in device manager, but Moxa multiport driver cannot start.
Issues:
- Devices are not captured/released correctly, leaving the device stuck in the USB menu. Hovering over the device can say it it is captured but with no tick beside it, or released but still displaying in the menu even if the device has been unplugged.
- Removal of the stuck device from the USB menu requires the client and host operating systems to be shut down and restarted. The VBoxManage usbdevsource command has failed every time it has been tried.
- Moxa UPort 1150 will get captured using a filter, but the driver will not start and does not get presented as two devices. USB release issues as described above.
- Extension pack installation changes the presentation of the Moxa device to the client OS.
Are there any other logs or tests I can do to facilitate debugging these USB issues?
Regards
Ehbt
I am currently evaluating VirtualBox as an alternative to other virtual environments I use.
Unfortunately I use various USB devices and so far VirtualBox has failed to correctly function with several devices I have tested (with more to test).
Please note that I have had success with other USB devices without having to create filters, and can successfully attach and detach either by unplugging or selecting the attached device in the USB menu.
I have followed the USB basics and troubleshooting guide.
- Checked registry as per hyperlinks in guide
- Created filter, tested various changes in filter content for devices not correctly captured by VirtualBox
- Tested the Moxa USB serial adapter on two separate computers and VirtualBox versions as noted.
- Installed the xHCI USB3 drivers in the Windows 7 test client where using xHCI in VirtualBox.
- Tried using VBoxManage usbdevsource to remove devices when they are not released correctly by VirtualBox. Failed when device was still plugged in and also when unplugged.
I have focused on the Moxa UPort 1150 USB serial adapter as this is the most common device I and others use.
Device: Moxa UPort 1150 RS232/RS485 USB serial adapter, presents to Windows as two devices in device manager.
Moxa thread, no resolution or followup since last post 12 June 2019.
viewtopic.php?f=2&t=93496
Previous Moxa thread started September 2011. No apparent resolution or followup.
viewtopic.php?f=2&t=44957
Host: OS Name Microsoft Windows 10 Enterprise (64 bit)
Version 10.0.19041 Build 19041
VM1: OS Name Microsoft Windows 10 Pro (64 bit)
Version 10.0.15063 Build 15063
VM2: OS Name Microsoft Windows 7 Enterprise (32 bit)
Version 6.1.7600 Build 7600
xHCI Intel USB3 drivers installed
Notes:
With filter: Manually detach, stays in USB menu, only way to remove it was to reboot client and host. Similarly if device plugged in before booting client and trying to manually attach device, it indicate captured but no tick.
Removed filter: Trying to attach shows captured but no tick, can only remove from USB list by host and client restarts. Filter back in place, can capture and release when plugged in after client started, and detached by pulling out device but clicking on device to release causes it to stay in USB list.
Only one device shown in Device Manager (Extension pack installed)
When Moxa driver is installed, the following message is seen in Device Manager: Driver Failure: This device cannot start. (Code 10) {Operation Failed} The requested operation was unsuccessful.
USB2 test:
Dell Precision M6600
VirtualBox version: 4.3.40 r110317, 4.0.36 r104075, 6.1.12 r139181
Extension pack version: 4.3.40 r110317, 4.0.36 r104075, 6.1.12 r139181
Host: OS Name Microsoft Windows 7 Ultimate (64 bit)
Version 6.1.7601 Service Pack 1 Build 7601
VM: OS Name Microsoft Windows 7 Enterprise (32 bit)
Version 6.1.7601 Service Pack 1 Build 7601
Notes:
Filter applied, generally seemed to capture device and release if it was plugged in and unplugged after client has started, but would leave device in USB menu if it was selected to remove or manually add as noted above.
No VirtualBox extension pack installed, two devices are seen in device manager, but Moxa multiport device driver cannot start and the second device shows as unknown device.
Extension pack installed, only one device appears in device manager, but Moxa multiport driver cannot start.
Issues:
- Devices are not captured/released correctly, leaving the device stuck in the USB menu. Hovering over the device can say it it is captured but with no tick beside it, or released but still displaying in the menu even if the device has been unplugged.
- Removal of the stuck device from the USB menu requires the client and host operating systems to be shut down and restarted. The VBoxManage usbdevsource command has failed every time it has been tried.
- Moxa UPort 1150 will get captured using a filter, but the driver will not start and does not get presented as two devices. USB release issues as described above.
- Extension pack installation changes the presentation of the Moxa device to the client OS.
Are there any other logs or tests I can do to facilitate debugging these USB issues?
Regards
Ehbt