Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo, a bluetooth G.P.S., and Google Earth
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
keet
Guru
Guru


Joined: 09 Sep 2008
Posts: 567

PostPosted: Sat Dec 26, 2009 2:40 am    Post subject: Gentoo, a bluetooth G.P.S., and Google Earth Reply with quote

How to make a Holux M1200 bluetooth G.P.S. update your position in realtime in Google Earth in Gentoo Linux:
(adapted from http://www.gentoo-wiki.info/Bluetooth_GPS and http://tjworld.net/wiki/Linux/Ubuntu/GoogleEarthPlusRealTimeGPS)
1. Configure and compile the kernel the include bluetooth and hci U.S.B. support, copy it to your boot directory, and reboot.
2. Install bluez, gpsd, pyserial, and googleearth (if you don't have them already).
3. Turn on your G.P.S. and run
Code:
hcitool scan
, then copy the address of your G.P.S.
4. Put the security code for your G.P.S. in /etc/bluetooth/pin
5.
Code:
rfcomm connect 0 [your G.P.S.'s address] & gpsd /dev/rfcomm0

7. Go to http://www2.warwick.ac.uk/fac/sci/csc/people/computingstaff/jaroslaw_zachwieja/gegpsd and download gps.kml and gegpsd-0.2.py into /opt/googleearth.
8. Edit them accordingly (for example, change the port to /dev/rfcomm0, and the baud to 38400 in gegpsd-0.2.py, and modify line seven of gps.kml so that the path is ./realtime/Realtime GPS.kml
9.
Code:
mkdir /opt/googleearth/realtime

10.
Code:
chmod +x gegpsd-0.2.py & ./gegpsd-0.2.py

11. Start Google Earth, and open gps.kml. It should find your position automatically.
You have now made Google Earth communicate with your G.P.S. in Linux, meaning that you can use your computer (laptop, netbook, et cetera) function as a G.P.S. with real satellite imagery! If you plan to go to a foreign country, just run Google Earth, download some maps of the place where you're going and the surrounding area, and you'll know where you are and where everything is in relation to you; even if you've never been there before, you won't be lost, and you won't need to wonder where everything is (provided that you download the imagery/information beforehand on Google Earth).
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54208
Location: 56N 3W

PostPosted: Sat Dec 26, 2009 10:42 am    Post subject: Reply with quote

Moved from Other Things Gentoo to Documentation, Tips & Tricks.

Its a HOWTO post, so better here
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum