[Gta04-owner] qtmoko qtopiawhereabouts using gpsd
Stefan Wildemann
stefan.wildemann at metalstrolche.de
Thu Mar 7 15:30:53 CET 2013
Am 07.03.2013 14:28, schrieb Paweł Więcek:
> Hi,
>
> On Thu, 2013-03-07 at 13:34 +0100, Radek Polak wrote:
>> I think you should add the -dev package to control-src and the runtime
>> depencency to these three: control-neo, control-gta04, control-pc
> -dev package is needed for building the binaries, therefore it should be
> added to Build-Depends header of packages that need it to be built.
> Dpkg-buildpackage will then verify it's installed before attempting
> build (and apt-get build-dep will install it).
>
> BR,
> Paweł
>
If somebody wants to have a look at my gpsdwhereabouts port its at
https://github.com/metalstrolch/qtmoko.git
commit 5d8a703158376ae0981bffb17024e851d3e5b72f
Comments are well welcome, as I'm new to QT, qtmoko and git.
Of course you need a properly configured gpsd. Add -b to GPSD_OPTIONS
in /etc/default/gpsd.
Additionally one must cope with rfkill manually for now, or add a script
like that
under /etc/gpsd/device-hook . Additionally you have to
setuid rfkill.
/etc/gpsd/device-hook <<
#! /bin/bash
if [ "$2" == "ACTIVATE" ]; then
#echo "$1 ACTIVATE" >> /tmp/gpslog
/opt/qtmoko/bin/gps-poweron.sh
fi
if [ "$2" == "DEACTIVATE" ]; then
#echo "$1 DEACTIVATE" >> /tmp/gpslog
/opt/qtmoko/bin/gps-poweroff.sh
fi
>>
cheers
Stefan
More information about the Gta04-owner
mailing list