Re: [debian & gps] How to check gps

2008-10-05 Thread Al Johnson
On Tuesday 23 September 2008, Christian Weßel wrote:
> Hello,
>
> tangogps and fso-gpsd were installed from ,
> but I get no fix.
>
> In the Trip tab tango shows allways an alternating GPS Time (Tue
> 1999-11-30 00:00:00 or Fri 1999-11-31 01:00:00) and Satelites: 11/0. The
> rest is zero.
>
> The zhone internal gps appl. shows at the start view at all items N/A,
> and at the satelite view are about 10 satelites shown.
>
> The FR ran the whole evening next to a window in a wooden house, but it
> got no fix. I couldn't remove the SD card of using Debian installed on
> it :-}. Is my FR one of these ones with the SD card problem? Or is it
> also fixed by Debian distro?
>
> How can I check my GPS? How can I bring it up running?
>
> Sorry for all these question, but I couldn't find any solution in the
> wikis.

You could try a variation on the script at the bottom of the page below. 
You'll need to disable any gps daemon(s) you may have insstalled before 
running it or they'll conflict. The script was intended to find the effect of 
the SD clock idle and drive strength kernel settings, cycling through them in 
turn and measuring time to first fix. Be warned - it'll take a long time to 
complete if run unmodified! 

http://wiki.openmoko.org/wiki/FreeRunner_GPS_Software_Fix_TTFF_Measurement_Test

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


Re: [debian & gps] How to check gps

2008-09-24 Thread -stacy
Christian Weßel wrote:
> 
> Thanx for the detail explaination, but I am still a little confused.
> 
> After installation of Debian I followed the tangogps guide from OM wiki.
> I installed fso-gps and tangogps, both with  tangogps> and it doesn't work together. Neither 'location' nor 'tango'.
> After a selfmade confusion with my servers iptables I installed also
> netutils-ping and dnsutils. Thats all.

So that means you have the tangogps that uses gpsd not the version that 
has been modified for gypsy, thus you need fso-gpsd, which you have. So 
far so good.

> So, please give me a hint what to de-install and which combination to
> install and how to configured it. Maybe also the startup with zhone gui,
> currently I need to start tangogps by xterm.

As I said in my previous email, I think your software is configured and 
working properly; you just don't have a fix and no combination of 
software will help that. To help clarify, follow along with this:

Here [1] is a screen shot of the tangogps trip page when there is no 
gpsd for tango to talk to. As you can see, everything is blank.

Here [2] is a screen shot when there is a gpsd to talk to, but the gps 
is powered off so gpsd can't talk to it. Now everything is zero instead 
of blank, with the exception of GPS Time which is epoch incorrrectly 
converted from my local time to GPS Time.

Here [3] is a screen shot when the gps is powered on but there is no 
fix. Now that satellite count has changed to 14/0, which means the gps 
can see 14 satellites in the sky but has not locked on to any of them. 
The GPS Time is now correct as well which means that gps has received 
time from at least one of the satellites.

And finally, for completeness sake, here [4] is a screen shot of 
everything working. The satellite count is now 14/7; 14 in view, 7 used 
in calculating position.

[1] http://www.millions.ca/~stacy/neoFreeRunner/no-gpsd.png
[2] http://www.millions.ca/~stacy/neoFreeRunner/no-gps.png
[3] http://www.millions.ca/~stacy/neoFreeRunner/no-fix.png
[4] http://www.millions.ca/~stacy/neoFreeRunner/fix.png

Based on your description of what showed on your screen, you are in 
situation 3, your gps can see satelites, ogpsd is talking to your gps, 
fso-gpsd is talking to ogpsd and tangogps is talking to fso-gpsd. All 
you need now is a fix.

I would suggest you go outside, sit in an open space with a good view of 
the sky, have a beer (or two :-) and see what happens.

If you still can't get a fix, then I would suggest there is a hardware 
problem. There are two possibilities that I know of. The most likely is
the SD Card [5] I don't know if debian includes the driver fix for this 
or not. The other one is an issues with the connector for the internal 
antenna [6]. Using an external antenna will bypass both of those issues.

[5] http://wiki.openmoko.org/wiki/GPS_Problems
[6] http://wiki.openmoko.org/wiki/FreeRunner_GPS_antenna_repair_SOP

