Gentoo Archives: gentoo-user

From: Brian Johnson <brian@××××××.com>
To: gentoo-user@l.g.o
Cc: alsa-user@×××××××××××××××××.net
Subject: Re: [gentoo-user] speakers have no sound in Gentoo, but work in Ubuntu
Date: Mon, 30 Jun 2008 23:14:59
Message-Id: 2602fe9b0806301614g3ff5d87ch6f6022f5bfec76a3@mail.gmail.com
In Reply to: [gentoo-user] speakers have no sound in Gentoo, but work in Ubuntu by Chuanwen Wu
1 Almost all snd-hda-intel sound cards need quirks added to
2 /etc/modules.d/alsa
3
4 Under the auto-generated configuration add:
5
6 options snd-hda-intel model=dell-3stack
7
8 Once that is done, save the file and run:
9
10 update-modules
11
12 Once that has completed (you may need to update-modules --force if it
13 complains). Simply reboot the computer or restart the alsasound service.
14 Note, some programs/applets using ALSA may crash if you unload/reload the
15 sound card.
16
17 - Brian
18
19 On Mon, Jun 30, 2008 at 5:49 AM, Chuanwen Wu <wcw8410@×××××.com> wrote:
20
21 > Hi, my laptop(Dell1400)'s speakers never work in Gentoo(headphones can
22 > work). But server days ago, I installed Ubuntu and I found that the
23 > speakers work(headphones also work)!
24 > I thought the alsa-driver could not drive my sound card properly
25 > before, and now, I think there must be some way since Ubuntu can work.
26 >
27 >
28 > # lspci | grep Audio
29 > 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
30 > Controller (rev 02)
31 >
32 > /******** In Gentoo ***********/
33 > $ cat /proc/asound/version
34 > Advanced Linux Sound Architecture Driver Version 1.0.16rc2 (Thu Jan 31
35 > 16:40:16 2008 UTC).
36 >
37 > /******** In Ubuntu ***********/
38 > $ cat /proc/asound/version
39 > Advanced Linux Sound Architecture Driver Version 1.0.16.
40 > Compiled on Apr 21 2008 for kernel 2.6.24-16-generic (SMP).
41 >
42 > /******** In Gentoo ***********/
43 > # uname -a
44 > Linux wcw-laptop 2.6.25-tuxonice-r5 #1 SMP Mon Jun 30 15:13:46 CST
45 > 2008 x86_64 Intel(R) Core(TM)2 Duo CPU T5470 @ 1.60GHz GenuineIntel
46 > GNU/Linux
47 >
48 > /******** In Ubuntu ***********/
49 > $ uname -a
50 > Linux wcw-laptop 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008
51 > x86_64 GNU/Linux
52 >
53 > /******** In Gentoo ***********/
54 > # lsmod | grep snd
55 > Module Size Used by
56 > snd_seq_oss 28992 0
57 > snd_seq_device 6160 1 snd_seq_oss
58 > snd_seq_midi_event 6912 1 snd_seq_oss
59 > snd_seq 47968 4 snd_seq_oss,snd_seq_midi_event
60 > snd_pcm_oss 37600 0
61 > snd_mixer_oss 14592 1 snd_pcm_oss
62 > snd_hda_intel 405080 2
63 > snd_pcm 70984 2 snd_pcm_oss,snd_hda_intel
64 > snd_timer 19792 2 snd_seq,snd_pcm
65 > snd_page_alloc 8144 2 snd_hda_intel,snd_pcm
66 > snd_hwdep 7816 1 snd_hda_intel
67 > snd 50632 13
68 >
69 > snd_seq_oss,snd_seq_device,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
70 > soundcore 6688 1 snd
71 >
72 >
73 > /******** In Ubuntu ***********/
74 > $ lsmod | grep snd
75 > snd_hda_intel 440408 3
76 > snd_pcm_oss 47648 0
77 > snd_mixer_oss 20224 1 snd_pcm_oss
78 > snd_pcm 92168 2 snd_hda_intel,snd_pcm_oss
79 > snd_page_alloc 13200 2 snd_hda_intel,snd_pcm
80 > snd_hwdep 12552 1 snd_hda_intel
81 > snd_seq_dummy 5764 0
82 > snd_seq_oss 38912 0
83 > snd_seq_midi 10688 0
84 > snd_rawmidi 29856 1 snd_seq_midi
85 > snd_seq_midi_event 10112 2 snd_seq_oss,snd_seq_midi
86 > snd_seq 63232 6
87 > snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
88 > snd_timer 27912 2 snd_pcm,snd_seq
89 > snd_seq_device 10644 5
90 > snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
91 > snd 70856 17
92 >
93 > snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
94 > soundcore 10400 1 snd
95 >
96 >
97 > /******** In Gentoo ***********/
98 > # amixer
99 > Simple mixer control 'Master',0
100 > Capabilities: pvolume pvolume-joined pswitch pswitch-joined
101 > Playback channels: Mono
102 > Limits: Playback 0 - 127
103 > Mono: Playback 127 [100%] [0.00dB] [on]
104 > Simple mixer control 'PCM',0
105 > Capabilities: pvolume
106 > Playback channels: Front Left - Front Right
107 > Limits: Playback 0 - 255
108 > Mono:
109 > Front Left: Playback 255 [100%] [0.00dB]
110 > Front Right: Playback 255 [100%] [0.00dB]
111 > Simple mixer control 'Front',0
112 > Capabilities: pvolume pswitch
113 > Playback channels: Front Left - Front Right
114 > Limits: Playback 0 - 127
115 > Mono:
116 > Front Left: Playback 119 [94%] [-6.00dB] [on]
117 > Front Right: Playback 119 [94%] [-6.00dB] [on]
118 > Simple mixer control 'Surround',0
119 > Capabilities: pvolume pswitch
120 > Playback channels: Front Left - Front Right
121 > Limits: Playback 0 - 127
122 > Mono:
123 > Front Left: Playback 127 [100%] [0.00dB] [off]
124 > Front Right: Playback 127 [100%] [0.00dB] [off]
125 > Simple mixer control 'Center',0
126 > Capabilities: pvolume pvolume-joined pswitch pswitch-joined
127 > Playback channels: Mono
128 > Limits: Playback 0 - 127
129 > Mono: Playback 127 [100%] [0.00dB] [off]
130 > Simple mixer control 'LFE',0
131 > Capabilities: pvolume pvolume-joined pswitch pswitch-joined
132 > Playback channels: Mono
133 > Limits: Playback 0 - 127
134 > Mono: Playback 127 [100%] [0.00dB] [off]
135 > Simple mixer control 'Mic as Output',0
136 > Capabilities: pswitch pswitch-joined
137 > Playback channels: Mono
138 > Mono: Playback [off]
139 > Simple mixer control 'IEC958',0
140 > Capabilities: pswitch pswitch-joined
141 > Playback channels: Mono
142 > Mono: Playback [off]
143 > Simple mixer control 'Capture',0
144 > Capabilities: cvolume cswitch
145 > Capture channels: Front Left - Front Right
146 > Limits: Capture 0 - 14
147 > Front Left: Capture 4 [29%] [6.00dB] [off]
148 > Front Right: Capture 4 [29%] [6.00dB] [off]
149 > Simple mixer control 'Capture',1
150 > Capabilities: cvolume cswitch
151 > Capture channels: Front Left - Front Right
152 > Limits: Capture 0 - 14
153 > Front Left: Capture 5 [36%] [7.50dB] [off]
154 > Front Right: Capture 5 [36%] [7.50dB] [off]
155 > Simple mixer control 'Capture',2
156 > Capabilities: cvolume cswitch
157 > Capture channels: Front Left - Front Right
158 > Limits: Capture 0 - 14
159 > Front Left: Capture 7 [50%] [10.50dB] [off]
160 > Front Right: Capture 7 [50%] [10.50dB] [off]
161 > Simple mixer control 'Analog Loopback',0
162 > Capabilities: pswitch pswitch-joined
163 > Playback channels: Mono
164 > Mono: Playback [off]
165 > Simple mixer control 'Digital',0
166 > Capabilities: cvolume
167 > Capture channels: Front Left - Front Right
168 > Limits: Capture 0 - 120
169 > Front Left: Capture 60 [50%] [0.00dB]
170 > Front Right: Capture 60 [50%] [0.00dB]
171 > Simple mixer control 'Digital Input Source',0
172 > Capabilities: enum
173 > Items: 'Analog Inputs' 'Digital Mic 1'
174 > Item0: 'Analog Inputs'
175 > Simple mixer control 'Input Source',0
176 > Capabilities: cenum
177 > Items: 'Mic'
178 > Item0: 'Mic'
179 > Simple mixer control 'Input Source',1
180 > Capabilities: cenum
181 > Items: 'Mic'
182 > Item0: 'Mic'
183 > Simple mixer control 'Input Source',2
184 > Capabilities: cenum
185 > Items: 'Mic'
186 > Item0: 'Mic'
187 > Simple mixer control 'Mux',0
188 > Capabilities: cvolume
189 > Capture channels: Front Left - Front Right
190 > Limits: Capture 0 - 4
191 > Front Left: Capture 0 [0%] [0.00dB]
192 > Front Right: Capture 0 [0%] [0.00dB]
193 > Simple mixer control 'Mux',1
194 > Capabilities: cvolume
195 > Capture channels: Front Left - Front Right
196 > Limits: Capture 0 - 4
197 > Front Left: Capture 0 [0%] [0.00dB]
198 > Front Right: Capture 0 [0%] [0.00dB]
199 > Simple mixer control 'Mux',2
200 > Capabilities: cvolume
201 > Capture channels: Front Left - Front Right
202 > Limits: Capture 0 - 4
203 > Front Left: Capture 0 [0%] [0.00dB]
204 > Front Right: Capture 0 [0%] [0.00dB]
205 > Simple mixer control 'Swap Center/LFE',0
206 > Capabilities: pswitch pswitch-joined
207 > Playback channels: Mono
208 > Mono: Playback [off]
209 >
210 > /******** In Ubuntu ***********/
211 > $ amixer
212 > Simple mixer control 'Master',0
213 > Capabilities: pvolume pvolume-joined pswitch pswitch-joined
214 > Playback channels: Mono
215 > Limits: Playback 0 - 127
216 > Mono: Playback 117 [92%] [-7.50dB] [on]
217 > Simple mixer control 'Headphone as Line Out',0
218 > Capabilities: pswitch pswitch-joined
219 > Playback channels: Mono
220 > Mono: Playback [on]
221 > Simple mixer control 'PCM',0
222 > Capabilities: pvolume
223 > Playback channels: Front Left - Front Right
224 > Limits: Playback 0 - 255
225 > Mono:
226 > Front Left: Playback 255 [100%] [0.00dB]
227 > Front Right: Playback 255 [100%] [0.00dB]
228 > Simple mixer control 'Front',0
229 > Capabilities: pvolume pswitch
230 > Playback channels: Front Left - Front Right
231 > Limits: Playback 0 - 127
232 > Mono:
233 > Front Left: Playback 95 [75%] [-24.00dB] [on]
234 > Front Right: Playback 95 [75%] [-24.00dB] [on]
235 > Simple mixer control 'Surround',0
236 > Capabilities: pvolume pswitch
237 > Playback channels: Front Left - Front Right
238 > Limits: Playback 0 - 127
239 > Mono:
240 > Front Left: Playback 127 [100%] [0.00dB] [off]
241 > Front Right: Playback 127 [100%] [0.00dB] [off]
242 > Simple mixer control 'Center',0
243 > Capabilities: pvolume pvolume-joined pswitch pswitch-joined
244 > Playback channels: Mono
245 > Limits: Playback 0 - 127
246 > Mono: Playback 127 [100%] [0.00dB] [off]
247 > Simple mixer control 'LFE',0
248 > Capabilities: pvolume pvolume-joined pswitch pswitch-joined
249 > Playback channels: Mono
250 > Limits: Playback 0 - 127
251 > Mono: Playback 127 [100%] [0.00dB] [off]
252 > Simple mixer control 'IEC958',0
253 > Capabilities: pswitch pswitch-joined
254 > Playback channels: Mono
255 > Mono: Playback [off]
256 > Simple mixer control 'Capture',0
257 > Capabilities: cvolume cswitch
258 > Capture channels: Front Left - Front Right
259 > Limits: Capture 0 - 14
260 > Front Left: Capture 0 [0%] [0.00dB] [on]
261 > Front Right: Capture 0 [0%] [0.00dB] [on]
262 > Simple mixer control 'Capture',1
263 > Capabilities: cvolume cswitch
264 > Capture channels: Front Left - Front Right
265 > Limits: Capture 0 - 14
266 > Front Left: Capture 0 [0%] [0.00dB] [off]
267 > Front Right: Capture 0 [0%] [0.00dB] [off]
268 > Simple mixer control 'Capture',2
269 > Capabilities: cvolume cswitch
270 > Capture channels: Front Left - Front Right
271 > Limits: Capture 0 - 14
272 > Front Left: Capture 0 [0%] [0.00dB] [off]
273 > Front Right: Capture 0 [0%] [0.00dB] [off]
274 > Simple mixer control 'Analog Loopback',0
275 > Capabilities: pswitch pswitch-joined
276 > Playback channels: Mono
277 > Mono: Playback [off]
278 > Simple mixer control 'Digital',0
279 > Capabilities: cvolume
280 > Capture channels: Front Left - Front Right
281 > Limits: Capture 0 - 120
282 > Front Left: Capture 60 [50%] [0.00dB]
283 > Front Right: Capture 60 [50%] [0.00dB]
284 > Simple mixer control 'Digital Input Source',0
285 > Capabilities: enum
286 > Items: 'Analog Inputs' 'Digital Mic 1'
287 > Item0: 'Analog Inputs'
288 > Simple mixer control 'Input Source',0
289 > Capabilities: cenum
290 > Items: 'Mic' 'Front Mic'
291 > Item0: 'Mic'
292 > Simple mixer control 'Input Source',1
293 > Capabilities: cenum
294 > Items: 'Mic' 'Front Mic'
295 > Item0: 'Mic'
296 > Simple mixer control 'Input Source',2
297 > Capabilities: cenum
298 > Items: 'Mic' 'Front Mic'
299 > Item0: 'Mic'
300 > Simple mixer control 'Mux',0
301 > Capabilities: cvolume
302 > Capture channels: Front Left - Front Right
303 > Limits: Capture 0 - 4
304 > Front Left: Capture 0 [0%] [0.00dB]
305 > Front Right: Capture 0 [0%] [0.00dB]
306 > Simple mixer control 'Mux',1
307 > Capabilities: cvolume
308 > Capture channels: Front Left - Front Right
309 > Limits: Capture 0 - 4
310 > Front Left: Capture 0 [0%] [0.00dB]
311 > Front Right: Capture 0 [0%] [0.00dB]
312 > Simple mixer control 'Mux',2
313 > Capabilities: cvolume
314 > Capture channels: Front Left - Front Right
315 > Limits: Capture 0 - 4
316 > Front Left: Capture 0 [0%] [0.00dB]
317 > Front Right: Capture 0 [0%] [0.00dB]
318 > Simple mixer control 'Swap Center/LFE',0
319 > Capabilities: pswitch pswitch-joined
320 > Playback channels: Mono
321 > Mono: Playback [off]
322 >
323 > How to let my speakers work in Gentoo?
324 > Any help will be very appreciated!
325 >
326 > --
327 > wcw
328 > --
329 > gentoo-user@l.g.o mailing list
330 >
331 >

Replies

Subject Author
Re: [gentoo-user] speakers have no sound in Gentoo, but work in Ubuntu Chuanwen Wu <wcw8410@×××××.com>