Re: How to compile and run gpsrvr 2.00 ?

Clifford Kelley <[email protected]> Mon, 4 Dec 2006 18:46:19 -0800 (GMT-08:00)
Newsgroups gmane.comp.hardware.gps.opensource
Message-ID <15561576.1165286780443.JavaMail.root@elwamui-hound.atl.sa.earthlink.net>
This is a draft of the Linux cookbook. I hope it helps.

Please give us feedback so that it can be improved and updated to include topics that need to be covered.

Best regards,

Cliff

-----Original Message-----
From: ?
Sent: Dec 1, 2006 6:32 PM
To: Clifford Kelley
Subject: Re: How to compile and run gpsrvr 2.00 ?

How about the cookbook of the gpsrvr 2.0 or 2.1? I'd like to get it as soon as it was finished. And another question do you have the SIGNMAG source code that you mentioned in the Osgps documents now.

Dongsheng

On 11/19/06, Clifford Kelley <[email protected] > wrote:

A few of us are working on a "cookbook" to explain this. Hopefully it will be ready in a few days. I'll make sure you get a copy.

Cliff

-----Original Message-----
From: ?
Sent: Nov 15, 2006 11:31 PM
To: [email protected]
Subject: How to compile and run gpsrvr 2.00 ?

Who can tell me how to compile and run gpsrvr 2.00 ? Thanks.

SDS

_______________________________________________
opensource_gps mailing list
[email protected]
http://lists.psas.pdx.edu/cgi-bin/mailman/listinfo/opensource_gps
Linux_osgps_cookbook.txt (text/plain, 1.5 KB)
Assuming you have Linux Kernel 2.6 or higher installed follow these steps.

If you want to be a developer (only administrators are allowed to commit to CVS) complete
steps A, B, and C.

Start with step C if you just want to work with the latest release



A. To set up an account on Sourceforge at www.sourceforge.net

Send an email to the osgps project administrator to be added as a developer


B. To install cvs on your computer

Create a directory to work in called OSGPS:

mkdir OSGPS

Install CVS

cvs -z3 -d:ext:[email protected]:/cvsroot/osgps co -P osgps

To setup CVS to use ssh type:

export CVS_RSH=ssh

To update your directory from CVS type:

cvs -z9 update -P





C.  To set up your computer to run OSGPS

If you do not have access to the CVS archive download the latest release from sourceforge (the .tar file)


compile the program and the driver by typing:

make

and then to install the driver:

make install



If you have made changes to the driver you will need to uninstall the current driver so that the new version can be installed:

rmmod gp2021km  ( no need to add the .ko ) and then install the new driver

When you unload and then reload the driver the permissions

on the device files revert back to root only so you have to chmod them everytime

you reload the driver (unless you reboot each time).


chmod gps/*:root:users:0666
chmod gps:root:users:0755


You can confirm the driver is installed by typing:

lsmod | less

To start the userland program type:

./gpsrcvr