Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 17758  / 3 Years ago, wed, july 21, 2021, 1:10:05

I had mpd/mpc running on my Ubuntu 12.04.3 LTS headless, X-less server. I decided to switch out the songs; I moved the old songs out of the /Music directory, moved the new songs in, and ran mpc update, but it failed to resume playing.



Naturally, I started changing things, according to what I could find on Google, but nothing seems to work.



When I run mpc commands, like mpc status, I get the error message Failed to read mixer for 'My ALSA Device': no such mixer control: PCM.



I can play music when I use the command sudo aplay piano.wav, and similar commands.



Here's some diagnostic info: http://pastebin.com/1CzbeYBC. It contains




  • /etc/mpd.conf

  • aplay -L

  • aplay -l

  • mpd verbose from the command line

  • amixer & amixer contents



I would appreciate any pointers! Thank you.


More From » 12.04

 Answers
0

@CL was right; alsa was working but mpd was not.



I discovered that if I switched to the home folder of the mpd user (export HOME=/var/log/mpd), the aplay commands (e.g. sudo -u mpd aplay /usr/share/sounds/alsa/Front_Center.wav) would no longer work.



More Googling until I found http://ubuntuforums.org/showthread.php?t=1138454



The solution was sudo apt-get remove pulseaudio. Once that was done, everything was working again.


[#28207] Thursday, July 22, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hentor

Total Points: 482
Total Questions: 104
Total Answers: 111

Location: South Korea
Member since Sun, Dec 25, 2022
1 Year ago
;