Re: gpsd, amixer, sensor, and other issues


Julie McGrew
 

hmmm ... It appears reply by email is slow ... I'll answer here and apologize to all if there is a dup of this message.

Thank you for the quick response!
 
pi@K7TMV-draws:~ $ 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
card 1: udrc [udrc], device 0: Universal Digital Radio Controller tlv320aic32x4-hifi-0 []
 Subdevices: 0/1
 Subdevice #0: subdevice #0
pi@K7TMV-draws:~ $ 
 
 
pi@K7TMV-draws:~ $ 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 ====
amixer: Mixer hw:1 load error: Remote I/O error
amixer: Mixer hw:1 load error: Remote I/O error
amixer: Mixer hw:1 load error: Remote I/O error
LO Driver Gain  L: R:
amixer: Mixer hw:1 load error: Remote I/O error
amixer: Mixer hw:1 load error: Remote I/O error
amixer: Mixer hw:1 load error: Remote I/O error
PCM        L: R:
amixer: Mixer hw:1 load error: Remote I/O error
==== ALSA Controls for Radio Receive ====
amixer: Mixer hw:1 load error: Remote I/O error
amixer: Mixer hw:1 load error: Remote I/O error
amixer: Mixer hw:1 load error: Remote I/O error
ADC Level L: R:
amixer: Mixer hw:1 load error: Remote I/O error
amixer: Mixer hw:1 load error: Remote I/O error
amixer: Mixer hw:1 load error: Remote I/O error
amixer: Mixer hw:1 load error: Remote I/O error
amixer: Mixer hw:1 load error: Remote I/O error
amixer: Mixer hw:1 load error: Remote I/O error
amixer: Mixer hw:1 load error: Remote I/O error
amixer: Mixer hw:1 load error: Remote I/O error
IN1 L:[] R:[]
IN2 L:[] R:[]
==== 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:        3c64ff9f-0cdd-403e-bdac-821b040e8693
Vendor:      NW Digital Radio
 
==== sys Ver ====
----- image version
2019 05 07 12:46:37 PDT: SD image version: beta13
----- /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: K7TMV-draws
        Icon name: computer
       Machine ID: 2f51e140e908474eaa86ae805f03a6d8
          Boot ID: 0ed5a4bbb1e640178dd8793f69b624f2
 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  2
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 Apr 16 12:42 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4-i2c.ko
-rw-r--r-- 1 root 39084 Apr 16 12:42 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4.ko
-rw-r--r-- 1 root  6408 Apr 16 12:42 /lib/modules/4.14.98-v7+/updates/dkms/tlv320aic32x4-spi.ko
-rw-r--r-- 1 root  8332 Apr 16 12:42 /lib/modules/4.14.98-v7+/updates/dkms/udrc.ko
 
---- 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
 
---- dmesg
[    3.289751] udrc: loading out-of-tree module taints kernel.
[    3.290477] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
[    3.290491] snd-udrc soc:sound: snd_soc_register_card() failed: -517
[    3.398819] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
[    3.398825] snd-udrc soc:sound: snd_soc_register_card() failed: -517
[    3.411000] snd-udrc soc:sound: ASoC: CODEC DAI tlv320aic32x4-hifi not registered - will retry
[    3.411011] snd-udrc soc:sound: snd_soc_register_card() failed: -517
[    3.457739] 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  4.9G   24G  18% /
 
==== boot config ====
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
 
# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
 
# Additional overlays and parameters are documented /boot/overlays/README
 
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 Thu 2019-06-06 08:52:16 PDT; 7h ago
Main PID: 576 (gpsd)
  CGroup: /system.slice/gpsd.service
          └─576 /usr/local/sbin/gpsd -n /dev/ttySC0 /dev/pps0
 
Jun 06 08:52:16 K7TMV-draws systemd[1]: Starting GPS (Global Positioning System) Daemon...
Jun 06 08:52:16 K7TMV-draws systemd[1]: Started GPS (Global Positioning System) Daemon.
 
---- chrony
crw------- 1 root root    243, 0 Jun  6 08:52 /dev/pps0
crw-rw---- 1 root dialout 242, 0 Jun  6 08:52 /dev/ttySC0
crw-rw---- 1 root dialout 242, 1 Jun  6 08:52 /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
^* 96-8-121-205-host.colocr>     3  10   377   509   +848us[ +916us] +/-   23ms
^+ server.nanoslim.org           3  10   377   334  -2205us[-2205us] +/-   29ms
^+ jitter.tickadj.net            2  10   377    85   +998us[ +998us] +/-   47ms
^- eterna.binary.net             2  10   377   332   +669us[ +669us] +/-   75ms
-- chrony tracking
Reference ID    : 600879CD (96-8-121-205-host.colocrossing.com)
Stratum         : 4
Ref time (UTC)  : Thu Jun 06 23:36:54 2019
System time     : 0.000421532 seconds fast of NTP time
Last offset     : +0.000067734 seconds
RMS offset      : 0.000240083 seconds
Frequency       : 0.727 ppm slow
Residual freq   : +0.002 ppm
Skew            : 0.014 ppm
Root delay      : 0.025503 seconds
Root dispersion : 0.008533 seconds
Update interval : 1031.6 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
96-8-121-205-host.colocr>  44  19  460m     +0.000      0.017  +1767us   296us
server.nanoslim.org        51  23  466m     -0.006      0.014  -2658us   264us
jitter.tickadj.net          6   5   85m     +0.111      0.322   +822us   168us
eterna.binary.net          13   9  207m     +0.067      0.053  +1311us   146us
 
---- 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:      N/A  
+12V:                       N/A  
User ADC 1:                 N/A  
User ADC 2:                 N/A  
 
---- locale
Locale country codes consistent among WiFi cfg file, iw reg & X11: US
core_config.sh has been run 1 time(s)
pi@K7TMV-draws:~ $ 
 
Many thanks for your assistance, Basil.  :)
 
73,
julie
ac0wn
 

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