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.
sudo? Don't you have access to the device nodes in/dev/snd/? Are you member of theaudiogroup? – CL. Nov 28 '13 at 18:04amixer set "PCM" 0dBwork? If yes, something has changed with the mpd configuration. – CL. Nov 29 '13 at 22:07amixer set "PCM" 0dBgives me the following output:Simple mixer control 'PCM',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 23 [74%] [0.00dB] [on] Front Right: Playback 23 [74%] [0.00dB] [on]which is a change fromPlayback 28 [90%] [7.50dB]– user220227 Nov 30 '13 at 00:20amixerandaplaywork, then there is nothing wrong with your ALSA configuration. It is possible that mpd does not have rights you think it has. – CL. Nov 30 '13 at 09:44