Nanopi2 Audio problem

rasul
Hi,

I've received my nanopi2 board yesterday, after booting the Debian linux,
unfortunately there were  no audio system. 

would you please help me how to set up its audio?!

regards,
Rasul

FATechsupport
Hi the Pi2 doesn't have an audio port however if you connect it to an HDMI
and boots Android on the board you can get HDMI audio.

Meisam
Hi
How about USB audio chips ? like CM102S ; does it work on Debian or Android
?

sdobridnuk
Hi !

I have some question too. Can I transfer audio to connected Bluetooth
device (like wireless headphone) when HDMI cable is connected ?
In this case (android) audio signal sent only to HDMI

Best regards, Serge

jjm
hello,
     If you want to use audio for nanopi2 ,you all can use USB audio chips
. 
      You can make debian kernel of nanopi2 ,and configure the kernel
config such as :

      make nanopi2_linux_defconfig
make menuconfig
Device Drivers -->
  Sound card support -->
  --- Sound card support
  [*] Preclaim OSS device numbers
  <*> Advanced Linux Sound Architecture -->
  --- Advanced Linux Sound Architecture
    <*>  OSS Mixer API
    <*>  OSS PCM (digital audio) API
     [ *]   OSS PCM (digital audio) API - Include plugin system
     [* ]   USB sound devices --->
     <*>  ALSA for SoC audio support --->

     After compiling the kernel , you have to make sure your board can be
used internet , and do such steps to install the lib of audio:
#apt-get update
#apt-get install pulse-audio
#apt-get install libasound2
#apt-get install alsa-base
#apt-get install alsa-utils
 
      Now you can play one music :
#aplay music.wav