gpsd Running But No Satellite Info #gpsd #gps


Tom General
 

Hello all.

I have Beta 9 running for my DRAWS hat.  So far things are working fine with regard to operation.  I'm using an FT-8900 with the DIN 6 and able to successfully run "listen" and transmit via Xastir, and AX.25 stuff.  Yeah!

My problem is with the GPS and gpsd.  The service seems to be running fine, but there's nothing to suggest the gps antenna I got with the package is picking anything up.  I've included my showurdc output and the strange looking gpsmon output...  I've disabled the bluetooth and recompiled ax.25 suggested in other postings.  The strange gpsmon token output leaves me to believe I've no loaded something into the Rpi I need to.  

Thanks in advance for your help and for producing such a great product!  I'm really enjoying it!

Tom KE5ICX


  • gpsmon
     

    tcp://localhost:2947          JSON slave driver>
    (84) {"class":"VERSION","release":"3.16","rev":"3.16-4","proto_major":3,"proto_minor":11}
    (263) {"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttySC0","activated":"201
    9-03-27T12:47:27.071Z","native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00},{"clas
    s":"DEVICE","path":"/dev/pps0","driver":"PPS","activated":"2019-03-27T12:47:27.082Z"}]}
    (122) {"class":"WATCH","enable":true,"json":false,"nmea":false,"raw":2,"scaled":false,"timi
    ng":false,"split24":false,"pps":true}


    pi@draws:~/bin $ sudo ./showudrc.sh
    ==== Sound Card ====
    udrc card number line: card 0: udrc [udrc], device 0: Universal Digital Radio Controller tlv320aic32x4-hifi-0 []
    udrc is sound card #0
    ==== ALSA Controls for Radio Tansmit ====
    LO Driver Gain  L:[-6.00dB]    R:[-6.00dB]
    PCM            L:[-25.00dB]    R:[-25.00dB]
    DAC Playback PT    L:[PTM_P3]    R:[PTM_P3]
    LO Playback CM    [Full Chip CM]
    ==== ALSA Controls for Radio Receive ====
    ADC Level    L:[0.00dB]    R:[0.00dB]
    IN1        L:[Off]        R:[Off]
    IN2        L:[10 kOhm]    R:[10 kOhm]
    ==== Pi Ver ====
     Pi 3 Model B+ Mfg by Sony UK
     Has WiFi
    ==== udrc Ver ====
    Found a DRAWS

         HAT ID EEPROM
    Name:        hat
    Product:     Digital Radio Amateur Work Station
    Product ID:  0x0004
    Product ver: 0x0204
    UUID:        d9890635-8955-4610-95ba-3a7ebd43b642
    Vendor:      NW Digital Radio

    ==== sys Ver ====
    ----- image version
    2019 02 27 12:34:54 PST: SD image version: beta9
    ----- /proc/version
    Linux version 4.14.98-v7+ (dom@dom-XPS-13-9370) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1200 SMP Tue Feb 12 20:27:48 GMT 2019

    ----- /etc/*version: 9.8

    ----- /etc/*release
    PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
    NAME="Raspbian GNU/Linux"
    VERSION_ID="9"
    VERSION="9 (stretch)"
    ID=raspbian
    ID_LIKE=debian
    HOME_URL="http://www.raspbian.org/"
    SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
    BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

    ----- lsb_release
    ./showudrc.sh: line 375: lsb_release: command not found

    ---- systemd
       Static hostname: draws
             Icon name: computer
            Machine ID: 2f51e140e908474eaa86ae805f03a6d8
               Boot ID: d99ef32aaf944e0f9d23b2e2e51b4e8a
      Operating System: Raspbian GNU/Linux 9 (stretch)
                Kernel: Linux 4.14.98-v7+
          Architecture: arm

    ---- modules
    tlv320aic32x4_i2c      16384  1
    tlv320aic32x4          32768  1 tlv320aic32x4_i2c
    udrc                   16384  2
    snd_soc_core          188416  3 tlv320aic32x4,snd_soc_bcm2835_i2s,udrc
    snd_pcm                98304  6 snd_pcm_dmaengine,tlv320aic32x4,snd_soc_bcm2835_i2s,snd_soc_core

    -rw-r--r-- 1 root  6388 Feb 26 17:24 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4-i2c.ko
    -rw-r--r-- 1 root 39084 Feb 26 17:24 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4.ko
    -rw-r--r-- 1 root  6408 Feb 26 17:24 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4-spi.ko
    -rw-r--r-- 1 root  8332 Feb 26 17:24 /lib/modules/4.14.98-v7+/updates/dkms/udrc.ko

    ---- kernel
    ||/ Name               Version      Architecture Description
    +++-==================-============-============-=================================
    ii  raspberrypi-kernel 1.20190215-1 armhf        Raspberry Pi bootloader
    ii  udrc-dkms          1.0.5        armhf        DKMS source for the UDRC driver

    Directory: /proc/device-tree/soc/i2c@7e804000/tlv320aic32x4@18 exists and status is okay

    ---- syslog
    Mar 27 07:47:24 draws kernel: [    2.912481] udrc: loading out-of-tree module taints kernel.
    Mar 27 07:47:24 draws kernel: [    2.913017] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
    Mar 27 07:47:24 draws kernel: [    2.913026] snd-udrc soc:sound: snd_soc_register_card() failed: -517
    Mar 27 07:47:24 draws kernel: [    2.982732] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
    Mar 27 07:47:24 draws kernel: [    2.982744] snd-udrc soc:sound: snd_soc_register_card() failed: -517
    Mar 27 07:47:24 draws kernel: [    3.037491] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
    Mar 27 07:47:24 draws kernel: [    3.037502] snd-udrc soc:sound: snd_soc_register_card() failed: -517
    Mar 27 07:47:24 draws kernel: [    3.042634] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
    Mar 27 07:47:24 draws kernel: [    3.042640] snd-udrc soc:sound: snd_soc_register_card() failed: -517
    Mar 27 07:47:24 draws kernel: [    3.180273] snd-udrc soc:sound: tlv320aic32x4-hifi <-> 3f203000.i2s mapping ok
    Mar 27 07:47:25 draws bash[407]: UDRC_PROD: Digital Radio Amateur Work Station, ID: 4
    Mar 27 07:47:25 draws bash[407]: UDRC II or DRAWS installed
    Mar 27 07:47:25 draws bash[407]: using mkiss with UDRC II and pseudo term_1: /dev/pts/2 pseudo term_2: /dev/pts/3

    ---- compass
    Compass preference file not found: /etc/apt/preferences.d/compass
    ---- compass apt sources list file
    deb [arch=armhf,amd64] http://archive.compasslinux.org/ cedar main
    ---- compass package files
    -rw-r--r-- 1 root  2201 Dec 31 12:44 /var/lib/apt/lists/archive.compasslinux.org_dists_cedar_InRelease
    -rw-r--r-- 1 root 17567 Jul  2  2018 /var/lib/apt/lists/archive.compasslinux.org_dists_cedar_main_binary-amd64_Packages
    -rw-r--r-- 1 root 43316 Dec 31 12:44 /var/lib/apt/lists/archive.compasslinux.org_dists_cedar_main_binary-armhf_Packages

    ----- Dire Wolf DEVELOPMENT version 1.6 B (Feb 27 2019)

    ==== Filesystem ====
    /dev/root        15G  5.0G  8.6G  37% /

    ==== boot config ====
    #dtparam=i2c_arm=on
    #dtparam=i2s=on
    #dtparam=spi=on

    # Uncomment this to enable the lirc-rpi module
    #dtoverlay=lirc-rpi

    # Additional overlays and parameters are documented /boot/overlays/README

    # Enable audio (loads snd_bcm2835)
    # dtparam=audio=on

    force_turbo=1
    dtoverlay=
    dtoverlay=draws

    ---- gpsd
    ● gpsd.service - GPS (Global Positioning System) Daemon
       Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)
       Active: active (running) since Wed 2019-03-27 07:47:26 CDT; 34min ago
     Main PID: 590 (gpsd)
       CGroup: /system.slice/gpsd.service
               └─590 /usr/sbin/gpsd -N -n /dev/ttySC0 /dev/pps0

    Mar 27 07:47:26 draws systemd[1]: Started GPS (Global Positioning System) Daemon.

    ---- chrony
    ● gpsd.service - GPS (Global Positioning System) Daemon
       Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)
       Active: active (running) since Wed 2019-03-27 07:47:26 CDT; 34min ago
     Main PID: 590 (gpsd)
       CGroup: /system.slice/gpsd.service
               └─590 /usr/sbin/gpsd -N -n /dev/ttySC0 /dev/pps0

    Mar 27 07:47:26 draws systemd[1]: Started GPS (Global Positioning System) Daemon.
    crw-rw---- 1 root root    243, 0 Mar 27 07:47 /dev/pps0
    crw------- 1 root root    243, 1 Mar 27 07:47 /dev/pps1
    crw-rw---- 1 root dialout 242, 0 Mar 27 07:47 /dev/ttySC0
    crw-rw---- 1 root dialout 242, 1 Mar 27 07:47 /dev/ttySC1
    -- chrony sources
    210 Number of sources = 6
    MS Name/IP address         Stratum Poll Reach LastRx Last sample               
    ===============================================================================
    #? GPS                           0   3     0     -     +0ns[   +0ns] +/-    0ns
    #? PPS                           0   3     0     -     +0ns[   +0ns] +/-    0ns
    ^- ntp.xtom.com                  2   8   377    75  -11830s[-11830s] +/-   60ms
    ^- time.richiemcintosh.com       2   8   377    72  -11830s[-11830s] +/-   70ms
    ^- time.no-such-agency.net       2   8   377   138  -11830s[-11830s] +/-   52ms
    ^- ns3.weiszhosting.com          2   7   377     9  -11830s[-11830s] +/-   79ms
    -- chrony tracking
    Reference ID    : 00000000 ()
    Stratum         : 0
    Ref time (UTC)  : Thu Jan 01 00:00:00 1970
    System time     : 0.000000020 seconds fast of NTP time
    Last offset     : +0.000000000 seconds
    RMS offset      : 0.000000000 seconds
    Frequency       : 9.928 ppm fast
    Residual freq   : +0.000 ppm
    Skew            : 0.000 ppm
    Root delay      : 1.000000 seconds
    Root dispersion : 1.000000 seconds
    Update interval : 0.0 seconds
    Leap status     : Not synchronised
    -- chrony sourcestats
    210 Number of sources = 6
    Name/IP Address            NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev
    ==============================================================================
    GPS                         0   0     0     +0.000   2000.000     +0ns  4000ms
    PPS                         0   0     0     +0.000   2000.000     +0ns  4000ms
    ntp.xtom.com               22  11   29m     -0.534      0.991  -11830s   559us
    time.richiemcintosh.com    24  12   32m     -0.501      0.543  -11830s   351us
    time.no-such-agency.net    25  13   31m     -0.634      0.346  -11830s   246us
    ns3.weiszhosting.com        6   3   649     +2.857     18.273  -11830s  1162us

    ---- sensors
    -rw-r--r-- 1 root root 171 Nov 11 13:39 /etc/sensors.d/draws
    ads1015-i2c-1-48
    Adapter: bcm2835 I2C adapter
    User ADC Differential:  +0.00 V  
    +12V:                  +13.84 V  
    User ADC 1:             +0.00 V  
    User ADC 2:             +0.00 V  

    ---- locale
    Locale country codes consistent between WiFi & X11, US


     
     
    •  
    •  
    •  
    •  

 
 
 
 
 
 
 
 

Join udrc@nw-digital-radio.groups.io to automatically receive all group messages.