Re: Using the DRAWS hat with a Raspberry Pi 4 #draws #yaac #install #js8call #replacecompass

Frank Ivan
 

Hi John,

Decided to try again with new SD card and all.

1. Downloaded Buster 2019-07-10-raspbian-buster.img
2.Got new SanDisk Extreme 64 gig SD out of package.
3. Used Etcher to flash image.
4. Booted SD in Raspberry Pi 3B+ with original DRAWS hat installed - running from power through micro-USB port.
5. Boot resized file system and entered United States - and Denver then set password and then selected WiFi.
6. Rebooted.
7. Did sudo apt update - then sudo apt dist-upgrade.
8. Rebooted.
9. sudo apt install git build-essential vim and nmap - git and build-essential were up to date installed vim and nmap
10. git clone https://github.com/nwdigitalradio/n7nix.git
11. cd n7nix/config
12. sudo ./image_install.sh
13. sudo apt --fix-broken install
14 reboot
15. sudo apt update - sudo apt upgrade - nothing installed
16. cd n7nix/bin
17. ./sndcard.sh - No UDRC sound card found.
18 enable ssh to be able to cut and paste commands.
19 aplay -l

 

**** List of PLAYBACK Hardware Devices ****

card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]

  Subdevices: 7/7

  Subdevice #0: subdevice #0

  Subdevice #1: subdevice #1

  Subdevice #2: subdevice #2

  Subdevice #3: subdevice #3

  Subdevice #4: subdevice #4

  Subdevice #5: subdevice #5

  Subdevice #6: subdevice #6

card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]

  Subdevices: 1/1

  Subdevice #0: subdevice #0

card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]

  Subdevices: 1/1

  Subdevice #0: subdevice #0

20../showudrc.sh

chk1: snd-soc-tlv320aic32x4-i2c.ko exists, Driver CONFLICT

chk2: snd-soc-tlv320aic32x4.ko exists, Driver CONFLICT

==== Sound Card ====

No udrc sound card found.

==== 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:        2420cda1-931d-478c-80e5-d770f3346adb

Vendor:      NW Digital Radio

 

==== sys Ver ====

----- image version

2019 08 28 11:40:22 MDT: image_install.sh: image install script START

----- /proc/version

Linux version 4.19.66-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1253 SMP Thu Aug 15 11:49:46 BST 2019

 

