Mac os host, windows 7 guest usb bluetooth dongle

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
mcgyver83
Posts: 8
Joined: 24. Mar 2020, 17:58

Mac os host, windows 7 guest usb bluetooth dongle

Post by mcgyver83 »

Hi,
I'm running latest VirtualBox + extension on macOS Big Sur MacBook pro 2015.
Guest os is windows 7 environment.
I need to use an usb bluetooth dongle with the guest windows 7 os.
I defined a usb 2.0 filter but when guest windows 7 runs it cannot see the dongle.
The mac os get the dongle and activate the bluetooth (I can see the icon in the top bar) so it cannot be captured by guest windows.
I had successfully configured usb hard drive and others devices to be used in the guest windows but no luck for the usb bluetooth dongle.


Any hints?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Mac os host, windows 7 guest usb bluetooth dongle

Post by scottgus1 »

Carefully go through USB basics and troubleshooting. If you finish all the steps 1-7 and cannot get your USB device into the guest OS, carefully post the outputs of the commands in step 8 as text in

Code: Select all

 tags, not screenshots. Zip and post the logs step 8 call for, using the forum's Upload Attachment tab.
mcgyver83
Posts: 8
Joined: 24. Mar 2020, 17:58

Re: Mac os host, windows 7 guest usb bluetooth dongle

Post by mcgyver83 »

Step 8 command are for windows and linux system.
Could I use linux command with mac os successfully?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Mac os host, windows 7 guest usb bluetooth dongle

Post by scottgus1 »

I believe so. Mac, if I remember correctly, is based off BSD, which is Linux-like.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Mac os host, windows 7 guest usb bluetooth dongle

Post by fth0 »

Yes, you can use the id command in a macOS terminal. But note that on macOS, there will be no vboxusers group, and in consequence, you do not need to be a member of it.
mcgyver83
Posts: 8
Joined: 24. Mar 2020, 17:58

Re: Mac os host, windows 7 guest usb bluetooth dongle

Post by mcgyver83 »

Hi, no luck with the suggested step.
Attached logs file requested.
VBoxSVC.log.zip
(1.5 KiB) Downloaded 10 times
VBox.log.zip
(38.15 KiB) Downloaded 12 times
VBox.log.zip
(38.15 KiB) Downloaded 12 times
Attachments
Command.log.zip
(2.84 KiB) Downloaded 12 times
mcgyver83
Posts: 8
Joined: 24. Mar 2020, 17:58

Re: Mac os host, windows 7 guest usb bluetooth dongle

Post by mcgyver83 »

No hints for my case? :(
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Mac os host, windows 7 guest usb bluetooth dongle

Post by scottgus1 »

Sorry, forgot about this one.

Something does have the device first:
00:00:56.871252 USB: Device 'p=0x1004;v=0x1131;s=0x000001194fb79209;l=0x14200000' is being used by another process
00:00:56.871460 usbProxyConstruct: Failed to open 'p=0x1004;v=0x1131;s=0x000001194fb79209;l=0x14200000', rc=VERR_SHARING_VIOLATION
00:00:56.871524 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_SHARING_VIOLATION)}, preserve=false aResultDetail=-114
You have enabled USB3 in the VM, did you install USB3 drivers in Windows 7? This is required for USB3 in 7.

Try this:
1. Unplug the USB device.
2. Reboot the host to reset everything.
3. Start the VM with the device not plugged in.
4. After the VM has fully booted, plug in the device.

Does the device go into the VM?
mcgyver83
Posts: 8
Joined: 24. Mar 2020, 17:58

Re: Mac os host, windows 7 guest usb bluetooth dongle

Post by mcgyver83 »

scottgus1 wrote: You have enabled USB3 in the VM, did you install USB3 drivers in Windows 7? This is required for USB3 in 7.
Yes
scottgus1 wrote:
Try this:
1. Unplug the USB device.
2. Reboot the host to reset everything.
3. Start the VM with the device not plugged in.
4. After the VM has fully booted, plug in the device.

Does the device go into the VM?
No :(
Attached the log.


I tried also configuring usb 2.0 but same error "VERR_SHARING_VIOLATION"
I have the onboard mac bluetooth adapter disabled. When I plug the usb dongle I see the bluetooth icon enabled and bluetooth is running but on host (mac) not guest (windows 7)
Attachments
Vbox.log.zip
(38.15 KiB) Downloaded 12 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Mac os host, windows 7 guest usb bluetooth dongle

Post by scottgus1 »

Bummer, still the same message in the log. Thanks for trying!

FWIW, Bluetooth devices are specifically called out in the USB tutorial, post #3:
Uncapturable
These are USB devices that are captured by the host with a daemon or service (e.g. Bluetooth controller). Not only you can't make the on-the-fly option work, but you can't even get it to work with a filter, unless you disable the host service/daemon. The device then becomes "Idling", see below.
Try to see if you can figure out the underlined part on your Mac host.
mcgyver83
Posts: 8
Joined: 24. Mar 2020, 17:58

Re: Mac os host, windows 7 guest usb bluetooth dongle

Post by mcgyver83 »

I red that part since the beginning but I'm not able to stop bluetooth service/daemon on my macOs Catalina.
I tried a couple of suggestion online but no luck. This is why I wrote there, maybe others had the same bluetooth usb dongle issue with mac :(
mcgyver83
Posts: 8
Joined: 24. Mar 2020, 17:58

Re: Mac os host, windows 7 guest usb bluetooth dongle

Post by mcgyver83 »

I cannot find any resource about stopping/disabling macOs Big Sur bluetooth daemon/service.
All commands I found are not working with BigSur.

Anyone in the forum has the same need?
Post Reply