Gentoo Archives: gentoo-user

From: Pongracz Istvan <pongracz.istvan@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Intel High Definition Audio and its problems and experiences
Date: Fri, 13 Apr 2007 19:58:08
Message-Id: 1176493544.8654.36.camel@localhost
In Reply to: Re: [gentoo-user] Intel High Definition Audio and its problems by Elias Probst
1 2007. 04. 13, péntek keltezéssel 19.28-kor Elias Probst ezt írta:
2 > I'm using:
3 > Kernel: 2.6.19-suspend2-r3
4 > media-sound/alsa-driver-1.0.14_rc3 (ALSA_CARDS="hda-intel")
5 >
6 > /etc/modules.d/alsa:
7 > alias sound-slot-0 snd-card-0
8 > alias sound-slot-1 snd-card-1
9 > alias /dev/mixer snd-mixer-oss
10 > alias /dev/dsp snd-pcm-oss
11 > alias /dev/midi snd-seq-oss
12 > alias snd-card-0 snd-hda-intel
13 > alias sound-slot-0 snd-hda-intel
14
15 Hi,
16
17 I used your configuration and now I got a lot of new options than
18 before.
19 I attached my gnome-mixer screenshots.
20
21 Hmmm, maybe it is a PEBCAK, but I still cannot record my voice via
22 microphone :)
23
24 It is funny, but I only have 2 pieces jacks, one for audio out and one
25 for microphone in.
26 This laptop is a Fujitsu Siemens Amilo Pi 1505
27 I cannot see any built-in microphone.
28 And I cannot imagine, how can I get 6 channel via 4 channel (2 jacks).
29
30 So, my experiences:
31 In the oss settings, I cannot decrease the 'Volume'. It is always 100%,
32 I cannot move the slider.
33 PCM-2 is the same. Cannot decrease its value.
34 In-gain reflects to my actions, but I do not hear any changes.
35
36 In oss record settings, Microphone settings effects to the loudness of
37 my microphone. I can hear my voice, I can change its volume, mute/unmute
38 etc. Via alsa's microphone settings too.
39 Line-in (oss): if I move the slider to higher value, I can hear some
40 crackling while I move the slider. If I turn on the record on this
41 line-in, it screws the playback (audaciaous), but turning off stops this
42 strange thing.
43
44
45 Alsa volume control, playback:
46 PCM controls the volume of audacious :)
47 'Vonalbemenet' is line-in, the same as in oss, except, this does not
48 screw the playback.
49 Microphon controls, mute/unmute the volume of mic.
50 On the record tab, the Capture: nothing important.
51
52 Switches: boys, this is mysterious for me. I can recognise letters,
53 words, but the meanings......... :)
54 There are some Mic switches, surround, front, caller-id,
55 off-hook.............
56 'Dunno.
57
58 Channel mode: 2ch/6ch
59 If I switch to 6ch, microphone turns to silent. I think it is normal. I
60 never use more than two speakers :)
61
62 One thing, vumeter does not show anything now, but before it shows me
63 the mic level, I saw my voice loudness in it.
64
65 About audiacous:
66 When I use esound as output, everything working well: I can control the
67 volume.
68 If I change to alsa output, I cannot control the volume via
69 gnome-volume-control or via audiacous (what a silly name :) volume
70 control: the volume is 100%.
71
72 So, my opinion, this sound card is a shEEt (I mean, this one in my
73 laptop :)
74 The other possibility is that, I am really stupid, but I beleive the
75 previous theory.
76
77 So, I must learn a lot, if I would like to use this "thing".
78
79 Maybe somebody can use the following information.
80
81 Technical part (copies of console actions):
82
83 TOC:
84 cat /proc/asound/cards
85 cat /proc/asound/pcm
86 cat /proc/asound/oss/sndstat
87 cat /proc/asound/devices
88 cat /proc/asound/card0/codec#0
89 cat /proc/asound/card0/codec#1
90 arecord -L
91
92
93
94 pongi@localhost ~ $ cat /proc/asound/cards
95 0 [Intel ]: HDA-Intel - HDA Intel
96 HDA Intel at 0xf0000000 irq 20
97
98 ***************************
99
100 pongi@localhost ~ $ cat /proc/asound/pcm
101 00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
102 00-00: ALC861 Analog : ALpongi@localhost ~ $
103 cat /proc/asound/oss/devices
104 0: [0- 0]: mixer
105 1: : sequencer
106 3: [0- 0]: digital audio
107 4: [0- 0]: digital audio
108 8: : sequencer
109 C861 Analog : playback 1 : capture 2
110
111 ***************************
112
113 pongi@localhost ~ $ cat /proc/asound/oss/sndstat
114 Sound Driver:3.8.1a-980706 (ALSA v1.0.14rc3 emulation code)
115 Kernel: Linux localhost 2.6.20-gentoo-r5pongi #1 SMP PREEMPT Tue Apr 10
116 21:02:19 CEST 2007 i686
117 Config options: 0
118
119 Installed drivers:
120 Type 10: ALSA emulation
121
122 Card config:
123 HDA Intel at 0xf0000000 irq 20
124
125 Audio devices:
126 0: ALC861 Analog (DUPLEX)
127
128 Synth devices: NOT ENABLED IN CONFIG
129
130 Midi devices: NOT ENABLED IN CONFIG
131
132 Timers:
133 7: system timer
134
135 Mixers:
136 0: Motorola Si3054
137
138 **************************-
139
140 pongi@localhost ~ $ cat /proc/asound/devices
141 0: [ 0] : control
142 1: : sequencer
143 16: [ 0- 0]: digital audio playback
144 22: [ 0- 6]: digital audio playback
145 24: [ 0- 0]: digital audio capture
146 30: [ 0- 6]: digital audio capture
147 33: : timer
148
149 ***************************
150
151 pongi@localhost ~ $ cat /proc/asound/card0/codec#0
152 Codec: Motorola Si3054
153 Address: 0
154 Vendor Id: 0x10573055
155 Subsystem Id: 0x10573055
156 Revision Id: 0x100700
157
158 ***************************
159
160 pongi@localhost ~ $ cat /proc/asound/card0/codec#1
161 Codec: Realtek ALC861
162 Address: 1
163 Vendor Id: 0x10ec0861
164 Subsystem Id: 0x15840000
165 Revision Id: 0x100300
166 Default PCM:
167 rates [0x140]: 48000 96000
168 bits [0xe]: 16 20 24
169 formats [0x1]: PCM
170 Default Amp-In caps: N/A
171 Default Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
172 Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
173 Amp-Out caps: N/A
174 Amp-Out vals: [0x00 0x00]
175 Power: 0x0
176 Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out
177 Amp-Out caps: N/A
178 Amp-Out vals: [0x00 0x00]
179 Power: 0x0
180 Node 0x05 [Audio Output] wcaps 0x405: Stereo Amp-Out
181 Amp-Out caps: N/A
182 Amp-Out vals: [0x80 0x80]
183 Power: 0x0
184 Node 0x06 [Audio Output] wcaps 0x405: Stereo Amp-Out
185 Amp-Out caps: N/A
186 Amp-Out vals: [0x80 0x80]
187 Power: 0x0
188 Node 0x07 [Audio Output] wcaps 0x605: Stereo Digital Amp-Out
189 Amp-Out caps: N/A
190 Amp-Out vals: [0x00 0x00]
191 Power: 0x0
192 Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
193 Amp-In caps: ofs=0x02, nsteps=0x0d, stepsize=0x0b, mute=1
194 Amp-In vals: [0x0d 0x0d] [0x0d 0x0d] [0x0d 0x0d] [0x0d 0x0d] [0x0d
195 0x0d] [0x0d 0x0d]
196 PCM:
197 rates [0x140]: 48000 96000
198 bits [0x2]: 16
199 formats [0x1]: PCM
200 Power: 0x0
201 Connection: 6
202 0x0d 0x0c 0x0f 0x10 0x11* 0x15
203 Node 0x09 [Vendor Defined Widget] wcaps 0xf00000: Mono
204 Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
205 Node 0x0b [Pin Complex] wcaps 0x400581: Stereo
206 Pincap 0x081f: OUT HP Detect
207 Pin Default 0x01014110: [Jack] Line Out at Ext Rear
208 Conn = 1/8, Color = Green
209 Pin-ctls: 0x40: OUT
210 Power: 0x0
211 Connection: 1
212 0x16
213 Node 0x0c [Pin Complex] wcaps 0x400581: Stereo
214 Pincap 0x0837: IN OUT Detect
215 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
216 Conn = 1/8, Color = Black
217 Pin-ctls: 0x20: IN
218 Power: 0x0
219 Connection: 1
220 0x19
221 Node 0x0d [Pin Complex] wcaps 0x400581: Stereo
222 Pincap 0x08337: IN OUT Detect
223 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
224 Conn = 1/8, Color = Black
225 Pin-ctls: 0x24: IN
226 Power: 0x0
227 Connection: 1
228 0x18
229 Node 0x0e [Pin Complex] wcaps 0x400581: Stereo
230 Pincap 0x0817: OUT Detect
231 Pin Default 0x99030120: [Fixed] Line Out at Int ATAPI
232 Conn = ATAPI, Color = Unknown
233 Pin-ctls: 0x00:
234 Power: 0x0
235 Connection: 1
236 0x19
237 Node 0x0f [Pin Complex] wcaps 0x400581: Stereo
238 Pincap 0x0833f: IN OUT HP Detect
239 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
240 Conn = 1/8, Color = Black
241 Pin-ctls: 0xc0: OUT HP
242 Power: 0x0
243 Connection: 1
244 0x1a
245 Node 0x10 [Pin Complex] wcaps 0x400581: Stereo
246 Pincap 0x0833f: IN OUT HP Detect
247 Pin Default 0x01a1994e: [Jack] Mic at Ext Rear
248 Conn = 1/8, Color = Pink
249 Pin-ctls: 0x24: IN
250 Power: 0x0
251 Connection: 1
252 0x1b
253 Node 0x11 [Pin Complex] wcaps 0x400001: Stereo
254 Pincap 0x0863: IN
255 Pin Default 0x99330140: [Fixed] CD at Int ATAPI
256 Conn = ATAPI, Color = Unknown
257 Pin-ctls: 0x00:
258 Node 0x12 [Pin Complex] wcaps 0x400301: Stereo Digital
259 Pincap 0x0810: OUT
260 Pin Default 0x01454130: [Jack] SPDIF Out at Ext Rear
261 Conn = Optical, Color = Green
262 Pin-ctls: 0x40: OUT
263 Connection: 1
264 0x07
265 Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
266 Node 0x14 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
267 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
268 Amp-In vals: [0x00 0x00] [0x00 0x00]
269 Connection: 2
270 0x0d 0x10
271 Node 0x15 [Audio Mixer] wcaps 0x20050f: Stereo Amp-In Amp-Out
272 Amp-In caps: ofs=0x0c, nsteps=0x17, stepsize=0x0b, mute=1
273 Amp-In vals: [0x80 0x80] [0x96 0x96] [0x80 0x80]
274 Amp-Out caps: ofs=0x0c, nsteps=0x0c, stepsize=0x0b, mute=1
275 Amp-Out vals: [0x0c 0x0c]
276 Power: 0x0
277 Connection: 3
278 0x11 0x14 0x1c
279 Node 0x16 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
280 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
281 Amp-In vals: [0x00 0x00] [0x00 0x00]
282 Connection: 2
283 0x03 0x15
284 Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
285 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
286 Amp-In vals: [0x00 0x00] [0x00 0x00]
287 Connection: 2
288 0x04 0x15
289 Node 0x18 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
290 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
291 Amp-In vals: [0x00 0x00] [0x00 0x00]
292 Connection: 2
293 0x05 0x15
294 Node 0x19 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
295 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
296 Amp-In vals: [0x00 0x00] [0x00 0x00]
297 Connection: 2
298 0x06 0x15
299 Node 0x1a [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
300 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
301 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x00 0x00]
302 Connection: 4
303 0x04 0x06 0x15 0x03
304 Node 0x1b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
305 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
306 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
307 Connection: 4
308 0x04 0x06 0x15 0x03
309 Node 0x1c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
310 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
311 Amp-In vals: [0x00 0x00] [0x00 0x00]
312 Connection: 2
313 0x0c 0x0f
314 Node 0x1d [Vendor Defined Widget] wcaps 0xf00000: Mono
315 Node 0x1e [Vendor Defined Widget] wcaps 0xf00000: Mono
316 Node 0x1f [Pin Complex] wcaps 0x400581: Stereo
317 Pincap 0x0817: OUT Detect
318 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
319 Conn = 1/8, Color = Black
320 Pin-ctls: 0x00:
321 Power: 0x0
322 Connection: 1
323 0x18
324 Node 0x20 [Pin Complex] wcaps 0x400581: Stereo
325 Pincap 0x0817: OUT Detect
326 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
327 Conn = 1/8, Color = Black
328 Pin-ctls: 0x00:
329 Power: 0x0
330 Connection: 1
331 0x17
332 Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
333 Node 0x22 [Vendor Defined Widget] wcaps 0xf00000: Mono
334 Node 0x23 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
335 Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
336 Amp-Out vals: [0x8f]
337
338
339
340 ***************************
341
342
343 pongi@localhost ~ $ arecord -L
344 PCM list:
345 hw {
346 @args.0 CARD
347 @args.1 DEV
348 @args.2 SUBDEV
349 @args.CARD {
350 type string
351 default {
352 @func getenv
353 vars {
354 0 ALSA_PCM_CARD
355 1 ALSA_CARD
356 }
357 default {
358 @func refer
359 name 'defaults.pcm.card'
360 }
361 }
362 }
363 @args.DEV {
364 type integer
365 default {
366 @func igetenv
367 vars {
368 0 ALSA_PCM_DEVICE
369 }
370 default {
371 @func refer
372 name 'defaults.pcm.device'
373 }
374 }
375 }
376 @args.SUBDEV {
377 type integer
378 default {
379 @func refer
380 name 'defaults.pcm.subdevice'
381 }
382 }
383 type hw
384 card $CARD
385 device $DEV
386 subdevice $SUBDEV
387 }
388 plughw {
389 @args.0 CARD
390 @args.1 DEV
391 @args.2 SUBDEV
392 @args.CARD {
393 type string
394 default {
395 @func getenv
396 vars {
397 0 ALSA_PCM_CARD
398 1 ALSA_CARD
399 }
400 default {
401 @func refer
402 name 'defaults.pcm.card'
403 }
404 }
405 }
406 @args.DEV {
407 type integer
408 default {
409 @func igetenv
410 vars {
411 0 ALSA_PCM_DEVICE
412 }
413 default {
414 @func refer
415 name 'defaults.pcm.device'
416 }
417 }
418 }
419 @args.SUBDEV {
420 type integer
421 default {
422 @func refer
423 name 'defaults.pcm.subdevice'
424 }
425 }
426 type plug
427 slave.pcm {
428 type hw
429 card $CARD
430 device $DEV
431 subdevice $SUBDEV
432 }
433 }
434 plug {
435 @args.0 SLAVE
436 @args.SLAVE {
437 type string
438 }
439 type plug
440 slave.pcm $SLAVE
441 }
442 shm {
443 @args.0 SOCKET
444 @args.1 PCM
445 @args.SOCKET {
446 type string
447 }
448 @args.PCM {
449 type string
450 }
451 type shm
452 server $SOCKET
453 pcm $PCM
454 }
455 tee {
456 @args.0 SLAVE
457 @args.1 FILE
458 @args.2 FORMAT
459 @args.SLAVE {
460 type string
461 }
462 @args.FILE {
463 type string
464 }
465 @args.FORMAT {
466 type string
467 default raw
468 }
469 type file
470 slave.pcm $SLAVE
471 file $FILE
472 format $FORMAT
473 }
474 file {
475 @args.0 FILE
476 @args.1 FORMAT
477 @args.FILE {
478 type string
479 }
480 @args.FORMAT {
481 type string
482 default raw
483 }
484 type file
485 slave.pcm null
486 file $FILE
487 format $FORMAT
488 }
489 null {
490 type null
491 }
492 cards 'cards.pcm'
493 front 'cards.pcm.front'
494 rear 'cards.pcm.rear'
495 center_lfe 'cards.pcm.center_lfe'
496 side 'cards.pcm.side'
497 surround40 'cards.pcm.surround40'
498 surround41 'cards.pcm.surround41'
499 surround50 'cards.pcm.surround50'
500 surround51 'cards.pcm.surround51'
501 surround71 'cards.pcm.surround71'
502 iec958 'cards.pcm.iec958'
503 spdif 'cards.pcm.iec958'
504 modem 'cards.pcm.modem'
505 default 'cards.pcm.default'
506 dmix 'cards.pcm.dmix'
507 dsnoop 'cards.pcm.dsnoop'
508
509
510
511
512
513
514
515 --
516 IT szolgáltatások, alkalmazásszolgáltatás
517 http://www.osbusiness.hu

Attachments

File name MIME type
alsa_hda_intel_channels.jpg image/jpeg
alsa_hda_intel_switches.jpg image/jpeg
alsa_hda_intel_record.jpg image/jpeg
alsa_hda_intel_playback.jpg image/jpeg
oss_si3054_playback.jpg image/jpeg
oss_si3054_record.jpg image/jpeg

Replies

Subject Author
Re: [gentoo-user] Intel High Definition Audio and its problems and experiencesGi Roman Zimmermann <mereandor@×××××.com>