Date   
Re: How to have DRAWS Check and update Software

Basil Gunn
 

Run this:

fldigi --version
which fldigi

Try launching it from the console by just typing fldigi.
Which version gets loaded?

Did your fldigi build complete successfully?
Which image are you using? BETA12?
/Basil


Lynn DeHart <@KB3FN> writes:

Basil' I have run prog_refrsh.sh -u several times and it looks lie ver 4.1.02 is still loading when I launch fldigi from Internet topic.
What am I missing?
Lynn

Re: Direwolf with GPSD #gpsd #direwolf

 

Thanks Basil, I'm good. If I want to beacon, I'll do it the way you suggested with beacmin or btest and crontab. I was taking a stab at OP's problem with TBEACON in Dire Wolf, thinking it is similar to the Xaster issue. I was initially interested in TBEACON because this fellow (VK3IL) uses TBEACON and gpsd, switching direwolf function on the fly by overwriting the direwolf.config file on the fly according to a BCD switch. I don't think I'm going this route any longer so beaconing your way is fine.

https://vk3il.net/projects/raspberry-pi-based-aprs-trackerdigipeaterigate/

Re: Direwolf with GPSD #gpsd #direwolf

Brian Badger
 

Direwolf uses the GPSD wire interface (which is JSON based) not NMEA.


Brian N0KZ

On Apr 22, 2019, at 2:29 PM, Basil Gunn <@basil860> wrote:


David,

Ways to read GPS sentences to verify:

gpsmon
cgps
gpspipe -r
gpspipe -R
gpspipe -w

# or kill gpsd
systemctl stop gpsd

# and
cat -v /dev/ttySC0

See answers embedded.

David Lowry <huskyrunnr@...> writes:

From the Direwolf User Guide: Dire Wolf reads NMEA sentences ( $GPRMC
and $GPGGA ) from the receiver and parses them to extract position
information.

Whereas the SkyTraq model we have apparently does not support either
sentence. Please confirm this,
More than likely this is the case because the issue FIXED in Xastir was
this:
Unable to get GPS data from DRAWS hat [because Xastir does not support
GNGGA or GNRMC sentences] #53

I am rushing between teaching classes and I could be mistaken.
Nope you are not mistaken.

I just quickly looked to see if it could be the same problem as with
Xaster.http://www.skytraq.com.tw/datasheet/S1216V8_v0.9.pdf
What exactly do you want to do that you are trying to configure Direwolf
to do? Perhaps I can suggest another way.

/Basil


Re: How to have DRAWS Check and update Software

 

Basil' I have run prog_refrsh.sh -u several times and it looks lie ver 4.1.02 is still loading when I launch fldigi from Internet topic.
What am I missing?
Lynn

Re: Direwolf with GPSD #gpsd #direwolf

Basil Gunn
 

David,

Ways to read GPS sentences to verify:

gpsmon
cgps
gpspipe -r
gpspipe -R
gpspipe -w

# or kill gpsd
systemctl stop gpsd

# and
cat -v /dev/ttySC0

See answers embedded.

David Lowry <huskyrunnr@...> writes:

From the Direwolf User Guide: Dire Wolf reads NMEA sentences ( $GPRMC
and $GPGGA ) from the receiver and parses them to extract position
information.

Whereas the SkyTraq model we have apparently does not support either
sentence. Please confirm this,
More than likely this is the case because the issue FIXED in Xastir was
this:
Unable to get GPS data from DRAWS hat [because Xastir does not support
GNGGA or GNRMC sentences] #53

I am rushing between teaching classes and I could be mistaken.
Nope you are not mistaken.

I just quickly looked to see if it could be the same problem as with
Xaster.http://www.skytraq.com.tw/datasheet/S1216V8_v0.9.pdf
What exactly do you want to do that you are trying to configure Direwolf
to do? Perhaps I can suggest another way.

/Basil

Re: GPS timing out after a day or so of uptime #gps

 

Jeff,

Xastir found its code didn't account for the additional satellite positioning systems the chip supports.  Since you are familiar with the cgps and gpsd code, would you take a look at the sentences from the device and see if you notice anything that could be an issue. (We can't change what the module outputs - I am simply wanting data points.)  

If gpsd is shutdown, you should be able to see the raw NMEA strings with a 'cat /dev/ttySC0'

Thank you.



On Mon, Apr 22, 2019 at 9:57 AM Jeff Francis™ <jeff@...> wrote:
Every few days, cgps simply stops showing any satellites or position data on my DRAWS hat, yet gpsd and cgps continue to run without errors. gpsmon shows that data is actively being sent/polled from the device, but that there are no received satellite signals. The antenna could not possibly have a better view of the sky, and other receivers placed in the same location at the same time have zero issues seeing many satellites and achieving a quick 3D DGPS position lock. Rebooting doesn't typically fix the problem. It's almost as though the antenna was completely cut off. After a while (anywhere from an hour to overnight), it just "magically" starts working again, reboot or no reboot. This is fairly abnormal behavior for gpsd that I've never seen before (and I have a fair amount of GPS experience - I used to be one of the gpsd developers, and I'm the original author of cgps).

Jeff/N0GQ


On Sun, Apr 21, 2019 at 2:06 PM Josh H. KB6FJ <opg4759@...> wrote:
Has anyone else run into an issues where after leaving the DRAWS up for 24+ hours that the GPS times out and requires a reboot or to bring it back?

I've got steady power running to the DRAWS via a feed from a 12v power supply. 

I'm running beta 11.

