From: Tony Lindgren <tony@atomide.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: maemo-leste@lists.dyne.org,
kernel list <linux-kernel@vger.kernel.org>,
linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
linux-omap@vger.kernel.org, sre@kernel.org, nekit1000@gmail.com,
mpartap@gmx.net, merlijn@wizzup.org, martin_rysavy@centrum.cz
Subject: Re: GPS fun on Droid 4 and leste
Date: Thu, 20 Aug 2020 07:24:31 +0300 [thread overview]
Message-ID: <20200820042431.GI2994@atomide.com> (raw)
In-Reply-To: <20200712092726.GC13495@amd>
* Pavel Machek <pavel@ucw.cz> [200712 09:28]:
> Hi!
>
> GPS on the droid 4 does not really work out of the box.
>
> gpsd is not in default installation, maybe it should be?
>
> What is worse, there's something broken with gpsd. Try:
>
> /usr/sbin/gpsd -N -D 5 /dev/gnss0
> gpspipe -w
> # this seems to work, but do ^C and restart
> gpspipe -w
> ...and it hangs.
Some earlier versions of gpsd I think had issues where you could
only connect one client. Or it was a bug in the kernel drivers..
Anyways, multiple gpspipe instances have been working for me for
a while now with gpsd-3.21.
I also found some issues in gnss-motmdm driver for closing the
gnss device, see:
https://github.com/tmlind/linux/commits/droid4-pending-v5.8
And I think the xtra2.bin data for agps is now working too :)
https://github.com/tmlind/droid4-agps/commits/master
At least I now get a fix in about two minutes after running the
update.sh, going outside, and starting cgps.
> xgps from gpsd-clients is broken: probably missing dependency
> on gtk3 libraries.
>
> user@devuan-droid4:/my/tui/lib$ xgps
> Traceback (most recent call last):
> File "/usr/bin/xgps", line 30, in <module>
> gi.require_version('Gtk', '3.0')
> File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line
> 129, in require_version
> raise ValueError('Namespace %s not available' % namespace)
> ValueError: Namespace Gtk not available
>
> Any ideas?
No idea about the xgps related stuff, I mostly use cgps for
testing with GPSD_UNITS=metric cgps.
Regards,
Tony
WARNING: multiple messages have this Message-ID (diff)
From: Tony Lindgren <tony@atomide.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: maemo-leste@lists.dyne.org, mpartap@gmx.net, merlijn@wizzup.org,
martin_rysavy@centrum.cz,
kernel list <linux-kernel@vger.kernel.org>,
sre@kernel.org, nekit1000@gmail.com, linux-omap@vger.kernel.org,
linux-arm-kernel <linux-arm-kernel@lists.infradead.org>
Subject: Re: GPS fun on Droid 4 and leste
Date: Thu, 20 Aug 2020 07:24:31 +0300 [thread overview]
Message-ID: <20200820042431.GI2994@atomide.com> (raw)
In-Reply-To: <20200712092726.GC13495@amd>
* Pavel Machek <pavel@ucw.cz> [200712 09:28]:
> Hi!
>
> GPS on the droid 4 does not really work out of the box.
>
> gpsd is not in default installation, maybe it should be?
>
> What is worse, there's something broken with gpsd. Try:
>
> /usr/sbin/gpsd -N -D 5 /dev/gnss0
> gpspipe -w
> # this seems to work, but do ^C and restart
> gpspipe -w
> ...and it hangs.
Some earlier versions of gpsd I think had issues where you could
only connect one client. Or it was a bug in the kernel drivers..
Anyways, multiple gpspipe instances have been working for me for
a while now with gpsd-3.21.
I also found some issues in gnss-motmdm driver for closing the
gnss device, see:
https://github.com/tmlind/linux/commits/droid4-pending-v5.8
And I think the xtra2.bin data for agps is now working too :)
https://github.com/tmlind/droid4-agps/commits/master
At least I now get a fix in about two minutes after running the
update.sh, going outside, and starting cgps.
> xgps from gpsd-clients is broken: probably missing dependency
> on gtk3 libraries.
>
> user@devuan-droid4:/my/tui/lib$ xgps
> Traceback (most recent call last):
> File "/usr/bin/xgps", line 30, in <module>
> gi.require_version('Gtk', '3.0')
> File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line
> 129, in require_version
> raise ValueError('Namespace %s not available' % namespace)
> ValueError: Namespace Gtk not available
>
> Any ideas?
No idea about the xgps related stuff, I mostly use cgps for
testing with GPSD_UNITS=metric cgps.
Regards,
Tony
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-08-20 4:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-12 9:27 GPS fun on Droid 4 and leste Pavel Machek
2020-07-12 9:27 ` Pavel Machek
2020-08-20 4:24 ` Tony Lindgren [this message]
2020-08-20 4:24 ` Tony Lindgren
2020-08-20 7:00 ` Pavel Machek
2020-08-20 7:00 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200820042431.GI2994@atomide.com \
--to=tony@atomide.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=maemo-leste@lists.dyne.org \
--cc=martin_rysavy@centrum.cz \
--cc=merlijn@wizzup.org \
--cc=mpartap@gmx.net \
--cc=nekit1000@gmail.com \
--cc=pavel@ucw.cz \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.