Date   

Re: DRAWS Case

Joseph Vilardo
 

David

Nice case thanks. I have used the C4 Labs case for several of my Rpi's and really like the way the package looks. I am going to order one for the Draws/pi combo.

Joe

On 6/29/2019 11:05 AM, David [kg5eiu] via Groups.Io wrote:
I just picked up a new case from C4 Labs - nice case.
Check out the photo in this gallery here.


Re: DRAWS Case

David [kg5eiu]
 

I just picked up a new case from C4 Labs - nice case.
Check out the photo in this gallery here.


Audio Problem with DRAWs Hat

john.chabalko@...
 

Apparently it's tough times around these parts - and all was working great just a couple of days ago.

I have a functional DRAWs had an the UDRC drivers are loaded and running. The DRAWS manager is running, everything seems normal - except in wsjt-x (and others) i'm getting audio errors on startup - both input and output devices. The devices i'm using are:
Input: plughw:CARD=udrc, DEV=0
Output: plughw:CARD=udrc, DEV=0

"Requested [output,input] audio format is not supported on device"

pi@n3ap-p:~/bin $ prog_refresh.sh -c
js8call: current version: 1.1.0, installed: 1.1.0
wsjtx:   current version: 2.0.1, installed: 2.1.0-rc7
Library: libflxmlrpc IS loaded.
flxmlrpc:  current version: 0.1.4, installed: 0.1.4
fldigi:  current version: 4.1.04, installed: 4.1.01
flrig:  current version: 1.3.45, installed: 1.3.42
flmsg:  current version: 4.0.10, installed: 4.0.8
flamp:  current version: 2.2.04, installed: 2.2.04
xs_verchk.sh: Detected xastir package.
xastir: current version: 2.1.3, installed: 2.1.3
gp_verchk.sh: Detected gpsd package.
gpsd: current version: 3.18.1, installed: 3.18.1
pi@n3ap-p:~/bin $ cd
pi@n3ap-p:~ $ cd n7nix/
pi@n3ap-p:~/n7nix $ git pull
Already up-to-date.


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

     HAT ID EEPROM
Name:        hat
Product:     Digital Radio Amateur Work Station
Product ID:  0x0004
Product ver: 0x0405
UUID:        b1f4e1df-11e0-4d2b-b213-c87b4dacb830
Vendor:      NW Digital Radio

==== sys Ver ====
----- image version
2019 03 31 13:53:37 PDT: SD image version: beta10
----- /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: n3ap-p
         Icon name: computer
        Machine ID: 2f51e140e908474eaa86ae805f03a6d8
           Boot ID: b21a8b0ee78b4f73bbe8a4fde12396b6
  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  7 snd_pcm_dmaengine,tlv320aic32x4,snd_soc_bcm2835_i2s,snd_bcm2835,snd_soc_core

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

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

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

---- syslog
Jun 28 17:30:23 n3ap-p bash[420]: UDRC_PROD: Digital Radio Amateur Work Station, ID: 4
Jun 28 17:30:23 n3ap-p kernel: [    3.320902] udrc: loading out-of-tree module taints kernel.
Jun 28 17:30:23 n3ap-p kernel: [    3.321806] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
Jun 28 17:30:23 n3ap-p kernel: [    3.321818] snd-udrc soc:sound: snd_soc_register_card() failed: -517
Jun 28 17:30:23 n3ap-p kernel: [    3.347796] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
Jun 28 17:30:23 n3ap-p kernel: [    3.347807] snd-udrc soc:sound: snd_soc_register_card() failed: -517
Jun 28 17:30:23 n3ap-p kernel: [    3.349131] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
Jun 28 17:30:23 n3ap-p kernel: [    3.349138] snd-udrc soc:sound: snd_soc_register_card() failed: -517
Jun 28 17:30:23 n3ap-p kernel: [    3.349318] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
Jun 28 17:30:23 n3ap-p kernel: [    3.349324] snd-udrc soc:sound: snd_soc_register_card() failed: -517
Jun 28 17:30:23 n3ap-p kernel: [    3.356339] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
Jun 28 17:30:23 n3ap-p kernel: [    3.356347] snd-udrc soc:sound: snd_soc_register_card() failed: -517
Jun 28 17:30:23 n3ap-p kernel: [    3.356532] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
Jun 28 17:30:23 n3ap-p kernel: [    3.356537] snd-udrc soc:sound: snd_soc_register_card() failed: -517
Jun 28 17:30:23 n3ap-p kernel: [    3.496347] snd-udrc soc:sound: tlv320aic32x4-hifi <-> 3f203000.i2s mapping ok
Jun 28 17:30:23 n3ap-p bash[420]: UDRC II or DRAWS installed
Jun 28 17:30:23 n3ap-p bash[420]: using mkiss with UDRC II and pseudo term_1: /dev/pts/2 pseudo term_2: /dev/pts/3
Jun 28 17:36:09 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN2_L to Left Mixer Positive Resistor' 'Off'
Jun 28 17:36:10 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'
Jun 28 17:36:10 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN2_R to Right Mixer Positive Resistor' '10 kOhm'
Jun 28 17:36:10 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN1_R to Right Mixer Positive Resistor' 'Off'
Jun 28 17:36:10 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'CM_R to Right Mixer Negative Resistor' '10 kOhm'
Jun 28 17:36:10 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'CM_L to Left Mixer Negative Resistor' '10 kOhm'
Jun 28 17:36:10 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'LO DAC' 'on,on'
Jun 28 17:36:10 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'LOL Output Mixer L_DAC' 'on'
Jun 28 17:36:11 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'LOR Output Mixer R_DAC' 'on'
Jun 28 17:36:11 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN2_L to Left Mixer Positive Resistor' 'Off'
Jun 28 17:36:11 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN1_L to Left Mixer Positive Resistor' '10 kOhm'
Jun 28 17:36:11 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN2_R to Right Mixer Positive Resistor' 'Off'
Jun 28 17:36:11 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'
Jun 28 17:36:11 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'CM_R to Right Mixer Negative Resistor' '10 kOhm'
Jun 28 17:36:12 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'CM_L to Left Mixer Negative Resistor' '10 kOhm'
Jun 28 17:36:12 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'LO DAC' 'on,on'
Jun 28 17:36:12 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'LOL Output Mixer L_DAC' 'on'
Jun 28 17:36:12 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'LOR Output Mixer R_DAC' 'on'
Jun 28 17:38:57 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN2_L to Left Mixer Positive Resistor' '10 kOhm'
Jun 28 17:38:57 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN1_L to Left Mixer Positive Resistor' 'Off'
Jun 28 17:38:58 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN2_R to Right Mixer Positive Resistor' 'Off'
Jun 28 17:38:58 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN1_R to Right Mixer Positive Resistor' '10 kOhm'
Jun 28 17:38:58 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'CM_R to Right Mixer Negative Resistor' '10 kOhm'
Jun 28 17:38:58 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'CM_L to Left Mixer Negative Resistor' '10 kOhm'
Jun 28 17:38:58 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'LO DAC' 'on,on'
Jun 28 17:38:58 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'LOL Output Mixer L_DAC' 'on'
Jun 28 17:38:58 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'LOR Output Mixer R_DAC' 'on'
Jun 28 17:39:00 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN2_L to Left Mixer Positive Resistor' '10 kOhm'
Jun 28 17:39:00 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN1_L to Left Mixer Positive Resistor' 'Off'
Jun 28 17:39:00 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN2_R to Right Mixer Positive Resistor' '10 kOhm'
Jun 28 17:39:00 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'IN1_R to Right Mixer Positive Resistor' 'Off'
Jun 28 17:39:00 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'CM_R to Right Mixer Negative Resistor' '10 kOhm'
Jun 28 17:39:00 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'CM_L to Left Mixer Negative Resistor' '10 kOhm'
Jun 28 17:39:01 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'LO DAC' 'on,on'
Jun 28 17:39:01 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'LOL Output Mixer L_DAC' 'on'
Jun 28 17:39:01 n3ap-p npm[588]: /usr/bin/amixer -c udrc sset 'LOR Output Mixer R_DAC' 'on'

---- dmesg
[    3.320902] udrc: loading out-of-tree module taints kernel.
[    3.321806] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
[    3.321818] snd-udrc soc:sound: snd_soc_register_card() failed: -517
[    3.347796] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
[    3.347807] snd-udrc soc:sound: snd_soc_register_card() failed: -517
[    3.349131] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
[    3.349138] snd-udrc soc:sound: snd_soc_register_card() failed: -517
[    3.349318] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
[    3.349324] snd-udrc soc:sound: snd_soc_register_card() failed: -517
[    3.356339] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
[    3.356347] snd-udrc soc:sound: snd_soc_register_card() failed: -517
[    3.356532] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
[    3.356537] snd-udrc soc:sound: snd_soc_register_card() failed: -517
[    3.496347] 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        30G  5.8G   23G  21% /

==== boot config ====

# 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,alsaname=udrc

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

---- 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 Fri 2019-06-28 17:30:25 PDT; 1h 4min ago
  Process: 631 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
 Main PID: 654 (gpsd)
   CGroup: /system.slice/gpsd.service
           └─654 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0

Jun 28 17:30:25 n3ap-p systemd[1]: Starting GPS (Global Positioning System)…n...
Jun 28 17:30:25 n3ap-p systemd[1]: Started GPS (Global Positioning System) …mon.
Hint: Some lines were ellipsized, use -l to show in full.