> BTW, I checked my process list and couldn't find any other gpsd except
> fso-gpsd:

ogpsd will not show up as a process under that name, it will show up as 
python. I would recommend you install lsof and then if you type

lsof /dev/ttySAC1

you will see what process has the gps device open.

-stacy

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


Re: [debian & gps] How to check gps

2008-09-24 Thread Roland Mas
Fox Mulder, 2008-09-24 18:28:25 +0200 :

> Ok, than this bug still exists.

  Actually... I left the FR running since my last mail, and it now
displays the correct GPS time.  I didn't keep an eye on it, so I don't
know how long it took.

Roland.
-- 
Roland Mas

Bee There Orr Bee A Rectangular Thyng!
  -- in Soul Music (Terry Pratchett)

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


Re: [debian & gps] How to check gps

2008-09-24 Thread Fox Mulder
Ok, than this bug still exists.
I think i will stick to gpsd a bit longer until fso-gpsd works a bit
more reliable. ;)

Roland Mas wrote:
> Fox Mulder, 2008-09-24 18:10:13 +0200 :
> 
>>> It works for me.  I don't record traces these days because I'm
>>> stuck at home working, but I get a fix that lasts for as long as
>>> I've looked at it so far.
>> And you use debian and only deinstalled gpsd und installed fso-gpsd
>> for that to work?
> 
>   Yes.
> 
>> Is the gps-time correctly shown in tangogps?
> 
>   I must confess I don't look at GPS time that often (NTP is there for
> a reason :-).  Now you mention it, it seems to believe we are
> currently on the 30th of November, 2008 at midnight.
> 
> Roland.

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


Re: [debian & gps] How to check gps

2008-09-24 Thread Roland Mas
Fox Mulder, 2008-09-24 18:10:13 +0200 :

>> It works for me.  I don't record traces these days because I'm
>> stuck at home working, but I get a fix that lasts for as long as
>> I've looked at it so far.
>
> And you use debian and only deinstalled gpsd und installed fso-gpsd
> for that to work?

  Yes.

> Is the gps-time correctly shown in tangogps?

  I must confess I don't look at GPS time that often (NTP is there for
a reason :-).  Now you mention it, it seems to believe we are
currently on the 30th of November, 2008 at midnight.

Roland.
-- 
Roland Mas

Bonjour, je suis un virus de signature.  Propagez-moi dans la vôtre !

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


Re: [debian & gps] How to check gps

2008-09-24 Thread Al Johnson
On Wednesday 24 September 2008, Fox Mulder wrote:
> Al Johnson wrote:
> > On Wednesday 24 September 2008, Christian Weßel wrote:
> >> Ok, if I understand in right:
> >>
> >>  HWSW   SW  SW
> >> gps -> ogpsd -> fso-gpsd -> tangogps
> >> -> location
> >>
> >> Right?
> >
> > That's my understanding, yes.
>
> As far as i know Location doesn't use FSO-gpsd. It uses the more FSO
> native access method (ogpsd?) for communication. FSO-gpsd is only for
> programs like tangogps or navit which uses gpsd and now needs this
> wrapper for that purpose.

I read the diagram as showing both fso-gpsd and location consuming the 
gypsy-format output from ogpsd, and tangogps consuming the gpsd-format output 
from fso-gpsd.

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


Re: [debian & gps] How to check gps

2008-09-24 Thread Fox Mulder
Roland Mas wrote:
> Fox Mulder, 2008-09-24 17:51:30 +0200 :
> 
>> If someone of you manage to use fso-gpsd with tangogps for more than
>> a few minutes without problems than please report it. My try to do
>> so ended in a failure why i use (old) gpsd at the moment.
> 
> It works for me.  I don't record traces these days because I'm stuck
> at home working, but I get a fix that lasts for as long as I've looked
> at it so far.

And you use debian and only deinstalled gpsd und installed fso-gpsd for
that to work?
Is the gps-time correctly shown in tangogps?

Maybe i should try it again if this works for you.

Ciao,
 Rainer


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


Re: [debian & gps] How to check gps

2008-09-24 Thread Roland Mas
Fox Mulder, 2008-09-24 17:51:30 +0200 :

> If someone of you manage to use fso-gpsd with tangogps for more than
> a few minutes without problems than please report it. My try to do
> so ended in a failure why i use (old) gpsd at the moment.

It works for me.  I don't record traces these days because I'm stuck
at home working, but I get a fix that lasts for as long as I've looked
at it so far.

Roland.
-- 
Roland Mas

Au royaume des aveugles, les borgnes n'ont qu'un oeil.

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


Re: [debian & gps] How to check gps

2008-09-24 Thread Fox Mulder
Al Johnson wrote:
> On Wednesday 24 September 2008, Christian Weßel wrote:
>> Ok, if I understand in right:
>>
>>  HW  SW   SW  SW
>> gps -> ogpsd -> fso-gpsd -> tangogps
>>   -> location
>>
>> Right?
> 
> That's my understanding, yes.

As far as i know Location doesn't use FSO-gpsd. It uses the more FSO
native access method (ogpsd?) for communication. FSO-gpsd is only for
programs like tangogps or navit which uses gpsd and now needs this
wrapper for that purpose.
If someone of you manage to use fso-gpsd with tangogps for more than a
few minutes without problems than please report it. My try to do so
ended in a failure why i use (old) gpsd at the moment.

Ciao,
 Rainer

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


Re: [debian & gps] How to check gps

2008-09-24 Thread Al Johnson
On Wednesday 24 September 2008, Christian Weßel wrote:
> Ok, if I understand in right:
>
>  HW   SW   SW  SW
> gps -> ogpsd -> fso-gpsd -> tangogps
>-> location
>
> Right?

That's my understanding, yes.

> Ok, and in which package I can find ogpsd?
>
> I search for 'ogpsd' and got no pos result.

I can't say - haven't tried debian yet as I can't get my SD to behave reliably 
as rootfs.

> I just want to have a gps function, christian
>
> Am Mittwoch, den 24.09.2008, 15:22 +0100 schrieb Al Johnson:
> > On Wednesday 24 September 2008, Christian Weßel wrote:
> > > Am Dienstag, den 23.09.2008, 22:55 -0600 schrieb -stacy:
> > > > First, lets look at the players in this mess...
> > > >
> > > > gpsd - this is our good old friend from http://gpsd.berlios.de/ "True
> > > > gpsd" someone called it.
> > > > ogpsd - this is a subsystem of FSO's frameworkd. It replaces gpsd
> > > >  it implements the Gypsy API communicating with applications
> > > >  via dbus
> > > > fso-gpsd - is a compatibility shim to translate Gypsy messages for
> > > > applications that expect gpsd
> > > > tangogps - a map/gps application
> > > > tangogps-fso - a version of tangogps that has been modified to
> > > > understand Gypsy messages
> > > >
> > > > 
> > > > I don't know how you could find this confusing.
> > > > 
> > > >
> > > > That is why I said "something is talking to your GPS", if you have a
> > > > stock FSO then you have ogpsd talking to the gps and tangogps (the
> > > > FSO version) and Zhone are getting their data via Gypsy. You don't
> > > > need gpsd
> > > > or fso-gpsd in this situation.
> > >
> > > Thanx for the detail explaination, but I am still a little confused.
> > >
> > > After installation of Debian I followed the tangogps guide from OM
> > > wiki. I installed fso-gps and tangogps, both with  > > fso-gps tangogps> and it doesn't work together. Neither 'location' nor
> > > 'tango'. After a selfmade confusion with my servers iptables I
> > > installed also netutils-ping and dnsutils. Thats all.
> > >
> > > So, please give me a hint what to de-install and which combination to
> > > install and how to configured it. Maybe also the startup with zhone
> > > gui, currently I need to start tangogps by xterm.
> > >
> > > BTW, I checked my process list and couldn't find any other gpsd except
> > >
> > > fso-gpsd:
> > > > debian-gta02:~# ps -ef|grep gps
> > > > root  1524 1  0 11:32 ?00:00:00 /usr/sbin/fso-gpsd -P
> > > > /var/run/fso-gpsd.pid
> > >
> > > The reboot was several hours before...
> >
> > I think you need ogpsd running too. ogpsd talks to the gps and outputs
> > data in gypsy format over dbus. fso-gpsd reads gypsy format data from
> > dbus and outputs gpsd format data for apps needing to use gpsd.
>
> ...



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


Re: [debian & gps] How to check gps

2008-09-24 Thread Christian Weßel
Ok, if I understand in right:

 HW SW   SW  SW
gps -> ogpsd -> fso-gpsd -> tangogps
 -> location

Right?

Ok, and in which package I can find ogpsd?

I search for 'ogpsd' and got no pos result.

I just want to have a gps function, christian

Am Mittwoch, den 24.09.2008, 15:22 +0100 schrieb Al Johnson:
> On Wednesday 24 September 2008, Christian Weßel wrote:
> > Am Dienstag, den 23.09.2008, 22:55 -0600 schrieb -stacy:
> > > First, lets look at the players in this mess...
> > >
> > > gpsd - this is our good old friend from http://gpsd.berlios.de/ "True
> > > gpsd" someone called it.
> > > ogpsd - this is a subsystem of FSO's frameworkd. It replaces gpsd
> > >  it implements the Gypsy API communicating with applications
> > >  via dbus
> > > fso-gpsd - is a compatibility shim to translate Gypsy messages for
> > > applications that expect gpsd
> > > tangogps - a map/gps application
> > > tangogps-fso - a version of tangogps that has been modified to
> > > understand Gypsy messages
> > >
> > > 
> > > I don't know how you could find this confusing.
> > > 
> > >
> > > That is why I said "something is talking to your GPS", if you have a
> > > stock FSO then you have ogpsd talking to the gps and tangogps (the FSO
> > > version) and Zhone are getting their data via Gypsy. You don't need
> > > gpsd
> > > or fso-gpsd in this situation.
> >
> > Thanx for the detail explaination, but I am still a little confused.
> >
> > After installation of Debian I followed the tangogps guide from OM wiki.
> > I installed fso-gps and tangogps, both with  > tangogps> and it doesn't work together. Neither 'location' nor 'tango'.
> > After a selfmade confusion with my servers iptables I installed also
> > netutils-ping and dnsutils. Thats all.
> >
> > So, please give me a hint what to de-install and which combination to
> > install and how to configured it. Maybe also the startup with zhone gui,
> > currently I need to start tangogps by xterm.
> >
> > BTW, I checked my process list and couldn't find any other gpsd except
> > fso-gpsd:
> > > debian-gta02:~# ps -ef|grep gps
> > > root  1524 1  0 11:32 ?00:00:00 /usr/sbin/fso-gpsd -P
> > > /var/run/fso-gpsd.pid
> >
> > The reboot was several hours before...
> 
> I think you need ogpsd running too. ogpsd talks to the gps and outputs data 
> in 
> gypsy format over dbus. fso-gpsd reads gypsy format data from dbus and 
> outputs gpsd format data for apps needing to use gpsd.
...
-- 

mfg/br, christian weßel

Flurstraße 14
29640 Schneverdingen
Germany

E-Mail: [EMAIL PROTECTED]
Telefon: +49 5193 97 14 95
Mobile:  +49 171 357 59 57
http://wesselch.homelinux.org


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian & gps] How to check gps

2008-09-24 Thread Al Johnson
On Wednesday 24 September 2008, Christian Weßel wrote:
> Am Dienstag, den 23.09.2008, 22:55 -0600 schrieb -stacy:
> > First, lets look at the players in this mess...
> >
> > gpsd - this is our good old friend from http://gpsd.berlios.de/ "True
> > gpsd" someone called it.
> > ogpsd - this is a subsystem of FSO's frameworkd. It replaces gpsd
> >  it implements the Gypsy API communicating with applications
> >  via dbus
> > fso-gpsd - is a compatibility shim to translate Gypsy messages for
> > applications that expect gpsd
> > tangogps - a map/gps application
> > tangogps-fso - a version of tangogps that has been modified to
> > understand Gypsy messages
> >
> > 
> > I don't know how you could find this confusing.
> > 
> >
> > That is why I said "something is talking to your GPS", if you have a
> > stock FSO then you have ogpsd talking to the gps and tangogps (the FSO
> > version) and Zhone are getting their data via Gypsy. You don't need
> > gpsd
> > or fso-gpsd in this situation.
>
> Thanx for the detail explaination, but I am still a little confused.
>
> After installation of Debian I followed the tangogps guide from OM wiki.
> I installed fso-gps and tangogps, both with  tangogps> and it doesn't work together. Neither 'location' nor 'tango'.
> After a selfmade confusion with my servers iptables I installed also
> netutils-ping and dnsutils. Thats all.
>
> So, please give me a hint what to de-install and which combination to
> install and how to configured it. Maybe also the startup with zhone gui,
> currently I need to start tangogps by xterm.
>
> BTW, I checked my process list and couldn't find any other gpsd except
> fso-gpsd:
> > debian-gta02:~# ps -ef|grep gps
> > root  1524 1  0 11:32 ?00:00:00 /usr/sbin/fso-gpsd -P
> > /var/run/fso-gpsd.pid
>
> The reboot was several hours before...

I think you need ogpsd running too. ogpsd talks to the gps and outputs data in 
gypsy format over dbus. fso-gpsd reads gypsy format data from dbus and 
outputs gpsd format data for apps needing to use gpsd.

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


Re: [debian & gps] How to check gps

2008-09-24 Thread Christian Weßel
Am Dienstag, den 23.09.2008, 22:55 -0600 schrieb -stacy:
> First, lets look at the players in this mess...
> 
> gpsd - this is our good old friend from http://gpsd.berlios.de/ "True
> gpsd" someone called it.
> ogpsd - this is a subsystem of FSO's frameworkd. It replaces gpsd
>  it implements the Gypsy API communicating with applications
>  via dbus
> fso-gpsd - is a compatibility shim to translate Gypsy messages for
> applications that expect gpsd
> tangogps - a map/gps application
> tangogps-fso - a version of tangogps that has been modified to
> understand Gypsy messages
> 
> 
> I don't know how you could find this confusing.
> 
> 
> That is why I said "something is talking to your GPS", if you have a
> stock FSO then you have ogpsd talking to the gps and tangogps (the FSO
> version) and Zhone are getting their data via Gypsy. You don't need
> gpsd
> or fso-gpsd in this situation.

Thanx for the detail explaination, but I am still a little confused.

After installation of Debian I followed the tangogps guide from OM wiki.
I installed fso-gps and tangogps, both with  and it doesn't work together. Neither 'location' nor 'tango'.
After a selfmade confusion with my servers iptables I installed also
netutils-ping and dnsutils. Thats all.

So, please give me a hint what to de-install and which combination to
install and how to configured it. Maybe also the startup with zhone gui,
currently I need to start tangogps by xterm.

BTW, I checked my process list and couldn't find any other gpsd except
fso-gpsd:

> debian-gta02:~# ps -ef|grep gps
> root  1524 1  0 11:32 ?00:00:00 /usr/sbin/fso-gpsd -P 
> /var/run/fso-gpsd.pid
The reboot was several hours before...
-- 

mfg/br, christian

Flurstraße 14
29640 Schneverdingen
Germany

E-Mail: [EMAIL PROTECTED]
Telefon: +49 5193 97 14 95
Mobile:  +49 171 357 59 57
http://wesselch.homelinux.org


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian & gps] How to check gps

2008-09-24 Thread Al Johnson
On Wednesday 24 September 2008, Dima Kogan wrote:
> Can you please elaborate? Do any of the actions you mentioned actually
> BREAK fso-gpsd?

The reason for having a gps daemon in the first place is to provide shared 
access to a resource that isn't directly sharable. Having 2 daemons running 
at the same time, or manually poking the gps while the daemon is running, is 
asking for trouble and will more than likely cause problems, but you might 
get lucky. So as a general rule if you want to mess with the gps manually 
then stop the daemon first. Only run one daemon at a time. Note that fso-gpsd 
is a compatibility layer to add gpsd output to ogpsd, not a separate daemon.

> On Wed, 24 Sep 2008 02:54:32 +0200
>
> Sascha Wessel <[EMAIL PROTECTED]> wrote:
> > On Tue, Sep 23, 2008 at 05:24:16PM -0700, Dima Kogan wrote:
> > > To check the raw data coming out of the device, do
> > >
> > > cat /dev/ttySAC1 | grep GGA
> > >
> > > This should give you a line of data every second or so. Once a fix
> > > has been established, these lines contain latitude,longitude values
> > > in plain ASCII. The gpsd daemon (whether true gpsd or fso-gpsd)
> > > should make this data available on port 2947. Check this with
> > >
> > > nc 127.0.0.1 2947 | grep GGA
> > >
> > > If the daemon works, you should get the same data here, as above.
> > > Good luck.
> >
> > Exactly this is the most common problem. Please...
> >
> > * do NOT echo 1 > neo1973-pm-gps.0/pwron
> > * do NOT read from /dev/ttySAC1
> > * do NOT write to /dev/ttySAC1
> > * do NOT run the original gpsd
> >
> > Then it should just work.
> >
> >
> > Greetings,
> > Sascha
> >
> >
> > ___
> > 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



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


