BPI-R1 Audio
Banana pi BPI-R1 support two audio device HDMI and headphone
  • How to choose HDMI or headphone for audio output
    1
    sudo nano /etc/asound.conf
    Copied!
    1
    pcm.!default {
    2
    type hw
    3
    card 0 //If you want to set HDMI as output ,turn 0 to 1.
    4
    device 0
    5
    }
    6
    ctl.!default {
    7
    type hw
    8
    card 0 //If you want to set HDMI as output ,turn 0 to 1.
    9
    }
    Copied!
  • Plug in the headphone and type
    1
    speaker-test -twav -c2
    Copied!
  • The sound "sound left,sound right,sound left" will output from headphone.
    1
    sudo apt-get install espeak
    2
    espeak "hello"   //say: hello
    3
    espeak "hello_bananapi"   //say: hello banana pi
    Copied!
  • Run the sound volume controler,you can see
    1
    sudo alsamixer
    Copied!
Copy link