-
-
Notifications
You must be signed in to change notification settings - Fork 782
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
USB config error Docker-Machine / VirtualBox #416
Comments
Did you google for that error? Maybe you run on a USB 3 port and your docker linux can't handle it? |
Yes I did google it. The only reference I've found is that this error is typically generated if the USB port doesn't provide enough current. In VirtualBox I've enabled the USB 3.0 hub and so far it was never complaining. I am currently setting up different versions of the |
Does the host have a USB2 host? Perhaps try that port. But I don't think it is a BMP issue. So perhaps close the issue. |
The host has USB 3.0 yes. This is definitely a docker-machine / boot2docker image issue. A few hours and something that felt like 200 virtual-machines later I found an image that lists the BMP. For anybody who might run into the same issue:
Used release: Created using
VirtualBox Version 5.2.22 r126460 |
For anyone who comes here looking, I'm running into the same issue using macOS in a Parallels VM (trying to get my configuration functional before doing it on my actual laptop, and making a mess of the whole neighborhood in the process of getting it wrong). Connected to the host, BMP works fine. Patched through to the guest, the device appears in system info, but in console.app I see
and no serial ports show up. Still don't have a resolution. |
Just to eliminate variables, I picked up a 1BitSquared version BMP and tried that - enumerates reliably and mounts serial devices at /dev/cu.* on the macOS host; enumerates but fails to mount ports on guest, or when letting Parallels hand-over control (i.e. if I 'disconnect' the device from the guest with software, without replugging). Seems like maybe there's some kind of timing issue. |
Adding a comment to a closed issue is probably not the right approach, yet here I am. I'm also trying to get the BMP working inside a guest vm, with no luck. I can pass through a device with the STLink2-1 firmware into a guest and use as expected (both debugger and cdc UART), but I can not get the BMP 2.1 device to work. I have used the same BMP device on an install of the same linux OS running on baremetal and all is working as expected. But when passing it into a guest VM with vmware, the CDC devices enumerate but don't work as needed. So, I'm seeing the same issue that @alexwhittemore has observed above and here. Please consider reopening. Feel free to reach out for more details. |
Wild guessing. BMP with delivery firmware is far behing git head. Can you try to upgrade to git head and retry? |
Hi @UweBonnes I tested with both the installed release tag and the latest 8a07f44 before posting, with the same results. |
Is this still an issue? Does it need additional testers? Or can we close this, as this issue is becoming a bit stale. |
I never resolved the problem, myself. I just switched to a different debugger for that project and haven't had occasion to come back. At the time, I was quite certain my firmware was latest. |
Ok I have vmware that I can test it on. I will see if I can get it to work. |
|
Ok thank you very much for the update. In that case I will close this issue. If some other docker system or vmware needs to be investigated we should open dedicated issues for the specific platform so we can focus on the specific problem. :) |
Yep, in case of trouble I will do that. Thanks! |
Hello,
I've just received my BMP which I want to use for batch-programming in production. The programming software (includes end-of-line test) is running within docker, which is working finde for comparable openocd debuggers (e.g., olimex).
While the BMP shows up correctly on the host and is working just fine there it is not recognized within the virtual-machine used by docker: This is essentially simply a virtualbox image running linux:
Linux default 4.4.119-boot2docker #1 SMP Wed Feb 28 17:44:37 UTC 2018 x86_64 GNU/Linux
I get the following error message from the box:
If I connect the device to a normal linux machine I don't get this error. Is there anything I can do to make this work within the VirtualBox?
Thanks and BR,
Martin
The text was updated successfully, but these errors were encountered: