Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Banana Pi M2 audio support

Featured Replies

Hello there,

Some time ago there was a note about "no sound in M2" and what about present time? Just tried 5.24 and still:

root@bananapim2:~# lsmod 
Module                  Size  Used by
evdev                   9348  0 
ir_lirc_codec           4088  0 
lirc_dev                6245  1 ir_lirc_codec
sunxi_cir               3159  0 
sun4i_ts                3350  0 
sun4i_ss               13314  0 
uio_pdrv_genirq         2780  0 
uio                     6272  1 uio_pdrv_genirq
cpufreq_dt              2856  0 
sun4i_codec            10232  0 
snd_soc_core           97900  1 sun4i_codec
snd_pcm_dmaengine       2770  1 snd_soc_core
snd_pcm                57610  2 snd_pcm_dmaengine,snd_soc_core
snd_timer              14718  1 snd_pcm
snd                    35719  3 snd_timer,snd_soc_core,snd_pcm
soundcore                858  1 snd
bonding                81296  0 
brcmfmac              144130  0 
brcmutil                4189  1 brcmfmac
cfg80211              327843  1 brcmfmac
rfkill                  8383  1 cfg80211
fuse                   61845  1 
pwrseq_simple           2002  1 
realtek                 2583  0 
root@bananapim2:~# 
root@bananapim2:~# 
root@bananapim2:~# cat /proc/asound/cards 
--- no soundcards ---
root@bananapim2:~# alsamixer 
cannot open mixer: No such file or directory
root@bananapim2:~# 

Is it forever?

Mainline kernel 4.10 with some extra patches or 4.11 will support the analog audio output on A31/A31s based devices = on Banana Pi M2): https://linux-sunxi.org/Linux_mainlining_effort#Status_Matrix

Even tohough it's possible to make an image with the sound support right now, it would take too much work for a single feature on a single board, so it won't be included in the next Armbian release (5.25), but it may reach the release after that or experimental/nightly releases.

14 hours ago, NewtoM said:

I would like to mention that I am also waiting (see https://forum.armbian.com/index.php?/topic/564-alsa-sound-on-a31s-based-banana-pi-m2-bpi-m2/) for working audio with Armbian for Banana Pi M2.

 

It should be possible to enable analog audio and SPDIF with a device tree patches similar to these:

Analog audio - this or this, depending on audio routing, may require changing the audio routing property.

SPDIF - this, may require the latest kernel that is not available in the stable Armbian release.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.