New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: improve serial port handling #915
Conversation
Add 'Enter manually' as an item into the popup menu. If that is the chosen option the text field is enabled. If the user chooses a serial port from the list the text field is disabled and the configuration will be updated with the value from the list.
List serial ports using three methods: - /dev/serial/by-id - /dev/ttyOP_* - using serialport module OpenPlotter 2 has a serial port manager that allows the user to rename serial ports with symbolic names using udev rules. On Linux there are already persistent names unde by-id and lastly serialport works on at least MacOS and hopefully on Windows as well.
@sailoog do you have time to try this out?
|
Not until Thursday, sorry :( |
Now the symbolic names show up. Thanks. |
Yes, it is less than perfect but for many cases @e-sailing how do these devices show up at /dev/serial/by-path/ ? We could also change the UI so that the three different methods would be clearer to the end user. |
Devices show up: Yes. If you use by-path it will work.
Yes. |
Change payload to contain lists of serialports for the different listing methods and show them in the popup menu with separators.
@e-sailing I pushed a new version that uses just one menu, but with separators to tell the paths produced by the different methods apart. |
Fixes #880. |
Fix the dead stupid serial port selection UI:
List serial ports using four methods:
- /dev/serial/by-id
- /dev/serial/by-path
- /dev/ttyOP_*
- using serialport module
OpenPlotter 2 has a serial port manager that allows the user to rename serial ports with symbolic names using udev rules. On Linux there are already persistent names under by-id and lastly serialport works on at least MacOS and hopefully on Windows as well.
Fixes #880 .