josefelix wrote:
Hello
Please tell me how to get sound or attach external speakers to NanoPi2
Thanks
jose felix
HDMI Audio Output/3.5mm Audio Jack Output Under Debian
By default our Debian system's HDMI output doesn't have audio output. To enable the HDMI audio output you need to install the alsa packages
Firstly, make sure your board runs our latest Debian image and is connected to the internet:
After your board is powered up run the following commands:
apt-get update
apt-get install libasound2
apt-get install alsa-base
apt-get install alsa-utilsAfter the installation is done copy a ".wav" audio file to your NanoPi 2, connect your NanoPi 2 to an HDMI monitor and play it by using the following command:
aplay music.wav