!!################################ !!ALSA Information Script v 0.4.64 !!################################ !!Script ran on: Sat Mar 11 13:14:38 UTC 2023 !!Linux Distribution !!------------------ ID_LIKE=debian !!DMI Information !!--------------- Manufacturer: Product Name: Product Version: Firmware Version: Board Vendor: Board Name: !!ACPI Device Status Information !!--------------- !!Kernel Information !!------------------ Kernel release: 4.19.102 Operating System: GNU/Linux Architecture: armv6l Processor: unknown SMP Enabled: No !!ALSA Version !!------------ Driver version: k4.19.102 Library version: 1.1.8 Utilities version: 1.1.8 !!Loaded ALSA modules !!------------------- snd_bcm2835 snd_soc_simple_card !!Sound Servers on this system !!---------------------------- No sound servers found. !!Soundcards recognised by ALSA !!----------------------------- 0 [ALSA ]: bcm2835_alsa - bcm2835 ALSA bcm2835 ALSA 1 [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_bcm2835 enable_compat_alsa : Y enable_hdmi : N enable_headphones : N force_bulk : N !!Module: snd_soc_simple_card * : !!ALSA Device nodes !!----------------- crw-rw---- 1 root audio 116, 0 Feb 9 2022 /dev/snd/controlC0 crw-rw---- 1 root audio 116, 32 Feb 9 2022 /dev/snd/controlC1 crw-rw---- 1 root audio 116, 16 Feb 9 2022 /dev/snd/pcmC0D0p crw-rw---- 1 root audio 116, 17 Feb 9 2022 /dev/snd/pcmC0D1p crw-rw---- 1 root audio 116, 18 Feb 9 2022 /dev/snd/pcmC0D2p crw-rw---- 1 root audio 116, 56 Feb 9 2022 /dev/snd/pcmC1D0c crw-rw---- 1 root audio 116, 48 Feb 9 2022 /dev/snd/pcmC1D0p crw-rw---- 1 root audio 116, 1 Feb 9 2022 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Feb 9 2022 /dev/snd/timer /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 80 Feb 9 2022 . drwxr-xr-x 3 root root 240 Feb 9 2022 .. lrwxrwxrwx 1 root root 12 Feb 9 2022 platform-asoc-simple-card.0 -> ../controlC1 lrwxrwxrwx 1 root root 12 Feb 9 2022 platform-soc:audio -> ../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 } !!Aplay/Arecord output !!-------------------- APLAY **** 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 IEC958/HDMI [bcm2835 IEC958/HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: 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 1: 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 !!Amixer output !!------------- !!-------Mixer controls for card 0 [ALSA] Card hw:0 'ALSA'/'bcm2835 ALSA' Mixer name : 'Broadcom Mixer' Components : '' Controls : 5 Simple ctrls : 1 Simple mixer control 'PCM',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback -10239 - 400 Mono: Playback -77 [96%] [-0.77dB] [on] !!-------Mixer controls for card 1 [sndrpisimplecar]:] Card hw:1 '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 255 [100%] [27.60dB] Front Right: Capture 255 [100%] [27.60dB] !!Alsactl output !!-------------- --startcollapse-- state.ALSA { control.1 { iface MIXER name 'PCM Playback Volume' value -77 comment { access 'read write' type INTEGER count 1 range '-10239 - 400' dbmin -9999999 dbmax 400 dbvalue.0 -77 } } control.2 { iface MIXER name 'PCM Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.3 { iface MIXER name 'PCM Playback Route' value 0 comment { access 'read write' type INTEGER count 1 range '0 - 3' } } control.4 { iface PCM name 'IEC958 Playback Default' value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access 'read write' type IEC958 count 1 } } control.5 { iface PCM name 'IEC958 Playback Con Mask' value '0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } } state.sndrpisimplecar { control.1 { iface MIXER name 'Boost Capture Volume' value.0 255 value.1 255 comment { access 'read write user' type INTEGER count 2 range '0 - 255' tlv '0000000100000008fffffed40000000c' dbmin -300 dbmax 2760 dbvalue.0 2760 dbvalue.1 2760 } } } --endcollapse-- !!All Loaded Modules !!------------------ Module bnep hci_uart btbcm serdev bluetooth ecdh_generic 8021q garp stp llc brcmfmac brcmutil sha256_generic cfg80211 raspberrypi_hwmon rfkill hwmon snd_soc_bcm2835_i2s bcm2835_codec regmap_mmio v4l2_mem2mem bcm2835_v4l2 bcm2835_mmal_vchiq v4l2_common videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media vc_sm_cma fixed uio_pdrv_genirq uio snd_soc_simple_card snd_soc_simple_card_utils snd_soc_core snd_compress snd_pcm_dmaengine my_loader snd_bcm2835 snd_pcm snd_timer snd ip_tables x_tables ipv6 !!ALSA/HDA dmesg !!-------------- [ 5.548654] systemd[1]: Listening on Journal Socket. [ 6.537513] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned. [ 6.643343] bcm2835_audio soc:audio: card created with 8 channels -- [ 12.988685] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned. [ 13.016604] asoc-simple-card asoc-simple-card.0: snd-soc-dummy-dai <-> 20203000.i2s mapping ok [ 13.090465] bcm2835-codec bcm2835-codec: Device registered as /dev/video10