Description
Describe the bug
After using dpkg to install the audioinjector.octo.setup_0.4_all.deb package, I first received an error because I did not have a user "pi" on the system. I added user "pi" and it deployed correctly. However after reboot, dmesg showed no evidence of loading the audioinjector code and aplay showed no evidence of it. After looking at /boot/config.txt, I deduced that the dtoverlay=audioinjector-addons should be in the /boot/firmware/config.txt file. After that change, I saw references to audioinjector in the dmesg output, but they were associated with error code -517 and the module failed to load. Futher research suggested adding a file audioinjector-octo.conf to the /etc/modprobe.d directory containing a single line:
softdep snd_soc_audioinjector_octo_soundcard pre: snd_soc_cs42xx8 snd_soc_cs42xx8_i2c
That corrected things and now both dmesg and aplay show that the module was loaded. FINALLY!!!
Thus users should be instructed of the additional steps needed to get things to be "operational".
However.
When using the audio driver short bursts of static-like sound is the only thing the card is producing. So either there are bugs or incompatibilities with the module and/or the underlying OS or there is a configuration issue that I'm missing.
Here's the output of cat /etc/os-release:
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Here's the output of lsmod:sudo lsmod
Module Size Used by
rfcomm 53248 4
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_seq 81920 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
cmac 12288 3
algif_hash 12288 1
aes_arm64 12288 3
aes_generic 32768 1 aes_arm64
algif_skcipher 12288 1
af_alg 28672 6 algif_hash,algif_skcipher
bnep 24576 2
vc4 389120 18
brcmfmac_wcc 12288 0
snd_soc_hdmi_codec 20480 2
snd_soc_audioinjector_octo_soundcard 20480 0
binfmt_misc 16384 1
joydev 24576 0
v3d 180224 13
drm_display_helper 24576 1 vc4
brcmfmac 360448 1 brcmfmac_wcc
snd_soc_cs42xx8_i2c 12288 1
hci_uart 49152 0
cec 53248 1 vc4
regmap_i2c 12288 1 snd_soc_cs42xx8_i2c
bcm2835_codec 45056 0
rpi_hevc_dec 45056 0
snd_soc_bcm2835_i2s 16384 2
bcm2835_v4l2 45056 0
bcm2835_isp 28672 0
snd_soc_cs42xx8 28672 1 snd_soc_cs42xx8_i2c
drm_dma_helper 24576 2 vc4
btbcm 24576 1 hci_uart
v4l2_mem2mem 45056 2 bcm2835_codec,rpi_hevc_dec
snd_soc_core 290816 5 snd_soc_bcm2835_i2s,vc4,snd_soc_cs42xx8,snd_soc_audioinjector_octo_soundcard,snd_soc_hdmi_codec
bluetooth 610304 33 hci_uart,btbcm,bnep,rfcomm
gpu_sched 61440 1 v3d
bcm2835_mmal_vchiq 36864 3 bcm2835_codec,bcm2835_v4l2,bcm2835_isp
brcmutil 24576 1 brcmfmac
snd_compress 20480 1 snd_soc_core
vc_sm_cma 28672 2 bcm2835_mmal_vchiq,bcm2835_isp
videobuf2_vmalloc 12288 1 bcm2835_v4l2
drm_shmem_helper 28672 1 v3d
videobuf2_dma_contig 20480 3 bcm2835_codec,rpi_hevc_dec,bcm2835_isp
videobuf2_memops 12288 2 videobuf2_vmalloc,videobuf2_dma_contig
cfg80211 999424 1 brcmfmac
videobuf2_v4l2 32768 5 bcm2835_codec,rpi_hevc_dec,bcm2835_v4l2,v4l2_mem2mem,bcm2835_isp
drm_kms_helper 217088 3 drm_dma_helper,vc4,drm_shmem_helper
videodev 303104 6 bcm2835_codec,rpi_hevc_dec,videobuf2_v4l2,bcm2835_v4l2,v4l2_mem2mem,bcm2835_isp
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_bcm2835 24576 0
ecdh_generic 16384 2 bluetooth
snd_pcm 139264 7 snd_soc_bcm2835_i2s,snd_soc_audioinjector_octo_soundcard,snd_bcm2835,snd_soc_hdmi_codec,snd_compress,snd_soc_core,snd_pcm_dmaengine
videobuf2_common 73728 9 bcm2835_codec,videobuf2_vmalloc,rpi_hevc_dec,videobuf2_dma_contig,videobuf2_v4l2,bcm2835_v4l2,v4l2_mem2mem,videobuf2_memops,bcm2835_isp
ecc 36864 1 ecdh_generic
snd_timer 36864 3 snd_seq,snd_hrtimer,snd_pcm
rfkill 32768 4 bluetooth,cfg80211
mc 61440 7 videodev,bcm2835_codec,rpi_hevc_dec,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem,bcm2835_isp
libaes 12288 3 aes_arm64,bluetooth,aes_generic
snd 110592 12 snd_seq,snd_seq_device,snd_bcm2835,snd_soc_hdmi_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
raspberrypi_hwmon 12288 0
i2c_bcm2835 12288 0
i2c_brcmstb 12288 0
raspberrypi_gpiomem 12288 0
nvmem_rmem 12288 0
uio_pdrv_genirq 12288 0
uio 20480 1 uio_pdrv_genirq
i2c_dev 16384 0
drm 647168 23 gpu_sched,drm_kms_helper,drm_dma_helper,v3d,vc4,drm_shmem_helper,drm_display_helper
ledtrig_pattern 12288 0
fuse 163840 5
drm_panel_orientation_quirks 28672 1 drm
backlight 24576 2 drm_kms_helper,drm
dm_mod 143360 0
ip_tables 32768 0
x_tables 49152 1 ip_tables
ipv6 569344 60
If you need any additional information, let me know and I'll try to provide it.
Steps to reproduce the behaviour
You'd have to replicate my hardware, install the OS and go through the same steps I described above.
Device (s)
Raspberry Pi 4 Mod. B
System
Logs
Additional context
I tried using both audigy and VLC Media player with the audio driver and they both behaved the same way.