Public bug reported: While working on Bug #237087, I came across another problem. Roadnav rejects the version of gpsd in Karmic (and possibly others).
To reproduce: * Install gpsd and gpsd-clients. * Install a working gps receiver on the system. Wait until you have a fix (xgpsd is very nice for this). * In Roadnav, select a method of reading gps data. Tools-> Preferences-> GPS. Select GPS Type "gpsd". Set GPSD Host as appropriate, typically "localhost", and the port to the port gpsd is using, typically 2947. Check "Check gpsd Server Compatibility". Click on "OK". Expected behavior: roadnav should start using the GPS. Clicking on "Map Tracks GPS" until it is "depressed" should result in the map showing your position. Actual behavior: roadnav gives a popup box with the legend "gpsd error: Sorry, Roadnav requires at least gpsd 2.21 or higher (you're running 1.2). - disabling GPS", and disables the GPS. Workarounds: 1. Uncheck "Check gpsd Server Compatibility". This will work but has a possible problem with old versions of gpsd. It is also the easiest for Roadnav developers, of which there don't seem to be many. Proposed fixes: 1. Fix the version checking code. This should be a fairly easy problem to fix. 2. Change Roadnav to use the gpsd library, libgps, currently libgps18 2.39-5 on Karmic, and 2.39 on the project web site (http://developer.berlios.de/project/showfiles.php?group_id=2116). This is probably the most work and might give roadnav a dependency on libgps. It has the advantage of being the most elegant solution. Fix 2 also anticipates another problem. The gpsd man page says: Warning It is planned that the command protocol described below will change radically at API version 4. It is a bad idea for applications to speak this protocol directly: rather, they should use the libgps client library and take appropriate care to conditionalize their code on the major and minor API version symbols. See the GPSD project website for more information on the protocol and API change. This fix would future-proff Roadnav at least in that respect. ** Affects: ubuntu Importance: Undecided Status: New -- roadnav incorrectly rejects gpsd version number https://bugs.launchpad.net/bugs/486409 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs