Slashdot Mirror


Two Ways To Use GPS With Linux

An anonymous reader writes "Whether you're wardriving, vacationing or building a Car PC, a Global Positioning System is a handy tool. Interacting with your GPS via your PC makes for an even better GPS experience. As a Linux user, GPS/PC integration can be somewhat sketchy. Vendors don't write software and drivers for Linux; it's probably safe to assume that the good folks over at Garmin would say something along the lines of "Lih-what?". Have no fear! Using your GPS with Linux isn't impossible! Check out this review over at LinuxForumsDOTorg of two fairly robust GPS navigation programs for Linux."

172 comments

  1. bluetooth gps by upil · · Score: 1

    Nice! this is what I've been looking for. Now let's figure out if it'll work with my belkin bluetooth gps.

    1. Re:bluetooth gps by Technician · · Score: 3, Informative

      Um, Does your GPS output NMEA? Read the owners manual. If you read the article, then you would know both programs use NMEA from the GPS on a serial port.

      If your GPS provides it then Ok it should work, If it doesn't, then your milage may vary.

      --
      The truth shall set you free!
    2. Re:bluetooth gps by Daemonik+CyCow · · Score: 0
    3. Re:bluetooth gps by Anonymous Coward · · Score: 0

      This is the same product as the Belkin GPS and its product page contains all the protocol information you would need to connect it to a linux device.

      http://www.fortuna.com.tw/Clip-On%20Bluetooth%20 GP S.htm

    4. Re:bluetooth gps by Anonymous Coward · · Score: 1, Informative
    5. Re:bluetooth gps by PeanutGallery · · Score: 1

      Great info. Thnaks!

      --
      -- Just another unsolicited opinion... from the Peanut Gallery.
  2. Not on my boat by davesplace1 · · Score: 1, Interesting

    No doubt in my mind that Linux is a good OS, but if I'm out on my boat in the fog I'm going to use the build in OS. GPS is very inportant out on the ocean. Now in my car or on my home pc I will be more than happy with GPS run by Linux.

    1. Re:Not on my boat by anonymous+cowherd+(m · · Score: 1

      When I was looking for a PDA and GPS, I chose the Garmin iQue over the Sharp Zaurus + compact flash GPS for this very reason. I don't use it on a boat (it's not even waterproof), but it is very important to me that my GPS work well.

      --
      http://neokosmos.blogsome.com
    2. Re:Not on my boat by Dancin_Santa · · Score: 5, Informative

      Linux is perhaps the most stable operating system currently on the market. In fact, in several studies that I've seen, Linux as an embedded system outperforms and crashes less often than dedicated software on traditional GPS systems.

    3. Re:Not on my boat by mirko · · Score: 3, Insightful

      Yes, but if you were a corporation, you'd establish a failure ratio, then, regarding the guarantee that a dedicated system manufacturer would offer, you'd probably go for this one anyway.
      Why ?
      Imagine you are the owner of a supertanker fleet and they all use GPS to navigate.
      Now, if one of these sinks at Valdez of in Bretagne, you'd have a hard time explaining to a judge how responsible you were not if you went for a self hacked system.
      The same could apply for trekkers who could get lost because of a dysfunction.
      BTW, I had a Zaurus and its battery life is just too low to make it OK for a GPS enabled trek.
      And despite this, I'd love tosee Linux go mainstream but this'll have to be distributed through a commercial channel otherwise it won't be able to finance itself.

      --
      Trolling using another account since 2005.
    4. Re:Not on my boat by HotshotXV · · Score: 4, Insightful

      Listen, I'm as big of a Linux fan as anyone, but trusting my coding (or even worse, someone else's) to work on my specific build out in the middle of a fog when it's failure means being hopelessly stranded... That's a pretty frightening thought. At least if something is released commercially and it fails like that, you can sue once (if?) you get back to shore.

    5. Re:Not on my boat by HotshotXV · · Score: 1

      Of course, this was supposed to be to Dancin_Santa...

    6. Re:Not on my boat by aaza · · Score: 5, Interesting
      Uhh, this review is not about hacking your GPS unit to run linux, but to talk to your GPS unit using a linux based program (two, actually: Roadmap and GPS Drive), most likely from a laptop (since a desktop will pretty much limit where your GPS can go).

      I would agree with not putting Linux on a GPS device, even if it was capable. Embedded systems are fairly hard to hack for a good reason: If you mess it up, it will be a serious problem.

      --
      In theory there is no difference between theory and practice.
      In practice, however, there is.
    7. Re:Not on my boat by 3)+profit!!! · · Score: 1

      The original article is not about installing Linux on the GPS device itself; it's about getting your Linux machine to talk to said device. I know you can't be expected to "RTFA," but at least read the summary...

    8. Re:Not on my boat by killpog · · Score: 3, Insightful

      Yeah, and I carry a copy of Bowditch, a recent set of charts, an RB sight, and a sextant for when the fool thing breaks... and I know how to use these tools, too.

    9. Re:Not on my boat by Technician · · Score: 1, Insightful

      and a sextant for when the fool thing breaks... and I know how to use these tools, too.


      I've spent some time on a boat. Umm how do you use a sextant in the fog? I didn't learn that fine point.

      --
      The truth shall set you free!
    10. Re:Not on my boat by _the_bascule · · Score: 4, Informative

      OLEX is a nice piece of commercial mapping software that runs under Linux, and to my knowledge there is a lot of very positive feedback from the local fisherman in the area where I work, Scotland, West Highlands.

      --
      Our diversity is our strength
    11. Re:Not on my boat by Anonymous Coward · · Score: 1, Insightful

      I have had magellan and garmin units flake out on their own several times requireing the "built in os" to be reflashed by a PC.

      I would trust a linux PC over the handheld or dash mounted GPS anyday.

      I would rather have my old no-os gps that simply had numbers and bearing with simple waypoints that I know will not freak out.

      after that I'll take a magnetic compass cince I knpow how to navigate instead of relying on technology

    12. Re:Not on my boat by Anonymous Coward · · Score: 2, Insightful

      Ok, so it's back to what's most important - that it works, or that your family have somebody to sue when it doesn't.

      I'll take "works" over "sue" anytime. I don't care if my family have anyone to sue if I don't come back. What I care about is that I DO come back. So I'll take the system that has proven itself over years of using it on my home machine and work servers, over the one that $manufacturer claims works, but specific info is a trade secret.

    13. Re:Not on my boat by AnuradhaRatnaweera · · Score: 1
      Linux is perhaps the most stable operating system currently on the market.
      I didn't know that Linux is on the market. ;-)
    14. Re:Not on my boat by wed128 · · Score: 1

      it is.

    15. Re:Not on my boat by Anonymous Coward · · Score: 0

      I would hope that in addition to a single GPS, you have a compass, charts, a VHF or similar radio, a sounder, and a plotter. You should also have a secondary GPS as a back up. Oh, and a radar. You'd be amazed how well you can navigate with a radar and sounder.

    16. Re:Not on my boat by LWATCDR · · Score: 2, Insightful

      "Linux as an embedded system outperforms and crashes less often than dedicated software on traditional GPS systems."
      What studies and what OSs? I would say that compared to Palm OS and WinCE you are probably correct. Compared to QNX or one of the FAA certified realtime control OSs probably not.
      Don't get me wrong Linux is a very stable OS and does well in many embedded environments but it is not the most stable OS on the planet. It is a great trade off between stability and flexibility.
      Would I trust it for a navigation system. Yes since a navigation system can go through a reboot and not cause a huge problem. Now an autopilot or a control system is a different story.
      What we consider reliable for desktop and even servers is not the same as what aerospace, life support system, and nuclear safety system designers consider reliable. If I server goes five years with out a crash that is good. If a plane crashes after five years that is very bad :)

      I would not be surprised if someday a realtime version of Linux did get certified for those types of applications.

      I admit that I am suprised that more embeded system do not use BSD. Maybe the do and we don't hear that much about them.

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    17. Re:Not on my boat by Bagheera · · Score: 2, Insightful

      The article talks about Linux mapping programs that take their feed from GPS via the standard NEMA protocol, not running Linux ON a GPS. (I didn't see any reference in the article to getting the GPS to talk to the Linux box. I'll guess standard Serial, vs USB)

      But your point is the same. You don't trust the external chartplotter as much as you trust the GPS device itself. Now, to be honest, in fog I'd rather have radar than GPS. While the GPS receiver can tell me where I am in relation to my marks and place me on a chart (most of the "downloadable maps" are road maps, not charts) it won't tell me about the coastal tanker on anchorage 42.

      Worse, I wouldn't want to drag my laptop out on deck when the fog rolls in - and you can be sure I won't be down at the nav station.

      They do seem like decent tools for wardriving and geocaching (if you want to lug a laptop) but not for marine navigation.

      --
      Never attribute to malice what can as easily be the result of incompetence...
    18. Re:Not on my boat by Anonymous Coward · · Score: 0
      At least if something is released commercially and it fails like that, you can sue once (if?) you get back to shore.

      If you were more attentive you'd have Read The Fucking Lawyer Screens you had to click through to get the GPSR to start. You've already waived your right to sue. And if you can't adequately use map, chronometer, radio and compass to get your ass out of trouble, keep me the hell off your boat -- it's not a safe place to be if you don't have or can't use backup means of navigation.

    19. Re:Not on my boat by lukestuts · · Score: 1

      Good evening gentlemen.

      All your FUD are belong to the parent.

    20. Re:Not on my boat by BK425 · · Score: 1

      Having backups doesn't mean you accept lower reliability in your main system. Not if it's life critical (as marine navigation is).

    21. Re:Not on my boat by Anonymous Coward · · Score: 0

      Really? After all these years of commercial support, commerical distros, and use in commercial embedded systems?

    22. Re:Not on my boat by Anonymous Coward · · Score: 0

      Sorry, but if you don't know how to get back to shore without GPS you shouldn't go out there in the first place, period! This is just irresponsible to totally rely on some compicated navigation hardware and software. When I was actively sailing we had no GPS or something like that, we had a compass, chronometer and a sextant.

    23. Re:Not on my boat by EsbenMoseHansen · · Score: 1

      Sailing much in fog without a radar is not a very good idea... better to find shore and anchor quickly. If you do have radar, the GPS is not exactly critical for anything, just a convenience... as you can navigate by radar alone no problem. Unless you're crossing the ocean, in which case a compas is good enough until the fog clears, not that fog is that common on the open ocean.

      --
      Religion is regarded by the common people as true, by the wise as false, and by rulers as useful.
    24. Re:Not on my boat by Anonymous Coward · · Score: 0

      While you are out on the boat, remember to bring your recovery CDs and pray while you fix it. Especially if it is running Windows CE.

      I believe a google search for a US naval ship that crashed -- was related to such an incident. Articles can still be found, even though publishers remove them to get Microsoft advertising dollars.

  3. GPS Drive by AnuradhaRatnaweera · · Score: 5, Informative

    I use gpsdrive without any driver issues. The real problem is the availability of maps.

    1. Re:GPS Drive by AnuradhaRatnaweera · · Score: 4, Interesting

      There is a script that comes with GPSDrive which allows downloading maps from some web sites, but those maps are copyrighted by the respective vendors (one of whose name starts with an M ;-)), and the script clearly mentions that the legal liability is with the user who downloads the maps. For the same reason, they cannot be distributed.

    2. Re:GPS Drive by Technician · · Score: 4, Informative

      The real problem is the availability of maps

      In the early days of computing, friends used to ask me buying advice for hardware.

      My answer has not changed in 20 years. Find the applications you need to run and find the best hardware to run it.

      It's great that Linux is getting support for GPS. That's fantastic and I'm excited. I have a Linux box.

      Taking my own advice, I have an old Win 95 laptop with limited memory (72 meg EDO max). It's my kick about GPS machine. I run National Geographic Back Roads Explorer (great program!) with the State series maps. It not only uses the NMEA information to real time display position, but supports my GPS protocol for waypoint, route and track management.

      I also run StreetFinder & TripMaker by Rand McNally. This gives me the best of both Raster and Vector maps. It includes route finding.

      Because I took my own advice, I have legal maps for the entire 50 states, has Magellan protocol support, and no downloading or compiling needed. (stuck on dial-up)

      The articles wish list included real time routing. In the feature list of the software includes everything in the wishlist.
      "NEWLY UPDATED FEATURES

      New GPS Navigation features!

      No more shuffling discs!

      StreetFinder® users can install the entire street network for the contiguous United States to their hard drive. This data-compression technique means fast directions and route generation to your desktop, laptop, or Palm OS® handheld device.

      Generate clear directions with Highlighted Route Lines
      A wealth of new navigation features for GPS* includes:
      Rotating Maps: upcoming turn instructions face the same direction you do

      One-Touch Rerouting: Miss a turn? StreetFinder® Deluxe gets you back on track.

      AutoZoom for Palm OS®: No need to manually pan for your next driving instruction.

      Voice Prompter: Advance notication of upcoming turns



      Not meant to troll, but wake me when Linux GPS map support is up to snuff. Expecialy wake me when both of the mentioned programs come out in a Linux version! Then I can ditch the obsolete OS on the laptop and use a modern OS.

      A wish list is nice. But I found these programs meet my GPS needs already. When Linux replacements are a reality, and I can ditch the last of my MS stuff, I'll be very interested.

      Linux apps need to be as functunal as the MS counterparts to comptete. I'm hoping for the day multiple versions of the mainstream software hit the shelves so I have a real choice.

      --
      The truth shall set you free!
    3. Re:GPS Drive by Lumpy · · Score: 3, Insightful

      Also, GPS drive is NOT havigation. it can not tell you how to get from point A to point B, ESPICALLY from the bitmaps it uses for maps.

      It's a moving map display and is certianly not Navigation in any way shape or form. I have been down that road way too many times.

      the first project mentioned is the ONLY navigation app available for linux, everything else is simply something pretty to look at, or requires a massive amount of attention to use it for navigation.

      --
      Do not look at laser with remaining good eye.
    4. Re:GPS Drive by Anonymous Coward · · Score: 0
      Find the applications you need to run and find the best hardware to run it.

      My problem is all the applications don't run on the same operating system and I don't want to carry two laptops and make a splitter for my gps.

    5. Re:GPS Drive by Technician · · Score: 1

      I don't want to carry two laptops and make a splitter for my gps.


      I understand that problem. The perfect solution doesn't exist yet. Some programs are WIN only. Some are Apple or Linux only. Life is choices. Do I dual boot? Do I take two laptops? Do I forget about one? I'm waiting for Linux to achieve a big enough groundswell so I can go into Best Buy or Office Max and pick up either the MS, Apple, or Linux version. The best would be all versions in one retail box. (National Geographic, Delorme, Rand McNally, are you listening?)

      --
      The truth shall set you free!
    6. Re:GPS Drive by Anonymous Coward · · Score: 0

      GPS drive cannot do routing, but then again it is not vector based. Roadmap is vector based, it can do address finding, and conceivably route finding also (or can be added in a straight forward manner).

      You need vectors, or ways of identifying all the roadways as defined lines in order to do addressing or routing. You could overlay a bitmap based program with a vector based to have the best of both worlds.

    7. Re:GPS Drive by Captain+Rotundo · · Score: 1

      Well I agree with your advice, and I have a windows 98 box at home so my girlfriend can run some programs she wants (Sims 2) - but I am a GNU/Linux user and I don't want to hassle with the interface of another OS for one app. I think its easier to settle for a slightly less powerful (but improving) Linux app, than to have to install Windows and deal with everything I am unfamiliar with it, and of course find annoying. I am even becoming bothered by the one Windows machine I have due to the increasing requirement for XP, which will simply push me away for that all together. Also I do not begrudge someone for saying they don't want to install Linux for one thing, or another. If they like Windows, or MacOS or BSD, or whatever then I understand. I used to use Windows exclusively (back in the 95 days) and now that I run Debian exclusivley (with GNOME) I am perfectly happy, and dont want to have to switch to a now unfamiliar interface.

      - See that I managed to defend only using Debian without bringing IP politics into it.

    8. Re:GPS Drive by Anonymous Coward · · Score: 0

      Thank you for your clear explanation of the networking effect. I just wonder:
      Did you contact any of the manufacturers of your favourite sowftware to ask them for a Linux version? In case of 'no,' let me draw this conclusion: You are not willing to to do anything to make your 'linux wishes' come true. You think that those things happen by telekinesis of some sort. Right now I am thinking very hard of your ass being spanked, can you feel it already?

    9. Re:GPS Drive by drinkypoo · · Score: 1

      The first project is also not a navigation product. You have to set waypoints/create features to get voice notification. gpsdrive can do the same thing. There are no freely available navigation systems for linux, period.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    10. Re:GPS Drive by Anonymous Coward · · Score: 0

      the first product has the capability and it is in the process of being added. GpsDRIVE has ZERO possibility of ever having it simply based on the dataset (or major lack of) it uses.

      vector data is routeable... bitmaps are worthless.

    11. Re:GPS Drive by drinkypoo · · Score: 1

      Well, you could generate vector data from bitmaps, except you still wouldn't have the street names. Still, it's not out of the question for gpsdrive to be able to build a simple and largely inaccurate vector map :) from the bitmaps, then put up some arrows to show you the possible ways you could turn to reach your destination. It would be up to the user to avoid turning the wrong way down a one-way street, as always. Obviously, it will be orders of magnitude easier to implement that level of functionality in roadmap, which is still going to have a problem with one-way streets.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    12. Re:GPS Drive by TLSPRWR · · Score: 1

      I have been down that road way too many times.

      I have as well, and had to make many U-turns.

    13. Re:GPS Drive by Technician · · Score: 1

      I am thinking very hard of your ass being spanked,

      I don't usualy feed the trolls, but your other point is valid..

      Did you contact any of the manufacturers of your favourite sowftware to ask them for a Linux version?

      Actualy I did. It went right to the marketing department on the little consumer survey card (registration card) Please add Apple/Unix/Linux version. That phrase goes on almost all product registration cards.

      --
      The truth shall set you free!
  4. Drivers? by Anonymous Coward · · Score: 0

    Wouldn't drivers be more useful?

    1. Re:Drivers? by anglete · · Score: 2, Informative

      Most GPS's use RS232, or a usb-RS232 converter. They mostly are able to use the NMEA standard for transsmission. This is definatly one application where linux has all the drivers it needs.

  5. Garmin GPS over USB? by Alexey+Nogin · · Score: 5, Interesting

    I've recently gotten Garmin GPSMan 60CS as a gift and so far I was unable to get any Linux programs to talk to it (over the USB cable that came with it). Did anybody have any success with getting Linux talk to any Garmin GPS units over USB?

    1. Re:Garmin GPS over USB? by hype7 · · Score: 3, Interesting

      sorry to crash the linux party, but also I'd be interested of any reports of it working with MacOS X as well.

      cheers

      -- james

    2. Re:Garmin GPS over USB? by JanneM · · Score: 3, Interesting

      Well, I use a Gramin Geko, though that one has a serial cable that I use over USB with a serial-to-USB converter. It works. See if you can access it over the ttyUSB device?

      --
      Trust the Computer. The Computer is your friend.
    3. Re:Garmin GPS over USB? by CurlyG · · Score: 2

      As I'm sure you know, OSX is Linux based...

      Well you know that, and now I know that, but doncha think someone had better go tell Apple?

      --
      You know they call 'em fingers but I've never seen 'em fing. Oh, there they go.
    4. Re:Garmin GPS over USB? by cei · · Score: 3, Informative

      I've got my Garmin Vista talking to my OS X box via a Keyspan USB to serial cable and run the freeware GPS Connect and its shareware big brother Terrabrowser to upload and download waypoints.

      --
      This sig intentionally left justified.
    5. Re:Garmin GPS over USB? by Alexey+Nogin · · Score: 1

      Well, the compatibility list for GPS Connect states "GPS 60cs (serial only)", so it seems I will be out of luck with OS X as well...

    6. Re:Garmin GPS over USB? by Alexey+Nogin · · Score: 1
      Well, I use a Gramin Geko, though that one has a serial cable that I use over USB
      The GPS side is the one that matters - it seems that Garmin GPS that I have provides a choice of protocols to use over the serial cable, but insists on using their proprietary protocol over the USB cable.
    7. Re:Garmin GPS over USB? by neonstz · · Score: 2, Informative
      The GPS side is the one that matters - it seems that Garmin GPS that I have provides a choice of protocols to use over the serial cable, but insists on using their proprietary protocol over the USB cable.

      Well, they have at least made the protocol specs available.

    8. Re:Garmin GPS over USB? by HotshotXV · · Score: 1

      Wow - you know you're tired when you type UNIX as Linux... I deserved that Troll mod.

    9. Re:Garmin GPS over USB? by skroz · · Score: 1

      I assume you mean th GPSMAP 60CS; I have the same model. I gave up on the USB cable and purchased the Serial/AC Adaptor combo. My main reason for this choice wasn't laziness, but the fact that the USB cable DOES NOT PROVIDE POWER to the unit. The serial cable, on the other hand, does. Weird choice on Garmin's part, I think.

      --
      -- Minds are like parachutes... they work best when open.
    10. Re:Garmin GPS over USB? by magefile · · Score: 1

      Read his post - he's suggesting you use a USB-serial adapter. I've had success with these in the past.

    11. Re:Garmin GPS over USB? by thogard · · Score: 2, Informative

      I've been talking to the OSx guys about this. It turns out that Garmin's idea of USB and the spec don't jive. For example when you ask for the 1st 4 bytes of the config descriptor, garmin USB devices give back more than 4 bytes that are all zeros.

      Its a shame too since the garmin GPS 18 USB is a slick little device. One other thing to consider with Garmin's USB GPSs is they don't look like a serial port. You would expect at least one of the USB channels to look and ack like a 9600 baud NMEA device so it would work with all the existing software but they screwed that up and only talk their own binary protocol.

    12. Re:Garmin GPS over USB? by robertlipe · · Score: 4, Informative
      As the author of GPSBabel (and more to the point, the author of the Garmin USB module) I'd like to pop that bubble.

      Garmin has gone out of their way to not document the WIRE PROTOCOL of the USB units (60C, 76C, 96C, VistaC, Quest, 26xx, etc.) but to instead document the API into their underachieving Windows driver.

      An earlier version of the spec pretended to be a protocol spec. I contacted them with a number of discrepancies betweeen my observations on a protocol analyzer and that specification. Within a few weeks, a new version of the spec appeared that removed the pretense of being a protocol spec.

    13. Re:Garmin GPS over USB? by robertlipe · · Score: 1

      I started implementing Garmin USB support via libusb in GPSBabel a while ago. There's some kind of a problem with the bulk read that I never got past. Any Garmin USB-using libusb jocks are encouraged to contact me so we can get it over the finish line.

      You can find the current status on our mailing list archive.

    14. Re:Garmin GPS over USB? by nadaou · · Score: 1

      try it with gpstrans (set interface protocol to Garmin/Garmin) or in NMEA mode with gpsd.

      If it doesn't work with gpsd, email the mailing list and it'll probably be sorted in a day or two. they are pretty on to it.

      http://gpstrans.sourceforge.net/
      http://gpsd.be rlios.de/

      --
      ~.~
      I'm a peripheral visionary.
    15. Re:Garmin GPS over USB? by Alexey+Nogin · · Score: 1

      As far as I can tell, both presuppose that you have already managed to convince your OS to present GPS to the software as a /dev/xyz that acts like a serial device. The problem is exactly that the Garmin GPS is not willing to talk serial-over-USB, they expect some proprietary way of talking over USB.

    16. Re:Garmin GPS over USB? by Anonymous Coward · · Score: 0

      checkout gpsbabel CVS -- I think this was added like list week.

  6. Text of the article by Anonymous Coward · · Score: 2, Informative

    GPS Review
    Posted by jeremy1701 at Wed Sep 22, 2004 12:23 pm

    Review of Two GPS Navigation Programs in Linux

    GPS's, or global positioning systems, are becoming more and more popular every day. With awesome standard features, increased map detail and dropping prices, it's no wonder why. Add to that the the growing popularity of treasure hunting games like geocaching and it's easy to understand the popularity of this little gadget.

    There are several programs available for Linux that will interact with just about any GPS on the market. This software generally servers to either interact with or enhance the GPS unit. Programs that interact can transfer information to and from the unit, including way-points, routes, detailed maps, saved tracks and more. These usually run on a proprietary protocol, such as Garmin or Magellan. Though the protocol is considered proprietary, development is supported by most companies and is very well documented. Other types of programs enhance the GPS unit by providing a more detailed and comprehensive visual display of the information read from from the GPS. These mostly use the open source NMEA protocol to read and display data from the GPS such as position, time of day, signal strength and others. These are the types of programs this article will focus on, specifically RoadMap and GPS Drive. Neither of these provide the type of trip planning funcationality associated with programs like Rand McNally trip planner or Yahoo! Maps, however, Rand McNally Trip Planner works well, but not perfectly, under Wine. Should you have any questions on installation, configuration or general use, I can usually be found hanging around at http://www.linuxforums.org. Feel free to post your question.

    The basic setup I used for this review consisted of a Garmin Rino 120 GPS connected through the serial port (/dev/ttyS0) to a Compaq Armada m700 Laptop running Mandrake 10.0. This is a pretty basic and straight forward setup. It is simple to install, configure and use.

    RoadMap v1.0
    Home Page: http://roadmap.digitalomaha.net/
    Rating: 4/5 Penguins

    Roadmap is a vector based navigation program. This means that maps can be zoomed in or out without having to download another map or without the map image becoming pixelated like the bitmap based map programs do. The map files used by RoadMap are generated from the TIGER files provided by the US Census Bureau, and thus cover the USA only. Maps have to be generated to a Roadmap format using the suite of utilities that come with the program, however, pre-made maps are available to simply download and use. One especially nice thing about RoadMap is that the maps are available for download by state, rather then by coordinate location.

    Roadmap can be built on either GTK or QT platforms, but also comes as precompiled binaries able to be run from a local directory. The installation is not Linux standard at all and the documentation is somewhat limited. Rather then a single configure file, there are separate, pregenerated Makefiles for GTK, GTK2 and QT. I found this to be slightly confusing, but installation went smooth after that. I also tried the binaries and they worked great, with the exception that the map directories still needed to be created.

    Roadmap uses the gpsd daemon and the NMEA protocol to communicate with your unit. In order for you to use Roadmap, you have to manually start gpsd and configure Roadmap to listen on the correct port before it will work. There appears to be support for starting and stopping gpsd from within the program when it loads, but it doesn't seem to work with the either the pre-compiled binaries or the source.

    Roadmap can display other GPS information such as number of connected satellite's and signal strength. This utility is actually a completely separate program, however calling the program from within Roadmap doesn't work. Starting the program separately gives a plethora of additional useful information.

    Roadmap can also be set-up with the flite voice synthesis

  7. Software? Drivers? PROTOCOLS! by MavEtJu · · Score: 4, Informative

    Vendors don't write software and drivers for Linux

    Who cares about software and drivers. Open protocols and open standards, that's what we need!

    --
    bash$ :(){ :|:&};:
    1. Re:Software? Drivers? PROTOCOLS! by wertarbyte · · Score: 2, Insightful

      Open protocols and open standards, that's what we need!

      And this is what we got. NMEA should be supported by nearly all receivers. It defines how gps data should be transmitted via a serial link. Even most USB units only use a USB2Serial chip, so they just appear as new serial ports.

      --
      Life is just nature's way of keeping meat fresh.
    2. Re:Software? Drivers? PROTOCOLS! by md81544 · · Score: 1

      What the hell is ":(){ :|:&};:" - Oooh - just figured. I should have thought more before trying to run it in a bash shell. Nasty :-). Now to stop my machine before the CPU melts. Sorry for the off-topicicity.

  8. GPS, Linux, and battery power in portables by antivoid · · Score: 2, Informative

    I believe the success of GPS has always been the fact that it can reliably give you your position at any point in time. To achieve this, the battery _HAS_ to last long enough.
    I'm all for linux, but when it comes to GPS I have always been sceptical.
    At work, we are developing a device for the police department. It's a portable device based on the ARMVI CPU that runs WindowsCE; the OS does quite a good job. The question is, I guess, can the linux software live up to those needs?
    When in its active state, GPS's really use one intense amount of power that it's just not funny; this means the software will need to keep the GPS out of active state for as long as possible. Built-in GPS OSes keep to that important rule as simple rule of thumb. Maybe I should go through the linux code and see what they dp; chances are good they're doing the same, or even better; maybe I can even contribute something to the code base later when I'm bored. :)

    1. Re:GPS, Linux, and battery power in portables by antivoid · · Score: 1

      Of couse, like an idiot, I misspelled the word "do" in my last post as "dp". Damn keyboard gremlins. Should have read the preview a little more ...
      My bad. :)

    2. Re:GPS, Linux, and battery power in portables by Anonymous Coward · · Score: 0

      dude did you RTFA?
      It is a review of linux apps that talk to GPS receivers using NMEA. The GPS computations are not running on your linux lappy

    3. Re:GPS, Linux, and battery power in portables by reddish · · Score: 5, Funny

      I believe the success of GPS has always been the fact that it can reliably give you your position at any point in time.

      Somebody mod this guy +1 Insightful!

    4. Re:GPS, Linux, and battery power in portables by antivoid · · Score: 1

      yes, I read the article. I was just making a statement regarding power consumption of GPSes in general and as a matter of interest, as we run in to those issues on a day-to-day basis at work.

    5. Re:GPS, Linux, and battery power in portables by jrumney · · Score: 1
      I believe the success of GPS has always been the fact that it can reliably give you your position at any point in time. To achieve this, the battery _HAS_ to last long enough.

      In a car or boat, you have an alternate power source, so battery life is not that important. For hiking or other handheld use, it is, but I don't see why Linux running on an ARMVI would be any worse than Wince on the same hardware.

    6. Re:GPS, Linux, and battery power in portables by Anonymous Coward · · Score: 0

      Attention to detail appreciated, but it's really not necessary to expend a post correcting a trivial typo like that. If someone calls you on it, he's being a jackass anyway.

    7. Re:GPS, Linux, and battery power in portables by Emil+Brink · · Score: 1

      This is almost totally off topic and (imo) very overrated, since the article is not about running Linux on actual GPS hardware, but simply about accessing data from a GPS receiver from Linux. Thus, the power-management done by the Linux kernel is rather irrelevant...

      --
      main(O){10<putchar(4^--O?77-(15&5128 >>4*O):10)&&main(2+O);}
    8. Re:GPS, Linux, and battery power in portables by caluml · · Score: 1
      I believe the success of GPS has always been the fact that it can reliably give you your position at any point in time

      Wow! It can reliably tell me where I was 1 year ago? That's awesome! But tell me one thing - how does it do the whole time travel thing? Is it Quantum?

    9. Re:GPS, Linux, and battery power in portables by schon · · Score: 1

      how does it do the whole time travel thing? Is it Quantum?

      Yes and no. :o)

    10. Re:GPS, Linux, and battery power in portables by Anonymous Coward · · Score: 0

      When in its active state, GPS's really use one intense amount of power that it's just not funny;

      Define "active state", and define "intense". My iFinder gets ~12 hours off a pair of 2100mAh nimh rechargables - without turning on power saving.

  9. This is news?? by Wapiti-eater · · Score: 5, Interesting

    Us ham types've been doing GPS navigatin not only of our own vehicles, but others as well for over 12 years now! I use a package called 'Xastir' and an on the air protocol called APRS.

    Basicly, take a GPS receiver and a laptop (Not just linux, xastir will run on Windows too), a TNC and a VHF radio - use pretty much any map you'd care to use (local or online), current weather information, satallite imagry, NWS alerts, warnings, etc, etc, etc... See your track - find your way, see forest fires, floods, tornadoes, hurricanes....
    The only limit is imagination

    Just wanna check on someone? Use your web browser and visit Findu - plug in their callsign and see where they're at.

    And no, you don't need a ham license to play along. Just to feed data into the world wide Information System.

    Kinda neat to zoom in on 'the old country' and watch my firends in the UK on thier way to work as I'm get'n ready to call it a day, then keyboard to keyboard messaging with 'em along the way.....
    And no air time fees

    --
    Senior NCO in the fight against entropy. I've seen things, man. Things no one should have to see.....
    1. Re:This is news?? by Wapiti-eater · · Score: 1

      OH, yea - and an AMAZINGLY broad platform base..

      From:Xastir Features List

      TWENTY-ONE+ SUPPORTED OPERATING SYSTEMS/VARIANTS
      1) FreeBSD
      2) Mac OS X
      3) Linux: Caldera, Debian, Lindows, Mandrake, RedHat, Slackware, SuSE...
      4) Solaris: 2.5, 2.6, 7.0, 8.0
      5) Windows + Cygwin: Win95, Win95b, Win98, Win98se, WinME, WinNT4, Win2000, WinXP.

      Then there's the seven languages and over 124 map formats....

      --
      Senior NCO in the fight against entropy. I've seen things, man. Things no one should have to see.....
  10. Standards rock. by wertarbyte · · Score: 4, Informative

    Most GPS receivers will deliver their signals in NMEA format, which is an accepted standard. Most of the USB units even only contain a pl2303 chip or another form of USB2Serial driver and work just fine. I bought mine on eBay, just plugged it in, and hotplug did most of the work. It appeared as a new USB serial port, so I could gpsdrive without any problems.

    --
    Life is just nature's way of keeping meat fresh.
  11. Pharos GPS-360 by KidHash · · Score: 5, Informative

    Slightly related, someone recently posted to the Full Disclosure mailing list, with a guide for how to get the Pharos GPS-360 (as sold in the "Microsoft Streets & Trips 2005 with GPS locator" package) working under linux. Might be useful to some people

    1. Re:Pharos GPS-360 by CyberDave · · Score: 1

      You, my friend, just made my day.

      I just bought MS Streets & Trips 2005 with GPS from Amazon.com this morning. $85 after rebate (+tax) with the explicit intention of using it with Kismet on my laptop. Now I know exactly what to do to make it work. (Too bad your link doesn't say what kernel version it applies to.)

      At that price, I figured i would be better off to just buy the whole receiver plus mapping software (even if I have to boot Windows to use it) than spend $65-75 for a simple UBS pod GPS receiver on eBay (which I already did before finding S&T at Amazon. oh, well).

      Now I just have to wait for the damn thing to arrive (and hope I can get over the feelings of guilt I have for buying genuine MS Software :)

      CyberDave

  12. Any cheap bare-bone GPS chips available? by intelligent+poster · · Score: 5, Interesting

    I am a starving student and all these GPS receivers seem out of reach (even the cheapest seems to be over 150$). Is it tough to build one on your own? Anyone with relevant experience? Any pointers would be appreciated.

    1. Re:Any cheap bare-bone GPS chips available? by aLe-ph-1(sh) · · Score: 1

      are you looking for a full soft/hard package? I have definitely seen some affordable chips... I think it may take some finagling, but I think with enough intelligent guidance (maybe you can get a Prof of yours to get together a grant, maybe a Grad Student), and some perseverance, maybe a librarians whits, you'll come out ahead...

      --
      sig!wind down the juuice, let the tubes roar with the glow of alternative powers, not they that be." me, today...
    2. Re:Any cheap bare-bone GPS chips available? by intelligent+poster · · Score: 1

      Nah, what I am really looking to do is to have a satellite receiver for the GPS signals and an IC which will triangulate the coordinates and an LCD to display the values. I will write the software of course as required. Is it possible to break up this way?

    3. Re:Any cheap bare-bone GPS chips available? by pe1rxq · · Score: 1

      I hope you don't mean a normal TV satellite receiver....
      GPS signals are incredibly weak.
      Most GPS receivers use an analogue front-end with an AD converter interface to a digital processor (often ARM based).
      The processor has to correlate the different signals from the different sattelites and retrieve their data. This data then has to be interpreted.
      All this has to be done with time measurements that have to be in the nanosecond range in order to be usefull.

      Jeroen

      --
      Secure messaging: http://quickmsg.vreeken.net/
    4. Re:Any cheap bare-bone GPS chips available? by Anonymous Coward · · Score: 1, Informative

      Yeah I know, you're learning all this stuff and you want to do a neat project, but why re-invent the wheel? If all you want is your position, just pay the 100 bucks and be done with it. You'd have to have something like a 5 layer board to make it work, plus you'd need to buy the chips, hook them up etc, all for something that may not work in the end. Some have tried it a few years ago and posted their results on the web. There is open source software out there for such a thing. But in the end it's just easier to buy an inexpensive unit with the chip that you want and crack it open if you want to do some experimenting (the kind Homeland Defense would be interested in).

    5. Re:Any cheap bare-bone GPS chips available? by aLe-ph-1(sh) · · Score: 1

      you know, I might think that there would be some way to pre-fab on a slightly smaller scale. I find it rather upsetting, and the comment to be a bit, well, it just seems to me to be similiar to the whole discouragement of inventors to invent. O.k. But IMHO, there really is something to be said of a bit of motivation, some creativity, and I kind of think it's this sort of chutzpah that has made a lot of people on this planet the people they are today. Just this kind of thinking, in concert with doing.

      --
      sig!wind down the juuice, let the tubes roar with the glow of alternative powers, not they that be." me, today...
    6. Re:Any cheap bare-bone GPS chips available? by dillkvast · · Score: 1

      The Holux GM-210 GPS reciever should be about 100$, guessing from the price here in Norway. (There is also an battery driven bluetooth variant, but it is twice the price) You can even buy an USB cable and avoid all RS232 hacking, and there seems to be Linux drivers at their homepage. I haven't tried it though.

      Have anyone sucessfully used this GPS reciever?

      --
      Scitne aliquis remedium potimum crapulae?
    7. Re:Any cheap bare-bone GPS chips available? by Anonymous Coward · · Score: 0

      Here in Oz I built one for around US$100. The trick was finding a Motorola GPS OEM board on eBay, and locating the proper antenna to work with it. After that it's just a case of an RS-232 buffer chip and the necessary power supply/regulation to allow you to connect it to a PC and away you go.

      If you are thinking of an all-in-one solution, you may be able to find a PIC based solution for a text interface with a LCD but you're getting near the point where a second-hand magellan or garmin unit is a smarter choice.

      Some of the new chipset solutions (sirf) have a better power consumption that may be worth playing with.

      If you're looking for a GPS 'chip' as in a stock IC - forget it. The receiver is a microprocessor and RF system - two things that at best require careful PCB design and other nasties. The money you save buy doing it yourself won't cover the hair-plugs you'll need to buy after you've pulled most of your own out trying :-(

    8. Re:Any cheap bare-bone GPS chips available? by Anonymous Coward · · Score: 0

      www.ebay.com

      all you want is serial output. get a cheap $60.00 unit like the magellan GPS explorer.

      Yes as a starving student you need used.

      also hamfests.

      BTW, the cheapest new gps is the geko at $89.00 at target and other stores.

      you certianly did not look very far before whining.

    9. Re:Any cheap bare-bone GPS chips available? by hool5400 · · Score: 1

      Mate did you keep any of the schematics and pinouts? I tried to do the same thing with an oncore OEM about a year ago and had no luck. My board (using a max232 chip, i forget the particular variation) just didn't work, i think i overestimated my skills.

      --

      Remember, it takes 42 muscles to frown and only 4 to pull the trigger of a sniper rifle.
    10. Re:Any cheap bare-bone GPS chips available? by bear_phillips · · Score: 1

      You might look at getting a Palm Streetfinder GPS off of ebay. You can get them real cheap. It is easy to addon on a serial port cable to the GPS then you can hook it straight into your PC. Here is a url on how to do that: http://www.chadphillips.org/zaurus/palmgps.html

      --
      http://www.windmeadow.com/
    11. Re:Any cheap bare-bone GPS chips available? by Anonymous Coward · · Score: 0

      This is the best compendium of OEM GPS units I can find... (stuff that third parties would intergrate into, say, a built in car navigation system)... So, no LCDs. No buttons. Just NMEA output.

      Here is a whole array of units with their specs The Garmin OEM units, for example are about 1.5x2.5x.5 inches.

      I wanted to do a car intergration, and any of these coupled to a computer aught to do it. But more to the point, Garmin offers units built into enclosures tha would work well for that purpose, so no hacking your car or whatever too badly.

    12. Re:Any cheap bare-bone GPS chips available? by Anonymous Coward · · Score: 0

      Atmel (http://www.atmel.com/) produces chipsets for GPS units. I'm sure other manufacturers have similar products.

      Before you start working on something this complicated, you should make sure that you have access to the necessary technology. You cannot design, assemble and test GHz equipment at home.

      If, on the other hand you just want something cheap to play with, you should Google for a GPS module. These are complete GPS units, integrated on a small PCB. As they are intended to be built into other systems, they don't usually have their own power supply, the UART is TTL or CMOS level (requires a MAX232 to connect to a PC), and needs an external antenna. Getting one of these to work is not impossible, even with very simple equipment (breadboard/soldering iron).

    13. Re:Any cheap bare-bone GPS chips available? by dara · · Score: 1

      The GPS Lite mouse from deluo.com is $60. I have an older mouse from Deluo, and it works reasonably well under Windows. I've been told you can get the old one to work on Linux as well, but then there is no routing software available (let alone turn by turn voice guidance).

      If you don't need turn by turn, and have a Windows laptop, you could also get a package with a GPS mouse + Streets and Trips 2005 for $85 (after rebate on amazon).

      Dara

    14. Re:Any cheap bare-bone GPS chips available? by Anonymous Coward · · Score: 0

      If you already have a laptop, this is a good option:
      http://www.rayming.com/product.aspx?catal ogid=20
      Though you can probaby find it cheaper on-line.
      USB-powered, no display, no frills. Get your drivers here:
      http://www.ftdichip.com/FTDriver.htm
      BSD, Linux, OS X, and Windows even!
      If you're using OS X for charting (i.e. on a boat), this software can't be beat:
      http://www.gpsnavx.com/
      (and you can get it with the above GPS for $139.95).

  13. Other Linux GPS software to check out by nadaou · · Score: 5, Informative

    gpsd: serve up realtime GPS data
    http://gpsd.berlios.de

    gpstrans: download/upload Garmin data
    http://gpstrans.sourceforge.net

    gpsbabel: up/download & convert GPS data
    http://gpsbabel.sourceforge.net

    v.in.garmin + GRASS GIS 5.7: download GPS directly into serious mapping & analysis software
    http://grass.ibiblio.org/grass57/manuals /html57_us er/v.in.garmin.html
    http://grass.ibiblio.org

    have fun, don't get lost.

    --
    ~.~
    I'm a peripheral visionary.
    1. Re:Other Linux GPS software to check out by aLe-ph-1(sh) · · Score: 2, Informative
      NMEA
      /.
      gpsd: serve up realtime GPS data

      here

      gpstrans: download/upload Garmin data here

      gpsbabel: up/download & convert GPS data here

      v.in.garmin + GRASS GIS 5.7: download GPS directly into serious mapping & analysis software here here
      thought I would clean these up a tad
      --
      sig!wind down the juuice, let the tubes roar with the glow of alternative powers, not they that be." me, today...
  14. NMEA by The_Pey · · Score: 5, Informative

    I don't want to torpedo the purpose of this whole article, but Linux isn't as far out in the cold as you might think. Most GPS programs out there use the NMEA protocol which is handled over a common serial port. The article poster seems to imply that Linux is left out in terms of drivers, but the fact is that most GPS units support the NMEA protocol. That includes Garmin, Magellan and others. If you have a common DB9 serial connector and the right cable, you can get any number of GPS units to work with any number of programs.

    That being said, what is troubling is the "any number of programs" that I mentioned above. There really is not a large community of developers working on consumer mapping applications. If you look hard enough, you may stumble across some gems here and there, but for the most part the Linux scene is noticably lacking.

    Tuxmobil's Page is a good place to start looking at different apps.

    --
    Hmmm...
    1. Re:NMEA by The_Pey · · Score: 1

      On a side note, for those of you who don't have a DB9 connector, I have successfully used a Keyspan Serial PDA Adapter in interfacing my Garmin GPS with a Mac or PC.

      --
      Hmmm...
    2. Re:NMEA by Wapiti-eater · · Score: 2, Informative

      Screenshots of only one package that's out there and available now...

      Screenshots

      And those are from an older version: 1.0.2 - current release is 1.4.1

      --
      Senior NCO in the fight against entropy. I've seen things, man. Things no one should have to see.....
    3. Re:NMEA by pe1chl · · Score: 1

      NMEA is the lowest-level protocol used by these devices. In fact, even a bare GPS receiver module talks NMEA.
      When you have a GPS handheld, there are many more things that can be done via a PC. Download waypoints, tracks, upload maps, etc. This is not done using the NMEA protocol but with some proprietary protocol specific to the GPS unit manufacturer.

    4. Re:NMEA by darkharlequin · · Score: 1

      my i730 only outputs gps data on serial, this sucks. I wish i could use the usb datacable i have, as my laptop only has usb ports. I guess I'll have to write a midlet to output gps data and dummy up gpsd for that purpose.

      --
      i am so very tired....
    5. Re:NMEA by LinuxHam · · Score: 1

      Just get the i730 serial cord and then a belkin serial-to-usb adapter. i have nav in the murano, but its a real bear to get an NMEA stream out of it. I use my i730 for Airsnort work, since my laptop doesn't have serial either (t41).

      --
      Intelligent Life on Earth
  15. Garmin GPS access through serial port by wass · · Score: 2, Informative
    In the summer of 2000 I used a program called Garble to talk to my GPS (Garmin GPS II+), its Freshmeat page looks like it hasn't been updated since almost that time. I vaguely remember talking to the author shortly after the summer and (s)he was too busy and was dropping the project (I could be wrong). This program worked perfectly with my GPS, but it read lat/long data from the serial port. I don't know how hard it would be to hack this program to use the USB port instead.

    I used Garble because back in Summer 2000, before the grueling years of my physics PhD program began, I took a 15,000 mile roadtrip around the USA. During most of the driving I had my laptop connected to my GPS, pinging it every minute (through a simple bash script) getting a latitude and longitude. After my trip I compiled all the points, and used IDL to make some nice plots from the data. IDL was cool because I could easily set up map projections w/ my latitude/longitude data, overlap satellite images, and even plot country/state borders (IDL costs $$$$$, but Johns Hopkins University physics department has a large client license on the student terminals, which is nice). Check out my final Mercator Plot and Satellite Perspective Plot. My route is in red (chronologically going clockwise around the country), yellow circles are where I spent the night.

    You can read my unfinished online journal here. Yeah, it's been a few years since the trip, and I do really need to finish that journal and clean up the ugly page layouts.

    --

    make world, not war

  16. Don't forget UI-View by ivi · · Score: 2, Interesting

    Another Amateur Radio moving-map tool - this one
    capable of displaying -multiple- moving GPS-
    carrying symbols across the screen (not just one, that represents yours) is UI-View

    Great for tracking various emergency service vehicles at an incident.

    It's from the UK... A cost-free 16-bit demo is
    available, bur it's maybe 10 UK Pounds for 32-bit
    Windows (only!) version.

    1. Re:Don't forget UI-View by Wapiti-eater · · Score: 1

      Uh, not to start a tiff, but yea - xastir tracks multiple targets/objects too. I show over 12K in my list at the minute.

      UI-VIEW is the most popular Windows based client - so far...

      UI-VIEW has a great user base. Considering it's author recently passed away, very good support from the user community. The registration scheme for the 32 bit version has been changed since Roger's passing on. See UI-VIEW Homepage for more info on UI-VIEW, see This site for current info on how to register for full function.

      --
      Senior NCO in the fight against entropy. I've seen things, man. Things no one should have to see.....
  17. An observation. by rincebrain · · Score: 4, Interesting

    This past summer, a friend of mine took it into his head to build a caseless PC.

    This plan was to have two modes; a mode for work (IE: throwing it in his backpack), and a mode for play (mounting it on an RC car he built himself).

    He began finished the latter while I watched him, utilizing his own hacked together power setup to provide rechargable battery power to the device for a period of time he has yet to test fully. He then proceeded to install Linux on a 128 MB CF card, using an IDECF converter [I was amazed it existed, but there you go], and a few small utilities for run. A 500 MHz processor powered it.

    Now, the relevant part of this is the RC car it was on. He wanted to control the car using the motherboard mounted on its back. He wrote a simple program to send pulses along a parallel converter of his own design to the various wheels, as they responded to pulse frequency by operating specific ways...pretty standard.

    Then, he wanted to use a GPS to make it drive around the campus. He wrote his own software for the GPS device another friend of ours provided, NMEA-0182 with a few vendor extensions, IIRC. The device sent over serial, and it was a fairly simple bit of work to make it interpret the coordinates properly...the hard part was mapping the area. =)

    The point of all that is, good GPS devices usually use a standard output interface, and protocol. And it is, honestly, not that hard to write your own program to interface with it. I still have the source code to the program he wrote...it's easily under 1000 lines, and possibly under 500.

    So, if you'd like to use a GPS device to steer your projects...write your own software. =)

    --
    It's only an insult if it's not true.
  18. And the GPS protocols are wide-open by Anonymous Coward · · Score: 0

    Almost all GPSes out there that have ports communicate in a very simple text-based protocol over a serial port. It's very easy to write something which processes this data stream. Fortunately the GPS data stream is very low-bandwidth (by computer standards these days) so plain old 9600 baud and text is plenty. You only get a new GPS reading every second or so anyway. The only part of the GPS signal that is not adequately served by the serial link is high-resolution timing information, but for most computers, being off by 0.1 sec is probably fine.

  19. Uhm... duh... Which part of 'RS232'.... by B747SP · · Score: 4, Informative
    All but the least-decent GPS receivers speak RS232 and at least the NMEA protocol out of the box. I use the Garmin eTrex standard, bottom of the line GPS with FreeBSD all the time, but I'm not doing anything clever that won't work with Linux or any other *nix.

    I hand-built serial cables using plugs I got from this guy (Elsewhere on that site there's links to folks all over the world selling the same plugs for a range of different GPS receivers). Apparently even the tiny little Garmin Geko 201 and Geko 301 (but not the 101 model) also speak serial - and they're tiny cute little things they are!!!

    My little eTrex has a menu with a whole bunch of different 'languages' that it will speak (and/or receive) via the serial port. According to the manual (warning: pdf) (page 45) it speaks NMEA 0183, a bunch of proprietary Garmin stuff and a couple of flavours suitable for differential work. I know from fiddling with mine that it also speaks a 'plain text' (they're all plain text, but this one is more so) format that is quite human readable and probably quite easily parseable with some perl.

    Another imporant point about GPS and Linux (*nix in general is time). GPS requires incredibly accurate time to operate, so by implication GPS receivers make excellent clocks. Last time I checked xntp had support for NMEA (GPS) as a time source.

    A quick freshmeat (if 'google' is a verb, then surely 'freshmeat' can be one too!) will tell you that GPS on *nix is nothing new!!! (Not all of those returns are gps nav related, but there's a lot of stuff to parse gps sentences, moving maps, program receivers, all kinds of goodies!

    --
    I find your ideas intriguing and I wish to subscribe to your newsletter.
  20. The Question now is; by okmijnuhb · · Score: 2, Interesting

    My laptop has no serial port, would I be able to run the USB to serial converter that I now use in Windows?

    1. Re:The Question now is; by wertarbyte · · Score: 1

      That depends on the USB2serial converter you got there. You could get a USB gps unit as well, although it will contain a USB2Serial converter, too. Just try with something like Knoppix to see whether your converter is recognized by hotplug and the kernel.

      --
      Life is just nature's way of keeping meat fresh.
    2. Re:The Question now is; by pe1chl · · Score: 2, Informative

      Usually: yes.
      I have some USB devices and they all work with Linux. In fact, with Linux they worked plug-and-play while for Windows 2000 I needed to install the drivers that came with them.

  21. NMEA by zxv · · Score: 2, Insightful

    I dont see why this is news. Most GPS devices uses NMEA which is trivial to parse.

  22. Galileo? by tarunthegreat2 · · Score: 2, Insightful

    Slightly OT but wouldn't the purposes of OSS be better served if they could find some kind of input into Galileo, the competitor to GPS? GPS is kinda dependent on the US-Military, and when Galileo comes on line it won't be....

    1. Re:Galileo? by Anonymous Coward · · Score: 0

      Do you really think that the Europe, the continent that charges a fee to watch TV or listen to the radio is going to provide an open/free gps-like signal? They have already stated that the free signal will be limited to the US GPS accuracies. If one wants anything better one has to pay. This cost structure will virtually guarantee that low-cost galileo receivers won't bother to have the added hardware/software to deal with the higher precision signals.

      If you want galileo to kick butt, you'd better start lobbying for free/open signals. If it is just another GPS with roughly the same specs I can't see why anyone would want to switch.

    2. Re:Galileo? by Anonymous Coward · · Score: 0

      lol, trust me, you don't want a cheap guidance system that can't be turned off.

    3. Re:Galileo? by anno1602 · · Score: 1

      There is no reason to assume that Galileo-compatible devices will not work with the same protocols that GPS-devices use. The interface GPS-thingyPC is rather independent of GPS-thingySatellites, and on top of that, Galileo is designed to be easily supported by existing GPS devices (IIRC, different frequencies are the extent of the technical differences for clients).

    4. Re:Galileo? by anno1602 · · Score: 1

      If it is just another GPS with roughly the same specs I can't see why anyone would want to switch.

      Intelligent devices could use both GPS and Galileo signals to achieve an accuracy higher than each individual system. Plus, Galileo will be run by a privately held organisation and will not be subject to military interests (such as further degrading accuracy when militarily desirable).

    5. Re:Galileo? by Anonymous Coward · · Score: 0

      Plus, Galileo will be run by a privately held organisation and will not be subject to military interests (such as further degrading accuracy when militarily desirable).

      The only group I trust less to "do the right thing" than the military is a government-santioned monopoly.

      I'm not against Galileo. Given who the players are, I just don't have high hopes it is going to change the GPS landscape much.

  23. You can use multimap by DrSkwid · · Score: 2, Interesting

    I used the NMEA output of my usb gps to drive multimap requests

    mutlimap takes lat/log coordinates so it really is a no brainer


    http://www.multimap.com/map/browse.cgi?lon=-4.14 55 3105809694&lat=50.956740380761

    hehe check the street name :)

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    1. Re:You can use multimap by DrSkwid · · Score: 1

      bah url failed

      try again

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  24. GPS and USB hotplug by zcougar · · Score: 2, Informative

    Some instructions, how to start gpsd automatically when connecting USB GPS receiver. There is also described how to start Kismet server automatically.

    http://wiki.version6.net/Kismet hotplug

  25. Linux shouldn't be an issue... by jshriverWVU · · Score: 1

    at least for getting GPS data. Last year I wrote a small serial utility to capture GPS data in linux and only took a couple hours. (requires a GPS unit that sends via RS232, no idea about USB though). The big question would be support for using GPS data.. like plotting a path on a real map.. but that shoulndn't be hard either given terraserver or the myriad of GIS data out there for free. Off Topic, but /. is being used to harvest email accounts for spam. In almost 6 or so months I've been gmail I've never had a real Spam.. till last week when I *stupidly* wrote my gmail account here.

  26. KnopGPS anyone? by cosyne · · Score: 1

    Are there any boot-from-CD GPS navigation distros out there? I have an old PII laptop which would be great for navigaiton, except that the HD doesn't work relaibly. It'd be nice to be able to burn a cd with a bunch of maps and bootable distro that automatically logs in and brings up GPSDrive. Also, (ianal,b) in states where it's illegal for the driver to be able to see displays which are unrelated to vehicle operation or navigation, it might be useful to be able to show that the computer is running from a read-only filesystem with only navigation programs on it.

    1. Re:KnopGPS anyone? by minialed · · Score: 3, Informative

      GIS-Knoppix (http://www.sourcepole.com/gis-knoppix/) comes with a set of pre-installed GIS (Geographical Info Systems) software and utilities including GPSDrive.
      http://www.freegis.org/browse.en.html?category=o s&os=Linux is an excellent resource fo GIS, GPS and related tools including many for Linux &c. A.

  27. To each their own? by Lee_in_KC · · Score: 4, Insightful

    Just how much money do the Linux users here thing they contribute to the bottom line at Garmin or Magellan? The offerings for Linux (Linspire, etc) ready for the consumer are noticeably lacking. It's going to stay that way for quite a while. When someone says "there is no software for Linux" invariably thousands of geeks on here (I use that term in the fondest manner) will say "oh I just hooked up my transmogrifier to the digital mitzoplexer and then filtered that through Google. Simple!". Well it's not simple folks. Until you realize that the consumers (you know, those folks paying for things) drive demand, things will not change.

    A lot of folks here see a good idea, take it, write their own spaghetti code and tailor it to how they want it and then call it good. The folks in Redmond see a good idea, dumb it up to the least common denominator and wham . your Grandmother has one in her Lincoln Continental. See the difference? There's money in developing code that's "good enough" so long as you address it to your market.

    I've seen some pretty cool work with in-car PCs and some using Linux. These are packaged with the consumer in mind, even if they are not quire ready yet. That's what's going to catch on. Just because there are open standards does not mean you all need to write your own. That's the surest way to obscurity.

    1. Re:To each their own? by drinkypoo · · Score: 1

      The applications are the smallest piece of the puzzle. The thing preventing linux GPS adoption is the lack of map data useful for navigation. Even vector maps are only so useful when they don't indicate which streets are one-way.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re:To each their own? by babyrat · · Score: 1

      Are you assuming there is some point to not being obscure?

      If I hook up my transmogrifier to the digital mitzoplexer and then filter that through Google and get what I want, then, no offence, but I couldn't care less that your grandmother doesn't, and probably won't have one in her car, I have one in my fernazerator, so there. If I feel like releasing it so others who want to tinker with it can, then I will. I don't hope to become rich and famous - just sharing with others who have similar interests. If you don't then, again, no offense, go away.

  28. Garmin Publishes interface... by tonywestonuk · · Score: 3, Insightful

    it's probably safe to assume that the good folks over at Garmin would say something along the lines of "Lih-what?".

    This may be the case, however, they are very open with the interface/communications protocols for their GPS's - If you go here you can download documents detailing the protocols in a platform neutral format, meaning that anyone with just a little programming experience can easily make programs to interface with their GPS's, on any platform, Linux included. To be quite honest, I can't think of another hardware vendor, that is so open with the specs. Usually, Companies require you to jump through hoops (NDA agreements/ etc) to get hold of this information, or have to resort to reverse engineering, etc. And, if you can't/dont want to program, then there's a few projects already made for you on sourceforge!

    To sum up, Don't knock Garmin, They might not produce Linux drivers, but at the same time, they do go out of their way to make it easy for others to do so should they want to.

    1. Re:Garmin Publishes interface... by user32.ExitWindowsEx · · Score: 1

      They don't tell you how to upload maps. That's what pisses most people I know off....no maps from anything but Winblows.

      --
      "Evil will always triumph because good is dumb." -- Dark Helmet
  29. Very little programming experience required.. by tonywestonuk · · Score: 1

    Look here for the 'Simple Text protocol'. Hell, When I was cutting my teath on a VIC20, I could have used this to interface the GPS with that, using Commodore BASIC. (assuming I had a RS232 Interface!). This is very simple stuff!

  30. Geko 201 by markov_chain · · Score: 1

    I have the Geko 201. It's a superb little device. It speaks a Garmin protocol that Garmin published here. There are a number of utilities for Linux that implement this protocol; I use gpspoint. The only hurdle is the proprietary serial connector which costs a low double digits $$$; I hacked mine together with a glue gun from a couple of wires.

    For laptop-side work I use viking, a very nice GUI based program for managing waypoints and tracks. It's not so much useful for street navigation as it is for trips and geocaching; it can overlay recorded tracks over satellite photos, or create waypoints to be transferred to the GPS for a future trip.

    --
    Tsunami -- You can't bring a good wave down!
  31. Typical Linux application (read this and admit it) by Anonymous Coward · · Score: 4, Insightful

    Difficult and confusing to install? Check!

    "Although Roadmap is not the easiest to configure and install..."

    Lack of features found in commercial grade applications? Check!

    "It would be nice if Roadmap could compute trips and give you step-by-step voice directions, but it doesn't have that feature..."

    Broken stuff in the app that confuses users? Check!

    "There appears to be support for starting and stopping gpsd from within the program when it loads, but it doesn't seem to work with the either the pre-compiled binaries or the source."

    Now just throw in spotty or nonexistant support, and morphing into total Abandonware once the author graduates from college, and we have a real Linux app here!

  32. DeLorme not Linux/Mac friendly by tji · · Score: 1

    I got one of those tiny DeLorme Tripmate USB GPS receivers, which was bundled with Windows software for ~ $120. I knew my chances of running with MacOS X or Linux were slim, but I needed it for a big roadtrip. And, yup.. I was right. DeLorme will not release any information on the hardware to enable driver development on Mac or Linux platforms.

    The only option is to buy the bluetooth dock for it, which costs more than the GPS unit. I know this works with my PowerBook. I think it coul be made to work in Linux too.

    1. Re:DeLorme not Linux/Mac friendly by Urgo · · Score: 1

      I have a DeLorme Earthmate USB and the same goes for it.

      I spent several days playing around with various generic drivers in linux and was able to get it to respond 'a little' but nothing useful ever came out of it. Even in windows the support is somewhat flaky for 3rd party apps. I'll probably just get a new linux compatible GPS unit at some point in the future rather then buy accessories for this one.

      --
      Belive in Technology and AMAZE yourself. -- RIP ZDTV/TechTV
    2. Re:DeLorme not Linux/Mac friendly by Anonymous Coward · · Score: 0

      i have an older yellow delorme, and apparently it spits out some rockwell protocol instead of NEMA. Apparently you can do the position calculations yourself and get better accuracy that way, if you have the software and the compute cycles to do it.

      I also have a little (about 1x1.5x.75 inch) usb unit from duelo or deluo or somesuch. It's a nice device, but the usb one is just a serial one with a usb-serial converter built into the cord, and the converter's unstable. I'd get the RS232 one and the usb adapter.

  33. A little offtopic, but strange by cyfer2000 · · Score: 1

    Am I dreaming or it's true? If I get this page via link on the first page of slashdot, the color is gray. But if I get here via "Live Bookmark" of my firefoxie, the color is green.

    --
    There is a spark in every single flame bait point.
  34. roadnav by mrfibbi · · Score: 2, Interesting

    I'd reccomend checking out roadnav. Not very mature (still only in 0.2), but it uses vector data, plots directions, and has a beautifully-generated map.

  35. Suunto X9 and Open Standards by slashflood · · Score: 1
    Hello!

    I just bought the Suunto X9. The device itself is perfect and it comes with serial docking station. The provided software called "TrekManager" is only available for Windows and I had no luck to get it working with Wine, so I asked Suunto to give me some informations about the communication protocol. The answer:

    Of course you are free to write your own software at your own risk but we can't unfortunately give you the information you requested as it isn't made public.

    I don't wanna force other companies to produce MacOSX/Linux software. Its a decision, that should be respected, but they should make it possible for Open Source developers to write their own software. Suunto makes Hardware and thats all - the software is itself is just an add-on.

    Now I have to find a windows box, install the software, connect the GPS watch and sniff the serial line to figure out the communication protocl. Sooner or later I'll (or someone else) find out how it works and then we can publish the informations.

    1. Re:Suunto X9 and Open Standards by Russ+Nelson · · Score: 1

      There are a limited number of GPS receivers. Chances are VERY VERY good that it emits NMEA on the serial port, and uses Garmin's or Trimble's protocol for downloading data.
      -russ

      --
      Don't piss off The Angry Economist
    2. Re:Suunto X9 and Open Standards by slashflood · · Score: 1

      I guess Suunto would put a note in the feature list if the transfer protocol would be based on a standard like NMEA or TAIP. I found a MacOSX GPS program called GPSy, but googling for GPSy Suunto returns ten useless results.

      Here is a list of communication protocols (real-time and data-transfer).

  36. A GPS related question... by mrdogi · · Score: 2, Interesting

    So, I recently took a trip through part of Europe and took a number (~35) of GPS readings. Is there any decent (GPL) software that will take all those points(LAT, LONG, Date/Time, Alt.) and give me a map of the area I covered? Presently, my plan is to use mapquest's LAT/LONG service and a bash/perl script to pull the various maps and overlay them until I get something useful. Fun as a project to see if I can, but time-consuming.

    Thanks
    Joe B

    1. Re:A GPS related question... by mrdogi · · Score: 1

      Forgot to mention... the points are presently written on a piece of paper and in a OOo spread sheet (yeah, I know...). NOT in the GPS anymore, as I had to return it to my brother.

  37. pygps also by Russ+Nelson · · Score: 1

    Also check out pygps, which is a gps-driven map viewer. It's similar to gpsdrive, except that 1) it's written in Python, so it's portable, 2) it's written with handhelds in mind, 3) it supports UTM maps, and 4) if I can ever find a user community that cares enough for me to integrate it, I have code to do real-time map downloading via any kind of wireless IP connection.
    -russ

    --
    Don't piss off The Angry Economist
  38. What's so special? by Andy+Dodd · · Score: 2, Interesting

    NMEA 0183 is a standard that nearly every GPS unit conforms to as far as communications with other devices.

    Interfacing GPS devices to Linux boxes has never, EVER been a problem. It's almost impossible to find a GPS receiver that doesn't speak NMEA 0183, Rockwell binary (Documented), or Garmin binary (ALSO documented, has been fully supported by gpsd under Linux for YEARS.)

    Now DOING something with that info from the GPS is a different story... There is almost no decent mapping/navigation software for Linux. About the only semi-decent software is Roadmap, which uses the TIGER/Line dataset in the US. GpsDrive is pretty well polished, but not much more than a toy thanks to lack of vector map support. :( GRASS is very powerful, but not suitable for your typical "I want to get from point A to point B" navigation.

    --
    retrorocket.o not found, launch anyway?
  39. One other noted by Andy+Dodd · · Score: 1

    RoadMap doesn't do routing, due to lack of info on one-way streets in the TIGER dataset.

    And I used it not too long ago, it was extremely unreliable and difficult to set up. 90% of the time, it would say, "no map for area found" even though I'd RTFMed and loaded all maps and index files for the state I was in and all surrounding states.

    --
    retrorocket.o not found, launch anyway?
  40. GPS Interface is not rocket science by Anonymous Coward · · Score: 1, Informative

    All (ok, most all) GPS units send data in NMEA format. Electrically NMEA is close enough to RS-232 that you can plug NMEA directly into a PC's serial port. The NMEA data format is plain ascii text. A small set of "sentances" are repeated every second. Each "sentance" begins with s dollor sign "$" and continues to the end of the line. All values are human readable for example latitude and logitude are represented as something like 32.345,118.324. Google will find you all the details.

    So, interfacing to a GPS is not hard. Building an application that does something usfull (that the GPS itself does not already do) would be harder.

    But there is not reason to wait for someone to write a "driver" for a GPS

  41. Admiralty maps? by Colin+Smith · · Score: 1

    Electronic Admiralty maps/software are currently Windows only. Anyone know of Linux stuff?

    --
    Deleted
  42. Cool by Colin+Smith · · Score: 1

    What about leisure sailing? Can it integrate with the stuff published by the Admiralty?

    --
    Deleted
  43. Does _any_ of this stuff do route plotting? by otis+wildflower · · Score: 2, Interesting

    I honestly don't care about pretty moving maps. I like street-address-level route plotting. I'd prefer it on a linux-based PDA. I'd even pay what a comparable Win32 program would cost, or run one under wine if it were compatible with a card-based GPS receiver.

    The GPS in my car just does voices, text and arrows, and I'm just ducky with that. However, without routing, IMHO, GPS is useless on the road.

    IIRC Navte(ch|q) uses an open format (SDAL) for its routing database, you have to buy the CD/DVDs. Does anything out there work with _any_ routing data to do routes for Linux?

    1. Re:Does _any_ of this stuff do route plotting? by Wapiti-eater · · Score: 1

      Dunno 'bout the others - but Xastir dosen't do route plotting - yet. It's 'on the list'.

      However, in the meantime, it does have 'address lookup' - plug in your target addy and it'll show you where it is. From there - look at the maps to see how to get there. Zoom in or out for as much detail or over-view as you need.

      --
      Senior NCO in the fight against entropy. I've seen things, man. Things no one should have to see.....
    2. Re:Does _any_ of this stuff do route plotting? by PipsqueakOnAP133 · · Score: 1

      tmrs.sourceforge.net

      There's a basic one up, it does routing, but you'll need to hack around with it. I actually played with the code for a while and got it to route from one place to another, however because it uses Tiger right now, it doesn't consider one way streets.

      The main developer is in the process of considering a new backend for it.

      The forum is http://thexcar.com/forums/ but nobody's been posting lately.

  44. I wrote a script a while back by Anonymous Coward · · Score: 0

    that would automatically download the maps. The gist was using lwget and screen scraping to trick the website into downloading. Pretty standard technique, and easy to implement.
    matt zeits

  45. Which part of 'RS232' : the 232 part... by nietsch · · Score: 1

    nmea is not spoken on rs232 but a more obscure rs variant, i believe it is rs434. You can directly connect most GPS's to most rs232 serial ports because these ports also work out of spec, ie with a lower voltage. Yup just nitpicking really.

    --
    This space is intentionally staring blankly at you
  46. These guy did it, from far away by Anonymous Coward · · Score: 0

    Seems these guy did just that.... from Africa to Canada...

  47. MOD PARENT UP - Re:KnopGPS anyone? by Rigor+Morty · · Score: 1

    I just d'led the version, and it's very cool.

    --
    Remove the spamfreak to speak.
  48. TOPO! and Backroads Explorer work in WINE by Anonymous Coward · · Score: 0

    The National Geographic TOPO! (used in the state series, national park series, and back roads explorer series) software has always worked great on WINE. Both version 1.x and 2.x worked great, and every patch they release on the Internet works great. Install on a windows machine to make it easy and copy the installed executables over, it's as simple as that. I've been doing this for a couple years now and GPS support in it works if you've setup your serial ports in your wine config (using a Magellan in NMEA mode).

    So it's not open source -- I've never had to fix any problems with it -- printing even works flawlessly (if you have a printer configured, otherwise it hangs when you try to print, but I think that's a WINE problem, and not bad). I considered contacting them and asking them to make it open source (they have free downloads on their website), but I haven't got around to it, yet.

    Their business model is to sell the digital images (of public domain USGS data), so it's strange... they can't copyright the data, only the arrangement. Anybody could easily compete with them, they just make a damned good product, in my opinion, very polished.

    I don't use it on the roads, though, mostly printing custom maps for backpacking without having to go to the local ranger station, so the raster maps are best for me, no vector maps.

    1. Re:TOPO! and Backroads Explorer work in WINE by Technician · · Score: 1

      software has always worked great on WINE.

      Not a problem if I want to use multiple laptops, one with WINE and one for the other map programs. I also use the laptop with my MIDI setup because it has a joystick port with MPU-401. To set it up seems to require a Windows machine to get the executibles. Seeking the path of least resistance, I simply installed to the laptop and called it good. I have kids and family. I don't have unlimited time to install on another machine, set up WINE, try to conifgure propritory laptop hardware, transfer the software, find the other apps that probably won't work, try to debug it, etc. I'm not a software engineer. Do you know if Piano Discovery System software works with WINE with MPU-401 support? How about Voyetra MIDI Music Workstation? Um.. back to maps, Rand McNally Streetfinder? Will the sound work on my laptop for the voice prompts? I'm not ready to take something that works open a new can of worms. KISS... Keep It Simple Stupid.

      Sorry if I sound like a troll or flaimbait, but the above is the reason the laptop is running Win 95. It works with the applications and the software. Why break it?

      --
      The truth shall set you free!
  49. *snorts* by Aldric · · Score: 1

    I work at a company that provides GPS to trucking firms to track their fleets, and I can reliably tell you that coverage is not 100%. Monday was particularly terrible for some reason.

  50. -1 Flamebait by Anonymous Coward · · Score: 0

    haHAhaHAhAHahAHahAAhahAhahAH!!! wHat A d0rK u th0rt 0sX was LuNiX!!!!!!!!!!!!!