Difference between revisions of "OpenPandora"

From Navit's Wiki
Jump to: navigation, search
(Adapt configuration: now with espeak)
(Connect GPS: hint, formating)
Line 12: Line 12:
  
 
===Connect GPS===
 
===Connect GPS===
'''Bluetooth:'''<br>
+
 
 +
 
 +
 
 +
{|
 +
|valign="top"|'''Bluetooth:'''<br>
 +
{{note|Sadly the Bluetooth manager has problems with paring a GPS. Please follow this manual instructions!}}
 
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:
 
<source lang="bash">hcitool scan</source>
 
<source lang="bash">hcitool scan</source>
Line 25: Line 30:
 
This should show up scrolling lines with GP* prefix
 
This should show up scrolling lines with GP* prefix
  
'''USB:'''<br>
+
|valign="top"|'''USB:'''<br>
 
Connect you USB GPS and open a terminal and execute:
 
Connect you USB GPS and open a terminal and execute:
 
<source lang="bash">dmesg</source>
 
<source lang="bash">dmesg</source>
Line 32: Line 37:
 
<source lang="bash">cat /dev/ttyUSB0</source>
 
<source lang="bash">cat /dev/ttyUSB0</source>
 
This should show up scrolling lines with GP* prefix
 
This should show up scrolling lines with GP* prefix
 +
|}
  
 
===Adapt configuration===
 
===Adapt configuration===

Revision as of 15:01, 2 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
  • search for "speech" and adapt <speech type="cmdline" data="espeak -v german '%s'" cps="15" />

Pandebian

Todo

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

See also