View Single Post
Posts: 182 | Thanked: 3 times | Joined on Mar 2006
#42
Originally Posted by gnuite
New release: Maemo Mapper v0.2.2

Device-Installable .DEB File
Source Code

To those of you who have tried adding the "hciconfig reset" line to the sudoers file and found that it didn't work: I join you today. I was in the car today for more than an hour when the bluetooth connection paused, and I noticed that the hciconfig reset did not work. I found out why by fiddling on the command line (while I was driving - not recommended! ), and I fixed the source and released the fix in v0.2.2.

You will need to modify the sudoers line slightly. from "/usr/sbin/hciconfig reset" to "/usr/sbin/hciconfig hci0 reset" - I forgot the intermediate "hci0" argument.

I confirmed during my debugging that executing this command when the bluetooth connection "pauses" does in fact successfully reset the radio and allow Maemo Mapper to reconnect to the GPS receiver. That means that v0.2.2 should actually be able to recover from this erroneous state, hopefully with only 30-60 seconds of lost communication. I think that's the best I can do for now, but I'll keep looking into it.

Also, I added armin's "previous two center points define the default top-left/bottom-right points in Download-By-Area" patch. I don't use it personally, and in fact I find it a little annoying to have to delete the defaults in order to replace them with my own values (not to mention that it's unintuitive), but let's see how others feel about it. Does anybody actually use armin's patch? Should I keep it as the default behavior? Or maybe add a secret button in the corner (like the pi symbol from The Net) that would populate the fields with those values?

In any case, I'll probably still remove the feature when I implement the "select download area via stylus" code, although I'll never use that either (Google Earth is so much easier to use).

Those are the only two changes in this release.
Thanks for the update! I just wanted to let you know that I used the program this weekend on my vacation - 250 mile drive! It's excellent!

Personally, I think this feature should be defaulted. It's much easier than having to write down the first lat/lot and then put it back in after doing the other corner. So yes, I believe it is a necessary feature. Thanks once again!