Skip to content

find_serial_device_ports() fails on Win11 #4

@electrotechtom

Description

@electrotechtom

Hi,
On my Win11 PC, my USB-Serial interface is not detected correctly. If I change the following line in find_serial_device_ports() from:
if 'USBSER' in val[0]:
to:
if 'VCP' in val[0]:
then detection works correctly.
Possibly the naming of ports has changed in recent Windows?

Thanks for this code, very useful.
Tom

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions