Editing Mer/Documentation/N810 GPS
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | |||
- | |||
== Notes == | == Notes == | ||
*These directions are confirmed to work on Mer 0.12. | *These directions are confirmed to work on Mer 0.12. | ||
Line 11: | Line 9: | ||
== Directions == | == Directions == | ||
- | + | 1. Install the following packages from the Maemo Updates repository (you can install them on Maemo, then copy the packages from the apt cache): | |
- | Install the following packages from the Maemo Updates repository (you can install them on Maemo, then copy the packages from the apt cache): | + | |
libsupld1 | libsupld1 | ||
osso-gpsd | osso-gpsd | ||
Line 19: | Line 16: | ||
gpsdriver | gpsdriver | ||
- | + | 2. Edit /etc/init.d/libgpsbt and change all instances of "user:users" to "YOURUSERNAME:users" There should be 2 instances you need to change. | |
- | Edit /etc/init.d/libgpsbt and change all instances of "user:users" to "YOURUSERNAME:users" There should be 2 instances you need to change. | + | |
- | + | 3. Run: | |
- | Run: | + | |
chown -R YOURUSERNAME:users /var/lib/gps | chown -R YOURUSERNAME:users /var/lib/gps | ||
- | + | 4. Make the following files: | |
- | Make the following files: | + | |
/etc/default/gps5300driver.conf: | /etc/default/gps5300driver.conf: | ||
Line 99: | Line 93: | ||
esac | esac | ||
- | + | 5. Run | |
- | + | ||
cp /usr/sbin/gpsdriver /usr/sbin/gps5300driver | cp /usr/sbin/gpsdriver /usr/sbin/gps5300driver | ||
- | + | 6. Put libgps5300faker.so in /usr/lib (Not posted anywhere yet): | |
- | + | cp /path/to/libgps5300faker.so /usr/lib | |
- | + | ||
- | + | 7. Reboot: | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | Reboot: | + | |
reboot | reboot | ||
- | + | 8. Get ready to use the GPS: | |
- | Get ready to use the GPS: | + | |
/etc/init.d/libgpsbt restart | /etc/init.d/libgpsbt restart | ||
/etc/init.d/gpsdriver restart | /etc/init.d/gpsdriver restart | ||
/etc/init.d/gps5300driver restart | /etc/init.d/gps5300driver restart | ||
- | + | 9. Start GPSD: | |
- | Start GPSD: | + | |
gpsd -n -N -D2 /dev/pgps | gpsd -n -N -D2 /dev/pgps | ||
Line 253: | Line 119: | ||
You have a lock and are ready to use your GPS (I've also gotten other messages indicating the GPS is ready. Basically anything new/other than what it routinely spits out should be a good indicator). | You have a lock and are ready to use your GPS (I've also gotten other messages indicating the GPS is ready. Basically anything new/other than what it routinely spits out should be a good indicator). | ||
- | |||
- | |||
- |
Learn more about Contributing to the wiki.