Audio Driver / Module Load Problem #draws #audio #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)

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