Re: GPS NMEA sentences over serial port

2009-08-17 Thread RANJAN
Actually got it working but had to properly understand the concept of ssh
host ,client -server and where to read it.Thanks.

Sriranjan

On Sun, Aug 16, 2009 at 11:41 PM, Rask Ingemann Lambertsen <
ccc94...@vip.cybercity.dk> wrote:

> On Sat, Aug 15, 2009 at 05:18:13PM +0530, RANJAN wrote:
> > >   Alternatively, and this is what I suggest, use ssh to forward
> connections
> > > from the gpsd port on your laptop to the gpsd port on your Neo:
> > >
> > > $ ssh -L localhost:2947:localhost:2947 debian-gta02 -- sleep inf &
> >
> > Can I use this to forward the 2947 port from Neo to 2947 on laptop ,in
> other
> > sense can I get the values being generated from Neo at 2947 of Neo be
> > available at 2947 on the laptop.
>
>Yes, you run the command above on your laptop. Btw, if you want to
> access
> port 2947 on the laptop from some other host, you will need to cut off the
> first localhost: so the command reads
>
> $ ssh -L 2947:localhost:2947 debian-gta02 -- sleep inf &
>
> and maybe also change some ssh settings. See the ssh manual page.
>
> --
> Rask Ingemann Lambertsen
> Danish law requires addresses in e-mail to be logged and stored for a year
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS NMEA sentences over serial port

2009-08-17 Thread Rask Ingemann Lambertsen
On Sat, Aug 15, 2009 at 05:18:13PM +0530, RANJAN wrote:
> >   Alternatively, and this is what I suggest, use ssh to forward connections
> > from the gpsd port on your laptop to the gpsd port on your Neo:
> >
> > $ ssh -L localhost:2947:localhost:2947 debian-gta02 -- sleep inf &
> 
> Can I use this to forward the 2947 port from Neo to 2947 on laptop ,in other
> sense can I get the values being generated from Neo at 2947 of Neo be
> available at 2947 on the laptop.

   Yes, you run the command above on your laptop. Btw, if you want to access
port 2947 on the laptop from some other host, you will need to cut off the
first localhost: so the command reads

$ ssh -L 2947:localhost:2947 debian-gta02 -- sleep inf &

and maybe also change some ssh settings. See the ssh manual page.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS NMEA sentences over serial port

2009-08-15 Thread RANJAN
>   Alternatively, and this is what I suggest, use ssh to forward connections
> from the gpsd port on your laptop to the gpsd port on your Neo:
>
> $ ssh -L localhost:2947:localhost:2947 debian-gta02 -- sleep inf &
>

Hi,

Can I use this to forward the 2947 port from Neo to 2947 on laptop ,in other
sense can I get the values being generated from Neo at 2947 of Neo be
available at 2947 on the laptop.

Please advice.

Sriranjan
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS NMEA sentences over serial port

2009-08-14 Thread RANJAN
Problem is solved now.Thank you all.I will have to worry about solving an
other one now.

Sriranjan

On Thu, Aug 13, 2009 at 8:06 PM, Rask Ingemann Lambertsen <
ccc94...@vip.cybercity.dk> wrote:

> On Thu, Aug 13, 2009 at 03:35:36PM +0530, rakshat hooja wrote:
> > On Thu, Aug 13, 2009 at 1:24 PM, RANJAN  wrote:
> >
> > Read all of this
> >
> > http://wiki.openmoko.org/wiki/GTA02_GPS
>
>Please do not refer him to outdated information. The page even has a
> warning at the top of it:
>
>WARNING: Most of this article is only relevant for Om 2008. The gpsd
>has been obsoleted by the ogpsd which offers a DBUS interface. Do
>not run these two daemons side by side. If backward compatibility is
> needed, use ogpsd with fso-gpsd.
>
>Instead of messing with the serial port, connect to the Neo over TCP/IP
> on the standard gpsd port (2947). You will probably have to change how
> fso-gpsd is started, so the option '-S localhost:gpsd' reads just '-S
> gpsd'.
>
>   Alternatively, and this is what I suggest, use ssh to forward connections
> from the gpsd port on your laptop to the gpsd port on your Neo:
>
> $ ssh -L localhost:2947:localhost:2947 debian-gta02 -- sleep inf &
>
> --
> Rask Ingemann Lambertsen
> Danish law requires addresses in e-mail to be logged and stored for a year
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS NMEA sentences over serial port

