!!################################ !!ALSA Information Script v 0.4.64 !!################################ !!Script ran on: Fri Mar 13 20:09:39 UTC 2020 !!Linux Distribution !!------------------ Ubuntu 18.04.4 LTS \n \l ARCH=arm INITRD_ARCH=arm ARCH=arm INITRD_ARCH=arm DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS" NAME="Ubuntu" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.4 LTS" 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=bionic !!DMI Information !!--------------- Manufacturer: Product Name: Product Version: Firmware Version: !!Kernel Information !!------------------ Kernel release: 4.19.104-sunxi Operating System: GNU/Linux Architecture: armv7l Processor: armv7l SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k4.19.104-sunxi Library version: 1.1.3 Utilities version: 1.1.3 !!Loaded ALSA modules !!------------------- (null) snd_soc_simple_card !!Sound Servers on this system !!---------------------------- Pulseaudio: Installed - Yes (/usr/bin/pulseaudio) Running - Yes !!Soundcards recognised by ALSA !!----------------------------- 0 [Codec ]: H3_Audio_Codec - H3 Audio Codec H3 Audio Codec 1 [allwinnerhdmi ]: allwinner_hdmi - allwinner,hdmi allwinner,hdmi !!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: (null) * : !!Module: snd_soc_simple_card * : !!ALSA Device nodes !!----------------- crw-rw---- 1 root audio 116, 0 Mar 13 17:02 /dev/snd/controlC0 crw-rw---- 1 root audio 116, 32 Mar 13 17:02 /dev/snd/controlC1 crw-rw---- 1 root audio 116, 24 Mar 13 17:02 /dev/snd/pcmC0D0c crw-rw---- 1 root audio 116, 16 Mar 13 17:02 /dev/snd/pcmC0D0p crw-rw---- 1 root audio 116, 48 Mar 13 17:02 /dev/snd/pcmC1D0p crw-rw---- 1 root audio 116, 1 Mar 13 17:02 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Mar 13 17:02 /dev/snd/timer /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 80 Mar 13 17:02 . drwxr-xr-x 3 root root 200 Mar 13 17:02 .. lrwxrwxrwx 1 root root 12 Mar 13 17:02 platform-1c22c00.codec -> ../controlC0 lrwxrwxrwx 1 root root 12 Mar 13 17:02 platform-soc:sound -> ../controlC1 !!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 "duplicate" } ctl.!default { type hw card 0 } # Create the Software Mixer for HDMI and then link to hardware pcm.hdmi-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.hdmi-dmixer { type hw card 0 } # Create the Software Mixer for Analogue Out and then link to hardware pcm.analog-dmixer { type dmix ipc_key 2048 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 } # Route the audio requests to both hardware devices via the mixer. # For some reason we can't have one mixer and then route to two hardware # devices (would be more efficient). pcm.duplicate { type route slave.pcm { type multi slaves { a { pcm "analog-dmixer" channels 2 } h { pcm "hdmi-dmixer" channels 2 } } bindings [ { slave a channel 0 } { slave a channel 1 } { slave h channel 0 } { slave h channel 1 } ] } ttable [ [ 1 0 1 0 ] [ 0 1 0 1 ] ] } ctl.duplicate { type hw; card 0; } # Physical Output Device Mappings - Analogue and HDMI for Orange PI PC pcm.analog-hw { type hw card 0 } pcm.hdmi-hw { type hw card 1 } !!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: allwinnerhdmi [allwinner,hdmi], device 0: 1c22800.i2s-i2s-hifi i2s-hifi-0 [1c22800.i2s-i2s-hifi i2s-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 0 [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 7 [100%] [6.00dB] [off] Capture [off] Front Right: Playback 7 [100%] [6.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 31 [100%] [0.00dB] [on] Front Right: Playback 31 [100%] [0.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 7 [100%] [6.00dB] [off] Capture [on] Front Right: Playback 7 [100%] [6.00dB] [off] Capture [on] Simple mixer control 'Mic1 Boost',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 7 [100%] [42.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 7 [100%] [6.00dB] [off] Capture [off] Front Right: Playback 7 [100%] [6.00dB] [off] Capture [off] Simple mixer control 'Mic2 Boost',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 7 Mono: 7 [100%] [42.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 7 [100%] [6.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 63 [100%] [0.00dB] [on] Front Right: Playback 63 [100%] [0.00dB] [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 1 [allwinnerhdmi] Card hw:1 'allwinnerhdmi'/'allwinner,hdmi' Mixer name : '' Components : '' Controls : 2 Simple ctrls : 0 !!Alsactl output !!-------------- --startcollapse-- state.Codec { control.1 { iface MIXER name 'DAC Playback Volume' value 63 comment { access 'read write' type INTEGER count 1 range '0 - 63' dbmin -7308 dbmax 0 dbvalue.0 0 } } control.2 { iface MIXER name 'Line In Playback Volume' value 7 comment { access 'read write' type INTEGER count 1 range '0 - 7' dbmin -450 dbmax 600 dbvalue.0 600 } } control.3 { iface MIXER name 'Line Out Playback Volume' value 31 comment { access 'read write' type INTEGER count 1 range '0 - 31' dbmin -9999999 dbmax 0 dbvalue.0 0 } } 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 7 comment { access 'read write' type INTEGER count 1 range '0 - 7' dbmin -450 dbmax 600 dbvalue.0 600 } } control.6 { iface MIXER name 'Mic2 Boost Volume' value 7 comment { access 'read write' type INTEGER count 1 range '0 - 7' dbmin 0 dbmax 4200 dbvalue.0 4200 } } control.7 { iface MIXER name 'Mic1 Playback Volume' value 7 comment { access 'read write' type INTEGER count 1 range '0 - 7' dbmin -450 dbmax 600 dbvalue.0 600 } } control.8 { iface MIXER name 'Mic1 Boost Volume' value 7 comment { access 'read write' type INTEGER count 1 range '0 - 7' dbmin 0 dbmax 4200 dbvalue.0 4200 } } control.9 { iface MIXER name 'ADC Gain Capture Volume' value 7 comment { access 'read write' type INTEGER count 1 range '0 - 7' dbmin -450 dbmax 600 dbvalue.0 600 } } 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 true value.1 true 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.allwinnerhdmi { control.1 { iface PCM name 'Playback Channel Map' value.0 0 value.1 0 value.2 0 value.3 0 value.4 0 value.5 0 comment { access read type INTEGER count 6 range '0 - 36' } } control.2 { iface PCM name ELD value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access 'read volatile' type BYTES count 128 } } } --endcollapse-- !!All Loaded Modules !!------------------ Module overlay zstd snd_soc_hdmi_codec zram snd_soc_simple_card snd_soc_simple_card_utils dw_hdmi_cec dw_hdmi_i2s_audio lima gpu_sched ttm sun4i_gpadc_iio sun8i_codec_analog sun4i_i2s sun8i_adda_pr_regmap 8189fs sun4i_codec sunxi_cir industrialio snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer sun8i_ths snd soundcore cfg80211 evdev cpufreq_dt thermal_sys uio_pdrv_genirq uio sch_fq_codel ip_tables x_tables pwrseq_simple sy8106a_regulator !!ALSA/HDA dmesg !!-------------- [ 1.985799] sun8i-dw-hdmi 1ee0000.hdmi: Linked as a consumer to regulator.0 [ 1.986577] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy) [ 1.986911] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver [ 1.987133] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0987ebc) -- [ 5.613381] zram1: detected capacity change from 0 to 507944960 [ 5.722427] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok [ 6.656200] Adding 496036k swap on /dev/zram1. Priority:5 extents:1 across:496036k SSFS