---- chrony
crw-rw---- 1 root root    243, 0 Jun 28 17:30 /dev/pps0
crw------- 1 root root    243, 1 Jun 28 17:30 /dev/pps1
crw-rw---- 1 root dialout 242, 0 Jun 28 17:30 /dev/ttySC0
crw-rw---- 1 root dialout 242, 1 Jun 28 17:30 /dev/ttySC1
-- chrony sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample              
===============================================================================
#? GPS                           0   3     0     -     +0ns[   +0ns] +/-    0ns
#? PPS                           0   3     0     -     +0ns[   +0ns] +/-    0ns
^+ 2600:3c01::f03c:91ff:feb>     2   9   377   152   -543us[ -543us] +/-   35ms
^- ha81.smatwebdesign.com        2   9   377    84   -702us[ -702us] +/-   71ms
^+ 2604:880:398:371::1           2   9   377   926  -1109us[-1109us] +/-   30ms
^* propjet.latt.net              3   9   377   22m   +313us[ +376us] +/-   21ms
-- chrony tracking
Reference ID    : 0381BBD4 (propjet.latt.net)
Stratum         : 4
Ref time (UTC)  : Sat Jun 29 01:13:04 2019
System time     : 0.000030855 seconds fast of NTP time
Last offset     : +0.000063505 seconds
RMS offset      : 0.000132425 seconds
Frequency       : 4.676 ppm fast
Residual freq   : +0.006 ppm
Skew            : 0.227 ppm
Root delay      : 0.016767 seconds
Root dispersion : 0.009681 seconds
Update interval : 257.1 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
2600:3c01::f03c:91ff:feb>  26  12   61m     -0.087      1.238   -651us  1638us
ha81.smatwebdesign.com     27  13   62m     -0.946      0.401  -1145us   439us
2604:880:398:371::1        27  15   48m     -0.085      0.325   -153us   366us
propjet.latt.net           27  15   42m     +0.003      0.252   +120us   241us

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

---- locale
Locale country codes consistent among WiFi cfg file, iw reg & X11: US
core_config.sh has been run 1 time(s)


Re: Audio Driver / Module Load Problem #audio #draws #kernel

Basil Gunn
 

I went ahead and rebuilt on a different SD Card i have around for such
purposes. I must have done something the other day when i was checking
for updates. i've got the card hand still but i'll probably just
reflash it and move on.
If you are currently using a 4.14.98-v7+ kernel and try to do an upgrade it will
fail.

Please read this thread:
https://nw-digital-radio.groups.io/g/udrc/topic/error_during_udrc_dkms/31826864?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,31826864

/Basil


Re: Audio Driver / Module Load Problem #audio #draws #kernel

Basil Gunn
 

Hi John,
Sorry for the delay in getting back to you.

I checked a couple of systems I'm currently running & I don't have any
files in /usr/share/udcdkmshack/overlays or
/usr/share/rpikernelhack/overlays

I haven't really seen your problem before but I would delete the files in
/user/share/rpikernelhackoverlays and try upgrading udrc-dkms again.

apt-get install udrc-dkms

The good news is the dynamic kernel module support requirement will go
away in the near future as the required tlv320aic audio codec driver is part of
main stream Linux kernel and we are just waiting for it to percolate to the
released kernels. Upgrading will be easier at that point.

The test is as usual reboot & run aplay -l

Let me know how you make out.

/Basil


john.chabalko@gmail.com writes:

Thanks Basil. I updated the config.txt has you described. Here's the output of aplay -l after making the change and rebooting:
pi@n3ap-p:~/n7nix/bin $ 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 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

Here's another run of showudrc.sh:

This jumped out to me last night. I ran that command and it didn't
---- modules

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

*So i ran it:*

*pi@n3ap-p:~/n7nix/bin $ sudo apt-get install udrc-dkms*
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
udrc-dkms
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/27.7 kB of archives.
After this operation, 233 kB of additional disk space will be used.
(Reading database ... 142882 files and directories currently installed.)
Preparing to unpack .../udrc-dkms_1.0.5_armhf.deb ...
dpkg-divert: error: 'diversion of /boot/overlays/udrc.dtbo to /usr/share/udrcdkmshack/udrc.dtbo by udrcdkmshack' clashes with 'diversion of /boot/overlays/udrc.dtbo to /usr/share/rpikernelhack/overlays/udrc.dtbo by rpikernelhack'
dpkg-divert: error: 'diversion of /boot/overlays/draws.dtbo to /usr/share/udrcdkmshack/draws.dtbo by udrcdkmshack' clashes with 'diversion of /boot/overlays/draws.dtbo to /usr/share/rpikernelhack/overlays/draws.dtbo by rpikernelhack'
dpkg: error processing archive /var/cache/apt/archives/udrc-dkms_1.0.5_armhf.deb (--unpack):
subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/udrc-dkms_1.0.5_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

*pi@n3ap-p:~/n7nix/bin $ ./showudrc.sh*
==== 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: 0x0405
UUID: b1f4e1df-11e0-4d2b-b213-c87b4dacb830
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.9

