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

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