This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Signalk serial ports and discovered connections
#5
(2019-12-15, 05:42 PM)mikedeflieslife Wrote: I'm close to getting my system set up how I want it, but i'm having an issue with connections in Signalk.

Each time I restart the Pi the serial ports change. 

In one session my CAN-USB might be at /dev/ttyUSB0 and my GPS might be /dev/ttyUSB1

If I restart the Pi, these might switch, Or even move to completely new ports like /dev/ttyUSB2

Is this normal expected behaviour? Is it possible to bind them to specific physical ports?

Secondly, the signalk server shows 'Discovered connections' in this case my Simrad NSS8. 

I can't seem to do anything with this discovered connection though. Should it be that you could click on it and set it to 'Enabled' or that it becomes automatically enabled? Mine does neither. 

If I have to add it manually (which I can do) what is point in the 'Discovered connections' 

Thanks in advance

Yes, that is the expected linux behaviour with serial devices. As Jim said, you need to set some udev rules to fix this but using udev is not easy.

The good news is that I have just released openplotter-serial app and it will do all the job for you :Smile you can set an alias to your device and you have to use that alias when you want to configure your device in any program. Your device will be remembered by its serial number or even by its position in the USB connector or hub. You will be able to crete connections with other apps or programs like SK, CAN, GPSD, pypilot...
Reply


Messages In This Thread
RE: Signalk serial ports and discovered connections - by Sailoog - 2019-12-16, 08:39 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)