----- /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.9 (stretch)
Release: 9.9
Codename: stretch

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

---- modules

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

---- kernel
||/ Name Version Architecture Description
+++-==================-============-============-=================================
ii raspberrypi-kernel 1.20190401-1 armhf Raspberry Pi bootloader
ic 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

---- 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 30G 12G 17G 40% /

==== boot config ====

# 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,alsaname=udrc

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

---- 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 Fri 2019-06-28 13:35:45 PDT; 5min ago
Process: 475 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
Main PID: 478 (gpsd)
CGroup: /system.slice/gpsd.service
└─478 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0

Jun 28 13:35:45 n3ap-p systemd[1]: Starting GPS (Global Positioning System) Daemon...
Jun 28 13:35:45 n3ap-p systemd[1]: Started GPS (Global Positioning System) Daemon.

---- chrony
crw------- 1 root root 243, 0 Jun 28 13:35 /dev/pps0
crw-rw---- 1 root dialout 242, 0 Jun 28 13:35 /dev/ttySC0
crw-rw---- 1 root dialout 242, 1 Jun 28 13:35 /dev/ttySC1
-- chrony sources
210 Number of sources = 6
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
#? GPS 0 3 0 - +0ns[ +0ns] +/- 0ns
#? PPS 0 3 0 - +0ns[ +0ns] +/- 0ns
^? time.richiemcintosh.com 2 6 3 13 +60us[ +579us] +/- 80ms
^* mx.danb.email 2 6 77 12 +556us[+1075us] +/- 35ms
^+ 2001:19f0:8001:1de:5400:> 2 6 77 13 -704us[ -185us] +/- 51ms
^+ 2001:550:1d05:30::58e:3e> 2 6 77 12 +2360us[+2360us] +/- 52ms
-- chrony tracking
Reference ID : 6AE010AC (mx.danb.email)
Stratum : 3
Ref time (UTC) : Fri Jun 28 20:41:25 2019
System time : 0.000348797 seconds fast of NTP time
Last offset : +0.000518640 seconds
RMS offset : 0.000518640 seconds
Frequency : 5.022 ppm fast
Residual freq : +3.283 ppm
Skew : 4.514 ppm
Root delay : 0.016891 seconds
Root dispersion : 0.027005 seconds
Update interval : 65.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 0 0 0 +0.000 2000.000 +0ns 4000ms
PPS 0 0 0 +0.000 2000.000 +0ns 4000ms
time.richiemcintosh.com 2 0 65 -0.090 2000.000 +60us 4000ms
mx.danb.email 6 3 136 +2.368 42.874 +190us 560us
2001:19f0:8001:1de:5400:> 6 6 135 +9.252 54.630 -711us 682us
2001:550:1d05:30::58e:3e> 6 4 136 -0.201 37.648 +2202us 538us

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

---- locale
Locale country codes consistent among WiFi cfg file, iw reg & X11: US
core_config.sh has been run 1 time(s)


Re: Audio Driver / Module Load Problem #audio #draws #kernel

john.chabalko@...
 

I went ahead and rebuilt on a different SD Card i have around for such purposes. I must have done something the other day when i was checking for updates. i've got the card hand still but i'll probably just reflash it and move on.


Re: Audio Driver / Module Load Problem #audio #draws #kernel

john.chabalko@...
 

Thanks Basil. I updated the config.txt has you described. Here's the output of aplay -l after making the change and rebooting:
pi@n3ap-p:~/n7nix/bin $ 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 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Here's another run of showudrc.sh:

This jumped out to me last night. I ran that command and it didn't
---- modules

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

So i ran it:

pi@n3ap-p:~/n7nix/bin $ sudo apt-get install udrc-dkms
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  udrc-dkms
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/27.7 kB of archives.
After this operation, 233 kB of additional disk space will be used.
(Reading database ... 142882 files and directories currently installed.)
Preparing to unpack .../udrc-dkms_1.0.5_armhf.deb ...
dpkg-divert: error: 'diversion of /boot/overlays/udrc.dtbo to /usr/share/udrcdkmshack/udrc.dtbo by udrcdkmshack' clashes with 'diversion of /boot/overlays/udrc.dtbo to /usr/share/rpikernelhack/overlays/udrc.dtbo by rpikernelhack'
dpkg-divert: error: 'diversion of /boot/overlays/draws.dtbo to /usr/share/udrcdkmshack/draws.dtbo by udrcdkmshack' clashes with 'diversion of /boot/overlays/draws.dtbo to /usr/share/rpikernelhack/overlays/draws.dtbo by rpikernelhack'
dpkg: error processing archive /var/cache/apt/archives/udrc-dkms_1.0.5_armhf.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/udrc-dkms_1.0.5_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


pi@n3ap-p:~/n7nix/bin $ ./showudrc.sh
==== 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: 0x0405
UUID:        b1f4e1df-11e0-4d2b-b213-c87b4dacb830
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.9

----- /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.9 (stretch)
Release:    9.9
Codename:    stretch

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

---- modules

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

---- kernel
||/ Name               Version      Architecture Description
+++-==================-============-============-=================================
ii  raspberrypi-kernel 1.20190401-1 armhf        Raspberry Pi bootloader
ic  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

---- 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        30G   12G   17G  40% /

==== boot config ====

# 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,alsaname=udrc

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

---- 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 Fri 2019-06-28 13:35:45 PDT; 5min ago
  Process: 475 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
 Main PID: 478 (gpsd)
   CGroup: /system.slice/gpsd.service
           └─478 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0

Jun 28 13:35:45 n3ap-p systemd[1]: Starting GPS (Global Positioning System) Daemon...
Jun 28 13:35:45 n3ap-p systemd[1]: Started GPS (Global Positioning System) Daemon.

---- chrony
crw------- 1 root root    243, 0 Jun 28 13:35 /dev/pps0
crw-rw---- 1 root dialout 242, 0 Jun 28 13:35 /dev/ttySC0
crw-rw---- 1 root dialout 242, 1 Jun 28 13:35 /dev/ttySC1
-- chrony sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample              
===============================================================================
#? GPS                           0   3     0     -     +0ns[   +0ns] +/-    0ns
#? PPS                           0   3     0     -     +0ns[   +0ns] +/-    0ns
^? time.richiemcintosh.com       2   6     3    13    +60us[ +579us] +/-   80ms
^* mx.danb.email                 2   6    77    12   +556us[+1075us] +/-   35ms
^+ 2001:19f0:8001:1de:5400:>     2   6    77    13   -704us[ -185us] +/-   51ms
^+ 2001:550:1d05:30::58e:3e>     2   6    77    12  +2360us[+2360us] +/-   52ms
-- chrony tracking
Reference ID    : 6AE010AC (mx.danb.email)
Stratum         : 3
Ref time (UTC)  : Fri Jun 28 20:41:25 2019
System time     : 0.000348797 seconds fast of NTP time
Last offset     : +0.000518640 seconds
RMS offset      : 0.000518640 seconds
Frequency       : 5.022 ppm fast
Residual freq   : +3.283 ppm
Skew            : 4.514 ppm
Root delay      : 0.016891 seconds
Root dispersion : 0.027005 seconds
Update interval : 65.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                         0   0     0     +0.000   2000.000     +0ns  4000ms
PPS                         0   0     0     +0.000   2000.000     +0ns  4000ms
time.richiemcintosh.com     2   0    65     -0.090   2000.000    +60us  4000ms
mx.danb.email               6   3   136     +2.368     42.874   +190us   560us
2001:19f0:8001:1de:5400:>   6   6   135     +9.252     54.630   -711us   682us
2001:550:1d05:30::58e:3e>   6   4   136     -0.201     37.648  +2202us   538us

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

---- locale
Locale country codes consistent among WiFi cfg file, iw reg & X11: US
core_config.sh has been run 1 time(s)


Re: Audio Driver / Module Load Problem #audio #draws #kernel

Basil Gunn
 

John,

In file /boot/config.txt you currently have:

#dtoverlay=
dtoverlay=draws

Please change to:

dtoverlay=
dtoverlay=draws,alsaname=udrc

Be sure that you uncomment 'dtoverlay=' line.

Now reboot and run 'aplay -l'

/Basil


john.chabalko@gmail.com writes:

I'm not sure what happened but i was checking that my RPi was up to date after not having used it for a couple of weeks (i was away) and now i have no audio. It looks like i've got a problem with the udrc audio module not loading but i'm not really sure how to troubleshoot it again. I tried what was suggested to me (and worked) in the past:

pi@n3ap-p:~/n7nix/bin $ sudo ./chk_bootcfg.sh

Verify IF dtoverlay= is set properly
dtoverlay currently set to: dtoverlay=draws
dtoverlay for DRAWS OK

Verify IF dtparam=audio is set properly
Last line in /boot/config.txt OK

pi@n3ap-p:~/n7nix/bin $ ./chk_conflict.sh

Check udrc driver conflict for Kernel release: 4.14.98-v7+

=== Loaded module check

=== Sound card check
udrc driver not loaded.

pi@n3ap-p:~/n7nix/bin $ 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 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0


Audio Driver / Module Load Problem #audio #draws #kernel

john.chabalko@...
 

I'm not sure what happened but i was checking that my RPi was up to date after not having used it for a couple of weeks (i was away) and now i have no audio. It looks like i've got a problem with the udrc audio module not loading but i'm not really sure how to troubleshoot it again. I tried what was suggested to me (and worked) in the past:

pi@n3ap-p:~/n7nix/bin $ sudo ./chk_bootcfg.sh

