Skip to content

Conversation

@leoyinjou
Copy link

Issue: in Linux, p.name returns 'ttyACM0' for '/dev/ttyACM0' for example
so p.open() will fail and exception will be triggered without
useful debug messages.

Fix: using p.device will display the full name for both Windows COM*
ports and Linux /dev/tty* ports. Verified functional on both.
Not tested on Mac.

Issue: in Linux, p.name returns 'ttyACM0' for '/dev/ttyACM0' for example
        so p.open() will fail and exception will be triggered without
        useful debug messages.

Fix: using p.device will display the full name for both Windows COM*
        ports and Linux /dev/tty* ports. Verified functional on both.
        Not tested on Mac.
@c3charvat
Copy link

Was just looking for a solution to this very problem

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants