Cruisers Forum

Join CruisersForum Today

  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
Thread Tools Search this Thread Rate Thread Display Modes
Old 14-11-2016, 08:51   #1
Registered User

Join Date: Jan 2013
Location: Port Bourgenay, France
Boat: Bavaria 33 Cruiser, 2015 , 33ft
Posts: 16
gpsd issues with UBUNTU 16-04

I recently made an upgrade from navigatrix 05 that's using 15.04 to Ubuntu 16-04.
I discovered an issue working with OpenCPN and gpsd getting data from USB ports.
In 15.04 it was possible to define in the file /etc/default/gpsd a statement DEVICE="" , it doesn't work with 16.04 because you are obliged to put inside the quotes /dev/ttyUSB0.
gpsd works well after the first connection, but after an hibernate wake up gpsd fails to retreive any data for /dev/ttyUSB0, because the port switched to /dev/ttyUSB1.
I finally found why gpsd was not working. In the file /lib/udev/rules.d/60-gpsd.rules the line adressing PL2303 prolific adapter was starting with a "#".

ATTRS{idVendor}=="067b",ATTRS{idProduct}=="2303",S YMLINK+="gps%n", TAG+="systemd", ENV{SYSTEMD_WANTS}="gpsdctl@%k.service"

Remove this character, then gpsd works fine.
you can hibernate the computer many times, gpsd finds the NMEA sentences sent on the ttyUSBn ports.
What can be done in the next releases to make the gpsd setup easier ?
Hope it helps.
AlainT is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN Linux / Ubuntu Issues and Questions yachtmanforfun OpenCPN 65 24-01-2018 09:06
ubuntu 12.04 first time installation grafical issues sailor2014 OpenCPN 12 07-02-2015 08:22
Ubuntu Version gpsd Restart Daemon ? sdowney717 OpenCPN 0 08-08-2011 08:24
Setup Ubuntu GPSd/GPSLib, AIS and Other NMEA Data bluearcus OpenCPN 8 31-08-2010 02:50
GPSD to Remove D-BUS Support in Favor of GeoClue antonm OpenCPN 4 24-03-2010 04:50

Advertise Here

All times are GMT -7. The time now is 20:57.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.