Difference between revisions of "OpenPandora"

From Navit's Wiki
Jump to: navigation, search
(See also: wiki)
(SuperZaxxon: USB, formating)
Line 5: Line 5:
 
*get [http://navit.svn.sourceforge.net/viewvc/navit/trunk/navit/navit/navit_shipped.xml?view=log a default navit.xml] and place it at /mnt/mmc2/pandora/appdata/navit/navit.xml
 
*get [http://navit.svn.sourceforge.net/viewvc/navit/trunk/navit/navit/navit_shipped.xml?view=log a default navit.xml] and place it at /mnt/mmc2/pandora/appdata/navit/navit.xml
 
*download [[Maps]] and put the .bin file at /mnt/mmc2/pandora/appdata/navit/maps/test.bin
 
*download [[Maps]] and put the .bin file at /mnt/mmc2/pandora/appdata/navit/maps/test.bin
*get espeak
+
*get espeak:
 +
<source lang="bash">
 +
sudo opkg install http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/libportaudio2_v19+svnr1387-r0.6_armv7a.ipk
 +
sudo opkg install http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/espeak_1.37-r0.5_armv7a.ipk
 +
</source>
  
 
===Connect GPS===
 
===Connect GPS===
 
'''Bluetooth:'''<br>
 
'''Bluetooth:'''<br>
 
Power up your GPS device, enable bluetooth at the Pandora Manager and open a terminal and execute:
 
Power up your GPS device, enable bluetooth at the Pandora Manager and open a terminal and execute:
<pre>hcitool scan</pre>
+
<source lang="bash">hcitool scan</source>
 
Mark and copy your BTaddr and paste it in the following lines
 
Mark and copy your BTaddr and paste it in the following lines
<pre>
+
<source lang="bash">
 
sudo hcitool cc AA:BB:CC:DD:EE:FF
 
sudo hcitool cc AA:BB:CC:DD:EE:FF
 
sudo rfcomm connect rfcomm0 cc AA:BB:CC:DD:EE:FF
 
sudo rfcomm connect rfcomm0 cc AA:BB:CC:DD:EE:FF
</pre>
+
</source>
 
This should work fine and the GPS should show an established BT link.<br>
 
This should work fine and the GPS should show an established BT link.<br>
 
Now test your virtual connection:
 
Now test your virtual connection:
<pre>cat /dev/rfcomm0</pre>
+
<source lang="bash">cat /dev/rfcomm0</source>
This should show up  
+
This should show up scrolling lines with GP* prefix
 +
 
 +
'''USB:'''<br>
 +
Connect you USB GPS and open a terminal and execute:
 +
<source lang="bash">dmesg</source>
 +
This should contain a line announcing a new USB device and that it is attached to a virtual serial port as /dev/ttyUSB0 or /dev/ttyACM0<br>
 +
Now test your virtual connection:
 +
<source lang="bash">cat /dev/ttyUSB0</source>
 +
This should show up scrolling lines with GP* prefix
  
 
===Adapt configuration===
 
===Adapt configuration===

Revision as of 10:37, 1 March 2013

Zaxxon

SuperZaxxon

  • get the .PND and place it on your SD card e.g. /mnt/mmc2/pandora/menu/
  • get a default navit.xml and place it at /mnt/mmc2/pandora/appdata/navit/navit.xml
  • download Maps and put the .bin file at /mnt/mmc2/pandora/appdata/navit/maps/test.bin
  • get espeak:
sudo opkg install http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/libportaudio2_v19+svnr1387-r0.6_armv7a.ipk
sudo opkg install http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/espeak_1.37-r0.5_armv7a.ipk

Connect GPS

Bluetooth:
Power up your GPS device, enable bluetooth at the Pandora Manager and open a terminal and execute:

hcitool scan

Mark and copy your BTaddr and paste it in the following lines

sudo hcitool cc AA:BB:CC:DD:EE:FF
sudo rfcomm connect rfcomm0 cc AA:BB:CC:DD:EE:FF

This should work fine and the GPS should show an established BT link.
Now test your virtual connection:

cat /dev/rfcomm0

This should show up scrolling lines with GP* prefix

USB:
Connect you USB GPS and open a terminal and execute:

dmesg

This should contain a line announcing a new USB device and that it is attached to a virtual serial port as /dev/ttyUSB0 or /dev/ttyACM0
Now test your virtual connection:

cat /dev/ttyUSB0

This should show up scrolling lines with GP* prefix

Adapt configuration

  • Open the navit.xml file
  • search for <config ...> and add within language="de_DE" with your appropriated language Code (e.g. en_GB)
  • search for "binfile" and replace:
  • search for "gpsd" and replace:
    • rfcomm0 for attached Bluetooth GPS
    • ttyS0 for attached USB GPS

Pandebian

Todo

  • speech support missing
  • Make use of pandora buttons
  • OSD for cassual users (#1 routing, #2 map viewing, ...)
  • Skin like minimenu

See also