USB problems recognizing iPhone on Win10 guest on MacOS host: VERR_READ_ERROR

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
ktl
Posts: 1
Joined: 2. Jul 2019, 03:31

USB problems recognizing iPhone on Win10 guest on MacOS host: VERR_READ_ERROR

Post by ktl »

Hello,

I am trying to get my iPhone 7 recognized on a Win10 VM running on the latest MacOS 10.14.5 on a MacBookPro Late 2016 with USB-C ports.

This is so I can import my iPhone photos into a Windows photo management application, in case it matters. Is this actually supported?

When my Win10 VM is running and I connect the iPhone (with a filter in place), it momentarily switches back to the host OS and launches the Mac Photos application, which I assume means the filter is not grabbing the device, and the host OS is grabbing it instead.

When I close the Photos app and go back to the Win10 VM, I get the error "Failed to create a proxy device for the USB device. (Error: VERR_READ_ERROR)."

My configuration is Version 6.0.8 r130520 (Qt5.6.3) with VirtualBox extensions and Guest Additions installed. Host OS Mojave 10.14.5, client OS Win10 with the latest patches applied.

I have read the USB troubleshooting FAQ (twice, thank you socratis), restarted my laptop and then the Win10 VM, and captured the log file (attached). Any suggestions welcomed.

Code: Select all

VBoxManage list usbhost

Host USB Devices:

UUID:               45d3121b-dd3e-459c-b365-1bf34be03a75
VendorId:           0x05ac (05AC)
ProductId:          0x8600 (8600)
Revision:           1.1 (0101)
Port:               1
USB version/speed:  0/High
Manufacturer:       Apple Inc.
Product:            iBridge
Address:            p=0x8600;v=0x05ac;s=0x000000004196c471;l=0x14100000
Current State:      Busy

UUID:               8f91f432-1c36-4107-bd7f-f7a6541cce75
VendorId:           0x05ac (05AC)
ProductId:          0x12a8 (12A8)
Revision:           9.3 (0903)
Port:               5
USB version/speed:  0/High
Manufacturer:       Apple Inc.
Product:            iPhone
SerialNumber:       54106511ba13336a615e6396387db057e8022f0c
Address:            p=0x12a8;v=0x05ac;s=0x000002f1ce16d510;l=0x14500000
Current State:      Busy


VBoxManage list usbfilters
Global USB Device Filters:

<none>


VBoxManage showvminfo "Win10"
Name:                        Win10
Groups:                      /
Guest OS:                    Windows 10 (64-bit)
UUID:                        a3e783f2-910b-4392-9a5f-74952c50aeb9
Config file:                 /Users/mattharding/VirtualBox VMs/Win10/Win10.vbox
Snapshot folder:             /Users/mattharding/VirtualBox VMs/Win10/Snapshots
Log folder:                  /Users/mattharding/VirtualBox VMs/Win10/Logs
Hardware UUID:               a3e783f2-910b-4392-9a5f-74952c50aeb9
Memory size                  2048MB
Page Fusion:                 disabled
VRAM size:                   128MB
CPU exec cap:                100%
HPET:                        disabled
CPUProfile:                  host
Chipset:                     piix3
Firmware:                    BIOS
Number of CPUs:              1
PAE:                         disabled
Long Mode:                   enabled
Triple Fault Reset:          disabled
APIC:                        enabled
X2APIC:                      disabled
Nested VT-x/AMD-V:           disabled
CPUID Portability Level:     0
CPUID overrides:             None
Boot menu mode:              message and menu
Boot Device 1:               Floppy
Boot Device 2:               DVD
Boot Device 3:               HardDisk
Boot Device 4:               Not Assigned
ACPI:                        enabled
IOAPIC:                      enabled
BIOS APIC mode:              APIC
Time offset:                 0ms
RTC:                         local time
Hardw. virt.ext:             enabled
Nested Paging:               enabled
Large Pages:                 enabled
VT-x VPID:                   enabled
VT-x unr. exec.:             enabled
Paravirt. Provider:          Default
Effective Paravirt. Prov.:   HyperV
State:                       powered off (since 2019-07-02T01:39:52.830000000)
Monitor count:               1
3D Acceleration:             disabled
2D Video Acceleration:       disabled
Teleporter Enabled:          disabled
Teleporter Port:             0
Teleporter Address:          
Teleporter Password:         
Tracing Enabled:             disabled
Allow Tracing to Access VM:  disabled
Tracing Configuration:       
Autostart Enabled:           disabled
Autostart Delay:             0
Default Frontend:            
Storage Controller Name (0):            SATA
Storage Controller Type (0):            IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  30
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
SATA (0, 0): /Users/mattharding/VirtualBox VMs/Win10/Win10.vdi (UUID: 0249e0c6-970f-40a1-9771-a108b7b00673)
SATA (1, 0): /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso (UUID: b6b362f5-2895-4a50-a03c-ac8e186b766d)
NIC 1:                       MAC: 080027ACD9AE, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2:                       disabled
NIC 3:                       disabled
NIC 4:                       disabled
NIC 5:                       disabled
NIC 6:                       disabled
NIC 7:                       disabled
NIC 8:                       disabled
Pointing Device:             USB Tablet
Keyboard Device:             PS/2 Keyboard
UART 1:                      disabled
UART 2:                      disabled
UART 3:                      disabled
UART 4:                      disabled
LPT 1:                       disabled
LPT 2:                       disabled
Audio:                       enabled (Driver: CoreAudio, Controller: HDA, Codec: STAC9221)
Audio playback:              enabled
Audio capture:               enabled
Clipboard Mode:              Bidirectional
Drag and drop Mode:          Bidirectional
VRDE:                        disabled
OHCI USB:                    disabled
EHCI USB:                    disabled
xHCI USB:                    enabled

