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

Due to overwhelming demand, we have created a forum just dedicated to Toughbook users who use Linux!
Message
Author
User avatar
Azrial
Posts: 540
Joined: Sun Nov 29, 2009 1:52 pm
Location: Hotlanta, GA, USA!
Contact:

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

#21 Post by Azrial »

Well I have tried Navigatrix (Thanks Cleve!) and Ubuntu and both will not let me add myself to the Dialout User Group. With Navigatrix part of the problem is that I must log out and back in for the group change to be effective and I am still running that OS live.

Ubuntu of course is installed on my CF-30. This is what happens when I try to add myslef to Dialout

azrial@ShadowJack-L:~$ sudo usermod -a -G dialout $azrial
[sudo] password for azrial:
Usage: usermod [options] LOGIN

Options:
-c, --comment COMMENT new value of the GECOS field
-d, --home HOME_DIR new home directory for the user account
-e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
-f, --inactive INACTIVE set password inactive after expiration
to INACTIVE
-g, --gid GROUP force use GROUP as new primary group
-G, --groups GROUPS new list of supplementary GROUPS
-a, --append append the user to the supplemental GROUPS
mentioned by the -G option without removing
him/her from other groups
-h, --help display this help message and exit
-l, --login NEW_LOGIN new value of the login name
-L, --lock lock the user account
-m, --move-home move contents of the home directory to the
new location (use only with -d)
-o, --non-unique allow using duplicate (non-unique) UID
-p, --password PASSWORD use encrypted password for the new password
-R, --root CHROOT_DIR directory to chroot into
-s, --shell SHELL new login shell for the user account
-u, --uid UID new UID for the user account
-U, --unlock unlock the user account
-v, --add-subuids FIRST-LAST add range of subordinate uids
-V, --del-subuids FIRST-LAST remvoe range of subordinate uids
-w, --add-subgids FIRST-LAST add range of subordinate gids
-W, --del-subgids FIRST-LAST remvoe range of subordinate gids
-Z, --selinux-user SEUSER new SELinux user mapping for the user account

azrial@ShadowJack-L:~$ groups
azrial adm cdrom sudo dip plugdev lpadmin sambashare


Even if I logout and back in I can not see dialout added. :doh:
Ergo, both Linuxs have the same result, so far, no GPS. Thanks for all your help guys!
I am what I am, somebody has to be.
Call me for free from anywhere in the USA from my homepage! http://www.azrial.com/
CF-31JEGAX1M Mk2 Intel i5-2520M 2.50 GHz, Win7x64 & Ubuntu x64 14.04LTS Dual Boot, 16GB RAM, Samsung 250GB SSD, 2x64GB USB FD, 64GB SDHC, GOBI 4000, BUGPS, IBM AC/DC Supply #22P9003

User avatar
SHEEPMAN!
Posts: 2239
Joined: Thu Oct 14, 2010 1:13 pm
Location: TDR-HQ California

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

#22 Post by SHEEPMAN! »

Lose the $ sign in front of azrial. Logout and in. They are so nice. Instead of saying typing error they list all the possibilities.
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/

User avatar
Azrial
Posts: 540
Joined: Sun Nov 29, 2009 1:52 pm
Location: Hotlanta, GA, USA!
Contact:

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

#23 Post by Azrial »

Sadlmkr wrote:Lose the $ sign in front of azrial. Logout and in. They are so nice. Instead of saying typing error they list all the possibilities.
Thanks! That got me added to the Dialout group! "Funny" thing is that two different "Help" Linux webpages and some paper documetation I have in my hand show a "$" before the USER name... :doh:

I hate command line for that reason and I grew up and old with it!

Anyway, still no joy in Mudville, but we are getting warmer! At least it got me headed in the right direction! My next step is to try and reconfigure GPSD!
I am what I am, somebody has to be.
Call me for free from anywhere in the USA from my homepage! http://www.azrial.com/
CF-31JEGAX1M Mk2 Intel i5-2520M 2.50 GHz, Win7x64 & Ubuntu x64 14.04LTS Dual Boot, 16GB RAM, Samsung 250GB SSD, 2x64GB USB FD, 64GB SDHC, GOBI 4000, BUGPS, IBM AC/DC Supply #22P9003

User avatar
Azrial
Posts: 540
Joined: Sun Nov 29, 2009 1:52 pm
Location: Hotlanta, GA, USA!
Contact:

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

#24 Post by Azrial »

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
While working through your procedure, this command does not work, for me: sudo apt-get gpsd gpsd-clients #answer yes to python and lib20

Anyone see any command line errors? Thanks!
I am what I am, somebody has to be.
Call me for free from anywhere in the USA from my homepage! http://www.azrial.com/
CF-31JEGAX1M Mk2 Intel i5-2520M 2.50 GHz, Win7x64 & Ubuntu x64 14.04LTS Dual Boot, 16GB RAM, Samsung 250GB SSD, 2x64GB USB FD, 64GB SDHC, GOBI 4000, BUGPS, IBM AC/DC Supply #22P9003

User avatar
SHEEPMAN!
Posts: 2239
Joined: Thu Oct 14, 2010 1:13 pm
Location: TDR-HQ California

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

