Posts: 23
Threads: 5
Joined: Apr 2016
Reputation:
0
2016-04-11, 03:02 PM
(This post was last modified: 2016-04-13, 05:40 PM by Sailoog.)
hello
I'm using open plotter 8.0 with a usb gps device (Ublox/FTDI usb to serial)
Unfortunately the multiplexer drops this connectio and i have to restart
any ideas what is causing this
Posts: 2,900
Threads: 59
Joined: Mar 2016
Reputation:
278
Open OpenPlotter in debug mode and restart the NMEA 0183 multiplexer to see if kplex is reporting errors.
Posts: 2,900
Threads: 59
Joined: Mar 2016
Reputation:
278
Is your module 3.3v or 5V?
How much amp are you demanding from Raspberry pins?
Posts: 2,900
Threads: 59
Joined: Mar 2016
Reputation:
278
There is a space after python.
Enviat des del meu fnac 5 usant Tapatalk
Posts: 341
Threads: 0
Joined: Apr 2016
Reputation:
23
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