gpsd-users
[Top][All Lists]
Advanced

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

Re: Help needed to configure and compile gpsd to run on a Raspberry Pi 4


From: Gary E. Miller
Subject: Re: Help needed to configure and compile gpsd to run on a Raspberry Pi 4 and NOT use systemd
Date: Fri, 15 Nov 2024 18:26:14 -0800

Yo Mick!

On Fri, 15 Nov 2024 20:32:30 +0000
Mick Durkin <mickdurkinuk@gmail.com> wrote:

> Here is the log when taken on a running instance.

> 'GPSD Debug Info_2.log'

I use the command line mostly, and spaces in file names and bash do not
work well together...

Ths confirmns you are running a RasPi in 64-bit mode:

> Linux pihole 6.6.59-v8+ #1811 SMP PREEMPT Tue Nov  5 20:05:10 GMT 2024 
> aarch64 GNU/Linux

So you have no UART, your /dev/ttyS0 should be /dev/ttyAMA0.  You
should use ttyAMA0 to remind yourself, and your users, that you do not
have a UART.  But it looks like you do not have that option...

You have Magic Hat enabled:

# Magic Hat enabled.

And Magic Hat requires ttyAMA0

This is odd:

> crw-rw---- 1 root dialout   4, 64 Nov 15 21:26  /dev/ttyS0

ttyAMA0 is usually this:

> crw-rw---- 1 root dialout 204, 64 Jun 21 19:22 /dev/ttyAMA0

So you are using the UART driver on the non-UART port.  Dunno how that
happened. And it breaks "Magic Hat".  Prolly a bug in pihole, you
should file a bug report with them on that.

This shows your u-blox firmware ProtVer is 14:

{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyS0","driver":"u-blox","subtype":"SW
 1.00 (59842),HW 00070000","subtype1":"PROTVER 
14.00,GPS;SBAS;GLO;QZSS","activated":"2024-11-15T20:26:57.423Z","flags":1,"native":1,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00,"mincycle":0.02}]}

I think the latest is up to 34The latests is over 34, so yours is really out
of date.  Fine if all you want is time.

I'm still guessing that your main problem is in /boot/config.txt

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



reply via email to

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