USB Device Filters:

Index:                       0
Active:                      yes
Name:                        Apple Inc. iPhone [0903]
VendorId:                    05ac
ProductId:                   12a8
Revision:                    
Manufacturer:                
Product:                     
Remote:                      0
Serial Number:               

Bandwidth groups:  <none>

Shared folders:

Name: 'Desktop', Host path: '/Users/mattharding/Desktop' (machine mapping), writable, auto-mount

Capturing:                   not active
Capture audio:               not active
Capture screens:             0
Capture file:                /Users/mattharding/VirtualBox VMs/Win10/Win10.webm
Capture dimensions:          1024x768
Capture rate:                512kbps
Capture FPS:                 25kbps
Capture options:             ac_enabled=false

Guest:

Configured memory balloon size: 0MB
Interestingly, "VBoxManage list usbfilters" shows I have no filters, but I do have one listed in the GUI. Could this be the source of my problem? Also, do I need to grab the iBridge as well? (I see no mention of it anywhere).

Thank you everyone.

Regards,
Matthew
Attachments
Win10-2019-07-01-21-03-02.log.zip
(31 KiB) Downloaded 35 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: USB problems recognizing iPhone on Win10 guest on MacOS host: VERR_READ_ERROR

Post by socratis »

ktl wrote:Interestingly, "VBoxManage list usbfilters" shows I have no filters, but I do have one listed in the GUI
That command shows the global filters, not the per-VM filter that you see in the GUI. And before you ask, no, there's no GUI for a global filter.
ktl wrote:Also, do I need to grab the iBridge as well? (I see no mention of it anywhere)
If you grab the iBridge (if in fact you can), I'm pretty sure that you're going to lose keyboard, mouse, Bluetooth and who knows what else. Just take a look at the System Information » USB, what's attached under the iBridge. But as I said, I'm not even sure that you can grab it at all.
ktl wrote:it momentarily switches back to the host OS and launches the Mac Photos application
How about telling Photos to not launch every time that iPhone is connected? It's right there on the top of the window. That would be the first thing I'd try.

If you look at the log, your iPhone *is* captured by the VM, 2 seconds after you get the error (maybe the time to click on the error dialog?):
00:01:23.773637 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005)
        aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap}
        aText={Failed to create a proxy device for the USB device. (Error:
        VERR_READ_ERROR)}, preserve=false aResultDetail=-111
00:01:25.287877 VUSB: Attached '00007ff26b1de2d0[proxy 05ac:12a8]' to port 2 on RootHub#1 (HighSpeed)
05ac:12a8 is the code (VendorID:ProductID) for your iPhone. You can't see the iPhone in the guest? And I'm not talking about your specific software, I'm talking with more basic tools, like the ones described in USB basics and troubleshooting » #7: Troubleshooting » Part 4.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply