From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 02A65138247 for ; Sat, 11 Oct 2014 14:10:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29A96E0D41; Sat, 11 Oct 2014 14:10:30 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A7D81E09CF for ; Sat, 11 Oct 2014 14:10:28 +0000 (UTC) Received: from localhost ([84.133.129.117]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MIhDo-1XakSA2cpc-002HlL for ; Sat, 11 Oct 2014 16:10:27 +0200 Date: Sat, 11 Oct 2014 16:10:25 +0200 From: meino.cramer@gmx.de To: Gentoo Subject: Re: [gentoo-user] "Headless question": Harvesting the results...software needed. Message-ID: <20141011141025.GE31297@solfire> References: <20140930140513.GJ3828@solfire> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140930140513.GJ3828@solfire> User-Agent: mutt-ng/devel-r804 (Linux) X-Provags-ID: V03:K0:ed+Cf5OT5DQVVb5jjerTsBeSCpLHSrwFvldN8OVgInvHS52Y5Jh llIwOPl7tbUDJDqz6Eukx6O1dqxxpxtUq+O0ymojFDAAzV0aDzKEr2hwf6SQvVEdnMHxMv7 2jvVFnEikBgIx3JpNibYNV5y6fcTFauIS9tUHmy/I3srCIQdG4wNsMzoMc8bbAXtTq4KpYk Se3g73GlyZnd3Xc2lT3QQ== X-UI-Out-Filterresults: notjunk:1; X-Archives-Salt: 00acf240-52a4-4305-93ff-cebecc104540 X-Archives-Hash: e04333e4b149f406cce0cb561c2bc4a9 meino.cramer@gmx.de [14-09-30 16:08]: > Hi, > > with lot of help of this forum (***TAHNKS!***) I now > have a embedded device which is able to > dis/connect itsself from/to the LAN, set the clock via ntp-client > and is able to fire up a tool, which collects > data from sensors and put those into > a file ... even if the tool has no > connection to a terminal. > > Next step will be to connect a GPS module > (ordered) to the GPIO pins of that board > (which is quite offtopic and I fear therefore > my sole problem... ;). > > Suppose the GPS would already be attached > to the board and works... > > Is there any free available software and data for > strict offline useage (which does NOT calls > to home), which is able to map GPS data to a street/land > map? > I need both: The maps themselves and the logic to read > GPS coordinates and map movements and ways to those maps. > > Is something like that available for free or should > I directly ask the NSA/CIA/FBI/...? > > Thank you very much in advance for any help! > Best regards, > mcc > > > > Hi all, first of all I want to thank you all, who have participated in this thread and offered their help and wisdom. :) The result is: Now there is a cigarette sized metal case, which includes a Beaglebone Black running Gentoo Linux, an Ultimate GPS receiver chip on a breakout board both made by Adafruit Industries (Lady Ada) and even the software to display position and track (if any). To summarize: - Hardware: Beaglebone Black, Ultimate GPS, metal case for Beaglebone Black, uf.l to RMA adapter cable (which socket nicely fits into a hole of the metal case) and an external GPS antenna (adapter and antenna by Adafruit Industries). Additionally a 4600mAh LiOn accu pack to power the whole thing. - Software: Gpsd, Foxtrotgps, x11vnc, xvfb, ifplugd When I boot the Beaglbone Black via accupack it starts gpsd and the GPS receiver begins to sync with satelites in view. If done gpsd will collect the data. Since the output of gpsdpipe (comes with gpsd) is json format, in the simplest case one could stream the data onto disk/flash. When I boot the Beaglebone at home, I plug in the LAN (which will be recognized by ifplugs, which in turn reinitializes everything needed. Now I fire xvfb and xvnc and start foxtrotgps. On my PC I can easily can display the "desktop" of the Beaglebone Black via tigervnc (vncviewer). Two things need still to be investigated: How can I store GPSdata onto the flash in a way, that no additional data is stored if no movement is there. And I have to prevent, that a sector/block/organisation unit of the flash is written more than once to prevent ware out of the flash. Secondly I have to figure out how to feed store data into foxtrotgps, which normally directly connects to/with gpsd. Foxtrottgps reads maps from OSM and store them on disk/flash and reuses this. So this kinda "delayed offline browsing";)) :)) Thank you very much again! :) Best regards and have a nice weekend! mcc