HowTo working with MPD and analog sound
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.
Can you list the base OS and repositories for this configuration? I cannot get MPD to install!
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
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.


Possibly Related Threads…
Thread Author Replies Views Last Post
Information Howto: OctoPrint Working on Pine 64 chaos_actual125 22 49,813 07-11-2021, 04:13 AM
Last Post: zer0sig
  Captive portal at school not working on the Pinebook pro WilliamZieg 2 4,569 02-06-2020, 10:41 PM
Last Post: xmixahlx
  Q4OS WiFi Dongle not working cheezmeister 3 4,690 04-07-2017, 08:01 AM
Last Post: iccoldbeer
Music Getting analog audio/sound to work (headphones socket) on debian pfeerick 7 25,652 12-30-2016, 07:37 AM
Last Post: Birneklub9
Exclamation JAVA App. not working correct wrongway 0 2,138 09-14-2016, 11:14 AM
Last Post: wrongway
  Anyone got jackd working? jkmooney 4 6,148 08-27-2016, 08:18 AM
Last Post: pfeerick
  Internet not working properly 2 4,200 06-17-2016, 01:12 AM
Last Post:
  wget not working? slerched 3 5,385 06-01-2016, 08:15 AM
Last Post: slerched
  Wireless mouse & kbd recognized but not working thehamguy1 9 10,855 05-17-2016, 11:44 AM
Last Post: thehamguy1

Forum Jump:

Users browsing this thread: 1 Guest(s)