Thread
:
Maemo Mapper v2.2 for OS2006/OS2007/OS2008
View Single Post
chasen
2008-01-18 , 16:03
Posts: 1 | Thanked: 1 time | Joined on Jan 2008
#
172
I thought it might be helpful to restate the contents of the previous post and others which I have been using to modify the gps connection process so that Maemo Mapper 2.3 can connect with my Bluetooth GPS device (iBT-GPS). I have added some items that I found necessary to complete the process for my particular setup. My Nokia 770 is running OS2006 and Mapper had been working nicely until I installed a Mapper update a couple of months ago. Mapper would then no longer load at all. I have now removed that version and installed version 2.3 which does start up properly. Now all I have to do is fix the gps connection failure problem.
As outlined in previous posts, I am starting by using wget to download
http://www.gtlib.gatech.edu/pub/gnua...36-2_armel.deb
to my memory card. Then I
“mkdir tmp1” and use
“dpkg --extract libgps17* tmp1”
This creates a subdirectory structure which contains “libgps.so.17.0.0”. Now I get the version 2.36 update package to replace my gpsd which is currently version 2.32,
“wget
http://www.gtlib.gatech.edu/pub/gnua...6-2_armel.deb”
and extract that package
“mkdir tmp2” and use
“dpkg --extract gpsd* tmp2”
This subdirectory structure contains the new gpsd executable. Now after renaming my original gpsd file I again follow the previous post
“mv /usr/sbin/gpsd /usr/sbin/gpsd.old”
“cp tmp2/usr/sbin/gpsd /usr/sbin”
“cp tmp1/usr/lib/* /usr/lib”
and continue by changing to the /usr/lib directory and adding a link
“cd /usr/lib”
“ln -s libdbus-1.so.2.0.0 libdbus-1.so.3”
However attempting to then run gpsd, with or without parameters, gave a library loading error so I ran “ldconfig” and then when I run
“gpsd -n -N -D5 -F /tmp/gps.sock”
gpsd loads and remains active. However when enabling gps in Mapper, gpsd gives messages about “channel assignment failed” and that the client “turned on raw mode”.
Therefore we will try the rfcomm steps
“rfcomm bind /dev/rfcomm0 00:0B:0D:86:C4:B7”
then, as shown in a previous post, running
“rfcomm” produces “rfcomm0: 00:0B:0D:86:C4:B7 channel 1 clean”
As later pointed out by gnuite there is no need to run
“/usr/sbin/gpsd -N -n -F /tmp/gps.sock /dev/rfcomm0”
because you can set the File Path under GPS in Mapper Settings to /dev/rfcomm0 and select it and gpsd will be loaded and unloaded as you enable/disable GPS in Mapper.
To keep the /dev/rfcomm0 device present between reboots, you modify the /etc/bluetooth/rfcomm.conf file read at startup by bluez-utils in /etc/init.d. Change the rfcomm.conf file so that it binds at startup (bind yes), put in the mac address for your gps device and you are finished.
Quote & Reply
|
The Following User Says Thank You to chasen For This Useful Post:
bmoon
chasen
View Public Profile
Find all posts by chasen