maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Maemo Mapper v2.0 (https://talk.maemo.org/showthread.php?t=11245)

Green_Star 2007-11-20 13:35

Re: Maemo Mapper v2.0
 
I am not able to install new version on top of 2.2. Giving error saying not able to install. I even tried to uninstall using application manager, but there also no luck, it is not able to uninstall. Maemo Mapper is showed in red color in application manager installed apps list. How can i check whats the error? any command to use with command prompt? how can i forcefully uninstall or delete?

Thanks in advance.

gnuite 2007-11-20 14:53

Re: Maemo Mapper v2.0
 
Quote:

Originally Posted by kaybee (Post 97226)
I am also seeing this lockup issue. MM will get a GPS fix, run for a while (5-30 secs) and the GPS seems to stop updating (MM still responds to some things like the close button). After this, sometimes I will see stray MM processes left around which I have to kill in order to establish connection to the GPS again (although sometimes even this does not work and it requires a reboot to get connection to the GPS again). Another data point that I have not seen mentioned is that after this happens NaviCore can no longer connect to the GPS either. Sometimes I can get the GPS back in NaviCore by going through the "Activate GPS" procedure but not always.

Interesting.... The fact that the Maemo Mapper process sticks around means that the GPS thread (the one talking with the GPS receiver) is still connected to and trying to communicate with the GPS receiver. I still haven't been able to reproduce the problem, so I can't test it, but it sounds like Maemo's RFCOMM connection is stalling. Maemo Mapper would disconnect and retry if it got any kind of error from the read process, but it sounds like the read call is not returning at all. Have you tried waiting for longer than 5 minutes? There may be a very long time-out that is keeping the read method from returning.

I explicitly set a timeout for GPSD connections, because the default HTTP timeout is unacceptably long. I didn't immediately see a way to do this for RFCOMM connections, but I'll look again.

In the meantime, anyone that is having problems with the GPS receiver "hanging" may want to try using GPSD instead. Install gpsd, start it up, and use "localhost" as your GPSD host in Maemo Mapper.

GPSD is going to become the de facto standard with OS 2008, anyway, so you might as well start using it now. :)

gnuite 2007-11-20 14:57

Re: Maemo Mapper v2.0
 
Quote:

Originally Posted by RipTorn (Post 97299)
Well I guess my point was that Maemo-Mapper uses the routes from Google maps via that cgi script to generate routes, and was just curious if there is source available for that cgi script or anything similar that is opensource that anyone knows about.

I love the route feature it would just be great to be able to use it when im not connected to the Internet as hotspots in Australia really do suck...
and again, wireless Internet in Australia is hopeless unless you want to fork out alot of money to our great masters at Telstra the telco monopoly

Even if you had the source to the CGI script (which, unfortunately, I cannot release due to licensing concerns), you'd still need a connection to the internet in order to perform the routing, since you won't have the information needed for the routing (road information) on your memory card. Navicore has that information, and so will the non-free version of the GPS software coming with the N810, but that information is not cheap, so you can't carry it around with you without paying for it.

jdr93 2007-11-20 15:18

Re: Maemo Mapper v2.0
 
Quote:

Originally Posted by gnuite (Post 97740)
- snip -

In the meantime, anyone that is having problems with the GPS receiver "hanging" may want to try using GPSD instead. Instead gpsd, start it up, and use "localhost" as your GPSD host in Maemo Mapper.

GPSD is going to become the de facto standard with OS 2008, anyway, so you might as well start using it now. :)

succesfully running mm on an n800 with 2008 os, and though there hasn't been a problem here with 'hanging', tried to change gpsd host to "localhost" as you suggest (seems like a good idea) but received an error message. restarting mm did not result in a connection to ld-3w. is there another step needed, perhaps the port should be something other than 2947?

thank you for your help as always

john

gnuite 2007-11-20 16:12

Re: Maemo Mapper v2.0
 
Quote:

Originally Posted by Green_Star (Post 97716)
I am not able to install new version on top of 2.2.

Version 2.2 of what? Are you referring to gregale (Maemo 2.2) or to Maemo Mapper v2.0.2?

Quote:

Originally Posted by Green_Star (Post 97716)
Giving error saying not able to install. I even tried to uninstall using application manager, but there also no luck, it is not able to uninstall. Maemo Mapper is showed in red color in application manager installed apps list. How can i check whats the error? any command to use with command prompt? how can i forcefully uninstall or delete?

In the list of installed apps, try selecting Maemo Mapper and pressing the "(i)" button at the bottom of the screen. Search the popup dialog for information about what could be wrong.

