1 |
I think I see the problem: the sound is getting through the digital output, |
2 |
not the analog one (near the end of pactl output). You need to set the |
3 |
analog output: pactl man page will tell you how (sorry, left the laptop at |
4 |
the office and I'm writing this on my phone). It's also possible to do it |
5 |
with gnome-sound-settings, in the hardware tab (if I remember correctly). |
6 |
|
7 |
Good luck. |
8 |
El 28/09/2011 20:27, "Tamer Higazi" <th982a@××××××××××.com> escribió: |
9 |
> Am 29.09.2011 01:27, schrieb Canek Peláez Valdés: |
10 |
>> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@××××××××××.com> |
11 |
wrote: |
12 |
>>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés: |
13 |
>>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@××××××××××.com> |
14 |
wrote: |
15 |
>>>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés: |
16 |
>>>>>> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi <th982a@××××××××××.com> |
17 |
wrote: |
18 |
>>>>>>> Hi! |
19 |
>>>>>>> I have configured pulseaudio according |
20 |
>>>>>>> |
21 |
>>>>>>> http://en.gentoo-wiki.com/wiki/PulseAudio |
22 |
>>>>>>> |
23 |
>>>>>>> |
24 |
>>>>>>> but I simply have no sound. |
25 |
>>>>>>> |
26 |
>>>>>>> The pulseaudio playback volume meter shows me signal, and that the |
27 |
bars |
28 |
>>>>>>> are jumping if I playback a music track. |
29 |
>>>>>>> |
30 |
>>>>>>> alsa-plugins (with pulseaudio USE flag) |
31 |
>>>>>>> gst-plugins-pulse |
32 |
>>>>>>> |
33 |
>>>>>>> are installed. But I don't know what is being blocked, that I have |
34 |
no |
35 |
>>>>>>> sound output at my headphones. |
36 |
>>>>>>> |
37 |
>>>>>>> PS: the headphones are ok. |
38 |
>>>>>>> |
39 |
>>>>>>> Any suggestions? |
40 |
>>>>>> |
41 |
>>>>>> What music player are you using? Did you set or modify ~/.asoundrc? |
42 |
>>>>> |
43 |
>>>>> ~/.asoundrc doesn't exist. |
44 |
>>>>> |
45 |
>>>>> I have /etc/asound.conf with these entries: |
46 |
>>>>> |
47 |
>>>>> |
48 |
>>>>> pcm.pulse { |
49 |
>>>>> type pulse |
50 |
>>>>> } |
51 |
>>>>> |
52 |
>>>>> ctl.pulse { |
53 |
>>>>> type pulse |
54 |
>>>>> } |
55 |
>>>>> |
56 |
>>>>> for all alsa applications to be redirected to pulse! |
57 |
>>>> |
58 |
>>>> Mmmh. It's not exactly like that: If you use pcm.pulse and ctl.pulse, |
59 |
>>>> then you need to specify pulse as the virtual ALSA device. If you want |
60 |
>>>> "all alsa applications to be redirected to pulse", you need: |
61 |
>>>> |
62 |
>>>> pcm.!default { |
63 |
>>>> type pulse |
64 |
>>>> } |
65 |
>>>> |
66 |
>>>> ctl.!default { |
67 |
>>>> type pulse |
68 |
>>>> } |
69 |
>>>> |
70 |
>>>>> The players Rhythmbox, xine all with pulseaudio default output |
71 |
plugins. |
72 |
>>>> |
73 |
>>>> That should work. Did you check in sound settings that pulse is indeed |
74 |
>>>> the desired output |
75 |
>>>> |
76 |
>>>>>> What Desktop do you use? |
77 |
>>>>> |
78 |
>>>>> Gnome, latest 2.x version |
79 |
>>>>> |
80 |
>>>>> Is the pulseaudio daemon running? |
81 |
>>>>> |
82 |
>>>>> Yes! |
83 |
>>>>> |
84 |
>>>>> tamer@office ~ $ pstree -pu | grep puls |
85 |
>>>>> |
86 |
>>>>> |
87 |
|-pulseaudio(22833,tamer)-+-gconf-helper(22840)---{gconf-helper}(22841) |
88 |
>>>>> | |-{pulseaudio}(22839) |
89 |
>>>>> | `-{pulseaudio}(22842) |
90 |
>>>> |
91 |
>>>> Looks OK. |
92 |
>>>> |
93 |
>>>>> I have added all config files in "/etc/pulse/" |
94 |
>>>> |
95 |
>>>> I wouldn't touch the files on /etc/pulse. I recommend first trying to |
96 |
>>>> make it work with the files included with pulseaudio (backup |
97 |
>>>> /etc/pulse, move the dir out of /etc and emerge again pulseaudio) |
98 |
>>>> before trying anything else. Supposedly, pulseaudio should "just |
99 |
>>>> works". Since the first time I installed it I have never touched the |
100 |
>>>> files in /etc/pulse, except to change the log-level of the daemon. |
101 |
>>>> |
102 |
>>> As requested, I moved the pulse folder somewhere else and remerged |
103 |
>>> pulseaudio as well moved /etc/asound.conf somewhere else as well. |
104 |
>>> |
105 |
>>> No sound! |
106 |
>> |
107 |
>> Weird. |
108 |
>> |
109 |
>>>> I'm on GNOME 3, so things are a little different, and I don't remember |
110 |
>>>> exactly the dialogs, but instead of the Gentoo wiki page, I would |
111 |
>>>> follow this: |
112 |
>>>> |
113 |
>>>> http://www.pulseaudio.org/wiki/PerfectSetup |
114 |
>>>> |
115 |
>>>> And more specifically: |
116 |
>>>> |
117 |
>>>> http://www.pulseaudio.org/wiki/PerfectSetup#GNOME |
118 |
>>>> |
119 |
>>>> and |
120 |
>>>> |
121 |
>>>> http://www.pulseaudio.org/wiki/PerfectSetup#GStreamerApplications |
122 |
>>>> |
123 |
>>>> Also, in really weird cases, the ALSA device gets its volume muted: |
124 |
>>>> You can try to remove (back up first) /etc/asound.conf, and run (as |
125 |
>>>> root) |
126 |
>>>> |
127 |
>>>> alsamixer -V all |
128 |
>>> |
129 |
>>> I did, and fired all the bars up. nothing! really nothing! |
130 |
>> |
131 |
>> Really weird. |
132 |
>> |
133 |
>>>> and trying to unmute and turn up the volume on everything. When you |
134 |
>>>> hear something with any player, return the asound.conf to /etc and try |
135 |
>>>> again. |
136 |
>>>> |
137 |
>>>> Regards. |
138 |
>>> |
139 |
>>> I have the dumb feeling that one process is blocking the output, I hear |
140 |
>>> in my headphones the white noise of my system, which wouldn't be there |
141 |
>>> if the soundcard hadn't been initialised. |
142 |
>> |
143 |
>> It's more simple than that: if you see the bars movind in the mixer |
144 |
>> application, some sound should be made. |
145 |
>> |
146 |
>>> Is there a way to find out which applications might make use of the |
147 |
>>> soundcard right now?! |
148 |
>> |
149 |
>> Probably with strace or a similar tool; however, let me see first if |
150 |
>> I'm understanding the problem. This is a laptop? |
151 |
> |
152 |
> A usual tower machine! Core2 DUO, nothing's special! |
153 |
> |
154 |
> If so, the sound |
155 |
>> works without headphones? The internal speakers work? |
156 |
> |
157 |
> with the headphones all the time.... |
158 |
> |
159 |
> There are no internal speakers (not a notebook) |
160 |
>> |
161 |
>> Also, can you please post the output of "pactl list"? |
162 |
> Yes of course, here it is: |
163 |
> |
164 |
> http://pastebin.com/raw.php?i=wDgy3x64 |
165 |
>> |
166 |
>> Regards. |
167 |
> |
168 |
> thanks |
169 |
> |
170 |
> |
171 |
> Tamer |
172 |
> |