0
chuvak2007f

How to start a sound?

Recommended Posts

(edited)

How to start a sound&microphone on the Orange Pi Zero 2+ H3?

root@orangepizeroplus2:/# aplay -l
aplay: device_list:268: no soundcards found...

root@orangepizeroplus2:~# uname -a
Linux orangepizeroplus2 4.11.5-sun8i #3 SMP Thu Aug 3 08:36:37 CEST 2017 armv7l armv7l armv7l GNU/Linux

root@orangepizeroplus2:~# lsmod
Module                  Size  Used by
can_raw                16384  1
bluetooth             270336  0
qmi_wwan               24576  0
qcserial               16384  2
usb_wwan               16384  1 qcserial
sun8i_codec_analog     24576  0
snd_soc_core          122880  1 sun8i_codec_analog
snd_pcm_dmaengine      16384  1 snd_soc_core
usbserial              32768  6 qcserial,usb_wwan
snd_pcm                77824  2 snd_pcm_dmaengine,snd_soc_core
sun8i_ths              16384  0
uio_pdrv_genirq        16384  0
cpufreq_dt             16384  0
uio                    16384  1 uio_pdrv_genirq
thermal_sys            57344  2 cpufreq_dt,sun8i_ths
mcp251x                20480  0
can_dev                24576  1 mcp251x
can                    36864  1 can_raw
usb_f_acm              16384  1
u_serial               20480  3 usb_f_acm
g_serial               16384  0
libcomposite           40960  2 g_serial,usb_f_acm
brcmfmac              172032  0
brcmutil               16384  1 brcmfmac
cfg80211              204800  1 brcmfmac
rfkill                 24576  5 bluetooth,cfg80211

 

Edited by zador.blood.stained
Moved to the mainline section

Share this post


Link to post
Share on other sites

Maybe you get some ideas from   jeromebrunet git meson audio patches . You need to have similar  drivers and dtb files for Allwinner. I got this with Amlogic S912 and the mainline Linux kernel:

root@amlogic:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: mesonspdifdai1a [meson-spdif-dai.1.auto-dit-hifi], device 0: meson-spdif-dai.1.auto-dit-hifi dit-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

root@amlogic:~# aplay 125_crispy-funkbeat.wav 
Playing WAVE '125_crispy-funkbeat.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
0