[arch-general] no sound coming from speakers after update
Hi, I ran pacman -Syu just now after a gap of almost 3 weeks. After the update I restarted my system and now I can't play audio. Even mpd doesn't start up. alsamixer shows Card: PulseAudio and Chip:PulseAudio. Please help me as I can't do work on my computer with listening to music. :( I have pulseaudio installed just because gdm needs it. Other than that I use alsa.
On Sun, Oct 9, 2011 at 7:02 PM, Madhurya Kakati <mkakati2805@gmail.com> wrote:
Hi, I ran pacman -Syu just now after a gap of almost 3 weeks. After the update I restarted my system and now I can't play audio. Even mpd doesn't start up. alsamixer shows Card: PulseAudio and Chip:PulseAudio. Please help me as I can't do work on my computer with listening to music. :( I have pulseaudio installed just because gdm needs it. Other than that I use alsa.
What does your mpd log in /var/log/mpd/mpd.log say?
On Sunday, October 9, 2011, Martti Kühne wrote:
Hi, I ran pacman -Syu just now after a gap of almost 3 weeks. After the update I restarted my system and now I can't play audio. Even mpd doesn't start up. alsamixer shows Card: PulseAudio and Chip:PulseAudio. Please help me as I can't do work on my computer with listening to music. :( I have
On Sun, Oct 9, 2011 at 7:02 PM, Madhurya Kakati <mkakati2805@gmail.com<javascript:;>> wrote: pulseaudio
installed just because gdm needs it. Other than that I use alsa.
What does your mpd log in /var/log/mpd/mpd.log say?
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
On Sun, Oct 9, 2011 at 7:09 PM, Madhurya Kakati <mkakati2805@gmail.com> 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
On Sun, Oct 9, 2011 at 7:12 PM, Martti Kühne <mysatyre@gmail.com> wrote:
On Sun, Oct 9, 2011 at 7:09 PM, Madhurya Kakati <mkakati2805@gmail.com> 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.
I mean s,&> /dev/null,#&> /dev/null, to be more precise, sorry :-)
On Sunday, October 9, 2011, Martti Kühne wrote:
On Sun, Oct 9, 2011 at 7:09 PM, Madhurya Kakati <mkakati2805@gmail.com<javascript:;>> 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
Where do I put the '#' in the /etc/rc.d/mpd script? In the beginning or in a specific line?
On Sun, Oct 9, 2011 at 7:13 PM, Martti Kühne <mysatyre@gmail.com> wrote:
On Sun, Oct 9, 2011 at 7:12 PM, Martti Kühne <mysatyre@gmail.com> wrote:
On Sun, Oct 9, 2011 at 7:09 PM, Madhurya Kakati <mkakati2805@gmail.com> 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. On Sun, Oct 9, 2011 at 7:15 PM, Madhurya Kakati <mkakati2805@gmail.com> wrote: On Sunday, October 9, 2011, Martti Kühne wrote:
On Sun, Oct 9, 2011 at 7:09 PM, Madhurya Kakati <mkakati2805@gmail.com<javascript:;>> 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
Where do I put the '#' in the /etc/rc.d/mpd script? In the beginning or in a specific line?
I mean s,&> /dev/null,#&> /dev/null (already posted that, guess you didn't see it) as unified diff: --- /etc/rc.d/mpd.orig 2011-10-09 19:48:38.000000000 +0200 +++ /etc/rc.d/mpd 2011-09-27 15:17:45.000000000 +0200 @@ -7,7 +7,7 @@ start) stat_busy "Starting Music Player Daemon" [ ! -d /var/run/mpd ] && install -d -g 45 -o 45 /var/run/mpd - /usr/bin/mpd /etc/mpd.conf &> /dev/null + /usr/bin/mpd /etc/mpd.conf #&> /dev/null if [ $? -gt 0 ]; then stat_fail else @@ -17,7 +17,7 @@ ;; stop) stat_busy "Stopping Music Player Daemon" - /usr/bin/mpd --kill /etc/mpd.conf &> /dev/null + /usr/bin/mpd --kill /etc/mpd.conf #&> /dev/null if [ $? -gt 0 ]; then stat_fail else
On Sunday, October 9, 2011, Martti Kühne wrote:
On Sun, Oct 9, 2011 at 7:09 PM, Madhurya Kakati <mkakati2805@gmail.com<javascript:;>> 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]
On Mon, Oct 10, 2011 at 3:25 AM, Madhurya Kakati <mkakati2805@gmail.com> wrote:
On Sunday, October 9, 2011, Martti Kühne wrote:
On Sun, Oct 9, 2011 at 7:09 PM, Madhurya Kakati <mkakati2805@gmail.com<javascript:;>> 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
On Monday, October 10, 2011, Martti Kühne wrote:
On Mon, Oct 10, 2011 at 3:25 AM, Madhurya Kakati <mkakati2805@gmail.com<javascript:;>> wrote:
On Sunday, October 9, 2011, Martti Kühne wrote:
On Sun, Oct 9, 2011 at 7:09 PM, Madhurya Kakati <mkakati2805@gmail.com<javascript:;> <javascript:;>> 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. :(
participants (2)
-
Madhurya Kakati
-
Martti Kühne