Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 21-01-2013, 08:11   #1
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 3,541
USB GPS Keeps Changing Ports

I have the latest O running in ubuntu on a toshiba laptop, all good so far but the gps seems to keep jumping between \dev\ttyusb0 and \dev\ttyusb1
AIS seems fine so far, both are through serial/usb adaptors.

Any ideas why or pointers to a work around? The GPS has always been a bit grumpy, worse in win7.

And great work guys, very nice prog.


Thanks in advance all


Paddy
__________________

__________________
conachair is offline   Reply With Quote
Old 21-01-2013, 09:23   #2
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 374
Re: Usb GPS keeps changing ports?

Hopefully I haven't misinterpreted the question but in case no-one else replies...

Think about writing udev rules. This will allow you to ensure that when a hotpluggable device (like usb to serial converter) is plugged in, some characteristic of of that device (e.g. the model of adapter or the port you've plugged it into) is used to map it to a particular device name. It won't look at the data stream and suss out that it's a GPS input, but if you always use a particular serial-to-usb adapter or particular port for your GPS, this could sort you out. Note that the document mentioned refers to "udevinfo". On ubuntu use udevadm (syntax different: see udevadm(8))
__________________

__________________
muttnik is offline   Reply With Quote
Old 21-01-2013, 09:34   #3
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 3,541
Re: Usb GPS keeps changing ports?

Quote:
Originally Posted by muttnik View Post
Hopefully I haven't misinterpreted the question but in case no-one else replies...

Think about writing udev rules.
That looks great, thanks. Lots to learn
__________________
conachair is offline   Reply With Quote
Old 28-01-2013, 23:26   #4
Registered User

Join Date: Feb 2011
Posts: 242
Re: Usb GPS keeps changing ports?

See this thread:

OpenCPN Version 2.5 Release

Haven't tried it yet myself, but it's on my list

Let us know how it works for you
__________________
dave777 is offline   Reply With Quote
Reply

Tags
gps, ports

Thread Tools
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
USB GPS Antenna with OpenCPN? pillum Marine Electronics 7 16-10-2015 15:27
Permanent Setup for USB GPS Puck arjand Navigation 7 26-01-2012 02:18
USB Ports and Sleep tribord OpenCPN 2 20-11-2011 13:01
GPS into VHF Radio from PC Running OpenCPN with USB Device ? sdowney717 OpenCPN 17 16-08-2011 06:29
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 05:31



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 18:50.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.