Re: [debian & gps] How to check gps

2008-09-24 Thread Fox Mulder
-stacy wrote:
> Fox Mulder wrote:
>> For me fso-gpsd didn't work right so i changed back to gpsd and
>> everything works like a charm with gps. :)
>> Maybe you try installing gpsd and deinstall fso-gpsd.
> 
> When you say "everything works like a charm" do you mean "everything"?
> Does Zhone's location test app work? I would be very surprised if it
> does. However, if the only applications you care about work with gpsd,
> this is definitely an option.

To be fair i must say i just use tangogps and navit at the moment. I
never tried "Location" because i don't see any benefit against tangogps.

I don't know what exactly was the problem why fso-gpsd doesn't work
right. I was running gpsd since installation of debian without problems.
Than at some point in time Joachim Breitner announced fso-gpsd as
replacement for gpsd in this ML. I tried it by deinstalling gpsd and
installing fso-gpsd and nothing more (maybe i was missing something?).
After that i activated gps and started tangogps and i get a fix for the
position. But after that i see that the gps-time wasn't correct. It was
stuck at 1999-11-30 00:00.00 even with a fix and ~8 satellites. And than
after about 1-2 minutes the output from fso-gpsd stops and no more
position updates were recieved by tangogps. I have do deactivate gps and
reactivate it to get output for the next few minutes again.
I tried it several times and it was always the same behaviour. After
that i deinstalled fso-gpsd and reinstalled gpsd and everything (fix,
time) works again even after quite some time.

At the moment i only use gpsd because of the trouble fso-gpsd gave me.
But maybe someone could say what i did wrong so i get it to work with
fso-gpsd. :)

Ciao,
 Rainer

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


Re: [debian & gps] How to check gps

2008-09-23 Thread -stacy
This thread has stirred up a lot of incorrect information, I will try to
help with the original question and then try to "mudify the
fuzzifications" as it were...

Christian Weßel wrote:
> Hello,
> 
> tangogps and fso-gpsd were installed from ,
> but I get no fix.
> 
> In the Trip tab tango shows allways an alternating GPS Time (Tue
> 1999-11-30 00:00:00 or Fri 1999-11-31 01:00:00) and Satelites: 11/0. The
> rest is zero.
> 
> The zhone internal gps appl. shows at the start view at all items N/A,
> and at the satelite view are about 10 satelites shown.

That tells me that your GPS is powered on, something (we will get to
this later) is talking to your GPS and receiving data and that Zhone and
tangogps are both talking to that something. All of that is good... it
means that it is not likely an application problem at this point.

> The FR ran the whole evening next to a window in a wooden house, but it
> got no fix. I couldn't remove the SD card of using Debian installed on
> it :-}. Is my FR one of these ones with the SD card problem? Or is it
> also fixed by Debian distro?

Next to a window in a wooden house is not a guarantee that you will get
a fix indoors. There are only certain areas in my house where I can get
a fix, once the fix is established I can get a position anywhere in my
house (including the basement).

> How can I check my GPS? How can I bring it up running?

I would recommend that you do your testing outdoors in an open area.
Outside with a clear view of the sky you should be able to get a fix in
less than ten minutes. If you can, try using an external GPS antenna, 
that is the easiest way to avoid the SD card interference.


Now I will try to clear up some confusion about FSO/GPS. I completely
understand why people are confused, I had to do a fair amount of digging
to figure this out. I am reasonable certain that this is accurate, but YMMV

First, lets look at the players in this mess...

gpsd - this is our good old friend from http://gpsd.berlios.de/ "True
gpsd" someone called it.
ogpsd - this is a subsystem of FSO's frameworkd. It replaces gpsd
 it implements the Gypsy API communicating with applications
 via dbus
fso-gpsd - is a compatibility shim to translate Gypsy messages for
applications that expect gpsd
tangogps - a map/gps application
tangogps-fso - a version of tangogps that has been modified to
understand Gypsy messages


I don't know how you could find this confusing.


