Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 21-01-2013, 04:55   #721
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,945
Siskiyous...

You are using the stable version of the program, but reading the documentation for the latest beta version on the web, which creates a bit of confusion - especially as the connection handling stuff is rewritten from scratch in the new version.
You can find the docs corresponding to your version bundled with it by clicking on the ? Icon in the toolbar.

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Old 21-01-2013, 08:16   #722
Registered User

Join Date: Jul 2011
Posts: 36
Re: Help / FAQ

That is good info, but I have done it both ways, I have been at this a week or more.
__________________

__________________
Siskiyous is offline   Reply With Quote
Old 21-01-2013, 08:33   #723
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,945
Quote:
Originally Posted by Siskiyous View Post
That is good info, but I have done it both ways, I have been at this a week or more.
Ok, so the only good way is using the manual corresponding to the version you are using, stay with that for reference.
Can we have a look at your logfile?
Are you sure that your gpsd actually runs well (you can check it by running xgps)? Are you sure your user is member of the dialout group to be able to use the gps at all?
The less real info we get from you, the more guesswork we have to employ. The more guesswork, the less useful the result will be

Pavel
__________________
nohal is offline   Reply With Quote
Old 21-01-2013, 09:29   #724
Registered User

Join Date: Jul 2011
Posts: 36
Re: Help / FAQ

I am sure gdps is not running well. I am a member of dialout, I slayed that dragon last week, but thank you for asking.

xgps shows no info on position - by the way the GPS itself works fine in OpenCpn in Windows 7.

Here is what happens when I try to start gdps after killing it.


richard@ubuntu:~$ gpsd -N -n -D 2 /dev/ttyUSB0
gpsd:INFO: launching (Version 3.6)
gpsd:INFO: listening on port gpsd
gpsd:INFO: NTPD ntpd_link_activate: 1
gpsd:INFO: stashing device /dev/ttyUSB0 at slot 0
gpsd:INFO: opening read-only GPS data source type 0 and at '/dev/ttyUSB0'
gpsd:ERROR: device open failed: No such file or directory - retrying read-only
gpsd:ERROR: read-only device open failed: No such file or directory
gpsd:ERROR: initial GPS device /dev/ttyUSB0 open failed
gpsd:INFO: running with effective group ID 1000
gpsd:INFO: running with effective user ID 1000
gpsd:INFO: startup at 2013-01-21T17:17:50.000Z (1358788670)


While this is not the only I have started gpsd none of the variations I have tried worked.

My OpenCpn logfile is huge - is that what your asking me to share? I am afraid in many cases I have to do more guessing at the answers to my questions than any other part of the puzzle.

So direct me to the logfile location less you want the OPENCPN logfile and then tell me the best way to share it with you.

I get to go to Eureka this AM for my Daughters birthday and time with the grand girls, but will be checking in this evening.

Thank you so much for your help sir.

This morning it showed the device at USB0 for Nobody - it is more ambiguous about its location for USER
__________________
Siskiyous is offline   Reply With Quote
Old 22-01-2013, 09:59   #725
Registered User

Join Date: Jul 2011
Posts: 36
Re: Help / FAQ

Bueler, anyone.....
__________________
Siskiyous is offline   Reply With Quote
Old 22-01-2013, 10:57   #726
Registered User

Join Date: Jul 2011
Posts: 36
Re: Help / FAQ

richard@ubuntu:~$ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 04f2:b293 Chicony Electronics Co., Ltd
Bus 002 Device 003: ID 0e8d:3329 MediaTek Inc.
richard@ubuntu:~$ cgps
cgps: no gpsd running or network error: -6, can't connect to host/port pair
richard@ubuntu:~$ gpscat
usage: gpscat [-s speed] [-p] [-t] [-D debuglevel] serial-port
__________________
Siskiyous is offline   Reply With Quote
Old 22-01-2013, 11:06   #727
Registered User

Join Date: Jul 2011
Posts: 36
Re: Help / FAQ