----- /etc/*version: 10.0

 

----- /etc/*release

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"

NAME="Raspbian GNU/Linux"

VERSION_ID="10"

VERSION="10 (buster)"

VERSION_CODENAME=buster

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 10 (buster)

Release: 10

Codename: buster

 

---- systemd

   Static hostname: raspberrypi

         Icon name: computer

        Machine ID: 4b4422b92c324d0abed84ad9f45dc301

           Boot ID: 58ad2de1744940d9bf6d256c87ee90be

  Operating System: Raspbian GNU/Linux 10 (buster)

            Kernel: Linux 4.19.66-v7+

      Architecture: arm

 

---- modules

 

Command 'apt-get install udrc-dkms' failed or was not run.

 

---- kernel

dpkg-query: no packages found matching udrc-dkms

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name               Version      Architecture Description

+++-==================-============-============-=================================

ii  raspberrypi-kernel 1.20190819-1 armhf        Raspberry Pi bootloader

 

 

Directory: /proc/device-tree/soc/i2c@7e804000/tlv320aic32x4@18 does NOT exist

 

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

 

---- syslog

 

---- dmesg

 

---- compass

Compass preference file not found: /etc/apt/preferences.d/compass

Compass apt sources list file not found: /etc/apt/sources.list.d/compass.list

---- compass package files

ls: cannot access '/var/lib/apt/lists/archive.compasslinux.org_*': No such file or directory

 

----- Dire Wolf DEVELOPMENT version 1.6 C (Aug 28 2019)

 

==== Filesystem ====

/dev/root        59G  3.5G   53G   7% /

 

==== boot config ====

 

# Enable audio (loads snd_bcm2835)

dtparam=audio=on

 

[pi4]

# Enable DRM VC4 V3D driver on top of the dispmanx display stack

dtoverlay=vc4-fkms-v3d

max_framebuffers=2

 

[all]

#dtoverlay=vc4-fkms-v3d

 

# enable udrc/draws if no eeprom

dtoverlay=draws,alsaname=udrc

force_turbo=1

 

---- gpsd

/usr/local/sbin/gpsd

gpsd: 3.19 (revision 3.19)

gpsd.service - GPS (Global Positioning System) Daemon

   Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)

   Active: active (running) since Wed 2019-08-28 12:09:50 MDT; 8min ago

 Main PID: 487 (gpsd)

    Tasks: 1 (limit: 2200)

   Memory: 828.0K

   CGroup: /system.slice/gpsd.service

           └─487 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0

 

Aug 28 12:09:50 raspberrypi systemd[1]: Starting GPS (Global Positioning System) Daemon...

Aug 28 12:09:50 raspberrypi systemd[1]: Started GPS (Global Positioning System) Daemon.

Aug 28 12:09:50 raspberrypi gpsd[487]: gpsd:ERROR: SER: device open of /dev/ttySC0 failed: No such file or directory - retrying read-only

Aug 28 12:09:50 raspberrypi gpsd[487]: gpsd:ERROR: SER: read-only device open of /dev/ttySC0 failed: No such file or directory

Aug 28 12:09:50 raspberrypi gpsd[487]: gpsd:ERROR: initial GPS device /dev/ttySC0 open failed

Aug 28 12:09:50 raspberrypi gpsd[487]: gpsd:ERROR: SER: device open of /dev/pps0 failed: No such file or directory - retrying read-only

Aug 28 12:09:50 raspberrypi gpsd[487]: gpsd:ERROR: SER: read-only device open of /dev/pps0 failed: No such file or directory

Aug 28 12:09:50 raspberrypi gpsd[487]: gpsd:ERROR: initial GPS device /dev/pps0 open failed

 

---- chrony

ls: cannot access '/dev/pps*': No such file or directory

ls: cannot access '/dev/ttySC*': No such file or directory

-- 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

^* time.nullroutenetworks.c>     2   6   377    25  -2585us[-2695us] +/-   26ms

^+ 216.126.233.109               2   6   377    85  -2683us[-2784us] +/-   33ms

^+ vf2.bbnx.net                  2   6   377    88  +4271us[+4170us] +/-   62ms

^- h184-60-28-49.mdtnwi.dsl>     2   6   377    89  +4790us[+4690us] +/-   68ms

-- chrony tracking

Reference ID    : 1783A007 (time.nullroutenetworks.com)

Stratum         : 3

Ref time (UTC)  : Wed Aug 28 18:18:05 2019

System time     : 0.000431385 seconds fast of NTP time

Last offset     : -0.000109855 seconds

RMS offset      : 0.002575286 seconds

Frequency       : 5.132 ppm fast

Residual freq   : -0.043 ppm

Skew            : 3.747 ppm

Root delay      : 0.029145319 seconds

Root dispersion : 0.007230671 seconds

Update interval : 64.2 seconds

Leap status     : Normal

-- 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

time.nullroutenetworks.c>  11   8   457     -0.555      4.369   -538us   457us

216.126.233.109            10   8   395     +0.003      7.370  -2334us   657us

vf2.bbnx.net               10   5   394     +3.868     12.961  +5571us  1182us

h184-60-28-49.mdtnwi.dsl>  10   5   393     -4.706     23.535  +4642us  1796us

 

---- sensors

-rw-r--r-- 1 root root 171 Aug 28 11:50 /etc/sensors.d/draws

rpi_volt-isa-0000

Adapter: ISA adapter

in0:              N/A  

 

 

---- throttle

throttled=0x0

---- locale

Locale country codes consistent among WiFi cfg file, iw reg & X11: US

 

core_config.sh has been run 0 time(s)


Thats a blow by blow.

Thanks
Frank - K0FEI


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