That is why I said "something is talking to your GPS", if you have a
stock FSO then you have ogpsd talking to the gps and tangogps (the FSO
version) and Zhone are getting their data via Gypsy. You don't need gpsd
or fso-gpsd in this situation.


Fox Mulder wrote:
> For me fso-gpsd didn't work right so i changed back to gpsd and
> everything works like a charm with gps. :)
> Maybe you try installing gpsd and deinstall fso-gpsd.

When you say "everything works like a charm" do you mean "everything"?
Does Zhone's location test app work? I would be very surprised if it
does. However, if the only applications you care about work with gpsd,
this is definitely an option.

Dima Kogan wrote:
> To check the raw data coming out of the device, do
>
> cat /dev/ttySAC1 | grep GGA

That will only work if the GPS is powered on and in NMEA mode. In FSO,
the power state is controlled by ogpsd, if there no client has requested
a GPS resource, then the gps is left off, so your test would return
nothing. Also, ogpsd uses the UBX binary protocol not NMEA, so your test
would still return nothing.

> The gpsd daemon (whether true gpsd or fso-gpsd) should
> make this data available on port 2947. Check this with
>
> nc 127.0.0.1 2947 | grep GGA
>
> If the daemon works, you should get the same data here, as above. 

By default, gpsd (true gpsd, as you called it) will not return data to
network connection without you asking for it. I don't know how ogpsd
behaves. If you connect with telnet

telnet localhost gpsd (or if you prefer telnet 127.0.0.1 2947)
and type p followed by a  you will either get

GPSD,P=?
or
GPSD,P=xxx yyy where xxx and yyy are your lat and long


Sascha Wessel wrote:
> Exactly this is the most common problem. Please...
>
> * do NOT echo 1 > neo1973-pm-gps.0/pwron

As I said, ogpsd will take care of turning the GPS on and off, so this 
is good advice.

> * do NOT read from /dev/ttySAC1
> * do NOT write to /dev/ttySAC1

Regardless of whether it is gpsd or ogpsd, this is good advice (for 
normal operations) for debugging purpose you can do it, but it could 
confuse things.

> * do NOT run the original gpsd

This is especially true if you have not disabled ogpsd. Having both of 
them trying to talk to the gps will cause problems (remember, one uses 
NMEA while the other use UBX).

I hope this helps.

-stacy

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

Re: [debian & gps] How to check gps

2008-09-23 Thread Dima Kogan
Can you please elaborate? Do any of the actions you mentioned actually
BREAK fso-gpsd?

On Wed, 24 Sep 2008 02:54:32 +0200
Sascha Wessel <[EMAIL PROTECTED]> wrote:

> On Tue, Sep 23, 2008 at 05:24:16PM -0700, Dima Kogan wrote:
> > To check the raw data coming out of the device, do 
> > 
> > cat /dev/ttySAC1 | grep GGA
> > 
> > This should give you a line of data every second or so. Once a fix
> > has been established, these lines contain latitude,longitude values
> > in plain ASCII. The gpsd daemon (whether true gpsd or fso-gpsd)
> > should make this data available on port 2947. Check this with
> > 
> > nc 127.0.0.1 2947 | grep GGA
> > 
> > If the daemon works, you should get the same data here, as above.
> > Good luck.
> 
> Exactly this is the most common problem. Please...
> 
> * do NOT echo 1 > neo1973-pm-gps.0/pwron
> * do NOT read from /dev/ttySAC1
> * do NOT write to /dev/ttySAC1
> * do NOT run the original gpsd
> 
> Then it should just work.
> 
> 
> Greetings,
> Sascha
> 
> 
> ___
> 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: [debian & gps] How to check gps

2008-09-23 Thread Sascha Wessel
On Tue, Sep 23, 2008 at 05:24:16PM -0700, Dima Kogan wrote:
> To check the raw data coming out of the device, do 
> 
> cat /dev/ttySAC1 | grep GGA
> 
> This should give you a line of data every second or so. Once a fix has
> been established, these lines contain latitude,longitude values in
> plain ASCII. The gpsd daemon (whether true gpsd or fso-gpsd) should
> make this data available on port 2947. Check this with
> 
> nc 127.0.0.1 2947 | grep GGA
> 
> If the daemon works, you should get the same data here, as above. Good
> luck.

Exactly this is the most common problem. Please...