==== 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:[0.00dB] R:[0.00dB]
PCM         L:[10.00dB] R:[10.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:[Off] R:[Off]
==== Pi Ver ====
 Pi 3 Model B Mfg by Embest
 Has WiFi
==== udrc Ver ====
Found a DRAWS
 
     HAT ID EEPROM
Name:        hat
Product:     Digital Radio Amateur Work Station
Product ID:  0x0004
Product ver: 0x0405
UUID:        3374334d-4c0c-449e-9289-3d301347c175
Vendor:      NW Digital Radio
 
==== sys Ver ====
----- image version
2019 04 02 13:59:08 PDT: SD image version: beta11
----- /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
 
----- lsb_release
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.8 (stretch)
Release: 9.8
Codename: stretch
 
---- systemd
   Static hostname: draws-kb6fj
         Icon name: computer
        Machine ID: 2f51e140e908474eaa86ae805f03a6d8
           Boot ID: 4f8a0a81ce464dab82f0236b45158da0
  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  3
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 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4-i2c.ko
-rw-r--r-- 1 root 39084 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4.ko
-rw-r--r-- 1 root  6408 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4-spi.ko
-rw-r--r-- 1 root  8332 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/udrc.ko
 
---- kernel
||/ Name               Version      Architecture Description
+++-==================-============-============-=================================
ii  raspberrypi-kernel 1.20190401-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
 
---- dmesg
[    3.595629] udrc: loading out-of-tree module taints kernel.
[    3.596455] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
[    3.596469] snd-udrc soc:sound: snd_soc_register_card() failed: -517
[    3.695135] snd-udrc soc:sound: tlv320aic32x4-hifi <-> 3f203000.i2s mapping ok
 
---- 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 10: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 10: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        59G  6.8G   50G  12% /
 
==== 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
/usr/local/sbin/gpsd
gpsd: 3.18.1 (revision 3.18.1)
● gpsd.service - GPS (Global Positioning System) Daemon
   Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2019-04-17 22:24:54 PDT; 3 days ago
  Process: 605 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
 Main PID: 612 (gpsd)
   CGroup: /system.slice/gpsd.service
           └─612 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0
 
Apr 17 22:24:53 draws-kb6fj systemd[1]: Starting GPS (Global Positioning System) Daemon...
Apr 17 22:24:54 draws-kb6fj systemd[1]: Started GPS (Global Positioning System) Daemon.
 
---- chrony
crw-rw---- 1 root root    243, 0 Apr 17 22:24 /dev/pps0
crw------- 1 root root    243, 1 Apr 17 22:24 /dev/pps1
crw-rw---- 1 root dialout 242, 0 Apr 17 22:24 /dev/ttySC0
crw-rw---- 1 root dialout 242, 1 Apr 17 22:24 /dev/ttySC1
-- chrony sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
#? GPS                           0   3     0   65h    -54ms[ -144ms] +/-  105ms
#? PPS                           0   3     0   65h    +90ms[ -256ns] +/- 3116ns
^- time.richiemcintosh.com       2  10   377   894  -4633us[-4689us] +/-   65ms
^- clock.team-cymru.org          2  10   377   915  -2892us[-2948us] +/-   71ms
^* 65.223.27.156                 1  10   377   883   -124us[ -180us] +/-   12ms
^+ propjet.latt.net              2  10   155   606  -1736us[-1736us] +/-   27ms
-- chrony tracking
Reference ID    : 41DF1B9C (65.223.27.156)
Stratum         : 2
Ref time (UTC)  : Sun Apr 21 20:45:30 2019
System time     : 0.000152244 seconds slow of NTP time
Last offset     : -0.000056132 seconds
RMS offset      : 0.000281822 seconds
Frequency       : 5.487 ppm fast
Residual freq   : -0.001 ppm
Skew            : 0.065 ppm
Root delay      : 0.024395 seconds
Root dispersion : 0.000944 seconds
Update interval : 1024.6 seconds
Leap status     : Normal
-- chrony sourcestats
210 Number of sources = 6
Name/IP Address            NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev
==============================================================================
GPS                        15   8   110    +87.608    191.075   +20.7s  6274us
PPS                        51  34   399     -1.336      0.002   -226ms   561ns
time.richiemcintosh.com     6   3  138m     -0.135      0.330  -4139us   315us
clock.team-cymru.org        6   3   86m     -0.266      0.214  -2778us    97us
65.223.27.156              16   8  276m     +0.040      0.129   +263us   627us
propjet.latt.net           16   8  206m     -0.037      0.070   -665us   206us
 
---- sensors
-rw-r--r-- 1 root root 171 Nov 11 11:39 /etc/sensors.d/draws
ads1015-i2c-1-48
Adapter: bcm2835 I2C adapter
User ADC Differential:  +0.00 V  
+12V:                  +14.59 V  
User ADC 1:             +0.00 V  
User ADC 2:             +0.01 V  
 
---- locale
Locale country codes do not match: WiFi: US, iw: 00, X11: US.
 

Josh



--
-=jeff=-



--


John D. Hays
Edmonds, WA
K7VE

   

Re: Direwolf with GPSD #gpsd #direwolf

 

From the Direwolf User Guide:

Dire Wolf reads NMEA sentences ( $GPRMC and $GPGGA ) from the receiver and parses them to extract position information.

Whereas the SkyTraq model we have apparently does not support either sentence. Please confirm this, I am rushing between teaching classes and I could be mistaken. I just quickly looked to see if it could be the same problem as with Xaster.  http://www.skytraq.com.tw/datasheet/S1216V8_v0.9.pdf

Re: GPS timing out after a day or so of uptime #gps

Josh H. KB6FJ
 

On Mon, Apr 22, 2019 at 10:00 AM, Basil Gunn wrote:
showudrc.sh
here you go

==== 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:[0.00dB] R:[0.00dB]
PCM         L:[10.00dB] R:[10.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:[Off] R:[Off]
==== Pi Ver ====
 Pi 3 Model B Mfg by Embest
 Has WiFi
==== udrc Ver ====
Found a DRAWS
 
     HAT ID EEPROM
Name:        hat
Product:     Digital Radio Amateur Work Station
Product ID:  0x0004
Product ver: 0x0405
UUID:        3374334d-4c0c-449e-9289-3d301347c175
Vendor:      NW Digital Radio
 
==== sys Ver ====
----- image version
2019 04 02 13:59:08 PDT: SD image version: beta11
----- /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
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.8 (stretch)
Release: 9.8
Codename: stretch
 
---- systemd
   Static hostname: draws-kb6fj
         Icon name: computer
        Machine ID: 2f51e140e908474eaa86ae805f03a6d8
           Boot ID: 4f8a0a81ce464dab82f0236b45158da0
  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  3
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 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4-i2c.ko
-rw-r--r-- 1 root 39084 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4.ko
-rw-r--r-- 1 root  6408 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4-spi.ko
-rw-r--r-- 1 root  8332 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/udrc.ko
 
---- kernel
||/ Name               Version      Architecture Description
+++-==================-============-============-=================================
ii  raspberrypi-kernel 1.20190401-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
 
---- dmesg
[    3.595629] udrc: loading out-of-tree module taints kernel.
[    3.596455] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
[    3.596469] snd-udrc soc:sound: snd_soc_register_card() failed: -517
[    3.695135] snd-udrc soc:sound: tlv320aic32x4-hifi <-> 3f203000.i2s mapping ok
 
---- 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 10: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 10: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        59G  6.8G   50G  12% /
 
==== 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
/usr/local/sbin/gpsd
gpsd: 3.18.1 (revision 3.18.1)
● gpsd.service - GPS (Global Positioning System) Daemon
   Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2019-04-17 22:24:54 PDT; 4 days ago
  Process: 605 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
 Main PID: 612 (gpsd)
   CGroup: /system.slice/gpsd.service
           └─612 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0
 
Apr 17 22:24:53 draws-kb6fj systemd[1]: Starting GPS (Global Positioning System) Daemon...
Apr 17 22:24:54 draws-kb6fj systemd[1]: Started GPS (Global Positioning System) Daemon.
 
---- chrony
crw-rw---- 1 root root    243, 0 Apr 17 22:24 /dev/pps0
crw------- 1 root root    243, 1 Apr 17 22:24 /dev/pps1
crw-rw---- 1 root dialout 242, 0 Apr 17 22:24 /dev/ttySC0
crw-rw---- 1 root dialout 242, 1 Apr 17 22:24 /dev/ttySC1
-- chrony sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
#? GPS                           0   3     0   88h   -267ms[ -144ms] +/-  105ms
#? PPS                           0   3     0   88h   -123ms[ -256ns] +/- 3631ns
^- time.richiemcintosh.com       2  10   377   849  -9058us[-9137us] +/-   92ms
^- clock.team-cymru.org          2  10   375   281  -2101us[-2101us] +/-   57ms
^* 65.223.27.156                 1  10   357   412   -199us[ -281us] +/-   12ms
^+ propjet.latt.net              2   9   377   514   -207us[ -288us] +/-   28ms
-- chrony tracking
Reference ID    : 41DF1B9C (65.223.27.156)
Stratum         : 2
Ref time (UTC)  : Mon Apr 22 19:51:25 2019
System time     : 0.000131287 seconds slow of NTP time
Last offset     : -0.000082225 seconds
RMS offset      : 0.000328521 seconds
Frequency       : 4.795 ppm fast
Residual freq   : -0.010 ppm
Skew            : 0.111 ppm
Root delay      : 0.024187 seconds
Root dispersion : 0.000466 seconds
Update interval : 1026.0 seconds
Leap status     : Normal
-- chrony sourcestats
210 Number of sources = 6
Name/IP Address            NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev
==============================================================================
GPS                        15   8   110    +88.300    191.075   +27.9s  6274us
PPS                        51  34   399     -0.644      0.002   -328ms   561ns
time.richiemcintosh.com     7   7  120m     -0.088      0.356  -3868us   313us
clock.team-cymru.org        6   3   77m     -0.125      0.270  -1773us   110us
65.223.27.156              12   8  146m     -0.009      0.223    -83us   423us
propjet.latt.net            9   5   69m     -0.012      0.186   +169us   103us
 
---- sensors
-rw-r--r-- 1 root root 171 Nov 11 11:39 /etc/sensors.d/draws
ads1015-i2c-1-48
Adapter: bcm2835 I2C adapter
User ADC Differential:  +0.00 V  
+12V:                  +14.58 V  
User ADC 1:             +0.00 V  
User ADC 2:             +0.01 V  
 
---- locale
Locale country codes do not match: WiFi: US, iw: 00, X11: US.

~/n7nix $ ~/n7nix/gps/verify_time.sh
 
timedatectl
 
      Local time: Mon 2019-04-22 12:59:26 PDT
  Universal time: Mon 2019-04-22 19:59:26 UTC
        RTC time: n/a
       Time zone: America/Los_Angeles (PDT, -0700)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no
 
chronyc sources
 
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
#? GPS                           0   3     0   88h   -267ms[ -144ms] +/-  105ms
#? PPS                           0   3     0   88h   -123ms[ -256ns] +/- 3631ns
^- time.richiemcintosh.com       2  10   377   918  -9058us[-9137us] +/-   92ms
^- clock.team-cymru.org          2  10   375   350  -2101us[-2101us] +/-   57ms
^* 65.223.27.156                 1  10   357   481   -199us[ -281us] +/-   12ms
^+ propjet.latt.net              2   9   377    68   -315us[ -315us] +/-   32ms
 
chronyc sourcestats
 
210 Number of sources = 6
Name/IP Address            NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev
==============================================================================
GPS                        15   8   110    +88.300    191.075   +27.9s  6274us
PPS                        51  34   399     -0.644      0.002   -328ms   561ns
time.richiemcintosh.com     7   7  120m     -0.088      0.356  -3874us   313us
clock.team-cymru.org        6   3   77m     -0.125      0.270  -1781us   110us
65.223.27.156              12   8  146m     -0.009      0.223    -83us   423us
propjet.latt.net            6   3   43m     -0.223      0.173   -275us    55us
 
chronyc tracking
 
Reference ID    : 41DF1B9C (65.223.27.156)
Stratum         : 2
Ref time (UTC)  : Mon Apr 22 19:51:25 2019
System time     : 0.000127501 seconds slow of NTP time
Last offset     : -0.000082225 seconds
RMS offset      : 0.000328521 seconds
Frequency       : 4.795 ppm fast
Residual freq   : -0.010 ppm
Skew            : 0.111 ppm
Root delay      : 0.024187 seconds
Root dispersion : 0.000542 seconds
Update interval : 1026.0 seconds
Leap status     : Normal
 
chronyc activity
 
200 OK
4 sources online
0 sources offline
0 sources doing burst (return to online)
0 sources doing burst (return to offline)
0 sources with unknown address
 
chronyd systemctl status
 
● chrony.service - chrony, an NTP client/server
   Loaded: loaded (/lib/systemd/system/chrony.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2019-04-17 22:24:53 PDT; 4 days ago
     Docs: man:chronyd(8)
           man:chronyc(1)
           man:chrony.conf(5)
  Process: 570 ExecStart=/usr/sbin/chronyd (code=exited, status=0/SUCCESS)
 Main PID: 597 (chronyd)
   CGroup: /system.slice/chrony.service
           └─597 /usr/sbin/chronyd
 
Apr 17 22:25:27 draws-kb6fj chronyd[597]: System clock wrong by 27.867754 seconds, adjustment started
Apr 17 22:25:55 draws-kb6fj chronyd[597]: System clock was stepped by 27.867754 seconds
Apr 17 22:25:57 draws-kb6fj chronyd[597]: Selected source 65.223.27.156
Apr 17 22:26:32 draws-kb6fj chronyd[597]: Selected source GPS
Apr 17 22:28:06 draws-kb6fj chronyd[597]: Source 69.197.188.178 replaced with 2001:470:5:bf4::37
Apr 17 22:56:12 draws-kb6fj chronyd[597]: Selected source PPS
Apr 17 22:58:18 draws-kb6fj chronyd[597]: Source 2001:470:5:bf4::37 replaced with 2606:c680:0:b:3830:34ff:…66:6663
Apr 17 23:28:27 draws-kb6fj chronyd[597]: Source 2606:c680:0:b:3830:34ff:fe66:6663 replaced with 38.229.71.1
Apr 19 00:49:33 draws-kb6fj chronyd[597]: Selected source 69.164.213.136
Apr 19 01:06:55 draws-kb6fj chronyd[597]: Selected source 65.223.27.156
Hint: Some lines were ellipsized, use -l to show in full.
 
gpsd systemctl status
 
● gpsd.service - GPS (Global Positioning System) Daemon
   Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2019-04-17 22:24:54 PDT; 4 days ago
  Process: 605 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
 Main PID: 612 (gpsd)
   CGroup: /system.slice/gpsd.service
           └─612 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0
 
Apr 17 22:24:53 draws-kb6fj systemd[1]: Starting GPS (Global Positioning System) Daemon...
Apr 17 22:24:54 draws-kb6fj systemd[1]: Started GPS (Global Positioning System) Daemon.
gpsd: 3.18.1 (revision 3.18.1)


Re: How to have DRAWS Check and update Software

Basil Gunn
 

Lynn DeHart <@KB3FN> writes:

I see today that there is a new version of FLDIGI. Can you show me
(us) how to check for newer software and up load/install? Tnx Lynn
Assuming you have a current DRAWS image:

cd
cd bin
./prog_refresh.sh -u

# Will return with something like this:

fldigi: current version: 4.1.03, installed: 4.1.02
Swap size too small for builds, changed from 100 to 1000 ... need to reboot.

The script detects the swap file size is too small & changes the swap
file config file (/etc/dphys-swapfile) to a required size. All you need
to do is reboot and run the prog_refresh.sh script again:

cd
cd bin
./prog_refresh.sh -u

This will download and build the current version of FLdigi Be patient,
the build takes some time.

/Basil

How to have DRAWS Check and update Software

 

I see today that there is a new version of FLDIGI. Can you show me (us) how to check for newer software and up load/install?
Tnx Lynn

Re: GPS timing out after a day or so of uptime #gps

Basil Gunn
 

Please send me the console output of showudrc.sh and ~/n7nix/gps/verify_time.sh
/Basil

Josh H. KB6FJ <@kb6fj> writes:

I had cgps just running in the background and when I came back to my station a day later it had stopped with an message GPS TIMEOUT

I then tried to restart it and no data would flow it was just hung. I did the same with gpsmon and it would not parse any data.

If you look at the chrony sources you can see both GPS and PPS are now not being seeing and I have moved to stratum 2

Re: GPS timing out after a day or so of uptime #gps

Jeff Francis™
 

Every few days, cgps simply stops showing any satellites or position data on my DRAWS hat, yet gpsd and cgps continue to run without errors. gpsmon shows that data is actively being sent/polled from the device, but that there are no received satellite signals. The antenna could not possibly have a better view of the sky, and other receivers placed in the same location at the same time have zero issues seeing many satellites and achieving a quick 3D DGPS position lock. Rebooting doesn't typically fix the problem. It's almost as though the antenna was completely cut off. After a while (anywhere from an hour to overnight), it just "magically" starts working again, reboot or no reboot. This is fairly abnormal behavior for gpsd that I've never seen before (and I have a fair amount of GPS experience - I used to be one of the gpsd developers, and I'm the original author of cgps).

Jeff/N0GQ


On Sun, Apr 21, 2019 at 2:06 PM Josh H. KB6FJ <opg4759@...> wrote:
Has anyone else run into an issues where after leaving the DRAWS up for 24+ hours that the GPS times out and requires a reboot or to bring it back?

I've got steady power running to the DRAWS via a feed from a 12v power supply. 

I'm running beta 11.

==== 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:[0.00dB] R:[0.00dB]
PCM         L:[10.00dB] R:[10.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:[Off] R:[Off]
==== Pi Ver ====
 Pi 3 Model B Mfg by Embest
 Has WiFi
==== udrc Ver ====
Found a DRAWS
 
     HAT ID EEPROM
Name:        hat
Product:     Digital Radio Amateur Work Station
Product ID:  0x0004
Product ver: 0x0405
UUID:        3374334d-4c0c-449e-9289-3d301347c175
Vendor:      NW Digital Radio
 
==== sys Ver ====
----- image version
2019 04 02 13:59:08 PDT: SD image version: beta11
----- /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
 
----- lsb_release
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.8 (stretch)
Release: 9.8
Codename: stretch
 
---- systemd
   Static hostname: draws-kb6fj
         Icon name: computer
        Machine ID: 2f51e140e908474eaa86ae805f03a6d8
           Boot ID: 4f8a0a81ce464dab82f0236b45158da0
  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  3
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 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4-i2c.ko
-rw-r--r-- 1 root 39084 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4.ko
-rw-r--r-- 1 root  6408 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4-spi.ko
-rw-r--r-- 1 root  8332 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/udrc.ko
 
---- kernel
||/ Name               Version      Architecture Description
+++-==================-============-============-=================================
ii  raspberrypi-kernel 1.20190401-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
 
---- dmesg
[    3.595629] udrc: loading out-of-tree module taints kernel.
[    3.596455] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
[    3.596469] snd-udrc soc:sound: snd_soc_register_card() failed: -517
[    3.695135] snd-udrc soc:sound: tlv320aic32x4-hifi <-> 3f203000.i2s mapping ok
 
---- 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 10: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 10: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        59G  6.8G   50G  12% /
 
==== 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
/usr/local/sbin/gpsd
gpsd: 3.18.1 (revision 3.18.1)
● gpsd.service - GPS (Global Positioning System) Daemon
   Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2019-04-17 22:24:54 PDT; 3 days ago
  Process: 605 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
 Main PID: 612 (gpsd)
   CGroup: /system.slice/gpsd.service
           └─612 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0
 
Apr 17 22:24:53 draws-kb6fj systemd[1]: Starting GPS (Global Positioning System) Daemon...
Apr 17 22:24:54 draws-kb6fj systemd[1]: Started GPS (Global Positioning System) Daemon.
 
---- chrony
crw-rw---- 1 root root    243, 0 Apr 17 22:24 /dev/pps0
crw------- 1 root root    243, 1 Apr 17 22:24 /dev/pps1
crw-rw---- 1 root dialout 242, 0 Apr 17 22:24 /dev/ttySC0
crw-rw---- 1 root dialout 242, 1 Apr 17 22:24 /dev/ttySC1
-- chrony sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
#? GPS                           0   3     0   65h    -54ms[ -144ms] +/-  105ms
#? PPS                           0   3     0   65h    +90ms[ -256ns] +/- 3116ns
^- time.richiemcintosh.com       2  10   377   894  -4633us[-4689us] +/-   65ms
^- clock.team-cymru.org          2  10   377   915  -2892us[-2948us] +/-   71ms
^* 65.223.27.156                 1  10   377   883   -124us[ -180us] +/-   12ms
^+ propjet.latt.net              2  10   155   606  -1736us[-1736us] +/-   27ms
-- chrony tracking
Reference ID    : 41DF1B9C (65.223.27.156)
Stratum         : 2
Ref time (UTC)  : Sun Apr 21 20:45:30 2019
System time     : 0.000152244 seconds slow of NTP time
Last offset     : -0.000056132 seconds
RMS offset      : 0.000281822 seconds
Frequency       : 5.487 ppm fast
Residual freq   : -0.001 ppm
Skew            : 0.065 ppm
Root delay      : 0.024395 seconds
Root dispersion : 0.000944 seconds
Update interval : 1024.6 seconds
Leap status     : Normal
-- chrony sourcestats
210 Number of sources = 6
Name/IP Address            NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev
==============================================================================
GPS                        15   8   110    +87.608    191.075   +20.7s  6274us
PPS                        51  34   399     -1.336      0.002   -226ms   561ns
time.richiemcintosh.com     6   3  138m     -0.135      0.330  -4139us   315us
clock.team-cymru.org        6   3   86m     -0.266      0.214  -2778us    97us
65.223.27.156              16   8  276m     +0.040      0.129   +263us   627us
propjet.latt.net           16   8  206m     -0.037      0.070   -665us   206us
 
---- sensors
-rw-r--r-- 1 root root 171 Nov 11 11:39 /etc/sensors.d/draws
ads1015-i2c-1-48
Adapter: bcm2835 I2C adapter
User ADC Differential:  +0.00 V  
+12V:                  +14.59 V  
User ADC 1:             +0.00 V  
User ADC 2:             +0.01 V  
 
---- locale
Locale country codes do not match: WiFi: US, iw: 00, X11: US.
 

Josh



--
-=jeff=-

Re: GPS timing out after a day or so of uptime #gps

Josh H. KB6FJ
 

I had cgps just running in the background and when I came back to my station a day later it had stopped with an message GPS TIMEOUT

I then tried to restart it and no data would flow it was just hung. I did the same with gpsmon and it would not parse any data.

If you look at the chrony sources you can see both GPS and PPS are now not being seeing and I have moved to stratum 2

-- chrony sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
#? GPS                           0   3     0   65h    -54ms[ -144ms] +/-  105ms
#? PPS                           0   3     0   65h    +90ms[ -256ns] +/- 3116ns
^- time.richiemcintosh.com       2  10   377   894  -4633us[-4689us] +/-   65ms
^- clock.team-cymru.org          2  10   377   915  -2892us[-2948us] +/-   71ms
^* 65.223.27.156                 1  10   377   883   -124us[ -180us] +/-   12ms
^+ propjet.latt.net              2  10   155   606  -1736us[-1736us] +/-   27ms
-- chrony tracking
Reference ID    : 41DF1B9C (65.223.27.156)
Stratum         : 2
Ref time (UTC)  : Sun Apr 21 20:45:30 2019
System time     : 0.000152244 seconds slow of NTP time
Last offset     : -0.000056132 seconds
RMS offset      : 0.000281822 seconds
Frequency       : 5.487 ppm fast
Residual freq   : -0.001 ppm
Skew            : 0.065 ppm
Root delay      : 0.024395 seconds
Root dispersion : 0.000944 seconds
Update interval : 1024.6 seconds
Leap status     : Normal

Direwolf with GPSD #gpsd #direwolf

William McKeehan
 

Is anyone using Direwolf with GPSD with the DRAWS board?

I've compiled Direwolf from source, then updated the config to have "GPSD localhost" and some TBEACON commands, when I restart Direwolf, I see the following in my log file:

ki4hdu-draws direwolf[12332]: Includes optional support for:  gpsd hamlib
...
ki4hdu-draws direwolf[12332]: Latitude is less than -90.  Changing to -90.nLongitude is less than -180.  Changing to -180.nLatitude is less than -90.  Changing to -90.nLongitude is less than -180.  Changing to -180.nLatitude is less than -90.  Changing to -90.nLongitude is less than -180.  Changing to -180.n[0L] KI4HDU-4>APDW15,WIDE1-1,WIDE2-1:!9000.00SS18000.00W#PHG3140

gpsmon shows that the GPS has a valid position. I'm just wondering if there's something that I'm missing in my config somewhere.

William
KI4HDU

Re: Will the DRAWS circuit board accept 5 V DC from the Raspberry Pi ?

 

You can power it either way. In fact, if you power it from both, the supplies are effectively “diode or-ed” and the higher voltage source will provide the current.

Bryan K7UDR

Re: Will the DRAWS circuit board accept 5 V DC from the Raspberry Pi ?

 

Yes it will. 

The onboard 9-15v to 5v buck converter provides higher stability power than many of the USB power supplies and leads, which makes for a more stable Raspberry Pi, but it all can run from a USB power source.

On Mon, Apr 22, 2019, 07:48 Robert Lind <r@...> wrote:
Some other HAT boards will accept it, without damage or problems, even if the HAT board can supply Raspberry Pi with 5 V DC.

Will the DRAWS circuit board accept 5 V DC from the Raspberry Pi ?

Robert Lind
 

Some other HAT boards will accept it, without damage or problems, even if the HAT board can supply Raspberry Pi with 5 V DC.

Re: GPS timing out after a day or so of uptime #gps

 

What indication do you have that it is 'timing out'?

The diagnostic you provided indicates the GPSD is running.

I have DRAWS boards running for months with the GPS continuing to run.

On Sun, Apr 21, 2019 at 2:06 PM Josh H. KB6FJ <opg4759@...> wrote:
Has anyone else run into an issues where after leaving the DRAWS up for 24+ hours that the GPS times out and requires a reboot or to bring it back?

I've got steady power running to the DRAWS via a feed from a 12v power supply. 

I'm running beta 11.

==== 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:[0.00dB] R:[0.00dB]
PCM         L:[10.00dB] R:[10.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:[Off] R:[Off]
==== Pi Ver ====
 Pi 3 Model B Mfg by Embest
 Has WiFi
==== udrc Ver ====
Found a DRAWS
 
     HAT ID EEPROM
Name:        hat
Product:     Digital Radio Amateur Work Station
Product ID:  0x0004
Product ver: 0x0405
UUID:        3374334d-4c0c-449e-9289-3d301347c175
Vendor:      NW Digital Radio
 
==== sys Ver ====
----- image version
2019 04 02 13:59:08 PDT: SD image version: beta11
----- /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
 
----- lsb_release
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.8 (stretch)
Release: 9.8
Codename: stretch
 
---- systemd
   Static hostname: draws-kb6fj
         Icon name: computer
        Machine ID: 2f51e140e908474eaa86ae805f03a6d8
           Boot ID: 4f8a0a81ce464dab82f0236b45158da0
  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  3
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 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4-i2c.ko
-rw-r--r-- 1 root 39084 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4.ko
-rw-r--r-- 1 root  6408 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4-spi.ko
-rw-r--r-- 1 root  8332 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/udrc.ko
 
---- kernel
||/ Name               Version      Architecture Description
+++-==================-============-============-=================================
ii  raspberrypi-kernel 1.20190401-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
 
---- dmesg
[    3.595629] udrc: loading out-of-tree module taints kernel.
[    3.596455] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
[    3.596469] snd-udrc soc:sound: snd_soc_register_card() failed: -517
[    3.695135] snd-udrc soc:sound: tlv320aic32x4-hifi <-> 3f203000.i2s mapping ok
 
---- 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 10: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 10: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        59G  6.8G   50G  12% /
 
==== 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
/usr/local/sbin/gpsd
gpsd: 3.18.1 (revision 3.18.1)
● gpsd.service - GPS (Global Positioning System) Daemon
   Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2019-04-17 22:24:54 PDT; 3 days ago
  Process: 605 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
 Main PID: 612 (gpsd)
   CGroup: /system.slice/gpsd.service
           └─612 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0
 
Apr 17 22:24:53 draws-kb6fj systemd[1]: Starting GPS (Global Positioning System) Daemon...
Apr 17 22:24:54 draws-kb6fj systemd[1]: Started GPS (Global Positioning System) Daemon.
 
---- chrony
crw-rw---- 1 root root    243, 0 Apr 17 22:24 /dev/pps0
crw------- 1 root root    243, 1 Apr 17 22:24 /dev/pps1
crw-rw---- 1 root dialout 242, 0 Apr 17 22:24 /dev/ttySC0
crw-rw---- 1 root dialout 242, 1 Apr 17 22:24 /dev/ttySC1
-- chrony sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
#? GPS                           0   3     0   65h    -54ms[ -144ms] +/-  105ms
#? PPS                           0   3     0   65h    +90ms[ -256ns] +/- 3116ns
^- time.richiemcintosh.com       2  10   377   894  -4633us[-4689us] +/-   65ms
^- clock.team-cymru.org          2  10   377   915  -2892us[-2948us] +/-   71ms
^* 65.223.27.156                 1  10   377   883   -124us[ -180us] +/-   12ms
^+ propjet.latt.net              2  10   155   606  -1736us[-1736us] +/-   27ms
-- chrony tracking
Reference ID    : 41DF1B9C (65.223.27.156)
Stratum         : 2
Ref time (UTC)  : Sun Apr 21 20:45:30 2019
System time     : 0.000152244 seconds slow of NTP time
Last offset     : -0.000056132 seconds
RMS offset      : 0.000281822 seconds
Frequency       : 5.487 ppm fast
Residual freq   : -0.001 ppm
Skew            : 0.065 ppm
Root delay      : 0.024395 seconds
Root dispersion : 0.000944 seconds
Update interval : 1024.6 seconds
Leap status     : Normal
-- chrony sourcestats
210 Number of sources = 6
Name/IP Address            NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev
==============================================================================
GPS                        15   8   110    +87.608    191.075   +20.7s  6274us
PPS                        51  34   399     -1.336      0.002   -226ms   561ns
time.richiemcintosh.com     6   3  138m     -0.135      0.330  -4139us   315us
clock.team-cymru.org        6   3   86m     -0.266      0.214  -2778us    97us
65.223.27.156              16   8  276m     +0.040      0.129   +263us   627us
propjet.latt.net           16   8  206m     -0.037      0.070   -665us   206us
 
---- sensors
-rw-r--r-- 1 root root 171 Nov 11 11:39 /etc/sensors.d/draws
ads1015-i2c-1-48
Adapter: bcm2835 I2C adapter
User ADC Differential:  +0.00 V  
+12V:                  +14.59 V  
User ADC 1:             +0.00 V  
User ADC 2:             +0.01 V  
 
---- locale
Locale country codes do not match: WiFi: US, iw: 00, X11: US.
 

Josh



--


John D. Hays
Edmonds, WA
K7VE

   

Re: FT-817 Troubleshooting

William McKeehan
 

John and Basil - thank you both for the links. By reading/watching
both of those I now have Direwolf working!

On Sun, Apr 21, 2019 at 4:06 PM Basil Gunn <@basil860> wrote:


App note: Running FLdigi with the Yaesu FT-817
https://nw-digital-radio.groups.io/g/udrc/wiki/DRAWS%3A-App-Notes-for-Radios/42778

To watch output from direwolf open up a console window:
tail -f /var/log/direwolf/direwolf.log
/Basil n7nix

William McKeehan <ki4hdu@...> writes:

I'm setting up DRAWS with Beta 12.

I'm following the steps listed here: https://nw-digital-radio.groups.io/g/udrc/wiki/DRAWS%3A-Getting-Started

The radio that I'm using is Yaesu FT-817.

I'm at the point where I'm trying to verify that the installation is working properly.

When I try the "~/n7nix/debug/btest.sh" command, the radio keys, but no audio is transmitted. Also, the direwolf log does not indicate any received information (I've sent a few packets with a TH-D74 and observed the 817 receive the transmission.


First question: is there a guide somewhere to setting up the DRAWS hat with an FT-817 (I have found and ran the setalsa-ft817.sh script) that shows what menus in the radio need to be changed?

Second question: how do I begin to debug what may be going on with this setup?


--
William
KI4HDU

GPS timing out after a day or so of uptime #gps

Josh H. KB6FJ
 

Has anyone else run into an issues where after leaving the DRAWS up for 24+ hours that the GPS times out and requires a reboot or to bring it back?

I've got steady power running to the DRAWS via a feed from a 12v power supply. 

I'm running beta 11.

==== 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:[0.00dB] R:[0.00dB]
PCM         L:[10.00dB] R:[10.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:[Off] R:[Off]
==== Pi Ver ====
 Pi 3 Model B Mfg by Embest
 Has WiFi
==== udrc Ver ====
Found a DRAWS
 
     HAT ID EEPROM
Name:        hat
Product:     Digital Radio Amateur Work Station
Product ID:  0x0004
Product ver: 0x0405
UUID:        3374334d-4c0c-449e-9289-3d301347c175
Vendor:      NW Digital Radio
 
==== sys Ver ====
----- image version
2019 04 02 13:59:08 PDT: SD image version: beta11
----- /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
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.8 (stretch)
Release: 9.8
Codename: stretch
 
---- systemd
   Static hostname: draws-kb6fj
         Icon name: computer
        Machine ID: 2f51e140e908474eaa86ae805f03a6d8
           Boot ID: 4f8a0a81ce464dab82f0236b45158da0
  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  3
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 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4-i2c.ko
-rw-r--r-- 1 root 39084 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4.ko
-rw-r--r-- 1 root  6408 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4-spi.ko
-rw-r--r-- 1 root  8332 Apr 11 16:38 /lib/modules/4.14.98-v7+/updates/dkms/udrc.ko
 
---- kernel
||/ Name               Version      Architecture Description
+++-==================-============-============-=================================
ii  raspberrypi-kernel 1.20190401-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
 
---- dmesg
[    3.595629] udrc: loading out-of-tree module taints kernel.
[    3.596455] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
[    3.596469] snd-udrc soc:sound: snd_soc_register_card() failed: -517
[    3.695135] snd-udrc soc:sound: tlv320aic32x4-hifi <-> 3f203000.i2s mapping ok
 
---- 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 10: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 10: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        59G  6.8G   50G  12% /
 
==== 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
/usr/local/sbin/gpsd
gpsd: 3.18.1 (revision 3.18.1)
● gpsd.service - GPS (Global Positioning System) Daemon
   Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2019-04-17 22:24:54 PDT; 3 days ago
  Process: 605 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
 Main PID: 612 (gpsd)
   CGroup: /system.slice/gpsd.service
           └─612 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0
 
Apr 17 22:24:53 draws-kb6fj systemd[1]: Starting GPS (Global Positioning System) Daemon...
Apr 17 22:24:54 draws-kb6fj systemd[1]: Started GPS (Global Positioning System) Daemon.
 
---- chrony
crw-rw---- 1 root root    243, 0 Apr 17 22:24 /dev/pps0
crw------- 1 root root    243, 1 Apr 17 22:24 /dev/pps1
crw-rw---- 1 root dialout 242, 0 Apr 17 22:24 /dev/ttySC0
crw-rw---- 1 root dialout 242, 1 Apr 17 22:24 /dev/ttySC1
-- chrony sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
#? GPS                           0   3     0   65h    -54ms[ -144ms] +/-  105ms
#? PPS                           0   3     0   65h    +90ms[ -256ns] +/- 3116ns
^- time.richiemcintosh.com       2  10   377   894  -4633us[-4689us] +/-   65ms
^- clock.team-cymru.org          2  10   377   915  -2892us[-2948us] +/-   71ms
^* 65.223.27.156                 1  10   377   883   -124us[ -180us] +/-   12ms
^+ propjet.latt.net              2  10   155   606  -1736us[-1736us] +/-   27ms
-- chrony tracking
Reference ID    : 41DF1B9C (65.223.27.156)
Stratum         : 2
Ref time (UTC)  : Sun Apr 21 20:45:30 2019
System time     : 0.000152244 seconds slow of NTP time
Last offset     : -0.000056132 seconds
RMS offset      : 0.000281822 seconds
Frequency       : 5.487 ppm fast
Residual freq   : -0.001 ppm
Skew            : 0.065 ppm
Root delay      : 0.024395 seconds
Root dispersion : 0.000944 seconds
Update interval : 1024.6 seconds
Leap status     : Normal
-- chrony sourcestats
210 Number of sources = 6
Name/IP Address            NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev
==============================================================================
GPS                        15   8   110    +87.608    191.075   +20.7s  6274us
PPS                        51  34   399     -1.336      0.002   -226ms   561ns
time.richiemcintosh.com     6   3  138m     -0.135      0.330  -4139us   315us
clock.team-cymru.org        6   3   86m     -0.266      0.214  -2778us    97us
65.223.27.156              16   8  276m     +0.040      0.129   +263us   627us
propjet.latt.net           16   8  206m     -0.037      0.070   -665us   206us
 
---- sensors
-rw-r--r-- 1 root root 171 Nov 11 11:39 /etc/sensors.d/draws
ads1015-i2c-1-48
Adapter: bcm2835 I2C adapter
User ADC Differential:  +0.00 V  
+12V:                  +14.59 V  
User ADC 1:             +0.00 V  
User ADC 2:             +0.01 V  
 
---- locale
Locale country codes do not match: WiFi: US, iw: 00, X11: US.
 

Josh