You are not logged in.

#1 2011-10-05 17:36:40

frodoontop
Member
From: Netherlands
Registered: 2004-05-18
Posts: 37
Website

Mpd problems with pulseaudio install (pulled by gdm)

In case anyone else finds that mpd stopped working with latest updates.

In /var/log/mpd/mpd.conf I found:
Oct 05 19:28 : output: Failed to open "My ALSA Device" [alsa]: Failed to open ALSA device "default": Connection refused

I solved it by (as root):
mv /etc/asound.conf /etc/asound.conf.trash

After a restart of mpd it should work again.

Offline

#2 2011-10-06 13:43:07

dw
Member
From: Vienna, Austria
Registered: 2006-11-25
Posts: 160

Re: Mpd problems with pulseaudio install (pulled by gdm)

nice tip, thx for sharing!

Offline

#3 2011-10-06 14:24:05

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: Mpd problems with pulseaudio install (pulled by gdm)

frodoontop wrote:

In case anyone else finds that mpd stopped working with latest updates.

In /var/log/mpd/mpd.conf I found:
Oct 05 19:28 : output: Failed to open "My ALSA Device" [alsa]: Failed to open ALSA device "default": Connection refused

I solved it by (as root):
mv /etc/asound.conf /etc/asound.conf.trash

After a restart of mpd it should work again.

But do you know what you actually did?

Offline

#4 2011-10-06 14:57:56

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Mpd problems with pulseaudio install (pulled by gdm)

GogglesGuy wrote:
frodoontop wrote:

In case anyone else finds that mpd stopped working with latest updates.

In /var/log/mpd/mpd.conf I found:
Oct 05 19:28 : output: Failed to open "My ALSA Device" [alsa]: Failed to open ALSA device "default": Connection refused

I solved it by (as root):
mv /etc/asound.conf /etc/asound.conf.trash

After a restart of mpd it should work again.

But do you know what you actually did?

If you have pulse installed a) use it or b) disable its autospawn feature...

for a) install pulseaudio-alsa and set up mpd to use it. for b) use google. its something like autospawn=no in some pulseaudio config file smile


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#5 2011-10-12 03:58:21

JGobeil
Member
Registered: 2011-10-12
Posts: 8

Re: Mpd problems with pulseaudio install (pulled by gdm)

I solved this problem by changing the user of the mpd deamon to myself (the one who run pulseaudio via gnome 3). Doing that you also need to change the owner of the files that mpd write to (defined in /etc/mpd.conf).

Ref : https://wiki.archlinux.org/index.php/PulseAudio#mpd

Offline

Board footer

Powered by FluxBB