* do NOT echo 1 > neo1973-pm-gps.0/pwron
* do NOT read from /dev/ttySAC1
* do NOT write to /dev/ttySAC1
* do NOT run the original gpsd

Then it should just work.


Greetings,
Sascha


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


Re: [debian & gps] How to check gps

2008-09-23 Thread Dima Kogan
To check the raw data coming out of the device, do 

cat /dev/ttySAC1 | grep GGA

This should give you a line of data every second or so. Once a fix has
been established, these lines contain latitude,longitude values in
plain ASCII. The gpsd daemon (whether true gpsd or fso-gpsd) should
make this data available on port 2947. Check this with

nc 127.0.0.1 2947 | grep GGA

If the daemon works, you should get the same data here, as above. Good
luck.



On Wed, 24 Sep 2008 02:03:53 +0200
Fox Mulder <[EMAIL PROTECTED]> wrote:

> For me fso-gpsd didn't work right so i changed back to gpsd and
> everything works like a charm with gps. :)
> Maybe you try installing gpsd and deinstall fso-gpsd.
> 
> Ciao,
>  Rainer
> 
> Christian Weßel wrote:
> > Hello,
> > 
> > tangogps and fso-gpsd were installed from
> > , but I get no fix.
> > 
> > In the Trip tab tango shows allways an alternating GPS Time (Tue
> > 1999-11-30 00:00:00 or Fri 1999-11-31 01:00:00) and Satelites:
> > 11/0. The rest is zero.
> > 
> > The zhone internal gps appl. shows at the start view at all items
> > N/A, and at the satelite view are about 10 satelites shown.
> > 
> > The FR ran the whole evening next to a window in a wooden house,
> > but it got no fix. I couldn't remove the SD card of using Debian
> > installed on it :-}. Is my FR one of these ones with the SD card
> > problem? Or is it also fixed by Debian distro?
> > 
> > How can I check my GPS? How can I bring it up running?
> > 
> > Sorry for all these question, but I couldn't find any solution in
> > the wikis.
> > 
> > 
> > 
> > 
> > ___
> > 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

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


Re: [debian & gps] How to check gps

2008-09-23 Thread Fox Mulder
For me fso-gpsd didn't work right so i changed back to gpsd and
everything works like a charm with gps. :)
Maybe you try installing gpsd and deinstall fso-gpsd.

Ciao,
 Rainer

Christian Weßel wrote:
> Hello,
> 
> tangogps and fso-gpsd were installed from ,
> but I get no fix.
> 
> In the Trip tab tango shows allways an alternating GPS Time (Tue
> 1999-11-30 00:00:00 or Fri 1999-11-31 01:00:00) and Satelites: 11/0. The
> rest is zero.
> 
> The zhone internal gps appl. shows at the start view at all items N/A,
> and at the satelite view are about 10 satelites shown.
> 
> The FR ran the whole evening next to a window in a wooden house, but it
> got no fix. I couldn't remove the SD card of using Debian installed on
> it :-}. Is my FR one of these ones with the SD card problem? Or is it
> also fixed by Debian distro?
> 
> How can I check my GPS? How can I bring it up running?
> 
> Sorry for all these question, but I couldn't find any solution in the
> wikis.
> 
> 
> 
> 
> ___
> 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


[debian & gps] How to check gps

2008-09-23 Thread Christian Weßel
Hello,

tangogps and fso-gpsd were installed from ,
but I get no fix.

In the Trip tab tango shows allways an alternating GPS Time (Tue
1999-11-30 00:00:00 or Fri 1999-11-31 01:00:00) and Satelites: 11/0. The
rest is zero.

The zhone internal gps appl. shows at the start view at all items N/A,
and at the satelite view are about 10 satelites shown.

The FR ran the whole evening next to a window in a wooden house, but it
got no fix. I couldn't remove the SD card of using Debian installed on
it :-}. Is my FR one of these ones with the SD card problem? Or is it
also fixed by Debian distro?

How can I check my GPS? How can I bring it up running?

Sorry for all these question, but I couldn't find any solution in the
wikis.
-- 

mfg/br, christian

Flurstraße 14
29640 Schneverdingen
Germany

E-Mail: [EMAIL PROTECTED]
Telefon: +49 5193 97 14 95
Mobile:  +49 171 357 59 57
http://wesselch.homelinux.org


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community