Page 2 of 4

Re: Getting CF-30 OEM GPS to work under Linux/Ubuntu

Posted: Mon Jun 16, 2014 5:03 pm
by Azrial
Guys, on your Toughbook's that you have Linux and GPS installed. particularly the CF-30's, more particularly the Mk2... How many of you also have Bluetooth?

I am working on programming my new Motorola XPR7550 DMR Radio now and it is its own set of headaches. How many brain boggling hobbies can one man have! LoL

Re: Getting CF-30 OEM GPS to work under Linux/Ubuntu

Posted: Mon Jun 16, 2014 6:10 pm
by SHEEPMAN!
Most of my fleet is bluetooth equipped. A dozen or more?

You still having GPS fits? Sounds like you are thinking conflicts. The other alternative is hardware/cabling....

Hey, Teo how do we jump start this OEM GPS? Still works with W7 though, right Bill?

Re: Getting CF-30 OEM GPS to work under Linux/Ubuntu

Posted: Mon Jun 16, 2014 8:34 pm
by Azrial
Yep, works like a charm in Win7, so the problem is not hardware. Also, Ubuntu 13.04 worked on Google Maps when I had the CF-30 Mk-1, but I had very similar problems to what I am having now with FoxTrot, Viking, XGPS, etc ( I tried them all!). My theory is that GPSD is flawed when it comes to serial GPS!

Re: Getting CF-30 OEM GPS to work under Linux/Ubuntu

Posted: Mon Jun 16, 2014 9:17 pm
by SHEEPMAN!
Good call. We're missing something.

Re: Getting CF-30 OEM GPS to work under Linux/Ubuntu

Posted: Mon Jun 16, 2014 10:28 pm
by SHEEPMAN!
One thing I'm looking at....what version of GPSD are you running? I just fired up and ran a MK2 with 3.6 via USB Navigatrix. /dev/ttyS2.

I looked at the list of programs navigatrix uses and GPS Babel is on the list, also babel doc and gui. So do you have GPSBabel installed?

Confusing.

Re: Getting CF-30 OEM GPS to work under Linux/Ubuntu

Posted: Mon Jun 16, 2014 11:34 pm
by Azrial
I will have to look Jeff, it is the latest copy. I will have it in front of me again tomorrow night.

Re: Getting CF-30 OEM GPS to work under Linux/Ubuntu

Posted: Tue Jun 17, 2014 7:54 pm
by UNCNDL1
Sadlmkr wrote:I'm working on a completely different project and there is gpsd data interfering.
My recommendation:
sudo killall gpsd
sudo apt-get remove gpsd gpsd-clients #testing....tested fine
sudo apt-get autoremove # as recommended by apt
restart
sudo apt-get gpsd gpsd-clients #answer yes to python and lib20
restart
In bios set gps to other than auto ...#I'm hacking a bios locked 52 so can't go there now.
OUT OF ORDER.....in terminal send $groups # to see if you are in dialout group
gun@GUNBP2M ~/Desktop $ groups
gun adm dialout fax cdrom floppy tape sudo audio dip video plugdev netdev fuse lpadmin scanner sambashare
gun@GUNBP2M ~/Desktop $
The first word is you, the rest are the groups you have access to. adm is supposed to cover it all but I add dialout anyway. Dialout includes access to tty. Check this to see if I am clear.
There's a quote somewher by berlios "sanity check"...I'll find it...wait one....heh! guess who. :D
http://forum.notebookreview.com/panason ... ost9484075
On a CF-30MK3...using Navigatrix 0.5 June (newest version) 14.04
Okay, on the trusted CF-19 using Navigatrix, to type this up now:
Followed Jeff's advice and went into bios (f2) during booting, and changed gps to "enable" instead of "auto". I also temporarily disabled BT and Parallel Ports.
There are four manual choices to set: 3E8/IRQ11, 3F8/IRQ4, 2F8/IRQ3, 2E8/IRQ10.
I went through and tried each manual setting, followed by re-booting.
This one worked for me, but the MK2 might be different: 3E8/IRQ11
Bingo, voila, yes....xgps locked in the sats and foxtrotgps found my position instantly!
Give it a go, and let us know!
Cleve :salute:

Re: Getting CF-30 OEM GPS to work under Linux/Ubuntu

Posted: Wed Jun 18, 2014 1:19 pm
by SHEEPMAN!
I sorta did this. Mainly I went into bios and set the serial port drivers to disabled..... all of them plus bluetooth then re-booted. After that I shut down, went into bios and set to defaults and since I am running Mint 17 set monitor to "Internal" saved and booted.
GPSD started with sudo gpsd /dev/ttyS2 # no letters in there.
XGPS had 10 sats instantly using 6 or 7.
Foxtrotgps ran normally.
So....then I sudo killall gpsd
sudo dpkg-reconfigure gpsd
Yes to serial gps.
No to USB.
/dev/ttyS1
nothing
accepted default.
Re-boot and xgps was very quick...like 3 seconds.

A point:
If gpsd is running in a terminal and you shut it down "you shut it down". It's off. Which is why I use sudo dpkg-reconfigure. That way it's on and you can't kill it accidentally.
If you want to test a running, visible instance of gpsd open another terminal. <<the point. :)

Re: Getting CF-30 OEM GPS to work under Linux/Ubuntu

Posted: Thu Jun 19, 2014 2:56 am
by UNCNDL1
Jeff, thank you, your above post makes since to me regarding gpsd.
BTW, I spoke with Moe over at the Navigatrix site, and he said if a question was posted regarding gps and linux, they would try to sort it out and help. Their site is found here:
http://navigatrix.net/viewforum.php?f=4 ... 8b9cef67a4
You need to register (free) with a user name and email/password. The forums are under "support" on their main page.
They are a great bunch. Lot's of good reading there.

Re: Getting CF-30 OEM GPS to work under Linux/Ubuntu

Posted: Fri Jun 20, 2014 1:31 am
by Azrial
Wow, I have a LOT to try! I am off for a few days, maybe I will get to try it then! Thanks for the help!!!