!!################################ !!ALSA Information Script v 0.4.64 !!################################ !!Script ran on: Wed Nov 27 23:11:20 UTC 2019 !!Linux Distribution !!------------------ ID_LIKE=debian !!DMI Information !!--------------- Manufacturer: Product Name: Product Version: Firmware Version: !!Kernel Information !!------------------ Kernel release: 4.19.83 Operating System: GNU/Linux Architecture: armv6l Processor: unknown SMP Enabled: No !!ALSA Version !!------------ Driver version: k4.19.83 Library version: 1.1.3 Utilities version: 1.1.3 !!Loaded ALSA modules !!------------------- snd_bcm2835 snd_soc_simple_card snd_usb_audio !!Sound Servers on this system !!---------------------------- Pulseaudio: Installed - Yes (/usr/bin/pulseaudio) Running - Yes Jack: Installed - Yes (/usr/bin/jackd) Running - No !!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 2 [VOICE ]: USB-Audio - USB Camera-B4.09.24.1 OmniVision Technologies, Inc. USB Camera-B4.09.24.1 at usb-20980000.usb-1, high !!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 * : !!Module: snd_usb_audio autoclock : Y device_setup : 0,0,0,0,0,0,0,0 enable : Y,Y,Y,Y,Y,Y,Y,Y id : (null),(null),(null),(null),(null),(null),(null),(null) ignore_ctl_error : N index : -2,-1,-1,-1,-1,-1,-1,-1 pid : -1,-1,-1,-1,-1,-1,-1,-1 quirk_alias : (null),(null),(null),(null),(null),(null),(null),(null) use_vmalloc : Y vid : -1,-1,-1,-1,-1,-1,-1,-1 !!USB Mixer information !!--------------------- --startcollapse-- USB Mixer: usb_id=0x14152000, ctrlif=1, ctlerr=0 Card: OmniVision Technologies, Inc. USB Camera-B4.09.24.1 at usb-20980000.usb-1, high Unit: 3 Control: name="Mic Capture Volume", index=0 Info: id=3, control=2, cmask=0xf, channels=4, type="S16" Volume: min=0, max=1, dBmin=0, dBmax=0 --endcollapse-- !!ALSA Device nodes !!----------------- crw-rw---- 1 root audio 116, 0 Nov 27 21:36 /dev/snd/controlC0 crw-rw---- 1 root audio 116, 32 Nov 27 21:36 /dev/snd/controlC1 crw-rw---- 1 root audio 116, 64 Nov 27 21:36 /dev/snd/controlC2 crw-rw---- 1 root audio 116, 16 Nov 27 21:36 /dev/snd/pcmC0D0p crw-rw---- 1 root audio 116, 17 Nov 27 21:36 /dev/snd/pcmC0D1p crw-rw---- 1 root audio 116, 18 Nov 27 21:36 /dev/snd/pcmC0D2p crw-rw---- 1 root audio 116, 56 Nov 27 21:36 /dev/snd/pcmC1D0c crw-rw---- 1 root audio 116, 48 Nov 27 21:36 /dev/snd/pcmC1D0p crw-rw---- 1 root audio 116, 88 Nov 27 21:36 /dev/snd/pcmC2D0c crw-rw---- 1 root audio 116, 1 Nov 27 21:36 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Nov 27 21:36 /dev/snd/timer /dev/snd/by-id: total 0 drwxr-xr-x 2 root root 60 Nov 27 21:36 . drwxr-xr-x 4 root root 300 Nov 27 21:36 .. lrwxrwxrwx 1 root root 12 Nov 27 21:36 usb-OmniVision_Technologies__Inc._USB_Camera-B4.09.24.1-01 -> ../controlC2 /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 100 Nov 27 21:36 . drwxr-xr-x 4 root root 300 Nov 27 21:36 .. lrwxrwxrwx 1 root root 12 Nov 27 21:36 platform-20980000.usb-usb-0:1:1.1 -> ../controlC2 lrwxrwxrwx 1 root root 12 Nov 27 21:36 platform-asoc-simple-card.0 -> ../controlC1 lrwxrwxrwx 1 root root 12 Nov 27 21:36 platform-soc:audio -> ../controlC0 !!ALSA configuration files !!------------------------ !!User specific config file (~/.asoundrc) pcm.!default { type hw card 0 } ctl.!default { type hw card 0 } #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 50.0 } pcm.array { type hw card VOICE } pcm.array_gain { type softvol slave { pcm "array" } control { name "Mic Gain" count 2 card 0 } min_dB -40.0 max_dB 10.0 resolution 80 } pcm.cap { type plug slave { pcm "array_gain" channels 4 } route_policy sum } !!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 card 2: VOICE [USB Camera-B4.09.24.1], device 0: USB Audio [USB Audio] 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 399 [100%] [3.99dB] [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] !!-------Mixer controls for card 2 [VOICE] amixer: Mixer load hw:2 error: Invalid argument Card hw:2 'VOICE'/'OmniVision Technologies, Inc. USB Camera-B4.09.24.1 at usb-20980000.usb-1, high' Mixer name : 'USB Mixer' Components : 'USB1415:2000' Controls : 3 amixer: Mixer hw:2 load error: Invalid argument !!Alsactl output !!-------------- --startcollapse-- --endcollapse-- !!All Loaded Modules !!------------------ Module appletalk psnap llc ax25 rfcomm bnep spidev hci_uart btbcm serdev bluetooth ecdh_generic snd_usb_audio snd_hwdep snd_usbmidi_lib snd_rawmidi snd_seq_device gspca_ov534 gspca_main brcmfmac brcmutil sha256_generic cfg80211 rfkill raspberrypi_hwmon hwmon i2c_bcm2835 snd_soc_bcm2835_i2s regmap_mmio spi_bcm2835 bcm2835_codec v4l2_mem2mem videobuf2_dma_contig 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 bcm2835_v4l2 bcm2835_mmal_vchiq vc_sm_cma v4l2_common videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media cuse fuse i2c_dev ip_tables x_tables ipv6 !!ALSA/HDA dmesg !!-------------- [ 6.456335] bcm2835-v4l2: Broadcom 2835 MMAL video capture ver 0.0.2 loaded. [ 6.639869] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned. [ 6.749689] bcm2835_audio soc:audio: card created with 8 channels -- [ 13.827599] bcm2835-codec bcm2835-codec: Loaded V4L2 encode [ 13.837841] asoc-simple-card asoc-simple-card.0: snd-soc-dummy-dai <-> 20203000.i2s mapping ok [ 13.885518] bcm2835-codec bcm2835-codec: Device registered as /dev/video12 -- [ 25.703612] usb 1-1: 3:1: cannot get min/max values for control 2 (id 3) [ 25.718975] usbcore: registered new interface driver snd-usb-audio [ 27.030183] Bluetooth: Core ver 2.22