I have MacOS Catalina running in VirtualBox on an Ubuntu Host. I've set up USB pass through for the iPhone.
When I plug in the iPhone it keeps trying to connect to the Host and failing. The iPhone vibrates on and off, usually in pulses of 3, and the Trust Computer dialogue on the iPhone briefly appears then disappears continuously. I suspect that it is failing to connect to the Guest and gets stuck in an infinite loop attempting to connect to the Host and Guest in turn.
While it's doing this the Device number for the iPhone in the host, as displayed by lsusb, will be constantly changing.
I've tried USB 1, 2, & 3 with no luck.
Same iPhone can connect to Windows Guest, and other USB devices can connect to Guest Catalina just fine.
I'm using: Ubuntu 16.04 host Virtual Box 6.1 with Extension pack Catalina Guest with Guest additions iPhone 7
VBox.log:
00:29:22.384244 usb-linux: Reset failed, rc=Not supported. errno=19.
00:29:22.384304 usb-linux: Reset failed, rc=Not supported. errno=19.
00:29:22.396584 usb-linux: Reset failed, rc=Not supported. errno=19.
00:29:22.399738 VUSB: Detached '00007f549c1c4af0[proxy 05ac:12a8]' from port 3 on RootHub#0
00:29:23.161507 VUSB: Disabled '00007f549c1c4af0[proxy 05ac:12a8]' remote wakeup for configuration 0
00:29:23.161536 VUSB: Disabled '00007f549c1c4af0[proxy 05ac:12a8]' remote wakeup for configuration 1
00:29:23.161538 VUSB: Disabled '00007f549c1c4af0[proxy 05ac:12a8]' remote wakeup for configuration 2
00:29:23.161539 VUSB: Disabled '00007f549c1c4af0[proxy 05ac:12a8]' remote wakeup for configuration 3
00:29:23.179012 VUSB: Attached '00007f549c1c4af0[proxy 05ac:12a8]' to port 3 on RootHub#0 (HighSpeed)
00:29:24.821059 VUSB: Detached '00007f549c1c4af0[proxy 05ac:12a8]' from port 3 on RootHub#0
00:29:25.951225 VUSB: Disabled '00007f549c1c4af0[proxy 05ac:12a8]' remote wakeup for configuration 0
00:29:25.951237 VUSB: Disabled '00007f549c1c4af0[proxy 05ac:12a8]' remote wakeup for configuration 1
00:29:25.951239 VUSB: Disabled '00007f549c1c4af0[proxy 05ac:12a8]' remote wakeup for configuration 2
00:29:25.951241 VUSB: Disabled '00007f549c1c4af0[proxy 05ac:12a8]' remote wakeup for configuration 3
00:29:25.951242 VUSB: Disabled '00007f549c1c4af0[proxy 05ac:12a8]' remote wakeup for configuration 4
00:29:25.971921 VUSB: Attached '00007f549c1c4af0[proxy 05ac:12a8]' to port 3 on RootHub#0 (HighSpeed)
00:29:26.372378 usb-linux: Reset failed, rc=Not supported. errno=19.
00:29:26.372512 usb-linux: Reset failed, rc=Not supported. errno=19.
00:29:26.384050 VUSB: Detached '00007f549c1c4af0[proxy 05ac:12a8]' from port 3 on RootHub#0
00:29:27.160467 VUSB: Disabled '00007f549c1c4af0[proxy 05ac:12a8]' remote wakeup for configuration 0
00:29:27.160504 VUSB: Disabled '00007f549c1c4af0[proxy 05ac:12a8]' remote wakeup for configuration 1
00:29:27.160507 VUSB: Disabled '00007f549c1c4af0[proxy 05ac:12a8]' remote wakeup for configuration 2
00:29:27.160518 VUSB: Disabled '00007f549c1c4af0[proxy 05ac:12a8]' remote wakeup for configuration 3
00:29:27.188315 VUSB: Attached '00007f549c1c4af0[proxy 05ac:12a8]' to port 3 on RootHub#0 (HighSpeed)
00:29:28.871512 VUSB: Detached '00007f549c1c4af0[proxy 05ac:12a8]' from port 3 on RootHub#0