richard@ubuntu:~$ tail -f /var/log/syslog
Jan 22 11:04:19 ubuntu kernel: [ 1033.982851] usb 2-1.1: Product: GPS Receiver
Jan 22 11:04:19 ubuntu kernel: [ 1033.982856] usb 2-1.1: Manufacturer: MTK
Jan 22 11:04:19 ubuntu kernel: [ 1033.984526] cdc_acm 2-1.1:1.1: ttyACM0: USB ACM device
Jan 22 11:04:19 ubuntu mtp-probe: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
Jan 22 11:04:19 ubuntu mtp-probe: bus: 2, device: 4 was not an MTP device
Jan 22 11:04:19 ubuntu modem-manager[718]: <info> (ttyACM0) opening serial port...
Jan 22 11:04:23 ubuntu modem-manager[718]: <info> (ttyACM0) closing serial port...
Jan 22 11:04:23 ubuntu modem-manager[718]: <info> (ttyACM0) serial port closed
Jan 22 11:04:23 ubuntu kernel: [ 1038.122101] usb 2-1.1: USB disconnect, device number 4
Jan 22 11:04:23 ubuntu modem-manager[718]: <warn> Couldn't probe for capabilities, probably not a GSM or CDMA modem
Jan 22 11:05:28 ubuntu kernel: [ 1102.602436] usb 2-1.1: new full-speed USB device number 5 using ehci_hcd
Jan 22 11:05:28 ubuntu kernel: [ 1102.697040] usb 2-1.1: New USB device found, idVendor=0e8d, idProduct=3329
Jan 22 11:05:28 ubuntu kernel: [ 1102.697050] usb 2-1.1: New USB device strings: Mfr=3, Product=4, SerialNumber=0
Jan 22 11:05:28 ubuntu kernel: [ 1102.697056] usb 2-1.1: Product: GPS Receiver
Jan 22 11:05:28 ubuntu kernel: [ 1102.697061] usb 2-1.1: Manufacturer: MTK
Jan 22 11:05:28 ubuntu kernel: [ 1102.699689] cdc_acm 2-1.1:1.1: ttyACM0: USB ACM device
Jan 22 11:05:28 ubuntu mtp-probe: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1"
Jan 22 11:05:28 ubuntu mtp-probe: bus: 2, device: 5 was not an MTP device
Jan 22 11:05:28 ubuntu modem-manager[718]: <info> (ttyACM0) opening serial port...
Jan 22 11:05:40 ubuntu modem-manager[718]: <info> (ttyACM0) closing serial port...
Jan 22 11:05:40 ubuntu modem-manager[718]: <info> (ttyACM0) serial port closed
Jan 22 11:05:40 ubuntu modem-manager[718]: <info> (ttyACM0) opening serial port...
Jan 22 11:05:46 ubuntu modem-manager[718]: <info> (ttyACM0) closing serial port...
Jan 22 11:05:46 ubuntu modem-manager[718]: <info> (ttyACM0) serial port closed
Jan 22 11:05:46 ubuntu modem-manager[718]: <info> (ttyACM0) opening serial port...
Jan 22 11:05:55 ubuntu modem-manager[718]: <info> (ttyACM0) closing serial port...
Jan 22 11:05:55 ubuntu modem-manager[718]: <info> (ttyACM0) serial port closed
Jan 22 11:05:55 ubuntu modem-manager[718]: <warn> Couldn't probe for capabilities, probably not a GSM or CDMA modem
Jan 22 11:05:55 ubuntu kernel: [ 1129.635523] usb 2-1.1: USB disconnect, device number 5
__________________
Siskiyous is offline   Reply With Quote
Old 22-01-2013, 11:24   #728
Registered User

Join Date: Jul 2011
Posts: 36
Re: Help / FAQ

