Page 1 of 1

[Resolved] Help with portable USB Drive: Mac Host / Windows 10 Guest

Posted: 12. Oct 2018, 21:47
by kmorgan
I'm trying to get a portable USB drive setup to move large quantities of image data between my mac (Host) and the windows VM to use with software that will only run on Windows. I have read through all the very detailed posts on the general advice Topic "USB basics and troubleshooting" but am still having no luck. Below is a general description of my issue ("USB Device not recognized") as well as all of the requested details from the troubleshooting step #8 ask for help. Thanks in advance for any additional advice.

VirtualBox Version 5.2.18 r124319 (Qt5.6.3)
Host: macOS 10.13.6 (17G65)
Guest: Windows 10 Home Version 1803 Installed on 9/13/18 OS Build 1734.345

The USB device is a Samsung Portable SSD T5 drive - connected directly to one of my Mac's four USB-C ports via a usb-c to usb-c cable. It is being captured by my Guest (Windows) but I get the following error in windows: "USB Device not recognized." When I go to the device manager in Windows under Universal Serial Bus Controllers there are three choices
Intel USB 3.0 extensible host controller- 1.0 (Microsoft)
Unknown USB Device (Invalid Device Descriptor)
USB Root Hub (USB 3.0)

If I look at the properties for the Unknown USB Device. It says under status "Windows has stopped this device because it has reported problems. (Code 43) The USB device returned an invalid USB device descriptor."

If I shut down the Windows VM in order to do the steps recommended in the general troubleshooting (see below) the Drive gets captured back to my Mac (Host) and I can see the drive and look at its properties to see that it is formatted ExFat and should be usable with Windows (full property info as reported by Mac also listed below). Additionally, it seems important to note that I have successfully connected a different drive (Seagate) to my Windows (Guest) without these issues.

Lastly I have attached the zipped log from a cold_start / login / plug_USB / unplug_USB / complete_shutdown cycle as requested in Steps from #8: Asking for help.
Windows10-64bit-2018-10-12-15-21-00.log.zip
Requested log file a cold_start / login / plug_USB / unplug_USB / complete_shutdown cycle
(25.69 KiB) Downloaded 175 times
Here are the results from the VBOxManage commands:

Code: Select all

KM-Imago-MBP:~ karenmorgan$ VBoxManage -version
5.2.18r124319

Code: Select all

KM-Imago-MBP:~ karenmorgan$ VBoxManage list extpacks
Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      5.2.18
Revision:     124319
Edition:      
Description:  USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module:  VBoxVRDP
Usable:       true 
Why unusable: 

Code: Select all

KM-Imago-MBP:~ karenmorgan$ VBoxManage list usbhost
Host USB Devices:

UUID:               0bb2c783-5eb8-4546-88a6-a69002dace67
VendorId:           0x05ac (05AC)
ProductId:          0x8600 (8600)
Revision:           1.1 (0101)
Port:               2
USB version/speed:  0/High
Manufacturer:       Apple Inc.
Product:            iBridge
Address:            p=0x8600;v=0x05ac;s=0x0002c5ff995383a5;l=0x14200000
Current State:      Busy

UUID:               4a7dec95-33e8-4239-8265-5cf060615e29
VendorId:           0x04e8 (04E8)
ProductId:          0x61f5 (61F5)
Revision:           1.0 (0100)
Port:               2
USB version/speed:  0/Full
Manufacturer:       Samsung
Product:            Portable SSD T5
SerialNumber:       1234567B55F6
Address:            p=0x61f5;v=0x04e8;s=0x0002df43bb863da5;l=0x01200000
Current State:      Available

UUID:               1c3a634e-1ad1-49ef-9574-b6ac46e0095f
VendorId:           0x0451 (0451)
ProductId:          0x3421 (3421)
Revision:           1.0 (0100)
Port:               3
USB version/speed:  0/Full
Manufacturer:       Texas Instruments Inc.
Product:            Texas Instruments USB Billboard Device
SerialNumber:       54FF5C69C8883218
Address:            p=0x3421;v=0x0451;s=0x0001f4701b8eb372;l=0x14130000
Current State:      Busy

Code: Select all

KM-Imago-MBP:~ karenmorgan$ VBoxManage list usbfilters
Global USB Device Filters:

<none>

Code: Select all

