!!################################ !!ALSA Information Script v 0.5.1 !!################################ !!Script ran on: Wed Nov 23 07:39:51 UTC 2022 !!Linux Distribution !!------------------ ARCH=arm INITRD_ARCH=arm IMAGE_UUID=19860392-d4cb-4bae-bb4b-e4d66461227e ARCH=arm INITRD_ARCH=arm NAME="Debian GNU/Linux" ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" !!DMI Information !!--------------- Manufacturer: Product Name: Product Version: Firmware Version: System SKU: Board Vendor: Board Name: !!ACPI Device Status Information !!--------------- !!Kernel Information !!------------------ Kernel release: 5.15.74-sunxi Operating System: GNU/Linux Architecture: armv7l Processor: unknown SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k5.15.74-sunxi Library version: 1.2.4 Utilities version: 1.2.4 !!Loaded ALSA modules !!------------------- !!Sound Servers on this system !!---------------------------- No sound servers found. !!Soundcards recognised by ALSA !!----------------------------- 0 [Codec ]: H3_Audio_Codec - H3 Audio Codec H3 Audio Codec 1 [I2STDM ]: simple-card - I2S-TDM I2S-TDM !!PCI Soundcards installed in the system !!-------------------------------------- !!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 !!--------------------------- !!Sysfs card info !!--------------- !!Card: /sys/class/sound/card0 Driver: /sys/bus/platform/drivers/sun4i-codec Tree: !!Card: /sys/class/sound/card1 Driver: /sys/bus/platform/drivers/asoc-simple-card Tree: !!ALSA Device nodes !!----------------- crw-rw---- 1 root audio 116, 4 Nov 22 14:45 /dev/snd/controlC0 crw-rw---- 1 root audio 116, 6 Nov 22 14:45 /dev/snd/controlC1 crw-rw---- 1 root audio 116, 3 Nov 22 14:45 /dev/snd/pcmC0D0c crw-rw---- 1 root audio 116, 2 Nov 22 14:45 /dev/snd/pcmC0D0p crw-rw---- 1 root audio 116, 5 Nov 22 14:45 /dev/snd/pcmC1D0p crw-rw---- 1 root audio 116, 1 Nov 22 14:45 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Nov 22 14:45 /dev/snd/timer /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 80 Nov 22 14:45 . drwxr-xr-x 3 root root 200 Nov 22 14:45 .. lrwxrwxrwx 1 root root 12 Nov 22 14:45 platform-1c22c00.codec -> ../controlC0 lrwxrwxrwx 1 root root 12 Nov 22 14:45 platform-sound_i2s -> ../controlC1 !!ALSA configuration files !!------------------------ !!System wide config file (/etc/asound.conf) # Crestron DNA_AUDIO x specific configurations # NOTE: this is for sharing multiple channels on a single (TDM) audio device # with multple ALSA clients # shared buffer for playback pcm_slave.tdmshare { pcm "hw:1" channels 16 rate 48000 # fixed, because all dshare devices must use the same samplerate. format S24_LE } # src1 shared pcm device and corresponding virtual playback device pcm.src1_share { type share slave tdmshare bindings.0 0 bindings.1 4 } pcm.src1 { type plug slave.pcm "src1_share" hint { show { @func refer name defaults.namehint.basic } description "TDM 0 channel 0/1 for audio playback" } } # src2 shared pcm device and corresponding virtual playback device pcm.src2_share { type share slave tdmshare bindings.0 8 bindings.1 12 } pcm.src2 { type plug slave.pcm "src2_share" hint { show { @func refer name defaults.namehint.basic } description "TDM 1 channel 2/3 for audio playback" } } # src3 shared pcm device and corresponding virtual playback device pcm.src3_share { type share slave tdmshare bindings.0 1 bindings.1 5 } pcm.src3 { type plug slave.pcm "src3_share" hint { show { @func refer name defaults.namehint.basic } description "TDM 2 channel 4/5 for audio playback" } } # src4 shared pcm device and corresponding virtual playback device pcm.src4_share { type share slave tdmshare bindings.0 9 bindings.1 13 } pcm.src4 { type plug slave.pcm "src4_share" hint { show { @func refer name defaults.namehint.basic } description "TDM 3 channel 6/7 for audio playback" } } # src5 shared pcm device and corresponding virtual playback device pcm.src5_share { type share slave tdmshare bindings.0 2 bindings.1 6 } pcm.src5 { type plug slave.pcm "src5_share" hint { show { @func refer name defaults.namehint.basic } description "TDM 4 channel 8/9 for audio playback" } } # src6 shared pcm device and corresponding virtual playback device pcm.src6_share { type share slave tdmshare bindings.0 10 bindings.1 14 } pcm.src6 { type plug slave.pcm "src6_share" hint { show { @func refer name defaults.namehint.basic } description "TDM 5channel 10/11 for audio playback" } } # src7 shared pcm device and corresponding virtual playback device pcm.src7_share { type share slave tdmshare bindings.0 3 bindings.1 7 } pcm.src7 { type plug slave.pcm "src7_share" hint { show { @func refer name defaults.namehint.basic } description "TDM 6 channel 12/13 for audio playback" } } # src8 shared pcm device and corresponding virtual playback device pcm.src8_share { type share slave tdmshare bindings.0 11 bindings.1 15 } pcm.src8 { type plug slave.pcm "src8_share" hint { show { @func refer name defaults.namehint.basic } description "TDM 7 channel 14/15 for audio playback" } } !!Aplay/Arecord output !!-------------------- APLAY **** List of PLAYBACK Hardware Devices **** card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [CDC PCM Codec-0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: I2STDM [I2S-TDM], device 0: 1c22000.i2s-dit-hifi dit-hifi-0 [1c22000.i2s-dit-hifi dit-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 ARECORD **** List of CAPTURE Hardware Devices **** card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [CDC PCM Codec-0] Subdevices: 1/1 Subdevice #0: subdevice #0 !!Amixer output !!------------- !!-------Mixer controls for card Codec Card hw:0 'Codec'/'H3 Audio Codec' Mixer name : '' Components : '' Controls : 20 Simple ctrls : 12 Simple mixer control 'Line In',0 Capabilities: pvolume pvolume-joined pswitch cswitch Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 7 Front Left: Playback 3 [43%] [0.00dB] [off] Capture [off] Front Right: Playback 3 [43%] [0.00dB] [off] Capture [off] Simple mixer control 'Line Out',0 Capabilities: pvolume pvolume-joined pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 17 [55%] [-21.00dB] [on] Front Right: Playback 17 [55%] [-21.00dB] [on] Simple mixer control 'Line Out Source',0 Capabilities: penum Items: 'Stereo' 'Mono Differential' Item0: 'Stereo' Item1: 'Stereo' Simple mixer control 'Mic1',0 Capabilities: pvolume pvolume-joined pswitch cswitch Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 7 Front Left: Playback 3 [43%] [0.00dB] [off] Capture [off] Front Right: Playback 3 [43%] [0.00dB] [off] Capture [off] Simple mixer control 'Mic1 Boost',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 4 [57%] [33.00dB] Simple mixer control 'Mic2',0 Capabilities: pvolume pvolume-joined pswitch cswitch Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 7 Front Left: Playback 3 [43%] [0.00dB] [off] Capture [off] Front Right: Playback 3 [43%] [0.00dB] [off] Capture [off] Simple mixer control 'Mic2 Boost',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 4 [57%] [33.00dB] Simple mixer control 'Mixer',0 Capabilities: cswitch Capture channels: Front Left - Front Right Front Left: Capture [off] Front Right: Capture [off] Simple mixer control 'Mixer Reversed',0 Capabilities: cswitch Capture channels: Front Left - Front Right Front Left: Capture [off] Front Right: Capture [off] Simple mixer control 'ADC Gain',0 Capabilities: cvolume cvolume-joined Capture channels: Mono Limits: Capture 0 - 7 Mono: Capture 3 [43%] [0.00dB] Simple mixer control 'DAC',0 Capabilities: pvolume pvolume-joined pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 63 Mono: Front Left: Playback 45 [71%] [-20.88dB] [on] Front Right: Playback 45 [71%] [-20.88dB] [on] Simple mixer control 'DAC Reversed',0 Capabilities: pswitch Playback channels: Front Left - Front Right Mono: Front Left: Playback [off] Front Right: Playback [off] !!-------Mixer controls for card I2STDM Card hw:1 'I2STDM'/'I2S-TDM' Mixer name : '' Components : '' Controls : 0 Simple ctrls : 0 !!Alsactl output !!-------------- --startcollapse-- state.Codec { control.1 { iface MIXER name 'DAC Playback Volume' value 45 comment { access 'read write' type INTEGER count 1 range '0 - 63' dbmin -7308 dbmax 0 dbvalue.0 -2088 } } control.2 { iface MIXER name 'Line In Playback Volume' value 3 comment { access 'read write' type INTEGER count 1 range '0 - 7' dbmin -450 dbmax 600 dbvalue.0 0 } } control.3 { iface MIXER name 'Line Out Playback Volume' value 17 comment { access 'read write' type INTEGER count 1 range '0 - 31' dbmin -9999999 dbmax 0 dbvalue.0 -2100 } } control.4 { iface MIXER name 'Line Out Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.5 { iface MIXER name 'Mic2 Playback Volume' value 3 comment { access 'read write' type INTEGER count 1 range '0 - 7' dbmin -450 dbmax 600 dbvalue.0 0 } } control.6 { iface MIXER name 'Mic2 Boost Volume' value 4 comment { access 'read write' type INTEGER count 1 range '0 - 7' dbmin 0 dbmax 4200 dbvalue.0 3300 } } control.7 { iface MIXER name 'Mic1 Playback Volume' value 3 comment { access 'read write' type INTEGER count 1 range '0 - 7' dbmin -450 dbmax 600 dbvalue.0 0 } } control.8 { iface MIXER name 'Mic1 Boost Volume' value 4 comment { access 'read write' type INTEGER count 1 range '0 - 7' dbmin 0 dbmax 4200 dbvalue.0 3300 } } control.9 { iface MIXER name 'ADC Gain Capture Volume' value 3 comment { access 'read write' type INTEGER count 1 range '0 - 7' dbmin -450 dbmax 600 dbvalue.0 0 } } control.10 { iface MIXER name 'DAC Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.11 { iface MIXER name 'DAC Reversed Playback Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.12 { iface MIXER name 'Line In Playback Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.13 { iface MIXER name 'Mic1 Playback Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.14 { iface MIXER name 'Mic2 Playback Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.15 { iface MIXER name 'Mixer Capture Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.16 { iface MIXER name 'Mixer Reversed Capture Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.17 { iface MIXER name 'Line In Capture Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.18 { iface MIXER name 'Mic1 Capture Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.19 { iface MIXER name 'Mic2 Capture Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.20 { iface MIXER name 'Line Out Source Playback Route' value.0 Stereo value.1 Stereo comment { access 'read write' type ENUMERATED count 2 item.0 Stereo item.1 'Mono Differential' } } } state.I2STDM { control { } } --endcollapse-- !!All Loaded Modules !!------------------ autofs4 cpufreq_dt evdev g_serial gpio_keys industrialio ip_tables libcomposite lz4 lz4hc phy_generic rfkill snd_soc_spdif_tx sun4i_gpadc_iio sun8i_thermal sunrpc sunxi sunxi_cedrus u_serial uio uio_pdrv_genirq usb_f_acm v4l2_mem2mem videobuf2_common videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 x_tables zram !!ALSA/HDA dmesg !!-------------- [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: root=UUID=624ba56d-ffe4-4fdc-985e-9b0e59af56bf rootwait rootfstype=ext4 splash=verbose console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 consoleblank=0 loglevel=1 ubootpart= ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 [ 0.000000] Unknown kernel command line parameters "splash=verbose ubootpart= ubootsource=mmc sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory", will be passed to user space. -- [ 3.187883] of_cfs_init: OK [ 3.188537] ALSA device list: [ 3.188553] #0: H3 Audio Codec !!Packages installed !!-------------------- ii alsa-utils 1.2.4-1 armhf Utilities for configuring and using ALSA