Jan 22 11:07:26 ubuntu modem-manager[718]: <info> (ttyACM0) serial port closed
^C
richard@ubuntu:~$ gpsmon
gpsmon: connection failure on localhost:2947, error -6 = can't connect to host/port pair.
richard@ubuntu:~$ cgps
cgps: no gpsd running or network error: -6, can't connect to host/port pair
richard@ubuntu:~$ lsof | grep ttyACM0
richard@ubuntu:~$ groups
richard adm dialout cdrom sudo dip plugdev lpadmin sambashare
richard@ubuntu:~$ gpsd -N -n -D 2 /dev/ttyACM0
gpsd:INFO: launching (Version 3.6)
gpsd:INFO: listening on port gpsd
gpsd:INFO: NTPD ntpd_link_activate: 1
gpsd:INFO: stashing device /dev/ttyACM0 at slot 0
gpsd:INFO: opening GPS data source type 2 at '/dev/ttyACM0'
gpsd:INFO: speed 115200, 8N1
gpsd:INFO: speed 9600, 8O1
gpsd:INFO: KPPS checking /sys/devices/virtual/pps/pps0/path, /dev/ttyACM0
gpsd:INFO: KPPS cannot open /dev/pps0: Permission denied
gpsd:ERROR: PPS ioctl(TIOCMIWAIT) failed: 22 Invalid argument
gpsd:INFO: speed 115200, 8N1
gpsd:INFO: gpsd_activate(): activated GPS (fd 6)
gpsd:INFO: device /dev/ttyACM0 activated
gpsd:INFO: running with effective group ID 1000
gpsd:INFO: running with effective user ID 1000
gpsd:INFO: startup at 2013-01-22T19:10:38.000Z (1358881838)
gpsd:INFO: /dev/ttyACM0 identified as type Generic NMEA (0.804769 sec @ 115200bps)
gpsd:WARN: can't use GGA time until after ZDA or RMC has supplied a year.
gpsd:WARN: unknown sentence: "$PMTK705,AXN_1.30,0000,,1.0*0B\x0d\x0a"


