pybricks / support

Pybricks support and general discussion
MIT License
107 stars 6 forks source link

[Question] Device manager instructions on Windows #1206

Open Johann007007 opened 1 year ago

Johann007007 commented 1 year ago

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

laurensvalk commented 1 year ago

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?

Johann007007 commented 1 year ago

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

dlech commented 1 year ago

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?

Johann007007 commented 1 year ago

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?

laurensvalk commented 1 year ago

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

Johann007007 commented 1 year ago

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!

laurensvalk commented 1 year ago

That is good feedback - thanks!

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

Johann007007 commented 1 year ago

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.

laurensvalk commented 1 year ago

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.

dlech commented 1 year ago

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 commented 1 year ago

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

Johann007007 commented 1 year ago

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