Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iPhone Fails to Connect to Win11 VM
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 757

PostPosted: Mon Aug 19, 2024 4:30 pm    Post subject: iPhone Fails to Connect to Win11 VM Reply with quote

iPhone Fails to Connect to Win11 VM


I can no longer connect my iPhone to iTunes running in a Win11 VM on my Linux system. I did try re-emergeing all four VirtualBox packages. I am currently running:

Code:
$ equery list virtualbox*
 * Searching for virtualbox* ...
[IP-] [  ] app-emulation/virtualbox-7.0.20:0/7.0
[IP-] [  ] app-emulation/virtualbox-additions-7.0.20:0/7.0
[IP-] [  ] app-emulation/virtualbox-extpack-oracle-7.0.20:0/7.0
[IP-] [  ] app-emulation/virtualbox-modules-7.0.20:0/7.0


and kernel: 6.10.5-gentoo

This did work two months ago when I last backed up my iPhone. (I have been backing up my IPhone for years doing this and have "restored" to a new IPhone also.)

Here is what happens:

1. Launch iTunes in my Win11 Virtualbox VM on my Gentoo system.

2. Plugn my iPhone to the host Gentoo box.

3. I receive error messages both on the Linux host and Win11 VM

Here are the messages that I get in the Gentoo host syslog:

Code:
 kernel: usb 1-10.1: new high-speed USB device number 71 using xhci_hcd
 mtp-probe[687818]: checking bus 1, device 71: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10.1"
 mtp-probe[687818]: bus: 1, device: 71 was not an MTP device
 usbmuxd[687832]: [2] Switching device 1-71 mode to 3
 mtp-probe[687835]: checking bus 1, device 71: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10.1"
 mtp-probe[687835]: bus: 1, device: 71 was not an MTP device
 usbmuxd[687832]: [2] Cannot find device entry while removing USB device 0x56348ff11460 on location 0x10047
 usbmuxd[687832]: [2] Cannot find device entry while removing USB device 0x56348ff11460 on location 0x10047
 kernel: usb 1-10.1: USB disconnect, device number 71

 kernel: usb 1-10.1: new high-speed USB device number 72 using xhci_hcd
 mtp-probe[687869]: checking bus 1, device 72: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10.1"
 mtp-probe[687869]: bus: 1, device: 72 was not an MTP device
 usbmuxd[687883]: [2] Skipping switch device 1-72 mode from 3 to 3
 mtp-probe[687887]: checking bus 1, device 72: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10.1"
 mtp-probe[687887]: bus: 1, device: 72 was not an MTP device
 kernel: usb 1-10.1: reset high-speed USB device number 72 using xhci_hcd
 kernel: usb 1-10.1: device firmware changed
 kernel: usb 1-10.1: USB disconnect, device number 72

 kernel: usb 1-10.1: new high-speed USB device number 73 using xhci_hcd
...


4. Here is a link to a screen shot from the Win11 VM with the Windows errors on the right.
https://pasteboard.co/YkXuMvgkscjd.png

I receive a new error message every second or so untill I disconnect the iPhone from the Gentoo host.

Any ideas on getting this iPhone connection working again?
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1957
Location: 127.0.0.1

PostPosted: Tue Aug 20, 2024 8:40 am    Post subject: Reply with quote

Hi,

jagdpanther wrote:

This did work two months ago when I last backed up my iPhone.

Do you have app-pda/libimobiledevice installed ? Do you use it to connect your device ? (I do not know Iphone stuff)
A new version was stabilized some weeks ago, and this bug suggests that there may be a problem with the newest version ?
I would try to downgrade it.
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 757

PostPosted: Tue Aug 20, 2024 9:23 pm    Post subject: Reply with quote

Quote:

Do you have app-pda/libimobiledevice installed ? Do you use it to connect your device ?


No. All functions to backup and restore the iPhone are via the Windows iTunes application running in my Windows 11 VM.
Back to top
View user's profile Send private message
spica
Guru
Guru


Joined: 04 Jun 2021
Posts: 330

PostPosted: Wed Aug 21, 2024 1:10 pm    Post subject: Reply with quote

As far as I remember, there is some specific thing related to the type of usb.

The bare VirtualBox supports USB1 (or USB2 too – I do not remember),
but bare VirtualBox 100% does not support USB3. If VB was updated then it can be the case.
In logs we see xhci – this is USB3.

Try to use USB2 ports (if present on board), it may be needed to reconfigure usb ports in VB again.
Try to find what is needed to be installed on both VB and Guest (Win) systems to make USB3 passed succesfully.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2730
Location: Here and Away Again

PostPosted: Wed Aug 21, 2024 7:00 pm    Post subject: Reply with quote

spica wrote:
As far as I remember, there is some specific thing related to the type of usb.

The bare VirtualBox supports USB1 (or USB2 too – I do not remember),
but bare VirtualBox 100% does not support USB3. If VB was updated then it can be the case.
In logs we see xhci – this is USB3.

Try to use USB2 ports (if present on board), it may be needed to reconfigure usb ports in VB again.
Try to find what is needed to be installed on both VB and Guest (Win) systems to make USB3 passed succesfully.

I had to use VirtualBox for a project somewhat recently (after last having used it several years ago), and I, too, thought this was the case in a corporate setting, where it would require licenses due to requiring the Extension Pack. Outside of business limitations and all that, however, I suppose the support has been there at least for some time, via said pack?

During that project however, I noticed that since VirtualBox 7.0.0 (released 2022-10-10), "The EHCI and XHCI USB controller devices are now part of the open source base package" [1], so it should be there by default.

As for the issue at hand, I had a weird issue with 'gphoto2' not finding a driver for an android device suddenly, though I don't think I changed anything related. After a while, it just started working again, but I have no clue why... and could have been caused by something completely different especially considering I did manage to get some of the other MTP solutions working at least to some extent.

1. https://www.virtualbox.org/wiki/Changelog
_________________
Kindest of regardses.


Last edited by Chiitoo on Thu Aug 22, 2024 3:37 am; edited 1 time in total
Back to top
View user's profile Send private message
jagdpanther
l33t
l33t


Joined: 22 Nov 2003
Posts: 757

PostPosted: Wed Aug 21, 2024 10:08 pm    Post subject: Reply with quote

Quote:
Try to use USB2 ports (if present on board), it may be needed to reconfigure usb ports in VB again.
Try to find what is needed to be installed on both VB and Guest (Win) systems to make USB3 passed succesfully.


In the VM's configuration I have usb set to USB3. I did try shutting down the VM and switching the configuration to use USB2 (and then USB1.1) I still receive the same error. Thanks for the suggestion.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum