![]() |
|
HowTo working with MPD and analog sound - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6) +---- Forum: Debian (https://forum.pine64.org/forumdisplay.php?fid=24) +---- 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 :
Code: sudo usermod -a -G audio usernameThe 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 : Code: /etc/mpd.conf
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 : Code: $ uname -a
Linux xxx.example.com 3.10.102-3-pine64-longsleep #98 SMP PREEMPT Sat Aug 20 22:28:17 CEST 2016 aarch64 GNU/LinuxCode: $ aptitude versions ^mpd~i
Paquet mpd :
i 0.19.19-1 testing 100Code: $ cat /etc/apt/source.list
deb http://ftp.fr.debian.org/debian stable main contrib non-free
deb-src http://ftp.fr.debian.org/debian stable main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.fr.debian.org/debian jessie-updates main contrib non-free
deb-src http://ftp.fr.debian.org/debian jessie-updates main contrib non-free
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
deb http://ftp.fr.debian.org/debian testing main contrib non-freeCode: $ 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: 700RE: 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 . If I can get it running and working with guitarix I may yet put this board in my son's dead practice amp.Thanks. |