Skip to content

Cannot connect after updating to Pybricks Code v3.1.0-beta.1Bug] #2762

Closed

Description

@SteveCureton

Describe the bug
EV3 v4.1.0-beta.1 cannot connect after updating to Pybricks Code v3.1.0-beta.1 ("No compatible devices found")

To reproduce
Steps to reproduce the behavior:

  1. Start with a working EV3 running the previous beta.
  2. Accept the update to Pybricks Code v3.1.0-beta.1.
  3. Firmware updates to EV3 firmware v4.1.0-beta.1.
  4. Connect the EV3 via USB.
  5. Click the Serial Connect icon.
  6. Chrome opens the serial-port dialog showing "No compatible devices found."

Expected behavior
The EV3 should appear in the serial connection dialog and connect successfully.

Actual Behavior

The EV3 is detected by Windows ("LEGO MINDSTORMS EV3 + Pybricks"), but the serial connection dialog reports "No compatible devices found."

Screenshots
Chrome chrome://device-log reports that Windows detects the EV3 successfully:

USBUser[13:51:09] USB device added:
path=\?\usb#vid_0694&pid_0005#0016535d4a18#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
vendor=1684 "LEGO System A/S"
product=5 "LEGO MINDSTORMS EV3 + Pybricks"
serial="0016535D4A18"
driver="WINUSB"
guid=6e22ebe7-5eac-4ef0-a888-169e21fe8d89

Activity

  1. added
    triage
    on Jul 13, 2026
  2. added
    platform: EV3
    software: pybricks-micropython
    topic: USB
    and removed
    triage
    on Jul 13, 2026
  3. added theissue type on Jul 13, 2026
  4. laurensvalk commented on Jul 13, 2026

    @laurensvalk
    Member

    Thanks for reporting!

    You can use it again after you update the firmware with the same steps as before.

    We changed the USB protocol extensively for better stability. With future updates, you'll get an automatic reminder for this. For this big change early on, that wasn't technically possible.

    I think we can still show a generic notification about updating the firmware if a hub wasn't found to make this easier. We're doing that with Bluetooth, but not USB at the moment.

    Looks like you've already updated. See note below.

  5. dlech commented on Jul 13, 2026

    @dlech
    Member

    Oops. We changed things a bit and forgot to bump the bcdDevice version.

    We are now using the standard USB serial driver instead of WINUSB, but since we didn't change the version in the identifier, Windows thinks nothing changed and is using cached values about what kind of USB device it thinks this is.

    As a temporary workaround, you can remove the EV3 from the Device Manager in Windows, then unplug and plug it back in and Windows should detect it as a new device and install the correct serial driver.

  6. dlech commented on Jul 13, 2026

    @dlech
    Member

    We need to bump this number on all USB hubs, not just EV3.

  7. added a commit that references this issue on Jul 13, 2026
  8. BertLindeman commented on Jul 13, 2026

    @BertLindeman

    Flashed work build ev3-firmware-build-4913-git74b50cf4.zip on the EV3
    restarted the EV3
    No compatible devices found

    removed the driver of "LEGO MINDSTORMS EV3 + Pybricks"

    retry failed too.

    Installed an older build ev3-firmware-build-4793-git0790d4f6_work.zip
    Windows did recognize and installed webusb driver.

    Reflashed work build ev3-firmware-build-4913-git74b50cf4.zip on the EV3
    restarted the EV3
    successful connect to beta.pybricks.com

    Not sure I reported all steps here.

  9. dlech commented on Jul 14, 2026

    @dlech
    Member

    build ev3-firmware-build-4913-git74b50cf4.zip

    This build should contain a fix (although we didn't test it yet).

    So not sure why it didn't work the first time you tried it. It sounds like it did work correctly eventually though.

    To test again, you would need to either use a fresh Windows install or:

    • Connect USB cable to EV3 with with "fixed" build.
    • Remove the driver from Device Manager.
    • Flash older build (use "3-finger salute" to put it in update mode manually to not risk reinstalling the driver).
    • Connect USB cable to EV3 with with "old" build.
    • Remove the driver from Device Manager.
    • Disconnect and reconnect USB to get Windows to install the driver again.
    • Flash "fixed" build.
    • Windows should detect it as new device and install driver.
  10. BertLindeman commented on Jul 14, 2026

    @BertLindeman

    I was not using the 3-finger salute (Back-Right-Center buttons) but Right-Center (for years without any problem) maybe that is the difference now..

  11. laurensvalk commented on Jul 14, 2026

    @laurensvalk
    Member

    For what it is worth, there was never a three button combination.

    • It's center + back for a few seconds to restart
    • It's hold right when powering on to start update mode.

    So pressing three buttons just does both of those at once.

    We will update Pybricks Beta later today with a different USB version, and improved update notifications.

    This issue didn't happen on my Windows machine though, so I could not test if the fix changed anything.

  12. laurensvalk commented on Jul 14, 2026

    @laurensvalk
    Member

    A new version is out. It should load automatically after a few minutes. In about, you'll see:

    Pybricks Beta v3.1.0-beta.2 with firmware v4.1.0b2
    

    Additionally, there have been several improvements to the UI. If you close the connection dialog without selecting anything, you'll see a notification about installing the firmware rather than nothing at all.

    @BertLindeman: There have been quite a few changes to the Prime Hub installation and recovery steps too in case you want to try something new :)

  13. SteveCureton commented on Jul 14, 2026

    @SteveCureton
    Author

    Thanks! Updating to Pybricks Beta v3.1.0-beta.2 and installing EV3 firmware v4.1.0b2 fixed the problem.

    The EV3 now connects successfully over USB.
    You guys are incredible!!!

  14. BertLindeman commented on Jul 14, 2026

    @BertLindeman

    Additionally, there have been several improvements to the UI. If you close the connection dialog without selecting anything, you'll see a notification about installing the firmware rather than nothing at all.

    @BertLindeman: There have been quite a few changes to the Prime Hub installation and recovery steps too in case you want to try something new :)

    Did not get a hub connection from my android 16 tablet. Turns out I had Automatic Blocker ("Automatisch blokkeren") ON. Have set that OFF and rebooted just to be sure and that changed that behavior.

    The new FW-flash does not yet work on V4.0.1 (but the old way still works fine).
    The new FW-flash works fine at V4.1.0b2 on Android.

  15. laurensvalk commented on Jul 14, 2026

    @laurensvalk
    Member

    Right, Spike now uses USB serial just like EV3, so it would have had this same issue. So in principle it would be resolved in the same way now.

  16. laurensvalk commented on Jul 15, 2026

    @laurensvalk
    Member

    Looks like this is resolved then. Thanks everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform: EV3software: pybricks-micropythontopic: USB

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions