and windows fails to install the driver.
VirtualBox thinks the USB device is attached to the VM but things just don't seem to work.
It's not until I unplug the iPhone does the windows VM think the drivers should be installed, at which time they promptly fail, because it's unplugged.
I have tried plugging in to a USB Hub and a MoBo based USB port.

Any suggestions?_________________...Lyall

Last edited by lyallp on Mon Apr 09, 2012 9:44 am; edited 1 time in total

I had this working before (virtualbox-bin though back then; and there are a number of permissions to do afaik). The guest was Windows XP. I was too afraid to update my iPhone to a new version this way but I did at least sync properly. Also adding in that my iPhone 4 is jailbroken (at the time was 4.1; now is 5.0.1).

Try using VirtualBox as root and see if the problem goes away. If it does, then it's permissions. Do not continue using VirtualBox as root.

Suggestions:
Do you have a Mac? If so, use it (this is what I do, too much pain to do otherwise).

Do you have a Windows box? If so, use it.

Is your iPhone old enough to support libgpod? Then use that (with an app like Clementine or Amarok2). There's a tool in Cydia (Checkpwn) now that will modify certain files on supported devices that don't work out of the box (iPhone 4 is not one of them). However, this requires that you sync with an iTunes library after installation to make sure it works. You have to revert the change if it doesn't as iTunes will no longer recognise your iPhone if you don't.

Do you need to back up apps for possible reinstallation later? `emerge libimobiledevice` and use ideviceinstaller (if you are on iOS 4.x; it has not yet worked for me on iOS 5.0.1 and it seems to have no recent development). Install new apps via the App Store only.

Wierdly enough. My laptop at work, is also Gentoo amd64 and I run my work Windows 7 x64 environment in a VirtualBox VM hosted on Gentoo.
I can plug the iPhone 4s into a USB hub on that machine, I even did a successful IOS Upgrade and also a restore using the VM.
My problem is at home.
I am on leave at this time so I can't quote the kernel version number but it is older than my home machine.
At home, the Guest OS in VB is Win7 x64, I tried an older Win XP, both currently fail, I suspect to due to the error in the GNU/Linux Host.
The reason I want this to work is I rarely boot to windows, and whilst windows is MUCH faster in scanning my audiobook collection (gotta love podiobooks) I can't use it whilst I am using GNU/Linux.
So, there must be something wrong with my home computer, because I know it works _________________...Lyall

Same problem here. I did this http://en.gentoo-wiki.com/wiki/VirtualBox#USB_Devices_Grayed_Out, which did not seem to help. There was random behavior with the driver installation in my Win XP guest, though Windows now reports that the device is working (via device manager) and the drivers are seemingly installed. Still, dmesg gets flooded with the -22 errors.

Same problem here. I did this http://en.gentoo-wiki.com/wiki/VirtualBox#USB_Devices_Grayed_Out, which did not seem to help. There was random behavior with the driver installation in my Win XP guest, though Windows now reports that the device is working (via device manager) and the drivers are seemingly installed. Still, dmesg gets flooded with the -22 errors.

The Shuffle works fine with libgpod etc., I was just seeing if this was iPhone specific.

I tried installing virtualbox-bin rather than the locally compiled one, and now both my iDevices worked magically, the -22 errors gone. I have no special entries in fstab, and I'm not in the plugdev group.

Bug? I have a vague recollection of this same problem a year or two ago, though I don't recall the resolution.

Pity it's still happening kernel 3.2.12.
I was hoping I would not have to re-boot to windows to use iTunes on my phone.
I found this page which suggests there is a patch out there.
I am going to try re-compiling my kernel with the following line changed in /usr/src/linux/drivers/usb/core/urb.c

I also had the same "usbfs: usb_submit_urb returned -22 / BOGUS urb flags, 1 --> 0" error messages from the kernel and the USB devices not appearing in the Windows Guest even though "VBoxManage list usbhost" claimed they had been "Current State: Captured".

I tried
- disabling usbfs which is deprecated but still seems to be on by default in vanilla kernels (didn't change anything)
- upgrading the kernel from 3.3.6 to 3.4.0-rc7 (and then today to 3.4.0-final)

After upgrading the kernel to 3.4, the USB devices suddenly appeared in the Guest.

While both the USB Stick and the USB License Dongle seem to work fine in the guest and a USB Mass Storage Device I had attached to the Linux Host also worked fine, I'm slightly concerned about those crashes in the usb driver though. Especially since they occur every second and do generate quite a lot of log activity

A real fix for this that doesn't involve a driver-crash every second would be nice...