2007. 04. 13, péntek keltezéssel 19.28-kor Elias Probst ezt írta: > I'm using: > Kernel: 2.6.19-suspend2-r3 > media-sound/alsa-driver-1.0.14_rc3 (ALSA_CARDS="hda-intel") > > /etc/modules.d/alsa: > alias sound-slot-0 snd-card-0 > alias sound-slot-1 snd-card-1 > alias /dev/mixer snd-mixer-oss > alias /dev/dsp snd-pcm-oss > alias /dev/midi snd-seq-oss > alias snd-card-0 snd-hda-intel > alias sound-slot-0 snd-hda-intel Hi, I used your configuration and now I got a lot of new options than before. I attached my gnome-mixer screenshots. Hmmm, maybe it is a PEBCAK, but I still cannot record my voice via microphone :) It is funny, but I only have 2 pieces jacks, one for audio out and one for microphone in. This laptop is a Fujitsu Siemens Amilo Pi 1505 I cannot see any built-in microphone. And I cannot imagine, how can I get 6 channel via 4 channel (2 jacks). So, my experiences: In the oss settings, I cannot decrease the 'Volume'. It is always 100%, I cannot move the slider. PCM-2 is the same. Cannot decrease its value. In-gain reflects to my actions, but I do not hear any changes. In oss record settings, Microphone settings effects to the loudness of my microphone. I can hear my voice, I can change its volume, mute/unmute etc. Via alsa's microphone settings too. Line-in (oss): if I move the slider to higher value, I can hear some crackling while I move the slider. If I turn on the record on this line-in, it screws the playback (audaciaous), but turning off stops this strange thing. Alsa volume control, playback: PCM controls the volume of audacious :) 'Vonalbemenet' is line-in, the same as in oss, except, this does not screw the playback. Microphon controls, mute/unmute the volume of mic. On the record tab, the Capture: nothing important. Switches: boys, this is mysterious for me. I can recognise letters, words, but the meanings......... :) There are some Mic switches, surround, front, caller-id, off-hook............. 'Dunno. Channel mode: 2ch/6ch If I switch to 6ch, microphone turns to silent. I think it is normal. I never use more than two speakers :) One thing, vumeter does not show anything now, but before it shows me the mic level, I saw my voice loudness in it. About audiacous: When I use esound as output, everything working well: I can control the volume. If I change to alsa output, I cannot control the volume via gnome-volume-control or via audiacous (what a silly name :) volume control: the volume is 100%. So, my opinion, this sound card is a shEEt (I mean, this one in my laptop :) The other possibility is that, I am really stupid, but I beleive the previous theory. So, I must learn a lot, if I would like to use this "thing". Maybe somebody can use the following information. Technical part (copies of console actions): TOC: cat /proc/asound/cards cat /proc/asound/pcm cat /proc/asound/oss/sndstat cat /proc/asound/devices cat /proc/asound/card0/codec#0 cat /proc/asound/card0/codec#1 arecord -L pongi@localhost ~ $ cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xf0000000 irq 20 *************************** pongi@localhost ~ $ cat /proc/asound/pcm 00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1 00-00: ALC861 Analog : ALpongi@localhost ~ $ cat /proc/asound/oss/devices 0: [0- 0]: mixer 1: : sequencer 3: [0- 0]: digital audio 4: [0- 0]: digital audio 8: : sequencer C861 Analog : playback 1 : capture 2 *************************** pongi@localhost ~ $ cat /proc/asound/oss/sndstat Sound Driver:3.8.1a-980706 (ALSA v1.0.14rc3 emulation code) Kernel: Linux localhost 2.6.20-gentoo-r5pongi #1 SMP PREEMPT Tue Apr 10 21:02:19 CEST 2007 i686 Config options: 0 Installed drivers: Type 10: ALSA emulation Card config: HDA Intel at 0xf0000000 irq 20 Audio devices: 0: ALC861 Analog (DUPLEX) Synth devices: NOT ENABLED IN CONFIG Midi devices: NOT ENABLED IN CONFIG Timers: 7: system timer Mixers: 0: Motorola Si3054 **************************- pongi@localhost ~ $ cat /proc/asound/devices 0: [ 0] : control 1: : sequencer 16: [ 0- 0]: digital audio playback 22: [ 0- 6]: digital audio playback 24: [ 0- 0]: digital audio capture 30: [ 0- 6]: digital audio capture 33: : timer *************************** pongi@localhost ~ $ cat /proc/asound/card0/codec#0 Codec: Motorola Si3054 Address: 0 Vendor Id: 0x10573055 Subsystem Id: 0x10573055 Revision Id: 0x100700 *************************** pongi@localhost ~ $ cat /proc/asound/card0/codec#1 Codec: Realtek ALC861 Address: 1 Vendor Id: 0x10ec0861 Subsystem Id: 0x15840000 Revision Id: 0x100300 Default PCM: rates [0x140]: 48000 96000 bits [0xe]: 16 20 24 formats [0x1]: PCM Default Amp-In caps: N/A Default Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out Amp-Out caps: N/A Amp-Out vals: [0x00 0x00] Power: 0x0 Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out Amp-Out caps: N/A Amp-Out vals: [0x00 0x00] Power: 0x0 Node 0x05 [Audio Output] wcaps 0x405: Stereo Amp-Out Amp-Out caps: N/A Amp-Out vals: [0x80 0x80] Power: 0x0 Node 0x06 [Audio Output] wcaps 0x405: Stereo Amp-Out Amp-Out caps: N/A Amp-Out vals: [0x80 0x80] Power: 0x0 Node 0x07 [Audio Output] wcaps 0x605: Stereo Digital Amp-Out Amp-Out caps: N/A Amp-Out vals: [0x00 0x00] Power: 0x0 Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In Amp-In caps: ofs=0x02, nsteps=0x0d, stepsize=0x0b, mute=1 Amp-In vals: [0x0d 0x0d] [0x0d 0x0d] [0x0d 0x0d] [0x0d 0x0d] [0x0d 0x0d] [0x0d 0x0d] PCM: rates [0x140]: 48000 96000 bits [0x2]: 16 formats [0x1]: PCM Power: 0x0 Connection: 6 0x0d 0x0c 0x0f 0x10 0x11* 0x15 Node 0x09 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x0b [Pin Complex] wcaps 0x400581: Stereo Pincap 0x081f: OUT HP Detect Pin Default 0x01014110: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Green Pin-ctls: 0x40: OUT Power: 0x0 Connection: 1 0x16 Node 0x0c [Pin Complex] wcaps 0x400581: Stereo Pincap 0x0837: IN OUT Detect Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black Pin-ctls: 0x20: IN Power: 0x0 Connection: 1 0x19 Node 0x0d [Pin Complex] wcaps 0x400581: Stereo Pincap 0x08337: IN OUT Detect Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black Pin-ctls: 0x24: IN Power: 0x0 Connection: 1 0x18 Node 0x0e [Pin Complex] wcaps 0x400581: Stereo Pincap 0x0817: OUT Detect Pin Default 0x99030120: [Fixed] Line Out at Int ATAPI Conn = ATAPI, Color = Unknown Pin-ctls: 0x00: Power: 0x0 Connection: 1 0x19 Node 0x0f [Pin Complex] wcaps 0x400581: Stereo Pincap 0x0833f: IN OUT HP Detect Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black Pin-ctls: 0xc0: OUT HP Power: 0x0 Connection: 1 0x1a Node 0x10 [Pin Complex] wcaps 0x400581: Stereo Pincap 0x0833f: IN OUT HP Detect Pin Default 0x01a1994e: [Jack] Mic at Ext Rear Conn = 1/8, Color = Pink Pin-ctls: 0x24: IN Power: 0x0 Connection: 1 0x1b Node 0x11 [Pin Complex] wcaps 0x400001: Stereo Pincap 0x0863: IN Pin Default 0x99330140: [Fixed] CD at Int ATAPI Conn = ATAPI, Color = Unknown Pin-ctls: 0x00: Node 0x12 [Pin Complex] wcaps 0x400301: Stereo Digital Pincap 0x0810: OUT Pin Default 0x01454130: [Jack] SPDIF Out at Ext Rear Conn = Optical, Color = Green Pin-ctls: 0x40: OUT Connection: 1 0x07 Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x14 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x0d 0x10 Node 0x15 [Audio Mixer] wcaps 0x20050f: Stereo Amp-In Amp-Out Amp-In caps: ofs=0x0c, nsteps=0x17, stepsize=0x0b, mute=1 Amp-In vals: [0x80 0x80] [0x96 0x96] [0x80 0x80] Amp-Out caps: ofs=0x0c, nsteps=0x0c, stepsize=0x0b, mute=1 Amp-Out vals: [0x0c 0x0c] Power: 0x0 Connection: 3 0x11 0x14 0x1c Node 0x16 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x03 0x15 Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x04 0x15 Node 0x18 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x05 0x15 Node 0x19 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x06 0x15 Node 0x1a [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x00 0x00] Connection: 4 0x04 0x06 0x15 0x03 Node 0x1b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 4 0x04 0x06 0x15 0x03 Node 0x1c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x0c 0x0f Node 0x1d [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x1e [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x1f [Pin Complex] wcaps 0x400581: Stereo Pincap 0x0817: OUT Detect Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black Pin-ctls: 0x00: Power: 0x0 Connection: 1 0x18 Node 0x20 [Pin Complex] wcaps 0x400581: Stereo Pincap 0x0817: OUT Detect Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black Pin-ctls: 0x00: Power: 0x0 Connection: 1 0x17 Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x22 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x23 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1 Amp-Out vals: [0x8f] *************************** pongi@localhost ~ $ arecord -L PCM list: hw { @args.0 CARD @args.1 DEV @args.2 SUBDEV @args.CARD { type string default { @func getenv vars { 0 ALSA_PCM_CARD 1 ALSA_CARD } default { @func refer name 'defaults.pcm.card' } } } @args.DEV { type integer default { @func igetenv vars { 0 ALSA_PCM_DEVICE } default { @func refer name 'defaults.pcm.device' } } } @args.SUBDEV { type integer default { @func refer name 'defaults.pcm.subdevice' } } type hw card $CARD device $DEV subdevice $SUBDEV } plughw { @args.0 CARD @args.1 DEV @args.2 SUBDEV @args.CARD { type string default { @func getenv vars { 0 ALSA_PCM_CARD 1 ALSA_CARD } default { @func refer name 'defaults.pcm.card' } } } @args.DEV { type integer default { @func igetenv vars { 0 ALSA_PCM_DEVICE } default { @func refer name 'defaults.pcm.device' } } } @args.SUBDEV { type integer default { @func refer name 'defaults.pcm.subdevice' } } type plug slave.pcm { type hw card $CARD device $DEV subdevice $SUBDEV } } plug { @args.0 SLAVE @args.SLAVE { type string } type plug slave.pcm $SLAVE } shm { @args.0 SOCKET @args.1 PCM @args.SOCKET { type string } @args.PCM { type string } type shm server $SOCKET pcm $PCM } tee { @args.0 SLAVE @args.1 FILE @args.2 FORMAT @args.SLAVE { type string } @args.FILE { type string } @args.FORMAT { type string default raw } type file slave.pcm $SLAVE file $FILE format $FORMAT } file { @args.0 FILE @args.1 FORMAT @args.FILE { type string } @args.FORMAT { type string default raw } type file slave.pcm null file $FILE format $FORMAT } null { type null } cards 'cards.pcm' front 'cards.pcm.front' rear 'cards.pcm.rear' center_lfe 'cards.pcm.center_lfe' side 'cards.pcm.side' surround40 'cards.pcm.surround40' surround41 'cards.pcm.surround41' surround50 'cards.pcm.surround50' surround51 'cards.pcm.surround51' surround71 'cards.pcm.surround71' iec958 'cards.pcm.iec958' spdif 'cards.pcm.iec958' modem 'cards.pcm.modem' default 'cards.pcm.default' dmix 'cards.pcm.dmix' dsnoop 'cards.pcm.dsnoop' -- IT szolgáltatások, alkalmazásszolgáltatás http://www.osbusiness.hu