2011/10/10 Roman V.Leon. <roman-vl@xxxxxxx>: > >> On Monday, October 10, 2011, Martti Kühne wrote: >> >>> 2011/10/10 Roman V.Leon. : >>> >> On Monday, October 10, 2011, Martti Kühne wrote: >>> >> >>> >>> On Mon, Oct 10, 2011 at 3:25 AM, Madhurya Kakati >>> >>> >>> >>> wrote: >>> >>> > On Sunday, October 9, 2011, Martti Kühne wrote: >>> >>> > >>> >>> >> On Sun, Oct 9, 2011 at 7:09 PM, Madhurya Kakati >>> >>> >> > >>> >>> >> wrote: >>> >>> >> > >>> >>> >> > The last entry in mpd.log is from 02 oct. I doubt that will help. >>> >>> >> However >>> >>> >> > when I try to start mpd I get this error, [papul@archlinux ~]$ >>> >>> >> > sudo rc.d start mpd >>> >>> >> > :: Starting Music Player Daemon >>> >>> >> > [BUSY] /etc/rc.d/mpd: line 6: 9910 Aborted >>> >>> /usr/bin/mpd >>> >>> >> > /etc/mpd.conf &>/dev/null >>> >>> >> > >>> >>> >> >>> >>> >> Usually I put in hashes ('#') into the /etc/rc.d/mpd script to >>> >>> >> check what output there is destroyed. Could be useful. >>> >>> >> >>> >>> >> cheers! >>> >>> >> mar77i >>> >>> >> >>> >>> > >>> >>> > After adding '#' in /etc/rc.d/mpd here's what I get when I try to >>> >>> > start >>> >>> it, >>> >>> > [papul@archlinux ~]$ sudo rc.d start mpd >>> >>> > :: Starting Music Player Daemon >>> >>> > [BUSY] listen: bind to '0.0.0.0:6600' failed: Address already in >>> >>> > use (continuing anyway, because binding to '[::]:6600' succeeded) >>> >>> > output: No "audio_output" defined in config file >>> >>> > output: Attempt to detect audio output device >>> >>> > output: Attempting to detect a alsa audio device ALSA lib >>> >>> > pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: >>> >>> > Connection refused >>> >>> > >>> >>> > alsa: Error opening default ALSA device: Connection refused >>> >>> > output: Attempting to detect a oss audio device >>> >>> > oss: Error opening OSS device "/dev/dsp": No such file or directory >>> >>> > oss: Error opening OSS device "/dev/sound/dsp": No such file or >>> >>> > directory >>> >>> > output: Attempting to detect a pulse audio device >>> >>> > mpd: src/output/pulse_output_plugin.c:400: >>> pulse_output_wait_connection: >>> >>> > Assertion `po->mainloop != ((void *)0)' failed. >>> >>> > /etc/rc.d/mpd: line 6: 27833 Aborted /usr/bin/mpd >>> >>> > /etc/mpd.conf >>> >>> > >>> >>> > [FAIL] >>> >>> > >>> >>> >>> >>> >>> >>> wow that fails for several reasons. you should: >>> >>> 1. configure alsa in mpd.conf, then mpd will be mixed over dmix (which >>> >>> won't fix the actual problem) 2. make sure the user which runs mpd to >>> >>> the audio group and figure out why both alsa and pulse would refuse >>> >>> the connection. >>> >>> who (uid/gid) runs those, what other security mechanisms could stick >>> >>> in between, like a too restrictively configured firewall etc. >>> >>> >>> >>> oh and you should figure out if mpd is already running, or if this >>> >>> config option is plain wrong that makes mpd try to "bind to >>> >>> '0.0.0.0:6600' failed: Address already in use" ... sometimes mpd hangs >>> >>> up and you have to kill it with SIGABRT / 6. >>> >>> >>> >>> I'm just at a very similar issue a friend of mine is having with mpd >>> >>> and jack. you should get those permissions right in the first place... >>> >>> :) I'll go there and adjust /etc/group until it works, I guess. >>> >>> >>> >>> cheers! >>> >>> mar77i >>> >>> >>> >> >>> >> >>> >> Forget about mpd. Why doesn't audio play on vlc and in browsers? I >>> > regularly visit sites like grooveshark,com. Also I do have my username >>> > in audio group. >>> >> Everything was fine until I ran pacman -Syu. :( >>> > >>> > Hello Martti. >>> > Please show 'ls -l /dev/snd/' output and try to launch alsamixer(under >>> > root and unprivileged user) copy all error messages. Be sure that you >>> have >>> > alsa-utils installed and alsa daemon is running. >>> > >>> > Cheers, >>> > Roman. >>> > >>> > >>> > ______________________________ >>> > Рhey Roman, >>> >>> I was trying to help here, funny enough running into the exact same >>> problem today. :D >>> however the original question was asked by madhurya kataki. >>> >>> I have a lot of root:audio files in there. >>> >>> cheers >>> mar77i >>> >> >> So I uninstalled gdm and pulseaudio and am now using xdm with archlinux >> theme, which frankly, I don't like. Still hoping someone would tell me how >> to use gdm and not let pulseaudio takeover alsa. >> > > Hello again, Madhurya. > I think Martti Kühne have found the solution, try this: > > # usermod -a -G audio $USER and relogin into the system. > > -- > Cheers, > Roman. > > good to see someone not giving up on this. no seriously... :-)