From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-129042-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1R97FU-0007qM-1m
	for garchives@archives.gentoo.org; Thu, 29 Sep 2011 03:25:24 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C242A21C1DC;
	Thu, 29 Sep 2011 03:25:14 +0000 (UTC)
Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id C0BB921C1D3
	for <gentoo-user@lists.gentoo.org>; Thu, 29 Sep 2011 03:24:11 +0000 (UTC)
Received: by wwg14 with SMTP id 14so312925wwg.10
        for <gentoo-user@lists.gentoo.org>; Wed, 28 Sep 2011 20:24:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type:content-transfer-encoding;
        bh=Fa6HupOqwVqQaHwN579NJxfDO2Kfg9AfetrTivThyHA=;
        b=OuQXa+qM7tBufDWJ1cUdXxetRlIkFOQOhZzYyT7gakTu1DBxi+b5sXdAo/O3a2o4+o
         PfzswzHf1Owy3W5/6NjAz9tjN9Lk0sntlDZgtD/P5p5icq4goq1dwNgI5cqk0DDDMoP8
         dVfeKC5IfXeshoy8lQ0e6/Jj8VWW4vEYvCDhI=
Received: by 10.227.13.66 with SMTP id b2mr1084699wba.44.1317266650087; Wed,
 28 Sep 2011 20:24:10 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.180.8.226 with HTTP; Wed, 28 Sep 2011 20:23:50 -0700 (PDT)
In-Reply-To: <CADPrc81UR_bCarvV733EW_6EWWR-Mw3y5MeiGY+doXRgUF+boQ@mail.gmail.com>
References: <4E83907E.1070202@googlemail.com> <CADPrc82rjzfyM_cQf-i2-TtWwb7BWD6UU6+XEN1WceSWHpGtmg@mail.gmail.com>
 <4E839652.1010807@googlemail.com> <CADPrc81X2hsAxcLtkj1C8HpjDohDw-P3x4JXBdcXfHh+D3jUAw@mail.gmail.com>
 <4E83A8EA.2090602@googlemail.com> <CADPrc82tw=XW0_J6CxftFA6c7bS2ba=c8jpMBTne+dDDtQtnzA@mail.gmail.com>
 <4E83BB43.1060607@googlemail.com> <CADPrc81UR_bCarvV733EW_6EWWR-Mw3y5MeiGY+doXRgUF+boQ@mail.gmail.com>
From: "Spidey / Claudio" <spideybr@gmail.com>
Date: Thu, 29 Sep 2011 00:23:50 -0300
Message-ID: <CAGo3WepaV=iH0K_PMmrH4XSYZ8Y=fTrCm3oND4NFce-4BH7eiA@mail.gmail.com>
Subject: Re: [gentoo-user] no sound with pulseaudio
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: b8ecb9bc949fe14625b12e5716124776

pavucontrol is your friend. It lets you configure your sound devices
current profile, and also set the fallback (default) sink.

Claudio Roberto Fran=C3=A7a Pereira (a.k.a. Spidey)
hardMOB - HTForum - @spideybr
Engenharia de Computa=C3=A7=C3=A3o - UFES 2006/1



