USB Device Causing VM's to Freeze - virtual-machine

USB Device Causing VM's to Freeze - Cannot Kill vmware-vmx.exe
The problem was described here - https://communities.vmware.com/thread/612551
but anyone has no answer for it.
Generally, the problem is like so:
launch vm
connect usb stick or usb phone cable
vm freezes
it is not possible to terminate vmware-vmx.exe process (even as a SYSTEM user with highest privs).
The issue occurs on vmware workstation 14 & 15 on Windows 10 Pro Build 1903
Also tried disabling windows defender (maybe some strange scan policy) but no results.
Tried also to change almost every setting in workstation but no results...
please help

I was facing exactly the same issue and I have finally found the solution.
Update to VMWare Workstation version 15.5. Update the VM Tools in the Guest operating System, and it works!! Tried with Android Devices, in USB Tethering Mode also.

Related

Unable to Scan Using Brother MFC-J480DW on a Specific Computer

I have a Brother MFC-J480DW All-in-One device connected to a Windows 10 computer via USB. At a certain point in time (there was no particular change that might do this that I'm aware of) the scanner feature in the device stopped working using the specific computer it's connected to. When I try to scan by clicking on 'Scan' on the device, it's stuck on "Connecting to PC...", and if I try to scan through the ControlCenter4 program - it just won't open (simply nothing happens whether I click on its EXE or open it through Brother Utilities).
It should be noted:
The problem is just with the scanner. In the same computer I can use this device to print without a problem.
I can scan with this device on other computers (for example on another computer with Windows 10)
I'm not aware of any USB issue in this computer
I tried to reinstall the drivers, I checked and its firmware is the latest, I tried to install the ControlCenter4 Update Tool, I tried to run ControlCenter4 as admin and tried to connect the device to other USB ports on the same computer, nothing changed anything so far.
Thank you
I managed to solve this by opening ControlCenter4 when the device was not connected, set it up and then connect the device and it scans successfully.

HoloLens device portal not available

When connecting HoloLens via USB to my computer, the device portal is still not available after setting it up as explained in the install tools page.
All I get in the browser 127.0.0.1:10080 is the generic "unable to connect" page.
Is there any way to know what is failing? What could I check? Any tip will be appreciated!
EDIT: browsers used: Edge, Firefox and Chrome.
EDIT2: Hololens development mode is on.
Connecting over USB requires the PC be running IPoverUSB, which is installed with the Windows 10 SDK. You can verify that it's running by checking the Services tab of Task Manager for IpOverUsbSvc.
FYI, another resolution to this issue may be the USB port you are using.
I initially was using a USB 3 port (which I've used to flash my HoloLens many times) and had the same issues.
On a whim, I switched to an older USB2 port and it's working perfectly now. SO try different USB ports if you are having this issue.

genymotion stays on black screen when loading emulator

When i start a new virtual device with genymotion sometimes it will get stuck on the black screen and not load. Sometimes it will work especially just after a restart, otherwise it will hang on the black screen and become unusable.
If the emulator freezes or crashes this is likely due to incompatability with your video card driver.
If however it just hangs on the black screen, this can be due to two reasons:
Your Firewall or other program is blocking genymotion
If this is likely the case then try disconnecting any vpn services or other software which could be hindering this, and ensuring that genymotion is able to connect to the virtual device over the local network.
If you have a firewall, make sure that you allowed connections to the Genymotion network, set to 192.168.56.0/24 by default.
Your network adaptor is misconfigured
If this is the case you should try the following
Run VirtualBox.
Open File > Preferences > Network (or VirtualBox > Preferences for Mac OS X).
Edit the Host-only Network by clicking .
Check that the adapter IPv4 address is in the same network (192.168.56.0/24 by default) as the DHCP server address, lower address bound and upper address bound. If not, your virtual device cannot start.
You can also remove the Host-only Network by clicking . Genymotion will automatically recreate it at the next virtual device start.
I had this problem in Windows 10 after I updated to VirtualBox 6.0.4 and Genymotion 3.0.1. I am using 2nd generation core i5 cpu (i5 2400). Update to this graphics card is not available. According to the official documentation:
Your graphics card no longer matches Genymotion requirements. Please see https://www.genymotion.com/help/desktop/faq/#supported-graphics-cards.
If you are using a dual graphics card laptop (e.g. Intel/Nvidia or Intel/AMD), make sure you are using the most recent/powerful one.
https://www.genymotion.com/help/desktop/faq/#virtual-device-window-empty
Only solution to my problem was keep the VirtualBox 6.0.4 but downgrade genymotion to 2.12.2 version because my graphics cards is no longer supported and only supported intel graphics card is intel hd graphics 4000 generation. Link to Genymotion 2.12.2 is below:
https://dl.genymotion.com/releases/genymotion-2.12.2/genymotion-2.12.2.exe
Following the below steps solved the issue for me.
Open Windows Settings > Network & Internet > Change adapter options
Right-click on VirtualBox Host-Only Ethernet Adapter
Select Disable
Right-click on the VirtualBox Host-Only Ethernet Adapter again and Select Enable
Press power button doesn't start until then they will stuck on android logo screen then restart
I had the same problem in Windows. updating the video card driver solved the issue.
Genymotion 3.0.1
VirtualBox 6.0.4
I solved the issue in 2 steps:
Check the Android API versions installed on your system from \SDK\platforms directory.
Create New AVD using available Android versions only.
You need to check 4 different things:
proxy connections to be off( Gennymotion/setting/Network)
SDK be set( Gennymotion/ABD/SDK)
Graphic card driver be successfully installed
Virtual box installed and working correctly
Try again please. hope you will fix it easily.

USB device detection problems: using Compact Flash card reader and QNX (Virtual Machine)

First of all, there's a similar thread on OpenQNX posted years ago but the solutions don't really apply for me.
Having said that, I want to create an OS image of QNX 6.6.0 to put on a Compact Flash card. This card is plugged in an USB adapter which is connected to my host pc. I'm running Neutrino in a VM (VMware/VirtualBox) for which I enabled USB support. Generally, the adapter works fine under Win (current host) and Linux.
The (apparently out-dated) tutorial I was following stated to search for devices named umass* or hd* after connecting the USB adapter. But there aren't any (except for hd0).
See also "ls /dev" screenshot.
The processes devb-umass and io-usb are running. So I expect that the adapter is detected automatically.
Any suggestions what went wrong?
OK, it seems that I had to restart the usb driver 'devb-umass' (several times). When the card reader is already plugged-in during the booting the driver will not detect it autoamtically. Thus one has to unplug and plug it in again after the devb-umass was getting re-started. It also might have been that the Host Controller Driver (HCD) was set to 'ohci' instead of 'ehci'.
Everything is working now as expected.
(Thanks Tim from the OpenQNX forum! ;) )

How to use USB over Remote Connection to a Virtual Machine

I'm trying to do mobile application development (BlackBerry, Android) on a virtual machine. My idea is that no matter what desktop I'm on I can open a remote connection to the virtual machine and have my mobile development environment ready. The problem is that I would like to deploy code to the mobile device as if it were physically connected to the virtual machine. Ideally the devices will be plugged in to the client machine that is creating the remote connection.
I'm currently using VMWare workstation to manage my virtual machines, I've done a bit of research to see what the best solution for connecting my usb devices over the network is.
There are a multitude of pricey USB over network solutions that may or may not work for what I'm trying, but I would like to avoid those. I would be interested in a free open source solution where both the usb host and usb client are windows machines. This is close to what I am looking for http://usbip.sourceforge.net/, but you can't host a device from Windows.
It appears that I may be able to do this with a Hyper-V VM and RemoteFX through Microsoft RDC, but I would like this to work on my existing VMWare VM.
The quickest solution I've found is a network usb hub that would allow me to connect the devices over the network, but this would force me to be attached to the hub which is a problem if more people come on my project.
Ideally I'm looking for an existing software solution to my problem. Any suggestions?
Also can anyone confirm this would work in Hyper-V using RemoteFX?
I would consider porting your VM over to VirtualBox from Sun (now Oracle) they have remote USB support out-of-the-box, and are very stable.
I've ported machines the other way (for work) and it's not difficult.