#25 Post by SHEEPMAN! »

Sorry Bill, I did it again...

Code: Select all

.sudo apt-get install gpsd gpsd-clients
#forgot install again.
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/

User avatar
Azrial
Posts: 540
Joined: Sun Nov 29, 2009 1:52 pm
Location: Hotlanta, GA, USA!
Contact:

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

#26 Post by Azrial »

Thanks Jeff!

Sigh, I have had enough for tonight. My Ubuntu Software Center has apparently become corrucpted and the commad line failed. I am going to have to get back to it later....

Thanks Guys!!
I am what I am, somebody has to be.
Call me for free from anywhere in the USA from my homepage! http://www.azrial.com/
CF-31JEGAX1M Mk2 Intel i5-2520M 2.50 GHz, Win7x64 & Ubuntu x64 14.04LTS Dual Boot, 16GB RAM, Samsung 250GB SSD, 2x64GB USB FD, 64GB SDHC, GOBI 4000, BUGPS, IBM AC/DC Supply #22P9003

User avatar
SHEEPMAN!
Posts: 2239
Joined: Thu Oct 14, 2010 1:13 pm
Location: TDR-HQ California

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

#27 Post by SHEEPMAN! »

You can have only one instance of apt at a time. Since apt runs the software center you can see the problem if trying command line while Software Center is active.
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/

User avatar
Azrial
Posts: 540
Joined: Sun Nov 29, 2009 1:52 pm
Location: Hotlanta, GA, USA!
Contact:

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

#28 Post by Azrial »

Oh, I did not run both at the same time. I turned to Software Center when the Command Line failed to remove gpsd. When that also failed, I was forced to use other command lines to remove it. I tried a lot of stuff and now while all instances of gpsd are gone, I am afraid that my install of Ubuntu is corrupted and I will have to reload both it and Win7. But, it is running stable right and I will assess that later.

As for the GPS, I also tried all four BIOS settings under Navigatrix running live from the flash drive and none would work and as previously stated, the GPS works just fine under Windows 7!

At this point, I am a bit perturbed, lol... I am thinking that there is something different about my hardware that is preventing it from running.

But as a quick question, which may sound foolish. xgps just runs when booted correctly? There is no configurations to be made or anything that I have to select to make it connect with the GPS?

Thanks to all that helped me gang up on the problem!!!!
I am what I am, somebody has to be.
Call me for free from anywhere in the USA from my homepage! http://www.azrial.com/
CF-31JEGAX1M Mk2 Intel i5-2520M 2.50 GHz, Win7x64 & Ubuntu x64 14.04LTS Dual Boot, 16GB RAM, Samsung 250GB SSD, 2x64GB USB FD, 64GB SDHC, GOBI 4000, BUGPS, IBM AC/DC Supply #22P9003

User avatar
SHEEPMAN!
Posts: 2239
Joined: Thu Oct 14, 2010 1:13 pm
Location: TDR-HQ California

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

#29 Post by SHEEPMAN! »

Yes it just runs but will probably not tell you if you are using the wrong serial port. In fact it is rare when I get output (visible sats)...I have not forgotten you. My MK2 today was using S3 though it does have a smart card reader. Weird.

I'm looking and have tested some code. More on that later. Putting a cupla MK2 together to ship Tuesday.
Fair for you/ Fair for me.
I chose to NOT be organized.

-------------------------------------------------------------------[/color]
http://toughbooktalk.com/
http://forum.notebookreview.com/panasonic/

UNCNDL1
Posts: 509
Joined: Wed Nov 16, 2011 8:01 pm
Location: New England

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

#30 Post by UNCNDL1 »

From this source: http://opencpn.org/ocpn/setting_up_gps
""xgps" is client that comes with the gpsd-clients package, and is useful for testing that the gps and gpsd is working properly. If xgps isn't working, it's a gps or gpsd problem, not an OpenCPN problem"
Regarding Dialout Group:
"To proceed, the "user" you use on your computer must belong to a group that is allowed to open serial connections. This group is normally "dialout" on Debian based Linuxes, including Ubuntu, and "uucp" on Red Hat based distributions. Read more in Data Connections.
Check your status by writing "groups" on a command line. The response will be all groups that the user belongs to. Make sure that "dialout" or "uucp" is included. If not, you have to add your user to this group. There are many ways to do this, one is to issue this command:
"sudo usermod -a -G dialout $USER"
This applies to many Debian based distibutions, for other distros just drop the sudo and do the command as root, using "su".
All major Linux distribution includes a graphical user settings dialog, where adding a user to a group, could be fixed."
Notes/questions:
When using Navigatrix, the dialout group is already added, you do not need to do that. The most you might have to do is point gpsd to Your gps (i.e. S2, or where-ever it is located). You might also have to change bios settings from auto to enable and find which of the four settings possible works for your gps.
Did you ever go into bios and temporarily disable BT, Fingerprint Reader, Parallel Ports?
Did you ever go into bios and change gps from auto to enable, and try the four different settings in manual?
Finishing up the deck and don't have a linux system with me, sorry I can not help out more with troubleshooting this week.
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

Post Reply

Return to “The LINUX forum!!!”