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
[SOLVED] usb nmea connection unstable
#10
(2016-04-12, 01:13 AM)e-sailing Wrote: 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). No
Check also Opencpn that there is no serial port in the configuration. No
Have you used USB manager?
Yes
have you used Remember port? No i used remember device changing to remember port increased stability
Are you sure you didn't change any serial from one port to an other? sud

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...  OK
$ sudo apt-get install cutecom
$ cutecom
select device /dev/ttyUSB0
select baud rate
open device
now look if it works for an hour.  This is the problem cutecom loses connection after a couple of minutes

OP issues
Debug Openplotter as already mentioned by Sailoog
Reply


Messages In This Thread
RE: usb nmea connection unstable - by Sailoog - 2016-04-11, 06:32 PM
RE: usb nmea connection unstable - by Sailoog - 2016-04-11, 06:48 PM
RE: usb nmea connection unstable - by tkoning - 2016-04-11, 10:01 PM
RE: usb nmea connection unstable - by Sailoog - 2016-04-11, 10:51 PM
RE: usb nmea connection unstable - by e-sailing - 2016-04-12, 01:13 AM
RE: usb nmea connection unstable - by tkoning - 2016-04-12, 09:29 AM
RE: usb nmea connection unstable - by tkoning - 2016-04-12, 08:20 PM
RE: usb nmea connection unstable - by e-sailing - 2016-04-12, 10:33 AM
RE: usb nmea connection unstable - by tkoning - 2016-04-12, 11:38 AM
RE: usb nmea connection unstable - by tkoning - 2016-04-12, 09:42 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)