support icon indicating copy to clipboard operation
support copied to clipboard

[Question] Device manager instructions on Windows

Open Johann007007 opened this issue 2 years ago • 12 comments

Question I try to install Pybricks Firmware on Mindstorms Inventor Hub. Error Msg: code.pybricks.com wants to connect to a serial port - no compatible device found. Can anyone help me?

Context Windows 11, Lego Mindstorms Inventor Hub

Johann007007 avatar Aug 15 '23 09:08 Johann007007

Is your Hub in Update mode, as indicated in the video with the red/blue/green lights?

Can you share a screenshot of the error message?

laurensvalk avatar Aug 15 '23 09:08 laurensvalk

the light is blinking pink-green-blue Error Msg: image

Johann007007 avatar Aug 15 '23 13:08 Johann007007

Did you install the appropriate USB driver as described in the instruction? Does the device appear (with the correct driver) in the Windows Device Manager?

dlech avatar Aug 15 '23 13:08 dlech

I removed the LEGO Technic Large Hub in DFU Mode. reconnected the hub. Windows have no driver Automatisch nach Treibern suchen not driver found the same with windows update tool

image

image

it seems I need a Driver! Where to get it? Any ideas?

Johann007007 avatar Aug 15 '23 14:08 Johann007007

Please follow the step-by-step installations in the installation dialog. It's all there :)

laurensvalk avatar Aug 15 '23 14:08 laurensvalk

Yes, it's all there, but where? If you install Pybricks with an unprivileged account (which is reasonable), and you want to update the diver with system privileges (which is necessary), Pybrics will not find the driver. It would be helpful to document the filename and directory. Many thanks!

Johann007007 avatar Aug 15 '23 16:08 Johann007007

That is good feedback - thanks!

Which steps looked different in your case and how did you resolve it?

laurensvalk avatar Aug 15 '23 17:08 laurensvalk

I can't remember what exactly I did. I have now tried different things, but couldn't reproduce the error. I think it's a problem with the directory. As I interpret the instructions, the driver is located in a user directory. There is no directory similar to \Users\pybricks\Documents. Unfortunately, I have no idea where the driver should be and what the file is called. Sorry I can't help any further.

Johann007007 avatar Aug 17 '23 14:08 Johann007007

Maybe it's coincidental, but we just got another support email on this topic, saying that there are no "other devices" in device manager.

Maybe we need to review if something changed in Windows device manager so we can update the instructions.

laurensvalk avatar Aug 22 '23 14:08 laurensvalk

If it isn't there, then it means a driver has already been installed for the DFU device or the hub is not in DFU mode.

It is only there if there is no driver installed already.

image

Once the driver is installed, it moves to Universal Serial Bus devices.

image

Or if running official LEGO firmware and not in DFU mode, the hub shows up under Ports.

image

dlech avatar Aug 22 '23 18:08 dlech

There is no directory similar to \Users\pybricks\Documents.

The directory does not matter. It is ignored when you click Let me pick.... We could probably delete it or blur it out in the screenshot.

dfu_windows_5_small_hub_update_driver_pick

dlech avatar Aug 22 '23 18:08 dlech

Thank you very much for the answers. The directory was a red herring for me. But now everything works excellently.

Johann007007 avatar Aug 23 '23 18:08 Johann007007