!!################################ !!ALSA Information Script v 0.4.64 !!################################ !!Script ran on: Fri Jun 15 18:00:28 UTC 2018 !!Linux Distribution !!------------------ ID_LIKE=debian !!DMI Information !!--------------- Manufacturer: Product Name: Product Version: Firmware Version: !!Kernel Information !!------------------ Kernel release: 4.14.34 Operating System: GNU/Linux Architecture: armv6l Processor: unknown SMP Enabled: No !!ALSA Version !!------------ Driver version: k4.14.34 Library version: 1.1.3 Utilities version: 1.1.3 !!Loaded ALSA modules !!------------------- snd_soc_simple_card !!Sound Servers on this system !!---------------------------- No sound servers found. !!Soundcards recognised by ALSA !!----------------------------- 0 [sndrpisimplecar]: snd_rpi_simple_ - snd_rpi_simple_card snd_rpi_simple_card !!Modprobe options (Sound related) !!-------------------------------- snd_pcsp: index=-2 snd_usb_audio: index=-2 snd_atiixp_modem: index=-2 snd_intel8x0m: index=-2 snd_via82xx_modem: index=-2 !!Loaded sound module options !!--------------------------- !!Module: snd_soc_simple_card * : !!ALSA Device nodes !!----------------- crw-rw---- 1 root audio 116, 0 Jun 15 17:55 /dev/snd/controlC0 crw-rw---- 1 root audio 116, 24 Jun 15 17:55 /dev/snd/pcmC0D0c crw-rw---- 1 root audio 116, 16 Jun 15 17:55 /dev/snd/pcmC0D0p crw-rw---- 1 root audio 116, 1 Jun 15 17:55 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Jun 15 17:55 /dev/snd/timer /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 60 Jun 15 17:55 . drwxr-xr-x 3 root root 160 Jun 15 17:55 .. lrwxrwxrwx 1 root root 12 Jun 15 17:55 platform-asoc-simple-card.0 -> ../controlC0 !!ALSA configuration files !!------------------------ !!System wide config file (/etc/asound.conf) ctl.!default { type hw card sndrpijustboomd } pcm.mmap0 { type mmap_emul; slave { pcm "hw:CARD=sndrpijustboomd,DEV=0" } } pcm.swap { type plug slave { pcm mmap0; } ttable.0.1 1 ttable.1.0 1 } pcm.mono_left { type plug; slave { pcm mmap0; } ttable.0.0 0.5 ttable.1.0 0.5 } pcm.mono_right { type plug; slave { pcm mmap0; } ttable.0.1 0.5 ttable.1.1 0.5 } pcm.!default mono_left #pcm.!default mono_right #pcm.!default swap #This section makes a reference to your I2S hardware, adjust the card name # to what is shown in arecord -l after card x: before the name in [] #You may have to adjust channel count also but stick with default first pcm.dmic_hw { type hw card sndrpisimplecar channels 1 format S32_LE } #This is the software volume control, it links to the hardware above and after # saving the .asoundrc file you can type alsamixer, press F6 to select # your I2S mic then F4 to set the recording volume and arrow up and down # to adjust the volume # After adjusting the volume - go for 50 percent at first, you can do # something like # arecord -D dmic_sv -c2 -r 48000 -f S32_LE -t wav -V mono -v myfile.wav pcm.dmic_sv { type softvol slave.pcm dmic_hw control { name "Boost Capture Volume" card sndrpisimplecar } min_dB -3.0 max_dB 30.0 } !!Aplay/Arecord output !!-------------------- APLAY **** List of PLAYBACK Hardware Devices **** card 0: sndrpisimplecar [snd_rpi_simple_card], device 0: simple-card_codec_link snd-soc-dummy-dai-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 ARECORD **** List of CAPTURE Hardware Devices **** card 0: sndrpisimplecar [snd_rpi_simple_card], device 0: simple-card_codec_link snd-soc-dummy-dai-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 !!Amixer output !!------------- !!-------Mixer controls for card 0 [sndrpisimplecar]:] Card hw:0 'sndrpisimplecar'/'snd_rpi_simple_card' Mixer name : '' Components : '' Controls : 1 Simple ctrls : 1 Simple mixer control 'Boost',0 Capabilities: cvolume Capture channels: Front Left - Front Right Limits: Capture 0 - 255 Front Left: Capture 23 [9%] [-0.24dB] Front Right: Capture 23 [9%] [-0.24dB] !!Alsactl output !!-------------- --startcollapse-- state.sndrpisimplecar { control.1 { iface MIXER name 'Boost Capture Volume' value.0 23 value.1 23 comment { access 'read write user' type INTEGER count 2 range '0 - 255' tlv '0000000100000008fffffed40000000c' dbmin -300 dbmax 2760 dbvalue.0 -24 dbvalue.1 -24 } } } --endcollapse-- !!All Loaded Modules !!------------------ Module cmac bnep hci_uart btbcm serdev bluetooth ecdh_generic snd_soc_pcm512x_i2c snd_soc_pcm512x cdc_ether r8152 brcmfmac brcmutil cfg80211 snd_soc_justboom_dac rfkill snd_soc_bcm2835_i2s i2c_bcm2835 regmap_mmio snd_soc_simple_card snd_soc_simple_card_utils snd_soc_core uio_pdrv_genirq fixed uio snd_compress snd_pcm_dmaengine my_loader snd_bcm2835 snd_pcm snd_timer snd ip_tables x_tables ipv6 !!ALSA/HDA dmesg !!-------------- [ 4.160874] random: crng init done [ 4.744928] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned. [ 4.821401] my_loader: loading out-of-tree module taints kernel. -- [ 10.834655] asoc-simple-card asoc-simple-card.0: ASoC: CPU DAI 20203000.i2s not registered - will retry [ 11.347212] asoc-simple-card asoc-simple-card.0: snd-soc-dummy-dai <-> 20203000.i2s mapping ok [ 11.700105] snd-rpi-justboom-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry [ 13.013800] snd-rpi-justboom-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry [ 13.026100] brcmfmac: F1 signature read @0x18000000=0x1541a9a6 -- [ 13.055615] usbcore: registered new interface driver brcmfmac [ 13.056484] snd-rpi-justboom-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry [ 13.970993] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f -- [ 15.446090] r8152 1-1:1.0 eth0: v1.09.9 [ 15.447761] snd-rpi-justboom-dac soc:sound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry [ 18.247267] uart-pl011 20201000.serial: no DMA platform data [ 20.410522] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS [ 21.056247] bcm2835-i2s 20203000.i2s: Trying to bind component to card "snd_rpi_justboom_dac" but is already bound to card "snd_rpi_simple_card" [ 21.056265] snd-rpi-justboom-dac soc:sound: ASoC: failed to instantiate card -19 [ 21.056733] snd-rpi-justboom-dac soc:sound: snd_soc_register_card() failed: -19 [ 21.953302] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready