2016-04-12, 01:13 AM
You are able to use the same serial port for different programs.
You can also give a serial port two or more names.
Configuration problems
Or you have hardware problems
Or OP issues.
Configuration problems
Please check that in SignalK-Tab NMEA2000 port is set to none (if you don't have an can-usb adapter).
Check also Opencpn that there is no serial port in the configuration.
Have you used USB manager?
Yes
have you used Remember port?
Are you sure you didn't change any serial from one port to an other?
How to check serial configuration of the USB manager: type
$ ls /dev/tty*
look for the devices behind tty9.
now pull of your usb-serial gps and type again
$ ls /dev/tty*
there should be one yellow ttyUSB missing and your blue ttyOP...
Otherwise (if two blue ttyOP... are gone) you have changed ports.
Reconfig USB manager
Delete all USBs from the list
Look if the file is empty
$ cat /etc/udev/rules.d/10-openplotter.rules
pull out all serial usb adapter
push in the first. give it a name...
Hardware problem
To be sure that your PI and gps are OK, it is best to shutdown anything from openplotter.
Open a terminal on your desktop
$ killall node
$ killall kplex
$ killall python
pull of all usb-serial adapter
push in the usb-serial adapter from the gps
$ ls /dev/tty*
there should be only one ttyUSB0
there should be in maximum only one yellow ttyOP...
$ sudo apt-get install cutecom
$ cutecom
select device /dev/ttyUSB0
select baud rate
open device
now look if it works for an hour.
OP issues
Debug Openplotter as already mentioned by Sailoog
You can also give a serial port two or more names.
Configuration problems
Or you have hardware problems
Or OP issues.
Configuration problems
Please check that in SignalK-Tab NMEA2000 port is set to none (if you don't have an can-usb adapter).
Check also Opencpn that there is no serial port in the configuration.
Have you used USB manager?
Yes
have you used Remember port?
Are you sure you didn't change any serial from one port to an other?
How to check serial configuration of the USB manager: type
$ ls /dev/tty*
look for the devices behind tty9.
now pull of your usb-serial gps and type again
$ ls /dev/tty*
there should be one yellow ttyUSB missing and your blue ttyOP...
Otherwise (if two blue ttyOP... are gone) you have changed ports.
Reconfig USB manager
Delete all USBs from the list
Look if the file is empty
$ cat /etc/udev/rules.d/10-openplotter.rules
pull out all serial usb adapter
push in the first. give it a name...
Hardware problem
To be sure that your PI and gps are OK, it is best to shutdown anything from openplotter.
Open a terminal on your desktop
$ killall node
$ killall kplex
$ killall python
pull of all usb-serial adapter
push in the usb-serial adapter from the gps
$ ls /dev/tty*
there should be only one ttyUSB0
there should be in maximum only one yellow ttyOP...
$ sudo apt-get install cutecom
$ cutecom
select device /dev/ttyUSB0
select baud rate
open device
now look if it works for an hour.
OP issues
Debug Openplotter as already mentioned by Sailoog