!!################################ !!ALSA Information Script v 0.4.64 !!################################ !!Script ran on: Fri Nov 18 17:22:14 UTC 2022 !!Linux Distribution !!------------------ BUILD_REPOSITORY_COMMIT=aec64805a ARCH=arm INITRD_ARCH=arm ARCH=arm INITRD_ARCH=arm DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 20.04.5 LTS" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=focal !!DMI Information !!--------------- Manufacturer: Product Name: Product Version: Firmware Version: Board Vendor: Board Name: !!ACPI Device Status Information !!--------------- !!Kernel Information !!------------------ Kernel release: 5.15.74-sunxi Operating System: GNU/Linux Architecture: armv7l Processor: armv7l SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k5.15.74-sunxi Library version: 1.2.2 Utilities version: 1.2.2 !!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 !!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 snd_atiixp_modem: index=-2 snd_intel8x0m: index=-2 snd_via82xx_modem: index=-2 snd_usb_audio: index=-2 snd_usb_caiaq: index=-2 snd_usb_ua101: index=-2 snd_usb_us122l: index=-2 snd_usb_usx2y: index=-2 snd_cmipci: mpu_port=0x330 fm_port=0x388 snd_pcsp: index=-2 snd_usb_audio: index=-2 !!Loaded sound module options !!--------------------------- !!ALSA Device nodes !!----------------- crw-rw---- 1 root audio 116, 4 Nov 18 16:54 /dev/snd/controlC0 crw-rw---- 1 root audio 116, 3 Nov 18 16:54 /dev/snd/pcmC0D0c crw-rw---- 1 root audio 116, 2 Nov 18 16:54 /dev/snd/pcmC0D0p crw-rw---- 1 root audio 116, 1 Nov 18 16:54 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Nov 18 16:54 /dev/snd/timer /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 60 Nov 18 16:54 . drwxr-xr-x 3 root root 160 Nov 18 16:54 .. lrwxrwxrwx 1 root root 12 Nov 18 16:54 platform-1c22c00.codec -> ../controlC0 !!ALSA configuration files !!------------------------ !!System wide config file (/etc/asound.conf) # Thanks to: http://alsa.opensrc.org/Asoundrc#Dupe_output_to_multiple_cards # https://sourceforge.net/p/alsa/mailman/message/33476395/ # Check that a MUTE doesn't exist on the Audio Line Out for Orange PI PC # or you'll get no sound other than via HDMI pcm.!default { type plug slave.pcm "analog-dmixer" } # Create the Software Mixer for Analogue Out and then link to hardware pcm.analog-dmixer { type dmix ipc_key 1024 slave { #pcm "hw:0,0" # pcm "duplicate" # pcm "hdmi-hw" pcm "analog-hw" period_time 0 period_size 1024 buffer_size 4096 rate 44100 } bindings { 0 0 1 1 } } ctl.analog-dmixer { type hw card 0 } ctl.!default { type hw card 0 } !!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 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 26 [84%] [-7.50dB] [on] Front Right: Playback 26 [84%] [-7.50dB] [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 44 [70%] [-22.04dB] [off] Front Right: Playback 44 [70%] [-22.04dB] [off] Simple mixer control 'DAC Reversed',0 Capabilities: pswitch Playback channels: Front Left - Front Right Mono: Front Left: Playback [off] Front Right: Playback [off] !!Alsactl output !!-------------- --startcollapse-- state.Codec { control.1 { iface MIXER name 'DAC Playback Volume' value 44 comment { access 'read write' type INTEGER count 1 range '0 - 63' dbmin -7308 dbmax 0 dbvalue.0 -2204 } } 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 26 comment { access 'read write' type INTEGER count 1 range '0 - 31' dbmin -9999999 dbmax 0 dbvalue.0 -750 } } 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 false value.1 false 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' } } } --endcollapse-- !!All Loaded Modules !!------------------ aes_arm_bs autofs4 ccm cfg80211 cpufreq_dt crypto_simd g_serial industrialio ip_tables libarc4 libcomposite lz4 lz4hc mac80211 phy_generic pstore_blk pstore_zone pwrseq_simple ramoops reed_solomon rfkill sch_fq_codel spidev sun4i_gpadc_iio sun8i_thermal sunrpc sunxi u_serial uio uio_pdrv_genirq usb_f_acm x_tables xradio_wlan zram !!ALSA/HDA dmesg !!-------------- [ 3.342561] of_cfs_init: OK [ 3.343267] ALSA device list: [ 3.343288] #0: H3 Audio Codec