Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vagrant_setup.py wont see my USB adapter #134

Open
Slend-K opened this issue Aug 6, 2023 · 5 comments
Open

vagrant_setup.py wont see my USB adapter #134

Slend-K opened this issue Aug 6, 2023 · 5 comments

Comments

@Slend-K
Copy link

Slend-K commented Aug 6, 2023

I'm running vagrant_setup.py but for some reason it doesn't identify my USB Bluetooth adapter.
I've tried putting it in different USB ports. I've also tried disabling it and re-enabling it in device manager alongside running the setup while the USB Bluetooth adapter is disabled via device manager.

I'm not sure what to do now.

@Asier97
Copy link

Asier97 commented Aug 7, 2023

Same here. vagrant_setup.py wont detect my USB adapter

image

Event thought I followed Troubleshooting instructions and added the controller manually

image

It even shows with vagrant ssh and lsusb, I'm lost here

image

@Asier97
Copy link

Asier97 commented Aug 7, 2023

Fount out why vagrant_setup.py is not listing my adapter. I ran vboxmanage list usbhost as the get_usb_devices() does and my adapter doesn't show the product name nor the manufacturer. get_usb_devices() is programmed to filter devices without this data. I checked my adapter drivers and everything is right

vboxmanage list usbhost ran without my adapter:

image

vboxmanage list usbhost ran WITH my adapter connected:

image

@Slend-K
Copy link
Author

Slend-K commented Aug 8, 2023

Ah yeah, I checked vboxmanage list usbhost too and my USB adapter also shows with no product name. I checked the code I think the problem is that vagrant_setup.py wants a product name too. I experimented a bit but couldn't get it to let me have the option to choose my adapter despite it not having a product name. That might not be the only problem but it's the only one I found.

Does anyone know how to go about solving this?

@Brikwerk
Copy link
Owner

Sorry for the trouble regarding the automated vagrant setup. Unfortunately, it seems that some Bluetooth adapters report far less than I was originally expecting. I'll take this into account for future improvements in the automated setup.

@Slend-K , can you can add the USB device manually through Virtualbox, as detailed in the docs, and let me know if NXBT works: https://github.com/Brikwerk/nxbt/blob/master/docs/Windows-and-macOS-Installation.md#my-usb-bluetooth-adapter-wont-show-up-inside-the-vm

@Asier97 Does NXBT not work in the VM? If you've added the USB device to Virtualbox manually, there's no need for the vagrant_setup.py file to see it.

@Slend-K
Copy link
Author

Slend-K commented Aug 16, 2023

Ah thanks, I shall do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants