Linux boat navigation OS
Re: Linux boat navigation OS
Hmmm, try putting a forward slash in front of: "/dev/ttyS2"
Possibly this only works with a 19/30 on "S2". I'll put up some screen shots of the procedure I used
Possibly this only works with a 19/30 on "S2". I'll put up some screen shots of the procedure I used
CF-53 MX-Linux 21 Wildflower
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
Re: Linux boat navigation OS/Starting GPS automatically
Sadlmkr wrote:Seemed the CF-29 just wanted to sleep on it.UNCNDL1 wrote:I've been working on a Linux script/command line option to start the stock Panasonic GPS on the CF-19/30 following Sadlmkr's lead. I found this posting on the Navigatrix site:
http://navigatrix.net/viewtopic.php?f=4&t=640
It was a guy having a problem with a BT gps, BUT...the directions to solve his problem helpted me out. I typed this command in Terminal: "sudo dpkg-reconfigure gpsd"
author had a typ but that's okay. Typing in that command takes you to the gpsd configuration script page. I followed the directions on the above posting, and put in my usb details that Sadlmkr discovered:
"dev/ttyS2" is the setting for the Panasonic Factory gps configured on Com 3, Baud 4800 in Windows. I entered this and tabbed through the script and saved/exited and then ran this script:
"sudo service gpsd restart"
I re-booted and went outside and .... voila, now I can open Foxtrot GPS program and it immediately works and starts tracking sats...woo hoo!
1. Boot
2. Password
3. FoxtrotGPS
4, Looked for violas but none found.Too much fiddling around.
Thanks Cleve.
- Attachments
-
- Add your device here:
mine is /dev/ttyS2
capital S - Screenshot-Terminal2.png (35.53 KiB) Viewed 76243 times
-
- 1. Make sure gpsd is installed
2. Configure gpsd for your device
3. In Terminal, type this:
sudo dpkg-reconfigure gpsd
4. Use Tab key to hit ok and go to next screen
5. Configure your device and then save.
6. Tab to next page, leave it blank
7. Tab to last page, keep defaults
8. Save and exit
9. In Terminal, run this:
sudo service gpsd restart
Wait until it finishes and then exit Terminal.
I re-booted the computer and clicked on Foxtrot,
it found my position instantly on a CF-19 and a CF-30 with stock oem Panasonic Gps - Screenshot1-Terminal.png (21.62 KiB) Viewed 76243 times
CF-53 MX-Linux 21 Wildflower
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
Re: Linux boat navigation OS
Sorry if it did not or will not work for you, call me and I can talk you through it. It's worth the effort in my opinion. Hoping someone else can validate this:
Sorry about above screen shots, but when you configure/re-configure gpsd, there are three or four pages to go through. On the first page you would tab over to YES, and then hit enter. Next page is where you would configure your device. The nice thing is once you do this, at least for me, is that now when I turn on the Toughbook and click on FoxtrotGPS, it finds my position right away and displays a map. The settings would be different if you are using a usb gps or have installed yours on a different port.
I leave the third page blank, and the fourth page I accept the defaults, and then exit.
1. sudo dpkg-reconfigure gpsd
2. "configure gpsd (see above)" /dev/ttyS2
3. sudo service gpsd restart
4. re-boot system after you see OK in the terminal
Sorry about above screen shots, but when you configure/re-configure gpsd, there are three or four pages to go through. On the first page you would tab over to YES, and then hit enter. Next page is where you would configure your device. The nice thing is once you do this, at least for me, is that now when I turn on the Toughbook and click on FoxtrotGPS, it finds my position right away and displays a map. The settings would be different if you are using a usb gps or have installed yours on a different port.
I leave the third page blank, and the fourth page I accept the defaults, and then exit.
1. sudo dpkg-reconfigure gpsd
2. "configure gpsd (see above)" /dev/ttyS2
3. sudo service gpsd restart
4. re-boot system after you see OK in the terminal
CF-53 MX-Linux 21 Wildflower
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
Re: Linux boat navigation OS
Remember the tab key ...answer should be red when you hit enter.
Cleve, What are you using on page 3... (-n -?) In a manual configuration I have much success with:
Caps are critical as are spaces. Then to check it I use:
-n and -G were in one of the OPENCPN terminals which makes sense.
Sent from new WattOS/FoxtrotGPS install on CF-19 MK2.
Re-booting is your friend.
FromManual for GPSD
-F
Create a control socket for device addition and removal commands.
You must specify a valid pathname on your local filesystem; this
will be created as a Unix-domain socket to which you can write
commands that edit the daemon's internal device list.
-S
Set TCP/IP port on which to listen for GPSD clients (default is
2947).
-b
Broken-device-safety mode, otherwise known as read-only mode. A few
bluetooth and USB receivers lock up or become totally inaccessible
when probed or reconfigured; see the hardware compatibility list on
the GPSD project website for details. This switch prevents gpsd
from writing to a receiver. This means that gpsd cannot configure
the receiver for optimal performance, but it also means that gpsd
cannot break the receiver. A better solution would be for Bluetooth
to not be so fragile. A platform independent method to identify
serial-over-Bluetooth devices would also be nice.
-G
This flag causes gpsd to listen on all addresses (INADDR_ANY)
rather than just the loop back (INADDR_LOOPBACK) address. For the
sake of privacy and security, TPV information is now private to the
local machine until the user makes an effort to expose this to the
world.
-l
List all drivers compiled into this gpsd instance. The letters to
the left of each driver name are the gpsd control commands
supported by that driver.
-n
Don't wait for a client to connect before polling whatever GPS is
associated with it. Some RS232 GPSes wait in a standby mode
(drawing less power) when the host machine is not asserting DTR,
Cleve, What are you using on page 3... (-n -?) In a manual configuration I have much success with:
Code: Select all
sudo gpsd -D5 -N -n /dev/ttyS2
Code: Select all
xgps
![:eek: :eek:](./images/smilies/eek.gif)
Sent from new WattOS/FoxtrotGPS install on CF-19 MK2.
Re-booting is your friend.
From
Code: Select all
man gpsd
-F
Create a control socket for device addition and removal commands.
You must specify a valid pathname on your local filesystem; this
will be created as a Unix-domain socket to which you can write
commands that edit the daemon's internal device list.
-S
Set TCP/IP port on which to listen for GPSD clients (default is
2947).
-b
Broken-device-safety mode, otherwise known as read-only mode. A few
bluetooth and USB receivers lock up or become totally inaccessible
when probed or reconfigured; see the hardware compatibility list on
the GPSD project website for details. This switch prevents gpsd
from writing to a receiver. This means that gpsd cannot configure
the receiver for optimal performance, but it also means that gpsd
cannot break the receiver. A better solution would be for Bluetooth
to not be so fragile. A platform independent method to identify
serial-over-Bluetooth devices would also be nice.
-G
This flag causes gpsd to listen on all addresses (INADDR_ANY)
rather than just the loop back (INADDR_LOOPBACK) address. For the
sake of privacy and security, TPV information is now private to the
local machine until the user makes an effort to expose this to the
world.
-l
List all drivers compiled into this gpsd instance. The letters to
the left of each driver name are the gpsd control commands
supported by that driver.
-n
Don't wait for a client to connect before polling whatever GPS is
associated with it. Some RS232 GPSes wait in a standby mode
(drawing less power) when the host machine is not asserting DTR,
J'dI did not use any terminal commands on the last install except xgps to see if things were working. Used Cleve's instructions.
Fair for you/ Fair for me.
I chose to NOT be organized.
-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/
I chose to NOT be organized.
-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/
Re: Linux boat navigation OS
Oh, you were talking to me. ![:D :D](./images/smilies/biggrin.gif)
Yes I use a /.....that was a typo. When I turned the 29 on this am it fired the gps right up. Working fine.![:D :D](./images/smilies/biggrin.gif)
For those interested the 29 is a Custom Sirf GPS and antenna in lid corner. Yesterday it was giving me fits. CF-29HTM50BM Leather logo.
![:D :D](./images/smilies/biggrin.gif)
Yes I use a /.....that was a typo. When I turned the 29 on this am it fired the gps right up. Working fine.
![:D :D](./images/smilies/biggrin.gif)
For those interested the 29 is a Custom Sirf GPS and antenna in lid corner. Yesterday it was giving me fits. CF-29HTM50BM Leather logo.
Fair for you/ Fair for me.
I chose to NOT be organized.
-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/
I chose to NOT be organized.
-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/
Re: Linux boat navigation OS
Lefty, glad it's working now. To answer your question, tabbing through the pages of the gpsd reconfiguration process, after A-okaying my device on /dev/ttyS2, the next page has possible code but I made them blank, I did accept the next page defaults before A-okaying and exiting...not sure about that page you mention, keep us informed. Wondering how this would work on your CF-53 with GOBI configured in gpsd???
p.s., your newly minted 17 (32 and 64 bit) usb drives are ready for united states snail mail
It's a screaming system![:salute: :salute:](./images/smilies/icon_salut.gif)
A-okaying = accept, say yes, ...
Added a link to another forum explaining this mumbo jumb from left to right:
http://navigatrix.net/viewtopic.php?f=4&t=366
Must read it through all the way as there is a typo the first answer to an op's question...![:cheers: :cheers:](./images/smilies/occasion14.gif)
![:pat: :pat:](./images/smilies/pat.gif)
p.s., your newly minted 17 (32 and 64 bit) usb drives are ready for united states snail mail
It's a screaming system
![:salute: :salute:](./images/smilies/icon_salut.gif)
A-okaying = accept, say yes, ...
Added a link to another forum explaining this mumbo jumb from left to right:
http://navigatrix.net/viewtopic.php?f=4&t=366
Must read it through all the way as there is a typo the first answer to an op's question...
![:cheers: :cheers:](./images/smilies/occasion14.gif)
Last edited by UNCNDL1 on Fri Jun 06, 2014 2:55 pm, edited 1 time in total.
CF-53 MX-Linux 21 Wildflower
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
Re: Linux boat navigation OS
That's the beauty of having two people working on it. I was in a rut.....with -n -D5 etc.
Stand by for reconfigure.
J'd
Stand by for reconfigure.
J'd
Fair for you/ Fair for me.
I chose to NOT be organized.
-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/
I chose to NOT be organized.
-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/
Re: Linux boat navigation OS
Double post...so fire me.
I settled on -G, doesn't seem to change it but I like the description above.
This is a CF-19 FHGAXAM with CF-30 GPS and antenna. Antenna in a techtuff bump-out. FWIW.
If anyone does not know what any of the above code means read MAN GPSD. Then call us. We are happy to help.![:D :D](./images/smilies/biggrin.gif)
J'd (jayburd)
I settled on -G, doesn't seem to change it but I like the description above.
This is a CF-19 FHGAXAM with CF-30 GPS and antenna. Antenna in a techtuff bump-out. FWIW.
If anyone does not know what any of the above code means read MAN GPSD. Then call us. We are happy to help.
![:D :D](./images/smilies/biggrin.gif)
J'd (jayburd)
Fair for you/ Fair for me.
I chose to NOT be organized.
-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/
I chose to NOT be organized.
-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/
Re: Linux boat navigation OS/Navigatrix 0.5
I know this link that Ador started is a boon for those wanting to use their Toughbooks with Linux and a mapping program such as FoxtrotGPS. It's great when you turn her on and it all just works, with no monkeying about first (Thanks Sadlmkr & Ador). This link brings it back full circle, for those into navigating the waterways. As Navigatrix was developed for the voyager in mind, here is a link for open seas maps: http://www.openseamap.org/index.php?id=61&L=1
This program looks similar to the OpenStreetMaps project. Now more reading....
Here is a link to the forums on Navigatrix, which makes for some interesting reading:
http://navigatrix.net/support.php
This program looks similar to the OpenStreetMaps project. Now more reading....
![:pat: :pat:](./images/smilies/pat.gif)
Here is a link to the forums on Navigatrix, which makes for some interesting reading:
http://navigatrix.net/support.php
CF-53 MX-Linux 21 Wildflower
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
Re: Linux boat navigation OS/Navigatrix 0.5
For older systems, here is the link for the Navigatrix 0.4 version (note, this is in the linked posting, scroll down to post # 8, they are NOT numbered, you have to count)UNCNDL1 wrote:Here's a link to the documentation page for Navigatrix 0.5:
http://navigatrix.net/nxdoc/docs/confignx.html
There are lot's of tips on configuring your install and customizing it too.
If anyone knows how to download the older version of Navigatrix, which is 0.4, I'd really like to get my hands on a copy.
P.S., this loaded via cd/dvd drive on a CF-28 PIII with 256 GB RAM. As above, you can run this in RAM and/or install it to your hard drive(s).
Best regards to all
http://navigatrix.net/viewtopic.php?f=4&t=643
This older iso worked on a CF-28 PIII MK3.
Newest version of Navigatrix 0.5 is June, found here:
http://navigatrix.net/download.php
You'll have to register (for free) and then go to the download page. Note, the forum is under "support", and there is alot of great reading.
Best regards,
Cleve
![:salute: :salute:](./images/smilies/icon_salut.gif)
CF-53 MX-Linux 21 Wildflower
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield
CF-30 MK2 SSD MX-21 Betsy, MK2 Navigatrix, Fundraiser for TbT
CF-52 GUN SSD MX-19
(NICE) Thanks Sadlmkr
CF-M34 MicroWattR8 Thanks Sadlmkr
CF-M33 MicroWattR8 Thanks Springfield