I installed Mbed Studio 1.4.4 under OpenSuSE 15.2. “mbed-studio” starts and I can load a blinky example as per the documentation. However when I plug in a microcontroller device (Raspberry PI pico / RP2040) the computer’s usb ports are all (?) lost after a few seconds. Presumably the system is attempting to locate the RP2040. My mouse and keyboard are connected on completely separate USB ports, and both are disabled when this happens (even keyboard lights are gone, so usb power has been cut). The only way to recover is to unplug the microcontroller board and reboot the computer via the power button. This is repeatable, and I have tried various USB ports for the device (different from the keyboard and mouse channels). On installation, it asked if I wanted to add udev rules, and I responded yes. Nothing under /etc/udev/rules.d has changed, so no new rules were added. Any idea of what is wrong or how to fix it?
I added additional udev rules from github’s pyOCD/udev directory as per the installation instructions. The st-link and cmsis rules were already in place as were several others (system + arduino entries). I added picoprobe.rules and vtlinkii.rules. I found that plugging in the RP2040 board will shutdown the usb ports after about 1 minute. This happens outside of Mbed studio so the problem seems related to some rule triggering. The board was programmed with GNU ARM C++ compilers directly in the past, and also ran circuitpython.
Is it possible the microcontroller is somehow defective and drawing too much power? I don’t see anything in any any of udev rules files that should force power off for usb hubs. When plugged in, dmesg will show it detected a device. Its suspicious that it takes O(1 minute) to shut down power to all usb ports. Any other ideas of what could be going wrong?