1 |
On Thu, Sep 29, 2011 at 11:51, Canek Peláez Valdés <caneko@×××××.com> wrote: |
2 |
|
3 |
> On Wed, Sep 28, 2011 at 8:26 PM, Tamer Higazi <th982a@××××××××××.com> |
4 |
> wrote: |
5 |
> > Am 29.09.2011 01:27, schrieb Canek Peláez Valdés: |
6 |
> >> On Wed, Sep 28, 2011 at 7:08 PM, Tamer Higazi <th982a@××××××××××.com> |
7 |
> wrote: |
8 |
> >>> Am 29.09.2011 00:03, schrieb Canek Peláez Valdés: |
9 |
> >>>> On Wed, Sep 28, 2011 at 5:49 PM, Tamer Higazi <th982a@××××××××××.com> |
10 |
> wrote: |
11 |
> >>>>> Am 28.09.2011 23:28, schrieb Canek Peláez Valdés: |
12 |
> >>>>>> On Wed, Sep 28, 2011 at 5:24 PM, Tamer Higazi < |
13 |
> th982a@××××××××××.com> wrote: |
14 |
> >>>>>>> Hi! |
15 |
> >>>>>>> I have configured pulseaudio according |
16 |
> >>>>>>> |
17 |
> >>>>>>> http://en.gentoo-wiki.com/wiki/PulseAudio |
18 |
> >>>>>>> |
19 |
> >>>>>>> |
20 |
> >>>>>>> but I simply have no sound. |
21 |
> >>>>>>> |
22 |
> >>>>>>> The pulseaudio playback volume meter shows me signal, and that the |
23 |
> bars |
24 |
> >>>>>>> are jumping if I playback a music track. |
25 |
> >>>>>>> |
26 |
> >>>>>>> alsa-plugins (with pulseaudio USE flag) |
27 |
> >>>>>>> gst-plugins-pulse |
28 |
> >>>>>>> |
29 |
> >>>>>>> are installed. But I don't know what is being blocked, that I have |
30 |
> no |
31 |
> >>>>>>> sound output at my headphones. |
32 |
> >>>>>>> |
33 |
> >>>>>>> PS: the headphones are ok. |
34 |
> >>>>>>> |
35 |
> >>>>>>> Any suggestions? |
36 |
> >>>>>> |
37 |
> >>>>>> What music player are you using? Did you set or modify ~/.asoundrc? |
38 |
> >>>>> |
39 |
> >>>>> ~/.asoundrc doesn't exist. |
40 |
> >>>>> |
41 |
> >>>>> I have /etc/asound.conf with these entries: |
42 |
> >>>>> |
43 |
> >>>>> |
44 |
> >>>>> pcm.pulse { |
45 |
> >>>>> type pulse |
46 |
> >>>>> } |
47 |
> >>>>> |
48 |
> >>>>> ctl.pulse { |
49 |
> >>>>> type pulse |
50 |
> >>>>> } |
51 |
> >>>>> |
52 |
> >>>>> for all alsa applications to be redirected to pulse! |
53 |
> >>>> |
54 |
> >>>> Mmmh. It's not exactly like that: If you use pcm.pulse and ctl.pulse, |
55 |
> >>>> then you need to specify pulse as the virtual ALSA device. If you want |
56 |
> >>>> "all alsa applications to be redirected to pulse", you need: |
57 |
> >>>> |
58 |
> >>>> pcm.!default { |
59 |
> >>>> type pulse |
60 |
> >>>> } |
61 |
> >>>> |
62 |
> >>>> ctl.!default { |
63 |
> >>>> type pulse |
64 |
> >>>> } |
65 |
> >>>> |
66 |
> >>>>> The players Rhythmbox, xine all with pulseaudio default output |
67 |
> plugins. |
68 |
> >>>> |
69 |
> >>>> That should work. Did you check in sound settings that pulse is indeed |
70 |
> >>>> the desired output |
71 |
> >>>> |
72 |
> >>>>>> What Desktop do you use? |
73 |
> >>>>> |
74 |
> >>>>> Gnome, latest 2.x version |
75 |
> >>>>> |
76 |
> >>>>> Is the pulseaudio daemon running? |
77 |
> >>>>> |
78 |
> >>>>> Yes! |
79 |
> >>>>> |
80 |
> >>>>> tamer@office ~ $ pstree -pu | grep puls |
81 |
> >>>>> |
82 |
> >>>>> |
83 |
> |-pulseaudio(22833,tamer)-+-gconf-helper(22840)---{gconf-helper}(22841) |
84 |
> >>>>> | |-{pulseaudio}(22839) |
85 |
> >>>>> | `-{pulseaudio}(22842) |
86 |
> >>>> |
87 |
> >>>> Looks OK. |
88 |
> >>>> |
89 |
> >>>>> I have added all config files in "/etc/pulse/" |
90 |
> >>>> |
91 |
> >>>> I wouldn't touch the files on /etc/pulse. I recommend first trying to |
92 |
> >>>> make it work with the files included with pulseaudio (backup |
93 |
> >>>> /etc/pulse, move the dir out of /etc and emerge again pulseaudio) |
94 |
> >>>> before trying anything else. Supposedly, pulseaudio should "just |
95 |
> >>>> works". Since the first time I installed it I have never touched the |
96 |
> >>>> files in /etc/pulse, except to change the log-level of the daemon. |
97 |
> >>>> |
98 |
> >>> As requested, I moved the pulse folder somewhere else and remerged |
99 |
> >>> pulseaudio as well moved /etc/asound.conf somewhere else as well. |
100 |
> >>> |
101 |
> >>> No sound! |
102 |
> >> |
103 |
> >> Weird. |
104 |
> >> |
105 |
> >>>> I'm on GNOME 3, so things are a little different, and I don't remember |
106 |
> >>>> exactly the dialogs, but instead of the Gentoo wiki page, I would |
107 |
> >>>> follow this: |
108 |
> >>>> |
109 |
> >>>> http://www.pulseaudio.org/wiki/PerfectSetup |
110 |
> >>>> |
111 |
> >>>> And more specifically: |
112 |
> >>>> |
113 |
> >>>> http://www.pulseaudio.org/wiki/PerfectSetup#GNOME |
114 |
> >>>> |
115 |
> >>>> and |
116 |
> >>>> |
117 |
> >>>> http://www.pulseaudio.org/wiki/PerfectSetup#GStreamerApplications |
118 |
> >>>> |
119 |
> >>>> Also, in really weird cases, the ALSA device gets its volume muted: |
120 |
> >>>> You can try to remove (back up first) /etc/asound.conf, and run (as |
121 |
> >>>> root) |
122 |
> >>>> |
123 |
> >>>> alsamixer -V all |
124 |
> >>> |
125 |
> >>> I did, and fired all the bars up. nothing! really nothing! |
126 |
> >> |
127 |
> >> Really weird. |
128 |
> >> |
129 |
> >>>> and trying to unmute and turn up the volume on everything. When you |
130 |
> >>>> hear something with any player, return the asound.conf to /etc and try |
131 |
> >>>> again. |
132 |
> >>>> |
133 |
> >>>> Regards. |
134 |
> >>> |
135 |
> >>> I have the dumb feeling that one process is blocking the output, I hear |
136 |
> >>> in my headphones the white noise of my system, which wouldn't be there |
137 |
> >>> if the soundcard hadn't been initialised. |
138 |
> >> |
139 |
> >> It's more simple than that: if you see the bars movind in the mixer |
140 |
> >> application, some sound should be made. |
141 |
> >> |
142 |
> >>> Is there a way to find out which applications might make use of the |
143 |
> >>> soundcard right now?! |
144 |
> >> |
145 |
> >> Probably with strace or a similar tool; however, let me see first if |
146 |
> >> I'm understanding the problem. This is a laptop? |
147 |
> > |
148 |
> > A usual tower machine! Core2 DUO, nothing's special! |
149 |
> > |
150 |
> > If so, the sound |
151 |
> >> works without headphones? The internal speakers work? |
152 |
> > |
153 |
> > with the headphones all the time.... |
154 |
> > |
155 |
> > There are no internal speakers (not a notebook) |
156 |
> >> |
157 |
> >> Also, can you please post the output of "pactl list"? |
158 |
> > Yes of course, here it is: |
159 |
> > |
160 |
> > http://pastebin.com/raw.php?i=wDgy3x64 |
161 |
> |
162 |
> OK, I'm back on my laptop. I would have told you yesterday the |
163 |
> commands, but using my phone keyboard make it slightly impossible. |
164 |
> |
165 |
> The problem (I think) is that your sound card has digital and analog |
166 |
> outputs. At some point in the future, the kernel drivers would be able |
167 |
> to auto-detect which output has a cable connected to it, but right now |
168 |
> (AFAIK) is not working, and for some reason in your machine pulse is |
169 |
> sending the output through the digital output: that's the meaning of: |
170 |
> |
171 |
> Aktive Profile: output:iec958-stereo |
172 |
> |
173 |
> the last line of your "pactl list". The profile you want is |
174 |
> "output:analog-stereo+input:analog-stereo", because (if I'm not |
175 |
> mistaken), that's the output that sends the sound to your speakers. To |
176 |
> select that profile, simply do (as your normal user, not as root): |
177 |
> |
178 |
> pacmd set-card-profile 0 "output:analog-stereo+input:analog-stereo" |
179 |
> |
180 |
> The 0 is the index of your card (you know is this for the line "Karte |
181 |
> #0" in the output of pactl list), and the profile is the analog one, |
182 |
> both for output and input. |
183 |
> |
184 |
> Please reboot your machine with the default config files in |
185 |
> /etc/pulse, and with your /etc/asound.conf, to make sure no other |
186 |
> setting is getting in the way, and try the pacmd command. Then try |
187 |
> again to play music with rhythmbox. |
188 |
> |
189 |
> Regards. |
190 |
> -- |
191 |
> Canek Peláez Valdés |
192 |
> Posgrado en Ciencia e Ingeniería de la Computación |
193 |
> Universidad Nacional Autónoma de México |
194 |
> |
195 |
> |
196 |
Merge pavucontrol and use it to configure pulseaudio, it's a graphical |
197 |
"pacmd interface" (not exactly true). |
198 |
Also, you don't need to reboot, only if you updated pulseaudio itself, and |
199 |
even then, a logout-login should be enough. |
200 |
|
201 |
Claudio Roberto França Pereira (a.k.a. Spidey) |
202 |
hardMOB - HTForum - @spideybr |
203 |
Engenharia de Computação - UFES 2006/1 |