!!################################ !!ALSA Information Script v 0.4.64 !!################################ !!Script ran on: Sun Feb 23 17:35:10 UTC 2020 !!Linux Distribution !!------------------ ID_LIKE=debian !!DMI Information !!--------------- Manufacturer: Product Name: Product Version: Firmware Version: !!Kernel Information !!------------------ Kernel release: 4.19.105-v7 Operating System: GNU/Linux Architecture: armv7l Processor: unknown SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k4.19.105-v7 Library version: 1.1.8 Utilities version: 1.1.8 !!Loaded ALSA modules !!------------------- snd_soc_simple_card !!Sound Servers on this system !!---------------------------- Jack: Installed - Yes (/usr/bin/jackd) Running - No !!Soundcards recognised by ALSA !!----------------------------- 0 [sndrpisimplecar]: snd_rpi_simple_ - snd_rpi_simple_card snd_rpi_simple_card !!PCI Soundcards installed in the system !!-------------------------------------- !!Advanced information - PCI Vendor/Device/Subsystem ID's !!------------------------------------------------------- !!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 Feb 23 18:33 /dev/snd/controlC0 crw-rw---- 1 root audio 116, 24 Feb 23 18:33 /dev/snd/pcmC0D0c crw-rw---- 1 root audio 116, 16 Feb 23 18:33 /dev/snd/pcmC0D0p crw-rw---- 1 root audio 116, 1 Feb 23 18:33 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Feb 23 18:33 /dev/snd/timer /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 60 Feb 23 18:33 . drwxr-xr-x 3 root root 160 Feb 23 18:33 .. lrwxrwxrwx 1 root root 12 Feb 23 18:33 platform-asoc-simple-card.0 -> ../controlC0 !!ALSA configuration files !!------------------------ !!User specific config file (~/.asoundrc) #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 2 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 } !!System wide config file (/etc/asound.conf) pcm.speakerbonnet { type hw card 0 } pcm.dmixer { type dmix ipc_key 1024 ipc_perm 0666 slave { pcm "speakerbonnet" period_time 0 period_size 1024 buffer_size 8192 rate 44100 channels 2 } } ctl.dmixer { type hw card 0 } pcm.softvol { type softvol slave.pcm "dmixer" control.name "PCM" control.card 0 } ctl.softvol { type hw card 0 } pcm.!default { type plug slave.pcm "softvol" } !!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 [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 [simple-card_codec_link snd-soc-dummy-dai-0] Subdevices: 0/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 : 2 Simple ctrls : 2 Simple mixer control 'PCM',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 255 Front Left: 255 [100%] Front Right: 255 [100%] Simple mixer control 'Boost',0 Capabilities: cvolume Capture channels: Front Left - Front Right Limits: Capture 0 - 255 Front Left: Capture 162 [64%] [16.44dB] Front Right: Capture 162 [64%] [16.44dB] !!Alsactl output !!-------------- --startcollapse-- state.sndrpisimplecar { control.1 { iface MIXER name 'Boost Capture Volume' value.0 162 value.1 162 comment { access 'read write user' type INTEGER count 2 range '0 - 255' tlv '0000000100000008fffffed40000000c' dbmin -300 dbmax 2760 dbvalue.0 1644 dbvalue.1 1644 } } control.2 { iface MIXER name PCM value.0 255 value.1 255 comment { access 'read write user' type INTEGER count 2 range '0 - 255' tlv '0000000100000008ffffec1400000014' dbmin -5100 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } } --endcollapse-- !!All Loaded Modules !!------------------ Module rfcomm bnep hci_uart btbcm serdev bluetooth ecdh_generic fuse 8021q garp stp llc brcmfmac brcmutil sha256_generic cfg80211 snd_soc_rpi_simple_soundcard rfkill raspberrypi_hwmon hwmon bcm2835_codec bcm2835_v4l2 v4l2_mem2mem bcm2835_mmal_vchiq v4l2_common videobuf2_vmalloc videobuf2_dma_contig snd_soc_bcm2835_i2s videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media vc_sm_cma snd_soc_simple_card snd_soc_simple_card_utils snd_soc_pcm5102a snd_soc_core uio_pdrv_genirq snd_compress uio snd_pcm_dmaengine fixed my_loader snd_bcm2835 snd_pcm snd_timer snd i2c_dev ip_tables x_tables ipv6 !!ALSA/HDA dmesg !!-------------- [ 2.861549] i2c /dev entries driver [ 2.962751] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned. [ 2.968027] my_loader: loading out-of-tree module taints kernel. -- [ 4.724381] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. [ 4.726938] asoc-simple-card asoc-simple-card.0: snd-soc-dummy-dai <-> 3f203000.i2s mapping ok [ 4.737765] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned. -- [ 4.776132] bcm2835-codec bcm2835-codec: Loaded V4L2 isp [ 5.115227] bcm2835-i2s 3f203000.i2s: Trying to bind component to card "snd_rpi_hifiberry_dac" but is already bound to card "snd_rpi_simple_card" [ 5.115244] snd-rpi-simple soc:sound: ASoC: failed to instantiate card -19 [ 5.115392] snd-rpi-simple soc:sound: Failed to register card -19 [ 5.214753] cfg80211: Loading compiled-in X.509 certificates for regulatory database