Thanks! I&#39;ll try this on SHR ;)<br>d<br><br><div class="gmail_quote">On Mon, Jan 28, 2013 at 9:05 AM, robin <span dir="ltr">&lt;<a href="mailto:spielraum@web.de" target="_blank">spielraum@web.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">#Maybe this is of interest to some of you. If you want a more recent version of<br>
#navit you may do the following. The QtMoko QX b) solution removes the needs for<br>
#gpsd as the serial output can be used by navit directly. It only worked with<br>
#one baudrate though and I don&#39;t know if or how this would influence the max<br>
# speed at which navit would process nmea.<br>
<br>
SOLVED for SHR / QtMoko QX<br>
UNSOLVED for QtMoko without QX<br>
thanks for all your answers, here is my summary<br>
<br>
SHR (not tested):<br>
get the latest package and install with opkg<br>
<a href="http://download.navit-project.org/navit/openmoko/svn/" target="_blank">http://download.navit-project.org/navit/openmoko/svn/</a><br>
(maybe you have to backup your navit.xml beforehand?)<br>
<br>
<br>
QtMoko (QX only):<br>
a) via navit from wheezy instead of squeeze  (not tested)<br>
<br>
echo &quot;deb-src <a href="http://ftp.debian.org/debian" target="_blank">http://ftp.debian.org/debian</a> wheezy main&quot; &gt;&gt;  /etc/apt/sources.list<br>
sudo apt-get update<br>
sudo apt-get build-dep navit<br>
apt-get --build source navit<br>
(maybe you have to backup your navit.xml beforehand?)<br>
<br>
<br>
b) by building navit from source without gpsd (tested, works)<br>
<br>
### ASSUMPTIONS:<br>
## your map is in /media/card/Maps/Navit/<br>
## in the end you have to UNCHECK THE ENABLE GPS TOGGLE in the QX ...<br>
## ... Settings for Navit!!! &lt; I don&#39;t know how this is done automatically<br>
## Please read through the script before just copy and pasting!<br>
## exectute PARTS I - III one after the other<br>
###################### INITIAL SETUP ######################<br>
### PART I<br>
## backup your old navit.xml<br>
cp /usr/share/navit/navit.xml /media/card/Maps/Navit<br>
<br>
## uninstall gpsd<br>
apt-get purge gpsd espeak<br>
apt-get autoremove<br>
<br>
## create new navit launcher script<br>
cat &gt; /usr/bin/<a href="http://navit.custom.sh" target="_blank">navit.custom.sh</a> &lt;&lt; EOF<br>
#!/bin/bash<br>
xset -dpms<br>
xset s off<br>
<br>
/opt/qtmoko/bin/gps-poweron.sh<br>
<br>
navit<br>
<br>
/opt/qtmoko/bin/gps-poweroff.sh<br>
<br>
xset +dpms<br>
xset s on<br>
<br>
EOF<br>
<br>
## make it execuatable<br>
chmod a+x /usr/bin/<a href="http://navit.custom.sh" target="_blank">navit.custom.sh</a><br>
<br>
## create desktop entry for new navit<br>
cat &gt; /usr/share/applications/navit.desktop &lt;&lt; EOF<br>
[Desktop Entry]<br>
Version=1.0<br>
Name=Navit<br>
Name[de]=Navit<br>
Name[fr]=Navit<br>
Comment=The open source vector based navigation program with routing engine<br>
Comment[de]=Ein vektorbasiertes Navigationsprogramm<br>
Comment[fr]=Le logiciel opensource de navigation vectorielle<br>
Exec=<a href="http://navit.custom.sh" target="_blank">navit.custom.sh</a><br>
Icon=navit<br>
StartupNotify=true<br>
Terminal=false<br>
Type=Application<br>
Categories=GTK;Utility;Geography;<br>
GenericName=Navit<br>
GenericName[de]=Navit<br>
<br>
EOF<br>
<br>
## install newest navit<br>
rm /media/card/Maps/Navit/navit-current.tar.gz<br>
cd /media/card/Maps/Navit<br>
wget <a href="http://download.navit-project.org/navit/openmoko/svn/navit-current.tar.gz" target="_blank">http://download.navit-project.org/navit/openmoko/svn/navit-current.tar.gz</a><br>
cd /<br>
tar -xzvf /media/card/Maps/Navit/navit-current.tar.gz<br>
rm /media/card/Maps/Navit/navit-current.tar.gz<br>
<br>
## backup the newest original navit file for comparison /merging<br>
cp /usr/share/navit/navit.xml /media/card/Maps/Navit/navit.xml.orig<br>
<br>
### PART II<br>
### EDIT the /media/card/Maps/Navit/navit.xml to your needs as this one<br>
### will be used later on<br>
## you can use diffuse to compare the files locally and then copy the<br>
## merged file back<br>
<br>
### PART III<br>
## restore your navit.xml<br>
cp /media/card/Maps/Navit/navit.xml /usr/share/navit/navit.xml<br>
<br>
## make sure your vehicle uses the serial:<br>
sed -e &#39;s/source=&quot;gpsd://localhost&quot; gpsd_query=&quot;w+xj&quot;/source=&quot;file:<br>
/dev/ttySAC1&quot; baudrate=&quot;9600&quot; follow=&quot;1&quot; &gt;/g&#39; /usr/share/navit/navit.xml &gt;&gt;<br>
/usr/share/navit/navit.xml<br>
<br>
## update the map to your map which can have any name but must lie in<br>
/media/card/Maps/Navit/<br>
echo &#39;&lt;map type=&quot;binfile&quot; enabled=&quot;yes&quot;<br>
data=&quot;/media/card/Maps/Navit/*.bin&quot;/&gt;&#39; &gt;<br>
/usr/share/navit/maps/osm_bbox_11.3,47.9,11.7,48.2.xml<br>
<br>
## UNCHECK THE ENABLE GPS TOGGLE in the QX Settings for Navit!!! &lt; I don&#39;t<br>
## know how this is done automatically<br>
<br>
<br>
<br>
############ if the inital setup worked and you just want to update ########<br>
###################### UPDATING SETUP ######################<br>
## backup your old navit.xml<br>
### PART I<br>
cp /usr/share/navit/navit.xml /media/card/Maps/Navit<br>
<br>
## install newest navit<br>
rm /media/card/Maps/Navit/navit-current.tar.gz<br>
cd /media/card/Maps/Navit<br>
wget <a href="http://download.navit-project.org/navit/openmoko/svn/navit-current.tar.gz" target="_blank">http://download.navit-project.org/navit/openmoko/svn/navit-current.tar.gz</a><br>
cd /<br>
tar -xzvf /media/card/Maps/Navit/navit-current.tar.gz<br>
rm /media/card/Maps/Navit/navit-current.tar.gz<br>
<br>
## backup the newest original navit file for comparison /merging<br>
cp /usr/share/navit/navit.xml /media/card/Maps/Navit/navit.xml.orig<br>
<br>
### PART II<br>
### EDIT the /media/card/Maps/Navit/navit.xml to your needs as this one<br>
### will be used later on<br>
<br>
### PART III<br>
## restore your navit.xml<br>
cp /media/card/Maps/Navit/navit.xml /usr/share/navit/navit.xml<br>
<br>
## update the map to your map<br>
echo &#39;&lt;map type=&quot;binfile&quot; enabled=&quot;yes&quot;<br>
data=&quot;/media/card/Maps/Navit/*.bin&quot;/&gt;&#39; &gt;<br>
/usr/share/navit/maps/osm_bbox_11.3,47.9,11.7,48.2.xml<br>
<br>
## update the desktop file<br>
sed -e &#39;s/Exec=navit/Exec=<a href="http://navit.custom.sh/g" target="_blank">navit.custom.sh/g</a>&#39; /usr/share/applications<br>
/navit.desktop &gt;&gt; /usr/share/applications/navit.desktop<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
br robin<br>
<br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</blockquote></div><br>