[Solved] Windows USB on Mac Host

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
Sy
Posts: 64
Joined: 30. Oct 2017, 22:29
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows 7
Location: United Kingdom

[Solved] Windows USB on Mac Host

Post by Sy »

I have a 2010 macBook Pro, I recently purchased a CanBusLogger 2000 from csselctronics.

Officially it isn't supported on a MAC. I have installed Oracle VirtualBox Version 5.2.0 r118431 (Qt5.6.3)

I have a Windows 7 64bit virtual machine setup and running which is up to date with all the drivers and service packs, there are no more updates when I check.

In the device manager there is one device with an exclamation mark by it, in Other devices: Base System Device

In the Details, Hardware Ids:

PCI\VEN_80EE&DEV_CAFE&SUBSYS_000000000&REV_00
PCI\VEN_80EE&DEV_CAFE&SUBSYS_000000000
PCI\VEN_80EE&DEV_CAFE&REV_00
PCI\VEN_80EE&DEV_CAFE
PCI\VEN_80EE&DEV_CAFE&CC_088000
PCI\VEN_80EE&DEV_CAFE&CC_0880

Is it possible to map a USB device in VirtualBox on the host if the host Operating System doesn't support the hardware?
Last edited by socratis on 1. Nov 2017, 17:05, edited 1 time in total.
Reason: Marked as [Solved].
Kind Regards,
Sy
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Windows USB on Mac Host

Post by socratis »

Sy wrote:In the device manager there is one device with an exclamation mark by it, in Other devices: Base System Device
Did you install the Guest Additions (GAs) in Win7? Can you re-install them? That device seems to be the "VirtualBox Device" so, either the GAs are not installed, or not installed properly.
Sy wrote:Is it possible to map a USB device in VirtualBox on the host if the host Operating System doesn't support the hardware?
Absolutely. I've done it plenty of times with several devices. BTW, the USB basics and troubleshooting FAQ might come in handy...
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.
Sy
Posts: 64
Joined: 30. Oct 2017, 22:29
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows 7
Location: United Kingdom

Re: Windows USB on Mac Host

Post by Sy »

Thank you, I will have another go tonight.
Kind Regards,
Sy
Sy
Posts: 64
Joined: 30. Oct 2017, 22:29
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows 7
Location: United Kingdom

Re: Windows USB on Mac Host

Post by Sy »

Installing the Guest Additions has resolved the device manager issue, in that the Base System Device is now gone, but it still doesn't detect or show anything when I plug in the CanLogger 2000 module.
Kind Regards,
Sy
Sy
Posts: 64
Joined: 30. Oct 2017, 22:29
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows 7
Location: United Kingdom

Re: Windows USB on Mac Host

Post by Sy »

Ok, I've progressed a bit further, once I added a USB 3 device to the virtual machine, now when I plugin the canLogger 2000, I now see:

Universal Serial Bus (USB) Controller

Under Other devices, but I've tried to install a driver from the zip file I downloaded from:

http://canlogger.csselectronics.com/windows_drivers.zip

I unpacked the zip and I've tried every folder, but nothing is recognised. Help....
Kind Regards,
Sy
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Windows USB on Mac Host

Post by socratis »

Sy wrote:but it still doesn't detect or show anything when I plug in the CanLogger 2000 module.
Those two are not related.
Sy wrote:once I added a USB 3 device to the virtual machine
I don't even know what that means, could you explain what do you mean?
Sy wrote:but I've tried to install a driver from the zip file I downloaded
Are you using a USB 3 device/port? Did you read the FAQ that I told you to?
Sy wrote:I've tried every folder
I'm not sure what you tried, can you explain it please?
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.
Sy
Posts: 64
Joined: 30. Oct 2017, 22:29
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows 7
Location: United Kingdom

Re: Windows USB on Mac Host

Post by Sy »

In the virtual machine settings/ports/usb, I selected USB 3.0 (xHCI) as the default is USB 1.1 (OHCI), it didn't detect the device until I changed it to USB 3.0

The drivers I have were all in a zip file downloaded from the css electronics website:

windows_drivers.zip

I've unpacked this folder it contains:

Code: Select all

cdc
 usb_dev_serial.inf
 usb_dev_serial_amd64.cat
 usb_dev_serial_x86.cat
dfu
  amd64
    Imdfu64.dll
    Imdu64.lib
    Imusbdll64.dll
    Imusbdll64.lib
    WdfCoInstalled01009.dll
    winusbconinstaller2.dll
    WUDFUpdate_01009.dll
  i386
    Imdfu64.dll
    Imdu64.lib
    Imusbdll64.dll
    Imusbdll64.lib
    WdfCoInstalled01009.dll
    winusbconinstaller2.dll
    WUDFUpdate_01009.dll
  boot_usb.inf
  boot_usb_amd64.cat
  boot_usb_x86.cat
I've read the FAQ, but I'm not sure it gives me any additional help.
Kind Regards,
Sy
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Windows USB on Mac Host

Post by socratis »

Sy wrote:In the virtual machine settings/ports/usb, I selected USB 3.0 (xHCI)
Sy wrote:I have a Windows 7 64bit virtual machine
Sy wrote:I've read the FAQ, but I'm not sure it gives me any additional help.
Try again reading the FAQ. All of it. Especially #6: Guest support. And please take things one step at a time. First you've got to get the USB device recognized. The *last* step is to make it work...
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.
Sy
Posts: 64
Joined: 30. Oct 2017, 22:29
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows 7
Location: United Kingdom

Re: Windows USB on Mac Host

Post by Sy »

Thank you, the good news is that the device is now detected in the virtual machine and the software can talk to it.
Kind Regards,
Sy
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Windows USB on Mac Host

Post by socratis »

Great, thanks for the feedback. Marking as [Solved].
And, for reference, next time that you say that you've read something, please make sure that you've actually read that something... ;)
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