gnuite 2007-11-20 16:19

Re: Maemo Mapper v2.0
 
Quote:

Originally Posted by jdr93 (Post 97748)
succesfully running mm on an n800 with 2008 os, and though there hasn't been a problem here with 'hanging', tried to change gpsd host to "localhost" as you suggest (seems like a good idea) but received an error message. restarting mm did not result in a connection to ld-3w. is there another step needed, perhaps the port should be something other than 2947?

There was a typo in my post. I said "Instead gpsd" when I meant "Install gpsd". In order for the GPSD solution to work, you have to install gpsd (a package) and start it up (from the command line) before starting Maemo Mapper (or at least before trying to connect).

Does anyone have a good tutorial on how to use GPSD on the Nokia 770 or N800? If you don't know how to use GPSD, then you probably shouldn't try to use it with Maemo Mapper.

Hopefully, a future version of Maemo Mapper will make it easier to manage GPSD, automatically instead of manually.

kaybee 2007-11-20 17:01

Re: Maemo Mapper v2.0
 
Quote:

Originally Posted by gnuite (Post 97740)
Have you tried waiting for longer than 5 minutes? There may be a very long time-out that is keeping the read method from returning.

I'll give this a try next time I am out with the unit (likely on the weekend as work is keeping me pretty occupied right now.


Quote:

Originally Posted by gnuite (Post 97740)
In the meantime, anyone that is having problems with the GPS receiver "hanging" may want to try using GPSD instead. Install gpsd, start it up, and use "localhost" as your GPSD host in Maemo Mapper.

GPSD is going to become the de facto standard with OS 2008, anyway, so you might as well start using it now. :)

I'll give this a try as well.

Thanks very much for the prompt response,
Cheers,
Kris

klwdallas 2007-11-20 17:18

Re: Maemo Mapper v2.0
 
I am experiencing 'hanging' similar to what you are describing with my 770 and MM 2.0.3/2.0.4. Sometimes MM seems to connect to my LD-1W, but doesn't seem to get (or process) any positioning information. I mean that the GPS's indicator lights are all lit meaning BT is connected and GPS has a fix, but MM does not update my position and shows 'No fix' if I open the GPS status. I can close MM, reboot the GPS, and reboot the 770, but sometimes it requires me to pull the battery of the 770...

I never experienced this with MM 1.4.x using the same 770 and GPS. Same LD-1W works without a hitch with my E61i and Wayfinder.

I leave MM open with the cover on all day. After work I experience this problem, so maybe it has something to do with breaking the BT connection while MM is still running? I'm just thinking also that I park in a covered garage so when I cover the 770 the LD-1W does not have a fix. Maybe I should play with this some more?

dburr10085 2007-11-20 18:03

Re: Maemo Mapper v2.0
 
For people having this issue (as I was), I make sure my 770 is not connected to any other device before starting mapper. I found that I would have this issue whenever the mapper was connected to my phone (bluetooth) and even if I shut if off and restarted, as long as it connected to this phone the problem would persist. Now I shut my phone off before I go to my car, let it connect to the GPS and then turn my phone on.

sevo 2007-11-20 21:53

Re: Maemo Mapper v2.0
 
Quote:

Originally Posted by gnuite (Post 97781)
There was a typo in my post. I said "Instead gpsd" when I meant "Install gpsd". In order for the GPSD solution to work, you have to install gpsd (a package)

It is part of OS2007 and up, needs only to be installed on OS2006 - if possible, as it seems to be gone from all repositories.

Quote:

Originally Posted by gnuite (Post 97781)
and start it up (from the command line) before starting Maemo Mapper (or at least before trying to connect).
Does anyone have a good tutorial on how to use GPSD on the Nokia 770 or N800? If you don't know how to use GPSD, then you probably shouldn't try to use it with Maemo Mapper.

Hopefully, a future version of Maemo Mapper will make it easier to manage GPSD, automatically instead of manually.

So far, I have only managed to get gpsd up by running gps_saver. My attempts to get gpsd running autonomously from shell scripts were frustrating, gpsd and the device did rarely ever live long enough to attach maemo mapper or any other application to it - but strangely enough that script worked maybe one times in twenty. If that is due to some property of the Maemo gpsd or BT stack rather than some stupid oversight of mine, starting from Maemo Mapper might be the only reliable way of doing it (short of starting some other gpsd-initiating program first).

Sevo


All times are GMT. The time now is 20:35.

vBulletin® Version 3.8.8