VM doesn't detect USB (Iphone)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
satimis
Posts: 506
Joined: 12. Jun 2007, 03:41

VM doesn't detect USB (Iphone)

Post by satimis »

Hi all,

Host Ubuntu 14.04
Guest Ubuntu 14.04
Oracle VBox

VM is unable to detect USB which is connected to Iphone. Following document can't work;
My iPhone USB Is Not Connecting to Virtualbox
http://www.ehow.com/info_12197214_iphon ... albox.html

Iphone is not shown up on "device"

Please help. Thanks

Regards
satimis
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: VM doesn't detect USB (Iphone)

Post by loukingjr »

Assuming you followed the tutorial correctly it should work. Does your iPhone show up in the host? It certainly can't show up in the guest if not.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
satimis
Posts: 506
Joined: 12. Jun 2007, 03:41

Re: VM doesn't detect USB (Iphone)

Post by satimis »

loukingjr wrote:Assuming you followed the tutorial correctly it should work. Does your iPhone show up in the host? It certainly can't show up in the guest if not.
Hi,

Iphone is shown up on Host.

I tried to download and reinstall the "Extension pack" on;
http://download.virtualbox.org/virtualb ... ox-extpack

It popup saying "A newer version is running"
-> Cancel

Regards
satimis
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: VM doesn't detect USB (Iphone)

Post by loukingjr »

Did you add your user name to vboxusers on your host as it said to? if not, run…

Code: Select all

sudo adduser <yourusername> vboxusers
then reboot your computer.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
satimis
Posts: 506
Joined: 12. Jun 2007, 03:41

Re: VM doesn't detect USB (Iphone)

Post by satimis »

loukingjr wrote:Did you add your user name to vboxusers on your host as it said to? if not, run…

Code: Select all

sudo adduser <yourusername> vboxusers
then reboot your computer.
Hi,

On host terminal?

On host terminal
⟫ cat /etc/group | grep vboxusers

Code: Select all

vboxusers:x:126:
satimis
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: VM doesn't detect USB (Iphone)

Post by loukingjr »

From the tutorial…
If you're using Ubuntu, you'll need to go one step further and add your user account to the "vboxusers" group. Open the System Settings from the launcher, then go to "Users and Groups." Once there, click "Manage Groups." Reboot your system.
or yes, from the host terminal.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
satimis
Posts: 506
Joined: 12. Jun 2007, 03:41

Re: VM doesn't detect USB (Iphone)

Post by satimis »

loukingjr wrote:From the tutorial…
If you're using Ubuntu, you'll need to go one step further and add your user account to the "vboxusers" group. Open the System Settings from the launcher, then go to "Users and Groups." Once there, click "Manage Groups." Reboot your system.
I couldn't find "Users and Groups" on Settings.

Where is it? Thanks

satimis
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: VM doesn't detect USB (Iphone)

Post by loukingjr »

Not a VirtualBox question. Ask in the Ubuntu forums. Or use the command in the Terminal. :roll:
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
BL076
Posts: 3
Joined: 31. Jul 2015, 06:12

Re: VM doesn't detect USB (Iphone)

Post by BL076 »

I am experiencing the same behavior as well.

Host machine is running Oracle Linux 6.7 (running up to date against the public Oracle Linux 6 repo), with guest machine running Microsoft Windows 7.

Yesterday I uninstalled Virtual Box 4.3.30 r101610 and installed Virtual Box 5.0.0 r101573. Then I installed the Extension Pack before booting up the Windows 7 guest and upgrading the Virtual Box Guest Additions to 5.0.0 r101573.

Previously, under Virtual Box 4.3.30 r101610, my iPhone 6 (running iOS 8.4) appeared as a USB device that I could attach to the Windows 7 Guest VM.

However under Virtual Box 5.0.0 r101573 the iPhone does not appear in the list of connected USB devices - even though my host OS (Oracle Linux 6.7) recognizes the phone and mounts it as a hard drive.

I have verified that my user account appears in the vboxusers group.
BL076
Posts: 3
Joined: 31. Jul 2015, 06:12

Re: VM doesn't detect USB (Iphone)

Post by BL076 »

BL076 wrote:I am experiencing the same behavior as well.

Host machine is running Oracle Linux 6.7 (running up to date against the public Oracle Linux 6 repo), with guest machine running Microsoft Windows 7.

Yesterday I uninstalled Virtual Box 4.3.30 r101610 and installed Virtual Box 5.0.0 r101573. Then I installed the Extension Pack before booting up the Windows 7 guest and upgrading the Virtual Box Guest Additions to 5.0.0 r101573.

Previously, under Virtual Box 4.3.30 r101610, my iPhone 6 (running iOS 8.4) appeared as a USB device that I could attach to the Windows 7 Guest VM.

However under Virtual Box 5.0.0 r101573 the iPhone does not appear in the list of connected USB devices - even though my host OS (Oracle Linux 6.7) recognizes the phone and mounts it as a hard drive.

I have verified that my user account appears in the vboxusers group.
Update: I believe I fixed the problem by performing the following:
1. I uninstalled Virtual Box 5.0.0 r101573
2. I deleted the vboxusers group.
3. Rebooted the Linux Host.
4. Created the "vboxusers" group.
5. Installed Virtual Box 5.0.0 r101573
6. Installed the Extension Pack.
7. Added my user account to the "vboxusers" group.
8. Rebooted the Linux Host again.

After performing the above steps, Virtual Box 5.0.0 r101573 now (at least so far) appears to see my iPhone. We'll see if it lasts.

My assumption is that there was something wrong in the initial installation (specifically the kernel dkms updates - maybe because I uninstalled the old version of Virtual Box in the same yum transaction???), that resulted in the usb functionality not working. But completely removing Virtual Box and the "vboxusers" group, I returned my host to a somewhat "clean" state and the new installation of Virtual Box 5.0 resulted in a good kernel dkms update. Just the theory I'm operating under at this point.

I hope this helps someone!
Post Reply