KM-Imago-MBP:~ karenmorgan$ VBoxManage showvminfo "Windows10-64bit"
Name:            Windows10-64bit
Groups:          /
Guest OS:        Windows 10 (64-bit)
UUID:            f6bf852b-c1d2-45cf-9c87-2327e76a6640
Config file:     /Users/karenmorgan/VirtualBox VMs/Windows10-64bit/Windows10-64bit.vbox
Snapshot folder: /Users/karenmorgan/VirtualBox VMs/Windows10-64bit/Snapshots
Log folder:      /Users/karenmorgan/VirtualBox VMs/Windows10-64bit/Logs
Hardware UUID:   f6bf852b-c1d2-45cf-9c87-2327e76a6640
Memory size:     2048MB
Page Fusion:     off
VRAM size:       128MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  1
PAE:             off
Long Mode:       on
Triple Fault Reset: off
APIC:            on
X2APIC:          off
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:            on
IOAPIC:          on
BIOS APIC mode:  APIC
Time offset:     0ms
RTC:             local time
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
VT-x unr. exec.: on
Paravirt. Provider: Default
Effective Paravirt. Provider: HyperV
State:           powered off (since 2018-10-12T19:00:33.501000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address: 
Teleporter Password: 
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration: 
Autostart Enabled: off
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/karenmorgan/VirtualBox VMs/Windows10-64bit/Windows10-64bit.vdi (UUID: c763ece2-7a6d-41b7-a9e6-9ca6be0e681f)
SATA (1, 0): Empty
NIC 1:           MAC: 0800275F72FB, 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:  disabled
Audio capture: enabled
Clipboard Mode:  Bidirectional
Drag and drop Mode: disabled
VRDE:            disabled
USB:             disabled
EHCI:            disabled
XHCI:            enabled

USB Device Filters:

Index:            0
Active:           yes
Name:             Seagate
VendorId:         
ProductId:        
Revision:         
Manufacturer:     Seagate
Product:          
Remote:           
Serial Number:    

Index:            1
Active:           yes
Name:             Samsung Portable SSD T5 [0100]
VendorId:         04e8
ProductId:        61f5
Revision:         
Manufacturer:     
Product:          
Remote:           
Serial Number:    

Bandwidth groups:  <none>

Shared folders:  

Name: 'VirtualBoxShared', Host path: '/Users/karenmorgan/Documents/VirtualBoxShared' (machine mapping), writable

Capturing:          not active
Capture audio:      not active
Capture screens:    0
Capture file:       /Users/karenmorgan/VirtualBox VMs/Windows10-64bit/Windows10-64bit.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25
Capture options:    ac_enabled=false

Guest:

Configured memory balloon size:      0 MB
--- Info from my Mac (Host) about the drive when looking at USB info from my Mac after Windows has been shut down ---

Code: Select all

Portable SSD T5:

  Product ID:	0x61f5
  Vendor ID:	0x04e8  (Samsung Electronics Co., Ltd.)
  Version:	1.00
  Serial Number:	1234567B55F6
  Speed:	Up to 10 Gb/sec
  Manufacturer:	Samsung
  Location ID:	0x01200000 / 36
  Current Available (mA):	500
  Current Required (mA):	896
  Extra Operating Current (mA):	0
  Media:
Portable SSD T5:
  Capacity:	2 TB (2,000,398,934,016 bytes)
  Removable Media:	No
  BSD Name:	disk2
  Logical Unit:	0
  Partition Map Type:	MBR (Master Boot Record)
  USB Interface:	0
  Volumes:
Samsung_T5:
  Capacity:	2 TB (2,000,396,321,280 bytes)
  Available:	1.99 TB (1,993,788,358,656 bytes)
  Writable:	Yes
  File System:	ExFAT
  BSD Name:	disk2s1
  Mount Point:	/Volumes/Samsung_T5
  Content:	Windows_NTFS
  Volume UUID:	25804088-738F-3DBE-84EC-7B1F34B74CF4

Re: Help with portable USB Drive: Mac Host / Windows 10 Guest

Posted: 13. Oct 2018, 00:14
by socratis
kmorgan wrote:I have read through all the very detailed posts on the general advice Topic "USB basics and troubleshooting"
Indeed you have! One of the nicest and more complete reports actually. Kudos! 8)
kmorgan wrote:connected directly to one of my Mac's four USB-C ports via a usb-c to usb-c cable
That might be a problem actually, the USB3.1 I mean. Any chance of finding a USB2/3 hub/cable to test my theory?
kmorgan wrote:portable USB drive setup to move large quantities of image data between my mac (Host) and the windows VM
You already are using a shared folder, so the concept is not something you're not familiar with. Why don't you simply share the USB HD and be done with it? Much simpler solution, and from my understanding you don't actually need the USB drive, you just need the files. Unless I'm missing something...


PS. Only one minor detail (I have to correct it ;)), is that your first USB filter is not setup appropriately, unless you want to grab every Seagate device ever inserted to your host! But even in that case it's best if you go with the "VendorID" value instead of the "Manufacturer" value...

Re: Help with portable USB Drive: Mac Host / Windows 10 Guest

Posted: 13. Oct 2018, 04:21
by kmorgan
Wow - I had tried an old usb to usb-c into the drive with a dongle from usb-c to old usb and it still didn't work. But I had not thought to just share the drive from the Mac Host as a shared folder to the guest (I didn't know you could do that with external drive). It worked! I mostly just need to be able to have TB's of Images that won't fit on my hard drive and have them accessible on both sides so this seems like it will be a good solution. Thanks for your help!

p.s. Thanks for the catch on the filter for the seagate drive. I set that up without the help of the extensive info on the pages. So now that I know better I'll fix it :wink:

Re: Help with portable USB Drive: Mac Host / Windows 10 Guest

Posted: 13. Oct 2018, 08:26
by socratis
kmorgan wrote:I had tried an old usb to usb-c into the drive with a dongle from usb-c to old usb and it still didn't work
That's rather unexpecting I'd say. If you still have access to that adapter, it would be interesting to know how both "System Information" and "VBoxManage list usbhost" see the drive. Does it still show as "Up to 10 Gb/sec" for example? Indicating such a speed means that it's a USB 3.1 Gen 2 device/connection, which might have issues with VirtualBox. See also two related tickets:
kmorgan wrote:as a shared folder to the guest (I didn't know you could do that with external drive)
Any drive that is physically attached to the host can be shared. You can't share network drives for example.
kmorgan wrote:It worked!
Glad you got it going. Marking as [Resolved].