HowTo working with MPD and analog sound - Printable Version

+- PINE64 (
+-- Forum: PINE A64(+) (
+--- Forum: Linux on Pine A64(+) (
+---- Forum: Debian (
+---- Thread: HowTo working with MPD and analog sound (/showthread.php?tid=2309)

HowTo working with MPD and analog sound - caragk - 10-02-2016

I did want to use my Pine64 as a Music Player Daemon linked to my sound system with the jack thing. It took me some time and I made this thread to help those who want to do quite the same thing. I hope my English will be undersandable.

To work with the jack and audiocodec the longsleep's posts helped a lot : To get rid of the need of sudoing alsamixer :
sudo usermod -a -G audio username

The MPD package is not in the stable or backports repositories. In fact it is. But not with the arm64 arch. So you can install it with its dependencies in a multi-arch way (mpd:armhf). I prefer another way : mpd:arm64 is in the testing repo. I find much easier (and safier) to deal with testing than with multiarch.

The difficulty then was to find the proper settings for the sound card (amixer helped a lot). Here they are :
audio_output {
    type        "alsa"
    name        "My ALSA Device"
    device        "hw:1"
    mixer_type      "hardware"
    mixer_device    "hw:1"
    mixer_control    "headphone volume"
    mixer_index    "0"

And then it worked.

RE: HowTo working with MPD and analog sound - afroid - 10-27-2016

Can you list the base OS and repositories for this configuration? I cannot get MPD to install!

RE: HowTo working with MPD and analog sound - caragk - 11-06-2016

I remember MPD packet was'nt in stable or backports repositories for armhf arch. So I needed to install the testing repository.

Here is my config :

$ uname -a
Linux 3.10.102-3-pine64-longsleep #98 SMP PREEMPT Sat Aug 20 22:28:17 CEST 2016 aarch64 GNU/Linux
$ aptitude versions ^mpd~i
Paquet mpd :                                    
i   0.19.19-1                                       testing                              100
$ cat /etc/apt/source.list
deb stable main contrib non-free
deb-src stable main contrib non-free
deb jessie/updates main contrib non-free
deb-src jessie/updates main contrib non-free
deb jessie-updates main contrib non-free
deb-src jessie-updates main contrib non-free
deb jessie-backports main contrib non-free
deb testing main contrib non-free
$ cat /etc/apt/preferences
Package: *
Pin: release o=Debian,a=testing,l=Debian
Pin-Priority: 90

Package: *
Pin: release o=Debian,a=stable,l=Debian-Security
Pin-Priority: 900

Package: *
Pin: release o=Debian,a=stable,l=Debian
Pin-Priority: 900

Package: *
Pin: release o=Debian,a=jessie-updates,l=Debian
Pin-Priority: 800

Package: *
Pin: release o=Debian Backports,a=jessie-backports,l=Debian Backports
Pin-Priority: 700

Package: *
Pin: release o=Debian,a=jessie-backports,l=Debian
Pin-Priority: 700

RE: HowTo working with MPD and analog sound - jkmooney - 11-09-2016

I had given up on getting JACK to work based on what I was reading about it not playing well with ARM but, if you've got it working, that's pretty cool Smile. If I can get it running and working with guitarix I may yet put this board in my son's dead practice amp.