n00b42 Posted March 27, 2025 Posted March 27, 2025 (edited) Hi, I just got my BPI-M4 Zero running, however I do not know how to get HDMI Audio output working (if it's possible at all) I installed: - Armbian_25.2.0-trunk.414_Bananapim4zero_trixie_current_6.6.72_minimal.img # uname -r 6.6.72-current-sunxi64 # lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Armbian 25.2.0-trunk.414 trixie Release: n/a Codename: trixie # aplay -l aplay: device_list:279: no soundcards found... # aplay -L null Discard all samples (playback) or generate zero samples (capture) pipewire PipeWire Sound Server default Default ALSA Output (currently PipeWire Media Server) # pacmd list-sinks No PulseAudio daemon running, or not running as session daemon. # pactl info Connection failure: Connection refused pa_context_connect() failed: Connection refused Is it possible? And if so, do I need some additional drivers or packages, or what do I need to configure? Edit: More Info: # alsa-info upload=true&script=true&cardinfo= !!################################ !!ALSA Information Script v 0.5.3 !!################################ !!Script ran on: Thu Mar 27 14:21:54 UTC 2025 !!Linux Distribution !!------------------ LINUXFAMILY=sunxi64 ARCH=arm64 INITRD_ARCH=arm64 LINUXFAMILY=sunxi64 ARCH=arm64 INITRD_ARCH=arm64 NAME="Debian GNU/Linux" ID=debian !!DMI Information !!--------------- Manufacturer: Product Name: Product Version: Firmware Version: System SKU: Board Vendor: Board Name: !!ACPI Device Status Information !!--------------- !!ACPI SoundWire Device Status Information !!--------------- !!Kernel Information !!------------------ Kernel release: #1 SMP Fri Jan 17 12:36:27 UTC 2025 Operating System: GNU/Linux Architecture: aarch64 Processor: unknown SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k6.6.72-current-sunxi64 Library version: Utilities version: 1.2.13 !!Loaded ALSA modules !!------------------- !!Sound Servers on this system !!---------------------------- PipeWire: Installed - Yes (/usr/bin/pipewire) Running - No No sound servers found. !!Soundcards recognised by ALSA !!----------------------------- --- no soundcards --- !!Modprobe options (Sound related) !!-------------------------------- snd_pcsp: 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/card* Driver: Tree: !!ALSA Device nodes !!----------------- crw-rw---- 1 root audio 116, 1 Mar 27 12:18 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Mar 27 12:18 /dev/snd/timer !!Aplay/Arecord output !!-------------------- APLAY aplay: device_list:279: no soundcards found... ARECORD arecord: device_list:279: no soundcards found... !!Amixer output !!------------- !!Alsactl output !!-------------- --startcollapse-- --endcollapse-- !!All Loaded Modules !!------------------ binfmt_misc bluetooth bnep brcmfmac brcmfmac_wcc brcmutil bridge btbcm btintel btqca btrtl cfg80211 cpufreq_dt display_connector dump_reg dw_hdmi_cec dw_hdmi_i2s_audio ecc ecdh_generic fuse hci_uart lz4 lz4hc mc nf_conntrack nf_conntrack_netlink nf_defrag_ipv4 nf_defrag_ipv6 nf_nat nf_tables nfnetlink nft_chain_nat nft_compat overlay polyval_ce polyval_generic rfkill snd_soc_hdmi_codec sunxi_cedrus v4l2_mem2mem veth videobuf2_common videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videodev xfrm_algo xfrm_user xt_MASQUERADE xt_addrtype xt_conntrack xt_nat zram !!ALSA/HDA dmesg !!-------------- [ 1.480279] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator [ 1.480506] sun8i-dw-hdmi 6000000.hdmi: Detected HDMI TX controller v2.12a with HDCP (DWC HDMI 2.0 TX PHY) [ 1.480792] sun8i-dw-hdmi 6000000.hdmi: EVENT=plugin [ 1.481012] sun8i-dw-hdmi 6000000.hdmi: registered DesignWare HDMI I2C bus driver [ 1.481279] sun4i-drm display-engine: bound 6000000.hdmi (ops 0xffff800080edc418) -- [ 1.670758] clk: Disabling unused clocks [ 1.670903] ALSA device list: [ 1.670912] No soundcards found. [ 1.680123] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00 -- [ 43.283245] WARNING: CPU: 3 PID: 1123 at fs/namespace.c:1245 cleanup_mnt+0x100/0x128 [ 43.283272] Modules linked in: xt_nat veth nf_conntrack_netlink xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bridge xfrm_user xfrm_algo xt_addrtype nft_compat nf_tables overlay bnep lz4hc brcmfmac_wcc lz4 hci_uart sunxi_cedrus(C) brcmfmac btqca btrtl brcmutil snd_soc_hdmi_codec btintel v4l2_mem2mem btbcm videobuf2_dma_contig bluetooth polyval_ce videobuf2_memops videobuf2_v4l2 ecdh_generic videodev ecc polyval_generic dw_hdmi_cec dw_hdmi_i2s_audio videobuf2_common mc zram dump_reg display_connector cpufreq_dt cfg80211 rfkill binfmt_misc fuse nfnetlink [ 43.283426] CPU: 3 PID: 1123 Comm: dockerd Tainted: G C 6.6.72-current-sunxi64 #1 !!Packages installed !!-------------------- ii alsa-utils 1.2.13-1 arm64 Utilities for configuring and using ALSA Edited March 27, 2025 by n00b42 0 Quote
c0rnelius Posted March 27, 2025 Posted March 27, 2025 There was no official audio routing for the h616 until recently and still none yet for HDMI. As far as I know? https://lore.kernel.org/linux-arm-kernel/20241023075917.186835-1-ryan@testtoast.com/T/ I believe there is unofficial patching for it available in Armbian for 6.6.y, but I never added the required nodes to test it. This would be why there is no functional audio on the unit as of yet. 0 Quote
n00b42 Posted March 27, 2025 Author Posted March 27, 2025 Thank you for the explanation. Is there a realisitic chance for it to be added in the near future? And could I assist with that? Or should I look out for alternatives (e.g. usb soundcard/speaker) ? 0 Quote
c0rnelius Posted March 27, 2025 Posted March 27, 2025 I'm waiting for the HDMI part of the audio patch to drop. There is currently discussion going on about the Audio in a private chat, concerning 6.12.y and up, but I haven't seen consensus yet. Once its reached, I will drop in the nodes. This could take time. 0 Quote
going Posted June 2, 2025 Posted June 2, 2025 1 час назад, -jk- сказал: Is there any news for HDMI audio on this board? Audio output via HDMI should work on all H616-H618 devices. This was tested on the bananapi-m4-berry board for current and edge kernels. In the pulseaudio settings applet, you need to make several switches back and forth (turn on/off) for the sound to appear. Tested on gnome, ubuntu. 0 Quote
going Posted June 2, 2025 Posted June 2, 2025 The analog audio output to the connector that is soldered to the board does not work for some reason. Although there is a code in the core, there is also a node in the DTS. 0 Quote
-jk- Posted June 2, 2025 Posted June 2, 2025 Thanks! Just run upgrade to 6.12.30 - and sounds works! (on 6.12.20 was no sound card in aplay -l ) 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.