Date   

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

Edouard Lafargue
 

  Why not just simply release a Debian "draws.deb" package that enables the DRAWS ? This is the standard way to do that sort of stuff on Debian/Raspbian and would avoid having to create full image instead of using the official Raspbian distribution...

Ed


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

Mitch Winkle
 

Second that notion.  There is  a lot of what I consider unwanted fluff in this image since I don't care about packet radio.  I would really like to have a clean image with only the necessary drivers and such and then I could install my own programs, and select the HF programs that I want to use.  So perhaps a "minimal" image that gets the DRAWS functioning properly on the RPi??

On 8/29/19 2:44 AM, Jonathan Magee wrote:
Hi Mike,
I can confirm that I am powering it via the 12 volt plug. When you write up your clean install, please could you specify which version of the buster image you use....


Re: no transmit #wsjt-x

Mitch Winkle
 

sounds very much like my issue, only I have badly distored audio to the transmitter.  mine is in a box ready to be mailed back for eval.

On 8/28/19 10:08 PM, Rob Lapham wrote:
I did use Johns web app and it came up with the same values as the draws manager. I have turned  the gain up all the way and no clean tone.
the radio works fine with my other rp4 and a signal link so I think the radio is ok. also install another cable still no clean audio.
I lost
Rob k6jus


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

Jonathan Magee
 

Hi Mike,
I can confirm that I am powering it via the 12 volt plug.  When you write up your clean install, please could you specify which version of the buster image you use. I am using a Pi4 for all the steps.  I initially was using the "Raspbian Buster with desktop and recommended software" version but to speed up the imaging of the sd card I tried ""Raspbian Buster with desktop" but with the smaller image I wasn't even seeing the built in sound device after completing all the steps. I will keep trying things as I am determined to get it working.
73 de Jonathan GI7KMC

On Wed, 28 Aug 2019 at 20:14, Mike Watkins via Groups.Io <mike.watkins=vectorradio.ca@groups.io> wrote:
I promise to do a clean install on Buster, no scripts, to documents what it is I did to get the sound card detected.

Just to confirm with everyone that is chiming in right now that hasn't got it working, you are powering the device through the 12-volt plug, not through the raspberry Pi, correct? sorry to ask such a basic question but there's been so many emails going back and forth, best to be certain.

The steps to get it to be recognized we're not complicated but there is something missing that I just can't remember right now. 

73
Mike VE7WV

On Wed., Aug. 28, 2019, 11:21 Frank Ivan via Groups.Io, <k0fei=me.com@groups.io> wrote:
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



Re: Eureka!!!! She works perfectly!!

 

Is this carefully explained somewhere? It seems a bit weird to have
to pull a pin from a data cable. (Or is it like the rPI 4 charging
cables...)


I removed pin six on one end of the mini 6 Din cable and the lost audio returned .. (on the FT 817)
Bill


Re: no transmit #wsjt-x

Rob Lapham
 

I did use Johns web app and it came up with the same values as the draws manager. I have turned  the gain up all the way and no clean tone.
the radio works fine with my other rp4 and a signal link so I think the radio is ok. also install another cable still no clean audio.
I lost
Rob k6jus


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

Frank Ivan
 

Hi John,

I redid it using sudo apt upgrade - no difference.

Maybe the best way forward, since you guys can get it to go, would be to just have you guys make a buster image ready to go for the Pi4 and Pi3 that we could download and flash to a SD.

Thanks
Frank - K0FEI
 


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

Frank Ivan
 

Hi Mike,

I am powering through the Pi not the 12 volts, but I don't think that makes any difference as long as the power supply is not being maxed out.

I have tried using the 12 volts in the past.

Frank - K0FEI


Eureka!!!! She works perfectly!!

Michael Narges
 

Thanks to John and Bryan and many others the Draws Hat is outstanding!  I removed pin six on one end of the mini 6 Din cable and the lost audio returned as they said it would!!! Radio is an 817 which now works perfectly on Fldigi, WSJTX, and JS8CALL.
Thanks !

Mike. WF8O 


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

Mike Watkins <mike.watkins@...>
 

I promise to do a clean install on Buster, no scripts, to documents what it is I did to get the sound card detected.

Just to confirm with everyone that is chiming in right now that hasn't got it working, you are powering the device through the 12-volt plug, not through the raspberry Pi, correct? sorry to ask such a basic question but there's been so many emails going back and forth, best to be certain.

The steps to get it to be recognized we're not complicated but there is something missing that I just can't remember right now. 

73
Mike VE7WV

On Wed., Aug. 28, 2019, 11:21 Frank Ivan via Groups.Io, <k0fei=me.com@groups.io> wrote:
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



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

Frank Ivan
 

Hi John,

I don't think the dist-upgrade makes any difference but I'll try again.

Frank - K0FEI


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

 

Hi Corky,
The current "buster" seems to work fine at my place with the N7NIX script.

I find clean installs work best, but Pi 4/Buster are still leading edge.

On Wed, Aug 28, 2019 at 11:50 AM Corky Searls <af4pm@...> wrote:

I am not sure if this is still the case as the latest Buster image may include the updated kernel.  When I did this on an R-Pi 3B+, I needed to run rpi-update to get the latest kernel and once that was done and the changes made to /boot/config.txt everything worked fine.

Hope this helps,
-Corky


--
John D. Hays
Kingston, WA
K7VE

 


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

Mitch Winkle
 

Noticed kernel 4.19 in his output.  When I updated my Beta13 using the supplied scripts the kernel upgraded to a 4.19 version and then nothing worked.  That may be a clue.

On 8/28/19 2:20 PM, Frank Ivan via Groups.Io wrote:
Hi John,

Decided to try again with new SD card and all.
...

 

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

 



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

Corky Searls
 

I am not sure if this is still the case as the latest Buster image may include the updated kernel.  When I did this on an R-Pi 3B+, I needed to run rpi-update to get the latest kernel and once that was done and the changes made to /boot/config.txt everything worked fine.

Hope this helps,
-Corky

On 8/28/19 11:20 AM, Frank Ivan via Groups.Io wrote:
Hi Joh

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


-- 
Thanks and 73,
-Corky, AF4PM


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

 

The main difference I see, and may be the culprit is the 

sudo apt dist-upgrade

The dist-upgrade may be introducing the conflict, I just do an upgrade.

On Wed, Aug 28, 2019 at 11:21 AM Frank Ivan via Groups.Io <k0fei=me.com@groups.io> wrote:
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




--
John D. Hays
Kingston, WA
K7VE

 


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

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



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

 

I took the commands I provided, directly from my shell history
One additional command I gave 1st was
sudo apt install git build-essential vim nmap
(before running the git clone and script)
just to make sure git and build-essential were installed, I also use vim as my primary editor and nmap to help with network diagnostics.


Basil (n7nix) is the builder and tester of images (beta13 et all).  The sudo ./image_install.sh is part of that process.

Yes, I used the latest Buster (as of a few days ago)  and cloned n7nix tools directly from github.

What does your current   ~/n7nix/bin/showudrc.sh  show?


On Wed, Aug 28, 2019 at 8:16 AM Frank Ivan via Groups.Io <k0fei=me.com@groups.io> wrote:
Hi John,

I tried using a raspberry pi 3B and the same thing.
The aplay -l command did not return the card1 info.

This is beginning to look like a case of I can't get there from here.  Maybe someone else will chime in and say they did it or it didn't work for them.

I guess a couple of things to try.

1. Make an image of your SD card and upload it.
2. Did you do exactly what you listed including downloading the "latest" Buster and making a fresh SD card and downloading n7nix from the GitHub repository?  Maybe try it on a Pi4 although I have tried it on both.  It only takes about an hour depending on your internet speed and I have done it about 10 times.
\
Thanks
Frank - K0FEI



--
John D. Hays
Kingston, WA
K7VE

 


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

Mitch Winkle
 

This happened to me after it had been working. I re-imaged the SD card and it came back to life.

In my case, I had used some of the scripts to update the HF programs and some other things.  After that was finished, nothing worked any longer, so I ended up having to re-image.

On 8/28/19 11:16 AM, Frank Ivan via Groups.Io wrote:
Hi John,

I tried using a raspberry pi 3B and the same thing.
The aplay -l command did not return the card1 info.
...


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

Frank Ivan
 

Hi John,

I tried using a raspberry pi 3B and the same thing.
The aplay -l command did not return the card1 info.

This is beginning to look like a case of I can't get there from here.  Maybe someone else will chime in and say they did it or it didn't work for them.

I guess a couple of things to try.

1. Make an image of your SD card and upload it.
2. Did you do exactly what you listed including downloading the "latest" Buster and making a fresh SD card and downloading n7nix from the GitHub repository?  Maybe try it on a Pi4 although I have tried it on both.  It only takes about an hour depending on your internet speed and I have done it about 10 times.
\
Thanks
Frank - K0FEI


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

Jonathan Magee
 

Hi John and Frank
If you do take this off line and you get it working, please could you post to the list what steps were taken. I am having the same issue with my PI4 as Frank.

Regards
Jonathan GI7KMC
 


On Tue, 27 Aug 2019 at 23:10, Frank Ivan via Groups.Io <k0fei=me.com@groups.io> wrote:
Hi John,

If you would like to take this offline - my email address (at least the one in QRZ) is k0fei@....

Frank

1621 - 1640 of 5462