richard@ubuntu:~$ gpsd -N -D3 -F /var/run/gpsd.sock
gpsd:ERROR: can't listen on local socket /var/run/gpsd.sock
gpsd:ERROR: control socket create failed, netlib error -1
richard@ubuntu:~$ ldconfig
/sbin/ldconfig.real: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
richard@ubuntu:~$ sudo ldconfig
[sudo] password for richard:
richard@ubuntu:~$ gpsd -N -D3 -F /var/run/gpsd.sock
gpsd:ERROR: can't listen on local socket /var/run/gpsd.sock
gpsd:ERROR: control socket create failed, netlib error -1
richard@ubuntu:~$ gpsd -N -D3 -F /var/run/gpsd.sock /dev/ttyUSB0
gpsd:ERROR: can't listen on local socket /var/run/gpsd.sock
gpsd:ERROR: control socket create failed, netlib error -1
richard@ubuntu:~$ gpsd -N -D3 -F /var/run/gpsd.sock /dev/ttyUSB0
gpsd:ERROR: can't listen on local socket /var/run/gpsd.sock
gpsd:ERROR: control socket create failed, netlib error -1
richard@ubuntu:~$ sudo apt-get install udev
Reading package lists... Done
Building dependency tree
Reading state information... Done
udev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
richard@ubuntu:~$ tail -f /var/log/syslog
Jan 22 11:07:26 ubuntu modem-manager[718]: <info> (ttyACM0) closing serial port...
Jan 22 11:07:26 ubuntu modem-manager[718]: <info> (ttyACM0) serial port closed
Jan 22 11:09:04 ubuntu wpa_supplicant[965]: wlan0: WPA: Group rekeying completed with 20:e5:2a:60:c9:b0 [GTK=CCMP]
Jan 22 11:10:37 ubuntu kernel: [ 1412.031899] pps_core: LinuxPPS API ver. 1 registered
Jan 22 11:10:37 ubuntu kernel: [ 1412.031903] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
Jan 22 11:10:37 ubuntu kernel: [ 1412.035744] pps_ldisc: PPS line discipline registered
Jan 22 11:10:37 ubuntu kernel: [ 1412.035955] pps pps0: new PPS source acm0
Jan 22 11:10:37 ubuntu kernel: [ 1412.035963] pps pps0: source "/dev/ttyACM0" added
Jan 22 11:11:34 ubuntu kernel: [ 1468.571113] pps pps0: removed
Jan 22 11:17:01 ubuntu CRON[2909]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 22 11:21:12 ubuntu kernel: [ 2046.694656] usb 2-1.2: USB disconnect, device number 6
Jan 22 11:21:22 ubuntu kernel: [ 2056.902364] usb 2-1.2: new full-speed USB device number 7 using ehci_hcd
Jan 22 11:21:22 ubuntu kernel: [ 2056.996577] usb 2-1.2: New USB device found, idVendor=0e8d, idProduct=3329
Jan 22 11:21:22 ubuntu kernel: [ 2056.996588] usb 2-1.2: New USB device strings: Mfr=3, Product=4, SerialNumber=0
Jan 22 11:21:22 ubuntu kernel: [ 2056.996593] usb 2-1.2: Product: GPS Receiver
Jan 22 11:21:22 ubuntu kernel: [ 2056.996598] usb 2-1.2: Manufacturer: MTK
Jan 22 11:21:22 ubuntu kernel: [ 2056.997916] cdc_acm 2-1.2:1.1: ttyACM0: USB ACM device
Jan 22 11:21:23 ubuntu mtp-probe: checking bus 2, device 7: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2"
Jan 22 11:21:23 ubuntu mtp-probe: bus: 2, device: 7 was not an MTP device
Jan 22 11:21:23 ubuntu modem-manager[718]: <info> (ttyACM0) opening serial port...
Jan 22 11:21:34 ubuntu modem-manager[718]: <info> (ttyACM0) closing serial port...
Jan 22 11:21:34 ubuntu modem-manager[718]: <info> (ttyACM0) serial port closed
Jan 22 11:21:34 ubuntu modem-manager[718]: <info> (ttyACM0) opening serial port...
Jan 22 11:21:40 ubuntu modem-manager[718]: <info> (ttyACM0) closing serial port...
Jan 22 11:21:40 ubuntu modem-manager[718]: <info> (ttyACM0) serial port closed
Jan 22 11:21:40 ubuntu modem-manager[718]: <info> (ttyACM0) opening serial port...
Jan 22 11:21:52 ubuntu modem-manager[718]: <info> (ttyACM0) closing serial port...
Jan 22 11:21:52 ubuntu modem-manager[718]: <info> (ttyACM0) serial port closed
Jan 22 11:21:52 ubuntu modem-manager[718]: <info> (ttyACM0) opening serial port...
Jan 22 11:21:58 ubuntu modem-manager[718]: <info> (ttyACM0) closing serial port...
Jan 22 11:21:58 ubuntu modem-manager[718]: <info> (ttyACM0) serial port closed
C^C
richard@ubuntu:~$ gpsd -N -b -n -D 2 /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2
gpsd:INFO: launching (Version 3.6)
gpsd:INFO: listening on port gpsd
gpsd:INFO: NTPD ntpd_link_activate: 1
gpsd:INFO: stashing device /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 at slot 0
gpsd:INFO: opening read-only GPS data source type 0 and at '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2'
gpsd:INFO: KPPS gps_fd not a tty
gpsd:ERROR: PPS ioctl(TIOCMIWAIT) failed: 25 Inappropriate ioctl for device
gpsd:INFO: gpsd_activate(): activated GPS (fd 6)
gpsd:INFO: device /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 activated
gpsd:INFO: running with effective group ID 1000
gpsd:INFO: running with effective user ID 1000
gpsd:INFO: startup at 2013-01-22T19:22:30.000Z (1358882550)
gpsd:INFO: GPS on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 returned error -1 (0.000457 sec since data)
gpsd:WARN: device read of /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 returned error or packet sniffer failed sync (flags {ERROR})
gpsd:INFO: closing GPS=/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (6)
__________________
Siskiyous is offline   Reply With Quote
Old 22-01-2013, 11:34   #729
Registered User

