Skip to content
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

is it possible to set Serial Port Name in the config file? #79

Open
pfostenberg opened this issue Oct 15, 2022 · 1 comment
Open

is it possible to set Serial Port Name in the config file? #79

pfostenberg opened this issue Oct 15, 2022 · 1 comment

Comments

@pfostenberg
Copy link

Hi,

I have more than one USB devices and on some reboots the get reordered / swapped.
other tools I can change to /dev/ttyUSBbms or /dev/ttyUSBpip.
Set the names via a USB rule script.
But can't set the port in the config file?
I find only numbers?

BR and very nice tool!

Andreas

@pfostenberg
Copy link
Author

pfostenberg commented Oct 28, 2022

Hi,
I found a solution for my problem. It's more a work arround.
My 2 USB devices are randomly ttyUSB1 or 0 ( swapped sometimes on boot)
In the solpip config I can address only number ... 1...5
so 0,1 are random.
So I wrote a serial rule where the USB id renames the device where the pip is connected to /dev/ttyUSB5
the config now access the no 5 constant. if it is 0 or 1 in real.... does not care and the device can reboot many times.
Only I'm limited to 4 devices ... but only need 3 -:)

Hope someone can use this...

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

No branches or pull requests

1 participant