Open tablatronix opened 6 years ago
I'll try to do this tomorrow I don't have a OSX or Linux machine to change this
Let me know where to start. I need to learn python at some point
It was easier than I thought, It should be resolved with https://github.com/gepd/Deviot/commit/3f92c9d0dc88d262f98027896bc4d07ed6730c5a, let me know if that is what you expect
This seems to be a breaking change, tested on windows, it says select port over and over in a loop.
[ Deviot 2.3.0.dev1 ] Starting...
Select a Port From The List
This seems to work and help, although its still a bit of a mystery lol Can probably close.
I see, I think it would be always confusing when you have multiples devices with the same spec.. A solution would be to add an alias, I could look for a kind of ID that will make possible to always assign an alias that can replace or be merged with the current name
Yeah this is on my list to look into, I will look into having some kind of tty alias or have a naming convention, Not sure where OSX is getting the 15,16,17 suffixes but it must be caching them somewhere.
It is mostly an edge case.
What about having an option that when it's active, it asks for an alias everytime you connect the device, I don't see other way to do it
Seems tedious, plus osx changes these when moving ports.
How might that work? How about indicating the last used port, colored highlighted? Might help a little bit.
I have another issue where some usb shows 2 ports, ill check if its a pio issue or not
Yes it may be tedious
Idicanting the last used port where?
In the devices list, can it appear highlighted? Does it already show which one is active? I forget
Oh now I understand, ST does not provide anyway to highlight it, but what I can do is to add a character at the beginning of the active ports.
* CP2102 USB to UART Bridge Controller...
CP2102 USB to UART Bridge Controller...
* CP2102 USB to UART Bridge Controller...
In the previous case the first one and the last one are active.
What do you think?
yeah that might be cool, my main issue is that I have over 5 uarts, some are connected to test equipment like lab power supplies and multimeter, and some arduino etc, and of course they are all just slab_uart, or ftdi, etc, and it is hard to keep track of them lol
Even better would be remember the last device that was used and indicate it, even if inactive , probably requires saving stuff somewhere so might not be a good idea and prohibitive.
This might be a waste of time though, as its usefulness is still limited.
To remember what was the last device used isn't a problem, but where should it be displayed?
And what about the cases when you have devices with the same name, until now I didn't find any unique parameter to identify each device
I cannot tell which device is which, I love seeing the names, but when there are dups, its a problem
2 lines per port with both names would be nice