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

Bumble-hci-bridge returning 'LIBUSB_ERROR_NOT_SUPPORTED #433

Open
rsrikaan opened this issue Feb 23, 2024 · 2 comments
Open

Bumble-hci-bridge returning 'LIBUSB_ERROR_NOT_SUPPORTED #433

rsrikaan opened this issue Feb 23, 2024 · 2 comments

Comments

@rsrikaan
Copy link

Error
`bumble-hci-bridge android-netsim:_:8877,mode=controller usb:0

connecting to HCI...
connected
connecting to HCI...
WARNING:bumble.transport.usb:←[31m!!! failed to open USB device: LIBUSB_ERROR_NOT_SUPPORTED [-12]←[0m
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\rsrikaan\AppData\Local\Programs\Python\Python311\Scripts\bumble-hci-bridge.exe_main
.py", line 7, in
File "C:\Users\rsrikaan\AppData\Local\Programs\Python\Python311\Lib\site-packages\bumble\apps\hci_bridge.py", line 104, in main
asyncio.run(async_main())
File "C:\Users\rsrikaan\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\rsrikaan\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
return self.loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\rsrikaan\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\rsrikaan\AppData\Local\Programs\Python\Python311\Lib\site-packages\bumble\apps\hci_bridge.py", line 56, in async_main
async with await transport.open_transport_or_link(sys.argv[2]) as (
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\rsrikaan\AppData\Local\Programs\Python\Python311\Lib\site-packages\bumble\transport_init
.py", line 214, in open_transport_or_link
return await open_transport(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\rsrikaan\AppData\Local\Programs\Python\Python311\Lib\site-packages\bumble\transport_init
.py", line 93, in open_transport
transport = await open_transport(scheme, spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\rsrikaan\AppData\Local\Programs\Python\Python311\Lib\site-packages\bumble\transport_init
.py", line 165, in open_transport
return await open_usb_transport(spec)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\rsrikaan\AppData\Local\Programs\Python\Python311\Lib\site-packages\bumble\transport\usb.py", line 515, in open_usb_transport
device = found.open()
^^^^^^^^^^^^
File "C:\Users\rsrikaan\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb1_init
.py", line 2055, in open
mayRaiseUSBError(libusb1.libusb_open(self.device_p, byref(handle)))
File "C:\Users\rsrikaan\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb1_init_.py", line 127, in mayRaiseUSBError
_raiseUSBError(value)
File "C:\Users\rsrikaan\AppData\Local\Programs\Python\Python311\Lib\site-packages\usb1_init
.py", line 119, in raiseUSBError
raise __STATUS_TO_EXCEPTION_DICT.get(value, __USBError)(value)
usb1.USBErrorNotSupported: LIBUSB_ERROR_NOT_SUPPORTED [-12]`

Driver configs tried
image
image

Any idea how to fix this?

@rsrikaan
Copy link
Author

HI anyone who has successfully made bumble work in windows, could you provide details on your build? like what dongle, drivers, environment etc.

@barbibulle
Copy link
Collaborator

This works for me on a Windows 10 laptop. I'll see if I can find a few other windows machines to try on and try to reproduce the error you're seeing.

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

2 participants