![]() |
2006-05-29
, 03:15
|
Posts: 182 |
Thanked: 3 times |
Joined on Mar 2006
|
#42
|
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.
![]() |
2006-05-29
, 04:50
|
|
Posts: 1,245 |
Thanked: 421 times |
Joined on Dec 2005
|
#43
|
![]() |
2006-05-29
, 05:17
|
Posts: 182 |
Thanked: 3 times |
Joined on Mar 2006
|
#44
|
![]() |
2006-05-29
, 05:52
|
Posts: 23 |
Thanked: 0 times |
Joined on May 2006
|
#45
|
![]() |
2006-05-29
, 05:59
|
|
Posts: 1,245 |
Thanked: 421 times |
Joined on Dec 2005
|
#46
|
Gnuite, can you explain how the route regeneration works? Do you have to be connected to the internet? Because on my trip this weekend, I decided to take an alternate route than the one Maemo-Mapper generated (to avoid traffic). I did not get any route regeneration. Would it have worked if I was connected to the internet or how does this work?
![]() |
2006-05-29
, 06:02
|
|
Posts: 1,245 |
Thanked: 421 times |
Joined on Dec 2005
|
#47
|
I wonder if it might be worthwhile to not do your own binding, but instead to simply read a /dev/rfcommX device, and let rfcomm do the binding for you?
![]() |
2006-05-29
, 07:31
|
Posts: 13 |
Thanked: 0 times |
Joined on Feb 2006
|
#48
|
Yes. Route generation uses the GPX Driving Directions web service to generate directions, so you must be connected to the internet.
![]() |
2006-05-29
, 08:24
|
Posts: 39 |
Thanked: 13 times |
Joined on May 2006
@ Bonn, Germany
|
#49
|
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?
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!
![]() |
2006-05-29
, 08:40
|
Posts: 39 |
Thanked: 13 times |
Joined on May 2006
@ Bonn, Germany
|
#50
|
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!
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.