gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: COEX GPS (model UBX-M8030 IC) on Raspberry Pi 4 Model B 2018 connect


From: Gary E. Miller
Subject: Re: COEX GPS (model UBX-M8030 IC) on Raspberry Pi 4 Model B 2018 connection issues
Date: Thu, 22 Jul 2021 11:45:35 -0700

Yo Aranza!

On Wed, 21 Jul 2021 22:43:12 -0700
Aranza Shaccid Leon <leon18@pnw.edu> wrote:

> root@clover-1060:/var/tmp# cat tmo.log

I'll cut out the normal parts.

> + gpsd -V
> gpsd: 3.17 (revision 3.17)

As previously discussed.  3.17 is very old.

> + grep ^#.*enabled

Oddly, Magic Hat does not appear to be enabled...

> + lsof -c gpsd
> COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
> gpsdebugi 962 root    0u   CHR  136,0      0t0     3 /dev/pts/0

It is more helkpful if the script is run when gpsd is running.

> + gpspipe -w -n 2 -x 20
> gpspipe: invalid option -- 'x'

Once again, old gpspipe version, but nothing would have happened since
gpsd was not running.

> + lsusb
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 003: ID 26ac:0012
> Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I do not see the auto-pilot.  Is it 26ac:0012?

Why do we not see the u-blox?

> + python -V
> Python 2.7.16
> + python -c import gps;print(gps.__version__)
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> AttributeError: 'module' object has no attribute '__version__'

Also due to old gpsd.

> + python3 -V
> Python 3.7.3
> + python3 -c import gps;print(gps.__version__)
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ModuleNotFoundError: No module named 'gps'

You only have gpsd installed for Python 2, not Python 3.

> DEVICES="/dev/ttyGPS"

What is that?

That told me some things, but since the u-blox was not plugged in, and
gpsd was not running, it said little about your original problem.


RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpDF6CLJm0Oz.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]