On Wed, Sep 28, 2011 at 21:58, Canek Pel=C3=A1ez Vald=C3=A9s <caneko@gmail.=
com> wrote:
> I think I see the problem: the sound is getting through the digital outpu=
t,
> not the analog one (near the end of pactl output). You need to set the
> analog output: pactl man page will tell you how (sorry, left the laptop a=
t
> the office and I'm writing this on my phone). It's also possible to do it
> with gnome-sound-settings, in the hardware tab (if I remember correctly).
>
> Good luck.
>
> El 28/09/2011 20:27, "Tamer Higazi" <th982a@googlemail.com> escribi=C3=B3=
:
>> Am 29.09.2011 01:27, schrieb Canek Pel=C3=A1ez Vald=C3=A9s:
>>> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@googlemail.com>
>>> wrote:
>>>> Am 29.09.2011 00:03, schrieb Canek Pel=C3=A1ez Vald=C3=A9s:
>>>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@googlemail.com>
>>>>> wrote:
>>>>>> Am 28.09.2011 23:28, schrieb Canek Pel=C3=A1ez Vald=C3=A9s:
>>>>>>> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi <th982a@googlemail.co=
m>
>>>>>>> wrote:
>>>>>>>> Hi!
>>>>>>>> I have configured pulseaudio according
>>>>>>>>
>>>>>>>> http://en.gentoo-wiki.com/wiki/PulseAudio
>>>>>>>>
>>>>>>>>
>>>>>>>> but I simply have no sound.
>>>>>>>>
>>>>>>>> The pulseaudio playback volume meter shows me signal, and that the
>>>>>>>> bars
>>>>>>>> are jumping if I playback a music track.
>>>>>>>>
>>>>>>>> alsa-plugins (with pulseaudio USE flag)
>>>>>>>> gst-plugins-pulse
>>>>>>>>
>>>>>>>> are installed. But I don't know what is being blocked, that I have
>>>>>>>> no
>>>>>>>> sound output at my headphones.
>>>>>>>>
>>>>>>>> PS: the headphones are ok.
>>>>>>>>
>>>>>>>> Any suggestions?
>>>>>>>
>>>>>>> What music player are you using? Did you set or modify ~/.asoundrc?
>>>>>>
>>>>>> ~/.asoundrc doesn't exist.
>>>>>>
>>>>>> I have /etc/asound.conf with these entries:
>>>>>>
>>>>>>
>>>>>> pcm.pulse {
>>>>>> type pulse
>>>>>> }
>>>>>>
>>>>>> ctl.pulse {
>>>>>> type pulse
>>>>>> }
>>>>>>
>>>>>> for all alsa applications to be redirected to pulse!
>>>>>
>>>>> Mmmh. It's not exactly like that: If you use pcm.pulse and ctl.pulse,
>>>>> then you need to specify pulse as the virtual ALSA device. If you wan=
t
>>>>> "all alsa applications to be redirected to pulse", you need:
>>>>>
>>>>> pcm.!default {
>>>>> type pulse
>>>>> }
>>>>>
>>>>> ctl.!default {
>>>>> type pulse
>>>>> }
>>>>>
>>>>>> The players Rhythmbox, xine all with pulseaudio default output
>>>>>> plugins.
>>>>>
>>>>> That should work. Did you check in sound settings that pulse is indee=
d
>>>>> the desired output
>>>>>
>>>>>>> What Desktop do you use?
>>>>>>
>>>>>> Gnome, latest 2.x version
>>>>>>
>>>>>> Is the pulseaudio daemon running?
>>>>>>
>>>>>> Yes!
>>>>>>
>>>>>> tamer@office ~ $ pstree -pu | grep puls
>>>>>>
>>>>>>
>>>>>> |-pulseaudio(22833,tamer)-+-gconf-helper(22840)---{gconf-helper}(228=
41)
>>>>>> | |-{pulseaudio}(22839)
>>>>>> | `-{pulseaudio}(22842)
>>>>>
>>>>> Looks OK.
>>>>>
>>>>>> I have added all config files in "/etc/pulse/"
>>>>>
>>>>> I wouldn't touch the files on /etc/pulse. I recommend first trying to
>>>>> make it work with the files included with pulseaudio (backup
>>>>> /etc/pulse, move the dir out of /etc and emerge again pulseaudio)
>>>>> before trying anything else. Supposedly, pulseaudio should "just
>>>>> works". Since the first time I installed it I have never touched the
>>>>> files in /etc/pulse, except to change the log-level of the daemon.
>>>>>
>>>> As requested, I moved the pulse folder somewhere else and remerged
>>>> pulseaudio as well moved /etc/asound.conf somewhere else as well.
>>>>
>>>> No sound!
>>>
>>> Weird.
>>>
>>>>> I'm on GNOME 3, so things are a little different, and I don't remembe=
r
>>>>> exactly the dialogs, but instead of the Gentoo wiki page, I would
>>>>> follow this:
>>>>>
>>>>> http://www.pulseaudio.org/wiki/PerfectSetup
>>>>>
>>>>> And more specifically:
>>>>>
>>>>> http://www.pulseaudio.org/wiki/PerfectSetup#GNOME
>>>>>
>>>>> and
>>>>>
>>>>> http://www.pulseaudio.org/wiki/PerfectSetup#GStreamerApplications
>>>>>
>>>>> Also, in really weird cases, the ALSA device gets its volume muted:
>>>>> You can try to remove (back up first) /etc/asound.conf, and run (as
>>>>> root)
>>>>>
>>>>> alsamixer -V all
>>>>
>>>> I did, and fired all the bars up. nothing! really nothing!
>>>
>>> Really weird.
>>>
>>>>> and trying to unmute and turn up the volume on everything. When you
>>>>> hear something with any player, return the asound.conf to /etc and tr=
y
>>>>> again.
>>>>>
>>>>> Regards.
>>>>
>>>> I have the dumb feeling that one process is blocking the output, I hea=
r
>>>> in my headphones the white noise of my system, which wouldn't be there
>>>> if the soundcard hadn't been initialised.
>>>
>>> It's more simple than that: if you see the bars movind in the mixer
>>> application, some sound should be made.
>>>
>>>> Is there a way to find out which applications might make use of the
>>>> soundcard right now?!
>>>
>>> Probably with strace or a similar tool; however, let me see first if
>>> I'm understanding the problem. This is a laptop?
>>
>> A usual tower machine! Core2 DUO, nothing's special!
>>
>> If so, the sound
>>> works without headphones? The internal speakers work?
>>
>> with the headphones all the time....
>>
>> There are no internal speakers (not a notebook)
>>>
>>> Also, can you please post the output of "pactl list"?
>> Yes of course, here it is:
>>
>> http://pastebin.com/raw.php?i=3DwDgy3x64
>>>
>>> Regards.
>>
>> thanks
>>
>>
>> Tamer
>>
>