Join Date: Jul 2011
Posts: 36
Re: Help / FAQ

richard@ubuntu:~$ sudo gpsd -N -D3 -F /var/run/gpsd.sock /dev/ttyUSB7
gpsd:INFO: launching (Version 3.6)
gpsd:INFO: listening on port gpsd
gpsd:INFO: NTPD ntpd_link_activate: 1
gpsd:INFO: stashing device /dev/ttyUSB7 at slot 0
gpsd:INFO: running with effective group ID 20
gpsd:INFO: running with effective user ID 65534
gpsd:INFO: startup at 2013-01-22T19:33:51.000Z (1358883231)
__________________
Siskiyous is offline   Reply With Quote
Old 22-01-2013, 11:58   #730
Registered User

Join Date: Jul 2011
Posts: 36
Re: Help / FAQ

Where do I go from here?

richard@ubuntu:~$ gpsctl -f -n /dev/ttyACM0
gpsctl:SHOUT: /dev/ttyACM0 identified as a Generic NMEA at 115200.
gpsctl:SHOUT: switching to mode NMEA.
richard@ubuntu:~$
__________________
Siskiyous is offline   Reply With Quote
Old 22-01-2013, 12:27   #731
Registered User

Join Date: Jan 2011
Location: UK/France
Boat: Gib'Sea 402
Posts: 167
Re: Help / FAQ

Siskiyous: why are you posting all this stuff on a FAQ thread? It should be in a thread of its own.
__________________
hoolie is offline   Reply With Quote
Old 23-01-2013, 08:44   #732
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,204
Re: Help / FAQ

Quote:
Originally Posted by Siskiyous View Post
Where do I go from here?

richard@ubuntu:~$ gpsctl -f -n /dev/ttyACM0
gpsctl:SHOUT: /dev/ttyACM0 identified as a Generic NMEA at 115200.
gpsctl:SHOUT: switching to mode NMEA.
richard@ubuntu:~$
Siskiyous
It's very difficult to follow your posts.
Back to square one!
Restart your computer. Plug in your USB gps. Start xgps. No more, no less.
What happens?
Thomas
__________________
cagney is offline   Reply With Quote
Old 24-01-2013, 14:31   #733
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,825
Re: Help / FAQ

AIS Alarm sound only runs one cycle.

Win XP OCPN 3.1.1319 but it could be also valid for stable 3. (My memory is good but maybe a bit short.)

My AIS alarm sound only run once. Or the very first time it sounds after program start it runs until I stop the sound or acknowledge the alarm. Next time the sound file only runs one loop and not continuously until I shut it of. I've tried a couple of different sound files but the same for all.

Any hint if there is anything I can do?

Thanks Håkan
__________________
Hakan is offline   Reply With Quote
Old 25-01-2013, 06:51   #734
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,825
Re: Help / FAQ

Quote:
Originally Posted by Hakan View Post
AIS Alarm sound only runs one cycle.
Well... I've found up the answer and it's a GOOD one. By testing with a GPS in simulation mode I found it's so that the alarm sounds continuously until silenced the first time it alerts for the actual vessel! When the alert for the same vessel is repeated the sound play once.

Wow, the program behaviour is better then anticipated. And please dear team of builds I'm not underrate you at all. I'm not used to all your skills yet.

May I suggest you to mention this function in the Wiki?

Thanks Håkan
__________________
Hakan is offline   Reply With Quote
Old 17-02-2013, 12:45   #735
Registered User

Join Date: Feb 2013
Posts: 9
.kap chart files don't work

I downloaded some free openSeaMap charts in kap-format to my Ubuntu 12.10 OS. They don't work and the OpenCPN crashes. The old CM93 files are working correctly. Can anybody tell me if there is something I still have to do with the files to get them operational. The files are in a separate folder parallel to the CM93 folder.

Suggestions?
Simppa
__________________

__________________
Simppa is offline   Reply With Quote
Reply

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



Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 07:30.


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.