I have a Raspberry Pi B running Arch ARM. I have setup NFS with my media server. I'm trying to stream music from it and play it with mdp through ncmpcpp (with alsamixer).

I have tried turning up the sound in alsamixer as well as running modprobe snd_bcm2835. I have also tried to play the files with aplay rather than ncmpcpp with no luck.


Linux lithharbor 3.12.7-4-ARCH #1 PREEMPT Mon Jan 20 13:14:34 MST 2014 armv6l GNU/Linux

aplay -L:

    Discard all samples (playback) or generate zero samples (capture)
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device


cat /proc/asound/card0/pcm0p/sub0/hw_params


# See: /usr/share/doc/mpd/mpdconf.example

user "mpd"
pid_file "/run/mpd/mpd.pid"
db_file "/var/lib/mpd/mpd.db"
state_file "/var/lib/mpd/mpdstate"
playlist_directory "/var/lib/mpd/playlists"

music_directory "/net/henesys/music"
bind_to_address ""
mixer_type      "software"
  • You could try forcing the audio to 3.5mm jack through "sudo raspi-config"
    – mrpi64
    Feb 11 '14 at 8:35
  • I am running Archlinux for ARM, so Raspbian/Debian commands will not work. However, I did figure out how to fix this issue with the answer below.
    – 에이바
    Feb 11 '14 at 16:04

I got this working by running the following command to configure which audio output to use:

amixer cset numid=3 1

The last number is the audio output with 1 being the 3.5 jack, 2 being HDMI and 0 being auto.

  • Whats numid=3 do?
    – spinkus
    Nov 5 '14 at 12:08

The amixer command can list all control interfaces:

$ amixer controls
numid=3,iface=MIXER,name='PCM Playback Route'
numid=2,iface=MIXER,name='PCM Playback Switch'
numid=1,iface=MIXER,name='PCM Playback Volume'
numid=5,iface=PCM,name='IEC958 Playback Con Mask'
numid=4,iface=PCM,name='IEC958 Playback Default'

numid3 is the Playback Route and can be set as described above: 1 = 3.5 jack, 2 = HDMI and 0 = auto

using amixer cset numid=3 1 forces output to the 3.5mm jack.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.