Is there any way to get to the I2S pins on either NanoPi2 board? If you are running with an LCD there is no way to get audio. What is the point of having the LCD if the only way to get sound out is via HDMI?
NanoPi2 audio
RaspPi added the P5 header to allow access to I2S (PCM). http://elinux.org/RPi_Low-level_peripherals#P5_Header_pinout.2C_top_row With that header you make make a little daughter card with a codec on it and get audio in/out.
It's even ok to bring I2S out on a tiny 6 pin SMT microJST connector. There just needs to be some way to get it.
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
Hi...i am new to this forum. I have not worked much with the system about which you are sharing. I just want to say that 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.