Why doesn't VirtualBox detect my Android device?

Using VirtualBox 4.2.12, I configured the Lubuntu 13.04 VM on the Windows 7 host. I defined a USB filter for my Galaxy S, but neither the VM nor VirtualBox detected it.

After searching the internet, I found a vboxmanage list usbhost that does not show my device. However adb devices lists the device, and I see it in Device Manager. All drivers on the host are updated.

It seems to me that if I can get VirtualBox to recognize the device, I should not have a problem getting the virtual machine. So why is VirtualBox not working?

+6
source share
2 answers

I have earned. There were a few things that I learned that might be helpful. First of all, I followed this guide .

VirtualBox is currently experiencing problems with USB 3 ports. Make sure your device is connected to USB 2 port. After I did this, my device was discovered using the vboxmanage list usbhost on my Windows host.

Unfortunately, this did not completely solve my problem. VirtualBox would list the phone in the Devices menu, and I could select it, but Lubuntu did not give me any indication that the device was connected. In fact, lsusb and adb devices were both empty. I ran dmesg and found this error message:

 [ 846.648000] usb 1-1: new high speed USB device using ehci_hcd and address 1 [ 846.675000] usb 1-1: device descriptor read/64, error -32 [ 846.884000] usb 1-1: device descriptor read/64, error -32 

I found the following thread and set this variable which solved my problem.

 echo Y | sudo tee /sys/module/usbcore/parameters/old_scheme_first 

EDIT I found that the problem occurred again during a reboot. After a lot of trial and error, I found that every time I start, I need to connect the Android device, then set the old_scheme_first variable, and then disconnect and reconnect the device before the VM recognizes it. This is an annoying process, so if anyone has an understanding, I would appreciate it. On the other hand, it is a virtual machine, so I don’t have to restart it often =)

+6
source

After that, you install the filter and start the virtual machine. Have you tried physically reconnecting the device?

+1
source

Source: https://habr.com/ru/post/946463/


All Articles