GPS

From Pandora Wiki
Revision as of 07:55, 22 July 2010 by Cheese (talk | contribs) (Bluetooth GPS)
Jump to: navigation, search

Setting up your GPS

Bluetooth GPS

First, turn on Bluetooth on your Pandora. Now, open up terminal and do:

hcitool scan

This scans for bluetooth devices. Find your GPS device on the list and make a note of it's MAC address (it is in the form xx:xx:xx:xx:xx:xx).

Now you want to find the channel for your bluetooth GPS, run the command (replacing the example MAC address with your own):

sdptool browse xx:xx:xx:xx:xx:xx

Now you need to edit /etc/bluetooth/rfcomm.conf. In this example I use nano, but you can use whatever editor you like. Do:

sudo nano /etc/bluetooth/rfcomm.conf

Fill in rfcomm.conf using the following template and the information you found using the steps listed above:

rfcomm0 {
bind no;
device xx:xx:xx:xx:xx:xx;
channel 1;
comment “GPS”;
}

Now connecting to your GPS is as simple as running the command:

sudo rfcomm connect 0

USB GPS

Someone with a USB GPS will need to fill in this section

Software

gpsd

Installation

Installing gpsd is a requirement for using many GPS related programs. It can be installed through opkg:

sudo opkg install gpsd
Configuration

todo.

TangoGPS

tangoGPS running on a Pandora
Installation

Until someone makes a PND, you can use opkg:

sudo opkg install tangogps