Verify IF dtoverlay= is set properly
  dtoverlay currently set to: dtoverlay=draws
  dtoverlay for DRAWS OK

Verify IF dtparam=audio is set properly
  Last line in /boot/config.txt OK

pi@n3ap-p:~/n7nix/bin $ ./chk_conflict.sh

Check udrc driver conflict for Kernel release: 4.14.98-v7+

=== Loaded module check

=== Sound card check
udrc driver not loaded.

pi@n3ap-p:~/n7nix/bin $ 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 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


pi@n3ap-p:~/n7nix/bin $ ./showudrc.sh
==== 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: 0x0405
UUID:        b1f4e1df-11e0-4d2b-b213-c87b4dacb830
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.9

----- /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.9 (stretch)
Release:    9.9
Codename:    stretch

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

---- modules

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

---- 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
Jun 26 08:04:43 n3ap-p kernel: [    3.112900] udrc: loading out-of-tree module taints kernel.
Jun 26 08:04:43 n3ap-p kernel: [    3.116578] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
Jun 26 08:04:43 n3ap-p kernel: [    3.116590] snd-udrc soc:sound: snd_soc_register_card() failed: -517
Jun 26 08:04:43 n3ap-p kernel: [    3.156471] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
Jun 26 08:04:43 n3ap-p kernel: [    3.156480] snd-udrc soc:sound: snd_soc_register_card() failed: -517
Jun 26 08:04:43 n3ap-p kernel: [    3.156693] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
Jun 26 08:04:43 n3ap-p kernel: [    3.156699] snd-udrc soc:sound: snd_soc_register_card() failed: -517
Jun 26 08:04:43 n3ap-p kernel: [    3.164400] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
Jun 26 08:04:43 n3ap-p kernel: [    3.164408] snd-udrc soc:sound: snd_soc_register_card() failed: -517
Jun 26 08:04:43 n3ap-p kernel: [    3.165094] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
Jun 26 08:04:43 n3ap-p kernel: [    3.165106] snd-udrc soc:sound: snd_soc_register_card() failed: -517
Jun 26 08:04:43 n3ap-p kernel: [    3.173895] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
Jun 26 08:04:43 n3ap-p kernel: [    3.173901] snd-udrc soc:sound: snd_soc_register_card() failed: -517
Jun 26 08:04:43 n3ap-p kernel: [    3.261054] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
Jun 26 08:04:43 n3ap-p kernel: [    3.261074] snd-udrc soc:sound: snd_soc_register_card() failed: -517
Jun 26 08:04:43 n3ap-p kernel: [    3.277215] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
Jun 26 08:04:43 n3ap-p kernel: [    3.277224] snd-udrc soc:sound: snd_soc_register_card() failed: -517
Jun 26 08:04:43 n3ap-p kernel: [    3.369568] snd-udrc soc:sound: tlv320aic32x4-hifi <-> 3f203000.i2s mapping ok

---- dmesg

---- 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        30G   12G   17G  40% /

==== boot config ====

# 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

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

---- 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 Thu 2019-06-27 18:58:02 PDT; 2h 52min ago
  Process: 470 ExecStart=/usr/local/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
 Main PID: 473 (gpsd)
   CGroup: /system.slice/gpsd.service
           └─473 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0

Jun 27 18:58:02 n3ap-p systemd[1]: Starting GPS (Global Positioning System) Daemon...
Jun 27 18:58:02 n3ap-p systemd[1]: Started GPS (Global Positioning System) Daemon.

---- chrony
crw------- 1 root root    243, 0 Jun 27 18:57 /dev/pps0
crw-rw---- 1 root dialout 242, 0 Jun 27 18:58 /dev/ttySC0
crw-rw---- 1 root dialout 242, 1 Jun 27 18:57 /dev/ttySC1
-- chrony sources
210 Number of sources = 6
MS Name/IP address         Stratum Poll Reach LastRx Last sample              
===============================================================================
#? GPS                           0   3     0     -     +0ns[   +0ns] +/-    0ns
#? PPS                           0   3     0     -     +0ns[   +0ns] +/-    0ns
^+ dfw1.ntp5.mattnordhoff.n>     2  10   377   782  -4377us[-4377us] +/-   40ms
^+ 2620:135:5003:ffff::123       2  10   377   61m  +1981us[+2706us] +/-  100ms
^+ zinc6.frizzen.net             3  10   377   80m  -2897us[-2008us] +/-  104ms
^* t2.time.bf1.yahoo.com         2  10   367   39m    +27ms[  +28ms] +/-   83ms
-- chrony tracking
Reference ID    : 10453706 (t2.time.bf1.yahoo.com)
Stratum         : 3
Ref time (UTC)  : Fri Jun 28 04:10:57 2019
System time     : 0.000484383 seconds fast of NTP time
Last offset     : +0.000541080 seconds
RMS offset      : 0.001359585 seconds
Frequency       : 4.801 ppm fast
Residual freq   : -0.013 ppm
Skew            : 0.422 ppm
Root delay      : 0.091014 seconds
Root dispersion : 0.018564 seconds
Update interval : 5433.4 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
dfw1.ntp5.mattnordhoff.n>  30  13  152m     -0.328      0.349  -5613us   901us
2620:135:5003:ffff::123    28  13  107m     +0.301      0.786  -6129us   955us
zinc6.frizzen.net          24  13   88m     -0.539      0.662  -5544us   982us
t2.time.bf1.yahoo.com      25  13  129m     +1.164      1.844    +14ms  1656us

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

---- locale
Locale country codes consistent among WiFi cfg file, iw reg & X11: US
core_config.sh has been run 1 time(s)


Re: error during udrc-dkms

Larry W7PAN
 

Basil,

Wish I had seen this thread earlier, I got the same error.  Hope the info below helps others that may not be so familiar with dpkg.

After the failure to upgrade the kernel, the dpkg install and configuration of other upgraded apps may not have completed and the system may be in a usable but possibly unstable state.

Issuing the command sudo dpkg -C will perform an audit and will return a list of apps not installed and/or configured.  If none are found it returns nothing and the apps have been upgraded.

If a list was returned then issuing the command sudo dpkg --configure -a should complete the install and configuration of the other upgraded apps.  Issuing the command sudo dpkg -C again will confirm this is the case.

Larry - W7PAN









Re: DRAWS For Sale+Case+GPS Antenna

JT Croteau <jt.tobit@...>
 

Wish it was Monday.  Good luck.



On Wed, Jun 26, 2019, 18:34 Steve McGrane <temporarilyoffline@...> wrote:
Oh, BTW that was just a listing of what I've got in it.  Make an offer and I'll make a deal.

On Tue, Jun 25, 2019 at 7:57 PM Temporarily Offline <temporarilyoffline@...> wrote:
Just bring your Pi! (Well... and your radios too)

$149.95 DRAWS
$ 14.99 GPS Antenna
$ 26.99 C4Labs DRAWS Case
$  7.90 Flat Rate Priority Mail Shipping 
$199.83 Total

First email gets the sweep!  Can ship tomorrow.

- Steve, KM9G


Re: DRAWS For Sale+Case+GPS Antenna

Steve McGrane <temporarilyoffline@...>
 

Oh, BTW that was just a listing of what I've got in it.  Make an offer and I'll make a deal.

On Tue, Jun 25, 2019 at 7:57 PM Temporarily Offline <temporarilyoffline@...> wrote:
Just bring your Pi! (Well... and your radios too)

$149.95 DRAWS
$ 14.99 GPS Antenna
$ 26.99 C4Labs DRAWS Case
$  7.90 Flat Rate Priority Mail Shipping 
$199.83 Total

First email gets the sweep!  Can ship tomorrow.

- Steve, KM9G


DRAWS For Sale+Case+GPS Antenna

Steve McGrane <temporarilyoffline@...>
 

Just bring your Pi! (Well... and your radios too)

$149.95 DRAWS
$ 14.99 GPS Antenna
$ 26.99 C4Labs DRAWS Case
$  7.90 Flat Rate Priority Mail Shipping 
$199.83 Total

First email gets the sweep!  Can ship tomorrow.

- Steve, KM9G


Re: Shipping and case updates?

 


On Tue, Jun 25, 2019 at 9:43 AM Chris Metcalf <chris@...> wrote:
Any updates on the shipping of backordered boards? We're about a week into the period during which backorders were to be shipped - is there any way we can get an idea how deep the queue still is?

Thanks!

On Wed, Jun 5, 2019 at 2:55 PM Chris Metcalf <chris@...> wrote:
Thanks for the update, this is great news! I'm glad well be getting the boards even if we need to wait on the case, I can't wait to start experimenting.


--
John D. Hays
Kingston, WA
K7VE

 


Re: Raspberry Pi 4

 

The Raspberry Pi 4 announcement claims that the GPIO is pin compatible with the 2 and 3.  If this holds true, then the physical connection to the DRAWS™ HAT should be fully compatible.  

We have yet to know if Annaliese's kernel driver for DRAWS™ HAT sound subsystem will be part of the initial Raspbian "Buster" release, which is required for the Raspberry Pi 4.  The current beta image is based on "Stretch" which does not support the Raspberry Pi 4 (per the Raspberry Pi Foundation), a self built image will be required until such time as NW Digital Radio provides an image based on Buster.  Raspbian Buster does not officially release until July 7th.

Status updates will be posted as available.

--
John D. Hays
Kingston, WA
K7VE

 


Re: Shipping and case updates?

Chris Metcalf
 

Any updates on the shipping of backordered boards? We're about a week into the period during which backorders were to be shipped - is there any way we can get an idea how deep the queue still is?

Thanks!

On Wed, Jun 5, 2019 at 2:55 PM Chris Metcalf <chris@...> wrote:
Thanks for the update, this is great news! I'm glad well be getting the boards even if we need to wait on the case, I can't wait to start experimenting.

On Wed, Jun 5, 2019 at 2:29 PM John D Hays - K7VE <john@...> wrote:


On Wed, Jun 5, 2019 at 11:11 AM Fred Meier <fsmeier@...> wrote:

I sure hope the actual ones will be a little nicer finished than the sample.

 


Yes they will.  

The delay is, in part, working with the manufacturer to get the case "just right".  In the meantime the C4Labs case works nicely with the early adopter HATS, if you are looking to provide earlier packaging.

The sample was modified with hand tools, to create an install slot for the SMA connector - the final cases will have that slot as part of the machining at the factory.

--


John D. Hays
Director

  


 


Re: Raspberry Pi 4

Marc Lacy
 

I most probably will.

73 de KD7RYY

 

Marc

 

 

 

From: udrc@nw-digital-radio.groups.io [mailto:udrc@nw-digital-radio.groups.io] On Behalf Of JT Croteau
Sent: Monday, June 24, 2019 5:27 AM
To: udrc@nw-digital-radio.groups.io
Subject: [draws and udrc] Raspberry Pi 4

 

Anyone going to be experimenting with the new Raspberry Pi 4?

 


Re: Question HW and SW

Markus
 

Hi Jim.

The one with the Python and your weather station goes in the same direction. My goal is to transmit in Bash or Python.
I'm here about the combination between the HAT and the radio. Thank you.

Greetings Markus

okiejim <kd6vpe@...> hat am 24. Juni 2019 um 17:54 geschrieben:

This sounds like my weather voice system. The second radio is a ctually a repeater and no need for the second rpi or udrc. It converted the text from a weather station to wav file and sent them over the radio to the repeater. I have just now started re-coding it for the DrawsHat in Python. It will take some time as I am not dedicated to it just wanted to play around, and get it running again. I originally wrote it in visual basic on windows. Keep us informed. When I get going on it I will post something here. I have a dtmf decoder I used but hope to incorporate direwolf to reduce the hardware requirments. The DTMF was what triggered the weather report to go out to the repeater.
73
JIm


Re: Question HW and SW

Markus
 

Thanks John.

John D Hays - K7VE <john@...> hat am 24. Juni 2019 um 21:05 geschrieben:

I have not implemented or tested this, but it should work.

Raspbian is Linux on the Raspberry Pi, so you only need the Pi plus DRAWS™ HAT and radios. The wiring to the radio is straightforward using the amateur radio standard mini DIN-6 pinout for packet radio.

minimodem installs with a simple apt-get.

Look at some of the TTS (text to speech) packages.


On Mon, Jun 24, 2019 at 8:46 AM Markus < subscribe@...> wrote:
Hello community,

I have a question whether such a constellation would work?

Linux -- RPI -- UDRC HAT -- (Radio equipment)

<------->

(Radio equipment) -- UDRC HAT -- RPI -- Linux

How the radio equipment would wire now with the HAT UDRC?
I would like to make a BASH script from the console an send some text.
As software MINIMODEM is supposed to run the tool. http://www.whence.com/minimodem/


Software steps in the Script:

- Text convert to WAV (audio file)
- wait
- push the PTT
- wait
- play Audio
...

Thanks for help.

Bye Markus





--
John D. Hays
Kingston, WA
K7VE

 


Re: Question HW and SW

Markus
 

Hello, Basil.

Thank you very much. I have looked at it yesterday and it goes exactly in this direction.

Thank you very much.

Greetings Markus

Basil Gunn <basil@pacabunga.com> hat am 24. Juni 2019 um 22:41 geschrieben:



Hi Markus,

I believe the measure_deviate.sh script does what you want. Instead of
playing the tone WAV file, point the aplay line at the appropriate audio
file. The script takes care of turning on/off PTT for left/right mDin6
connector used.

https://github.com/nwdigitalradio/n7nix/tree/master/deviation

If you just want a simple script to control PTT then please check
ptt_ctrl.sh

https://github.com/nwdigitalradio/n7nix/blob/master/bin/ptt_ctrl.sh

/Basil

Markus <subscribe@meldekopf.de> writes:

Hello community,

I have a question whether such a constellation would work?

Linux -- RPI -- UDRC HAT -- (Radio equipment)

<------->

(Radio equipment) -- UDRC HAT -- RPI -- Linux

How the radio equipment would wire now with the HAT UDRC?
I would like to make a BASH script from the console an send some text.
As software MINIMODEM is supposed to run the tool. http://www.whence.com/minimodem/


Software steps in the Script:

- Text convert to WAV (audio file)
- wait
- push the PTT
- wait
- play Audio
...

1721 - 1740 of 5335