2009-08-14 Thread Rask Ingemann Lambertsen
On Thu, Aug 13, 2009 at 05:17:07PM +0530, RANJAN wrote:

> > >http://wiki.openmoko.org/wiki/GTA02_GPS
> 
> Well there is only information about reading NMEA using the older gpsd but
> not the fso-gpsd.

   It is the same because that is the whole point of having fso-gpsd. Like
it says on the first line: "If backward compatibility is needed, use ogpsd
with fso-gpsd."

> And in my FR I could not find the folder /tmp/nmeaNP.

   OK, the wiki page is a bit ambiguous in that section, but where it says
"Neo" it refers to your Neo Freerunner or Neo 1973 and where it says "host"
it refers to the "other" device you have, such as your laptop or desktop
system.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS NMEA sentences over serial port

2009-08-14 Thread Rask Ingemann Lambertsen
On Thu, Aug 13, 2009 at 03:35:36PM +0530, rakshat hooja wrote:
> On Thu, Aug 13, 2009 at 1:24 PM, RANJAN  wrote:
> 
> Read all of this
> 
> http://wiki.openmoko.org/wiki/GTA02_GPS

   Please do not refer him to outdated information. The page even has a
warning at the top of it:

WARNING: Most of this article is only relevant for Om 2008. The gpsd
has been obsoleted by the ogpsd which offers a DBUS interface. Do
not run these two daemons side by side. If backward compatibility is
needed, use ogpsd with fso-gpsd.

   Instead of messing with the serial port, connect to the Neo over TCP/IP
on the standard gpsd port (2947). You will probably have to change how
fso-gpsd is started, so the option '-S localhost:gpsd' reads just '-S gpsd'.

   Alternatively, and this is what I suggest, use ssh to forward connections
from the gpsd port on your laptop to the gpsd port on your Neo:

$ ssh -L localhost:2947:localhost:2947 debian-gta02 -- sleep inf &

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS NMEA sentences over serial port

2009-08-13 Thread RANJAN
  >Read all of this

>
> >http://wiki.openmoko.org/wiki/GTA02_GPS
>
> Rakshat


Well there is only information about reading NMEA using the older gpsd but
not the fso-gpsd.And in my FR I could not find the folder /tmp/nmeaNP.

Sriranjan
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS NMEA sentences over serial port

2009-08-13 Thread rakshat hooja
On Thu, Aug 13, 2009 at 1:24 PM, RANJAN  wrote:

>
>
> If you really want to forward serial port, you can use socat for that.
>>
>
> So how shall I proceed in Win Xp.My SHR DISTRO got spoiled,I tried
> installing GCC and now the setting fails to lead .So I might have to
> reinstall SHR and then do it.But Gpsd is still working good.
>
> Please advice.
>
> Sriranjan
>
> Read all of this

http://wiki.openmoko.org/wiki/GTA02_GPS

Rakshat
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS NMEA sentences over serial port

2009-08-13 Thread RANJAN
If you really want to forward serial port, you can use socat for that.
>

So how shall I proceed in Win Xp.My SHR DISTRO got spoiled,I tried
installing GCC and now the setting fails to lead .So I might have to
reinstall SHR and then do it.But Gpsd is still working good.

Please advice.

Sriranjan
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS NMEA sentences over serial port

2009-08-13 Thread RANJAN
>
> If you really want to forward serial port, you can use socat for that.
>  


Well I want to use the USB to serial port and do it.And I running SHR on FR
and Xp on the laptop.

Sriranjan
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GPS NMEA sentences over serial port

2009-08-13 Thread Paul Fertser
RANJAN  writes:
> Is it possible to setup a serial connection between the FR and the
> laptop using a virtual comm port or USB to serial converter and then
> read the GPS NMEA sentences?Please advice me.

Are you sure you want to do that? gpsd is designed in a way to be
possible to get gps data over the network. And fso-gpsd can do that
too.

Just connect FR and laptop in some way (USB/BT/Wifi) and you're done.

If you really want to forward serial port, you can use socat for that.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


GPS NMEA sentences over serial port

2009-08-13 Thread RANJAN
Hi,

Is it possible to setup a serial connection between the FR and the laptop
using a virtual comm port or USB to serial converter and then read the GPS
NMEA sentences?Please advice me.

Thanks and Regards
Sriranjan
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community