Sync Iphone in Windows XP running as Virtualbox guest under Ubuntu 9.10

Here is how I got it to work:

First, I followed the instructions on this page: https://help.ubuntu.com/community/VirtualBox/USB

This included adding a line to /etc/fstab and a couple lines to /etc/udev/rules.d/40-basic-permissions.rules . Nothing seemed to change, Itunes was still ignoring my Iphone.

Curious if the device was even being registered by Windows, I went into the Device Manager in XP. There was an unknown USB device with a question mark. I went in to the properties for the unknown USB device, did a reinstall drivers action, allowing Windows to search for drivers online. In about 10 seconds the Iphone was recognized, drivers loaded, and Itunes saw the device.

I was able to sync, even upgrade to the latest firmware. Here's a tip, set a USB device filter in VirtualBox that just limits it to devices with a Manufacturer of "Apple Inc." I had an issue with doing a restore because during the restore, the device appears slightly differently to the computer, and if you don't have the proper filters set up, the device will not appear to the guest OS automatically since the host OS sees it as a different device. That's why the best option is just to tell it to send all Apple USB devices through.


Try this:

From a terminal run the following command:

  1. Add yourself to the vboxusers group if not already there: -

    if [ "`grep vboxusers /etc/group|grep $USER`" == "" ] ;   
    then sudo usermod -G vboxusers -a $USER ; fi
    

This works for Karmic 9.10 Host and Windows XP Guest

From a terminal run the following command:

  1. This will check for your vbox user id which you'll need for the next steps. This will display a line that looks a bit like this: vboxusers:x:123:myself 123 is the user id of your machine you're looking for

    grep vbox /etc/group
    
  2. This will edit your FSTAB File

     sudo gedit /etc/fstab
    
  3. Add the following line to the bottom of the fstab file: Replace userid with the number displayed from step 1.

     none /proc/bus/usb usbfs devgid=userid,devmode=664 0 0 
    

Example: none /proc/bus/usb usbfs devig=123,devmod=664 0 0

  1. Reboot Ubuntu 9.10

  2. Once logged into Ubuntu 9.10 start VirtualBox (Don't power on a guest OS yet)

  3. Click Settings from the VirtualBox main page for the Windows XP Guest OS

  4. Click the System tab on the left side of screen

    • Enable IO APIC is needs to be selected
  5. Click the USB tab on the left side of screen

    • Enable USB Controller and Enable USB 2.0 (EHCI) Controller need to be selected
    • Your USB device should be recognized and ticked in the lower screen. If not, press the 'add' button (to the far right, 2nd one with the green cross) and add it.
  6. Power on your Guest OS and USB should work

From Set up USB for Virtualbox at the Ubuntu forums.