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

Radio close() slow on VMWare with USB3 #130

Open
ataffanel opened this issue Nov 28, 2019 · 0 comments
Open

Radio close() slow on VMWare with USB3 #130

ataffanel opened this issue Nov 28, 2019 · 0 comments

Comments

@ataffanel
Copy link
Member

@ataffanel ataffanel commented Nov 28, 2019

According to this forum thread: https://forum.bitcraze.io/viewtopic.php?f=12&t=4029 there is a long delay when closing the link if the lib is used in VMWare with USB3 enabled.

The problem seems to be located around the usb reset() call, and replacing reset() by usb.util.dispose_resources(self.dev) in the crazyradio driver seems to fix the problem.

Calling a USB reset was done as a precaution but should not be absolutly required and is known to be incompatible with some libusb backend (lilke winusb) so it would be a good thing for other platform anyway to remove all call to usb reset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.