Commit Graph

24 Commits

Author SHA1 Message Date
Harald Welte 59aa24ab9a gpsd configuration for sysmobts2100 2017-06-13 14:30:49 +02:00
Holger Hans Peter Freyther 49153b2904 gpsd: Make sure that LDFLAGS are passed to scons
In newer Poky the LDFLAGS are not passed through the $CC variable
anymore and we need to make sure scons is picking them up. Take an
old Gentoo patch for it.
2017-04-16 20:08:50 +02:00
Henning Heinold 38cd265fbc gpsd: add systemd servcie file for the idu
Fixes: SYS#171
2015-02-14 08:31:04 +01:00
Holger Hans Peter Freyther 53d7c53805 sysmocom-idu: Listen on localhost for NMEA frames
Listen on localhost for NMEA frames. The frames will be received
on a system and then forwarded to a local gpsd.
2015-02-09 14:58:09 +01:00
Henning Heinold 682ec7043f gpsd: RSUGGESTS the gpsd-udev
* switching gpsd-udev to RSUGGESTS on udev, makes
  it possible to not install gpsd-udev by default

* increase minor PR

FIXES: SYS#756
2014-11-11 21:53:40 +01:00
Holger Hans Peter Freyther 4cf7207051 gpsd: Bump the PR after the latest config change for sysmobts-v2 2014-09-24 15:07:15 +02:00
Holger Hans Peter Freyther 34fc7b631b tasks-sysmocom-bts: Install packages for the sysmoBTS as well
We want to have a single image that will do the right thing on
the various BTS models we have. This means we will install the
sbts2050 utilitiy (it clashes with sysmobts-mgr anyway) and the
gpsd with a default config for it.

The sysmobts-v2 config file was for a specific usecase and is
obsolete for all intents and purposes. Make it the default

Related: SYS#559
2014-08-28 16:53:24 +02:00
Holger Hans Peter Freyther 02b15f6048 gpsd: Add custom format for sending data using -l and -m options 2014-08-22 10:08:33 +02:00
Holger Hans Peter Freyther 1872d0a488 gpsd: Add a default for the sysmobts 2050 device
There is a trimble GPS on this device
2014-07-25 11:21:16 +02:00
Henning Heinold c134a3bbdd gpsd: Enable systemd support based on DISTRO_FEATURE
Enabling the "systemd" feature will enable the socket activation
feature used by systemd. This way we can (re-)start the GPSD based
on the socket activation.
2014-07-20 18:15:16 +02:00
Holger Hans Peter Freyther 26d74189eb gpsd: Do not mess with the argv of the process
Henning got really confused that the "a.b.c:1234" he passed to
gps2udp showed up as "a.b.c 1234" in the kernel cmdline. Use
strdup to take a copy of it.

Fixes: SYS#424
2014-07-15 08:28:42 +02:00
Holger Hans Peter Freyther 2f367aec31 gpsd: Upgrade from 3.9 to 3.10 in the hope the TSIP is working better
Related: SYS#410
2014-06-24 20:28:48 +02:00
Holger Hans Peter Freyther 92c3a78288 gpsd: Do not generate an RPATH when we don't need it
So far we have used chrpath to fix the rpath we don't want but
this creates issues with supporting both dora and edison (we need
to depend on different recipes). Instead just force the RPATH to
be off. This can be done by setting the internal _RPATH variable.
I found this in Tool/gnulink.py.
2014-06-17 19:52:43 +02:00
Holger Hans Peter Freyther c63ba210da gpsd: Address warning by bitbake about -dev package
The .pc files were already covered by the normal -dev package
glob. No need to do more work here.

Addresses:
WARNING: Variable key FILES_${PN}-dev (${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig ${datadir}/aclocal ${base_libdir}/*.o ${libdir}/${BPN}/*.la ${base_libdir}/*.la) replaces original key FILES_gpsd-dev ( ${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc).
2014-05-18 10:50:03 +02:00
Harald Welte 46d5e0b697 gpsd: Add patch to enable + configure PPS in TSIP (trimble) driver
In the sysmoBTS 2050, we want to configure the 1PPS output of the
trimble to be active only if it has at least 1 satellite in view,
and want to make the receiver output its time information in UTC,
rather than GPS time.
2013-10-09 23:58:18 +02:00
Holger Hans Peter Freyther 6e7383839c gpsd: Mark the /etc/default/gpsd as a CONFFILE 2013-06-20 20:39:11 +02:00
Holger Hans Peter Freyther 6453080cef gpsd: Make sure the sysmobts-v2 gpsd default version is installed
The sysmobts-v2 version was not installed because the file was
not called properly. Rename it to gpsd-default and the sysmobts-v2
version will be picked and installed.
2013-06-20 19:48:56 +02:00
Holger Hans Peter Freyther 57c0346f56 gpsd: Upgrade to version 3.9 in the hope of some crashes being fixed
GPSD 3.7 is somehow exiting without us really knowing the cause. The
version 3.9 has been released and we hope that it might just fix the
issues we are experiencing.
2013-06-20 18:21:28 +02:00
Holger Hans Peter Freyther c83652a73a gpsd: Even when disabling python we still need it to be available during build 2013-05-10 09:55:38 +02:00
Holger Hans Peter Freyther 661e10551b gpsd: Fix a warning with newer bitbake parsers
RROR: There is a confusing multiline, partially commented expression on line 22 of file /home/ich/firmen/gesmokom/source/meta-sysmocom-bsp/recipes-extra/gpsd/gpsd_3.7.bb (SRC_URI[md5sum] = "52d9785eaf1a51298bb8900dbde88f98").
2013-04-07 16:39:58 +02:00
Holger Hans Peter Freyther aea5136f30 gpsd: Make the stop work with the busybox start-stop-daemon
The stop command did not stop the GPSD. Let the start-stop-daemon
command stop the command based only on the PID.
2013-03-16 18:01:57 +01:00
Holger Hans Peter Freyther 0f3ea35f17 gpsd: Make sure the chrpath-native is built before packaging gpsd 2013-03-16 09:14:34 +01:00
Harald Welte 85a4948d4b add sysmobts-v2 specific GPSD config file
FIXME: this will actually assume a GPS that is indirectly attached
to a GSM Modem which will be handled by openmoko-gsmd and forwarded via
UDP.  However, we might have a GPS receiver attached directly to the
GPS UART in other hardware versions!
2013-03-14 21:17:30 +01:00
Harald Welte 766aabc563 import gpsd_3.7 recipe, taken from oe-meta.git, modified
* no longer depen on python
 * no longer depend on dbus
 * disable lots of compile options we don't need
2013-03-02 17:07:30 +01:00