LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-05-2010, 10:51 PM   #1
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 272

Rep: Reputation: 41
Meaning of kmix microphone controls


kmix displays the following microphone controls:
Mic
Mic boost
Mic boost (capture)
Capture 1
Capture 2
The kmix help provides no information about what these mean.

Alsamixer has something similar:
Mic boost
Capture
Capture 1
Digital
Input source
Input source 1
The last two of these are on/off.

What do all of these mean, and how do the kmix settings correspond to the alsamixer settings?

I assume that all this relates, somehow, to the existence of two microphone inputs: the socket on the front of my laptop, and the built-in microphone on the laptop. My sound chip is a Realtec ALC883.
 
Old 02-06-2010, 04:25 PM   #2
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
These names are the names provided by the driver of your sound card. Alsamixer and kmix just take the names and show them to you. There exists a convention to name the controls but the driver needs not to stick to it.

Because you are using a Realtek ALC883 sound chip, I assume your sound driver is snd-hda-intel. Since the same codec may be used in many different kind of devices, the driver does not know, what is connected to the pins of the chip. Depending on the manufacturer there might be some information on the wiring on the sound card (you can see it by inspecting /proc/asound/card0/codec#0 for codec0 on card0). If the hda driver can use this information or can determine your laptop model from the PCI ids, it can create the mixer elements correctly. If it cannot, it either uses a default configuration or refuses to drive the codec.

But there are some generic names used in the HDA driver:
Mic: Default Microphone controls (volume and mute)
Capture: Volume settings and mute for the first ADC
Capture 1: ... for the second ADC
Input Source: If your HDA codec provides a mixer or audio selector you can control it with this setting
Input Source 1: Second mixer/selector ...

Front: your front speaker
...

(the hardware mixer elements are called e.g. "Front Playback Volume" "Front Playback Mute" etc.)

Besides these hardware controls, the alsa library provides some software mixing capabilities. The "Digital" element is such an example: It amplifies the microphone input using a digital (software based) amplifier. (Same for "Master", ...)

There are standard names for some mixer controls (like Master, Front, Mic, ...) and so the mixer application knows what they are supposed to mean and sometimes rename tem by itself (which can be a source of confusion).

To show all hardware mixer controls, use "amixer".
If you want to know the exact meaning of the elements, you have to inspect the driver code:
/usr/src/linux/sound/pci/hda/patch_realtek.c
 
1 members found this post helpful.
Old 02-06-2010, 10:19 PM   #3
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 272

Original Poster
Rep: Reputation: 41
Capture volume vs. mike volume vs. boost

I've looked at the modules you suggested I examine, but the code doesn't really help me understand what the controls do. It names them and associates pins with them -- but since the only hardware access I have (on the mike side, anyway) are the mike input jack and the built-in mike, pin information isn't of much help.

I've more or less concluded that "capture" by default is the built-in mike and "capture 2" is the jacked-in mike. kmix seems to provide a way of switching those around. But that still leaves me puzzled. How do the volumes and settings on "capture" relate to those on "mic" and "mic (capture)"? Is it some kind of two-stage thing where the effects of the two are concatenated? Does "mic" affect "capture" and "mic boost" affect "capture 1", or is it the other way round?

Really, my question is this: what are the audible effects of moving each of the controls? Hardware details don't help me answer this if I'm not intimately familiar with the hardware. One particular aspect of this question is: which controls relate to the built-in mic and which ones to the jacked-in mic? I'd love to find a document with that kind of information -- and most of it, I'd think, would be common to most sound chips. After all, most laptops provide the same functionality that mine does. This is information that would be useful to a great many users.

I appreciate the help.
 
Old 02-07-2010, 04:19 AM   #4
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
If you post the contents of /proc/asound/card0/codec#0 and the PCI ids of your sound card (or the model of your laptop), I can help you to associate the mixer controls with the hardware elements, because for the ALC883 there are many different models supported by the driver. (Please also provide the output of amixer)

Normally the elements are associated as follows:
Capture (*) sets the amplification values for the ADC (analog to digital converter)
Mic (*) sets the amplification values for the Microphone Input.

Normally there is a control for each input and each ADC. The signal source that is recorded by the ADC can be selected in many cases by another mixer control (Input Source or something). Thus the audible effects are:
Mic sets the volume for the microphone input and will of course have influence on the recorded loudness.
Capture sets the volume for the ADC and is something like a master volume control for everything recorded.
Input Source provides a way to choose what you want to record.

Capture 2 or similar corresponds to the seconds ADC, ...

Mic Boost is an extra amplifier for the microphone (although it only increases the noise on my laptop)

Which control belongs to which hardware device cannot be said without have the information above. But it is more probable, that the microphone controls with lower or no numbers correspond to the jacked microphone.
 
Old 02-07-2010, 11:10 AM   #5
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 272

Original Poster
Rep: Reputation: 41
amixer, lspci, etc.

Below you'll find most of the output you suggested I post. I couldn't send it all because that exceeded the forum message length. If you need the stuff I had to omit, I'll send it in another post.

But first, a naive question: is the output of the microphone sent to the ADC? If I double the volume of the ADC and also double the volume of the microphone, will the volume of the recorded sound be quadrupled (or something like that)? I don't see any controls in kmix or elsewhere that specify how the microphone is connected to the ADC, if it's connected at all.

Code:
pwa@Lepiota:~$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono                                    
  Limits: Playback 0 - 31                                    
  Mono: Playback 25 [81%] [-9.00dB] [on]                     
Simple mixer control 'PCM',0                                 
  Capabilities: pvolume                                      
  Playback channels: Front Left - Front Right                
  Limits: Playback 0 - 255                                   
  Mono:                                                      
  Front Left: Playback 217 [85%] [-7.60dB]                   
  Front Right: Playback 217 [85%] [-7.60dB]                  
Simple mixer control 'Front',0                               
  Capabilities: pvolume pswitch                              
  Playback channels: Front Left - Front Right                
  Limits: Playback 0 - 31                                    
  Mono:                                                      
  Front Left: Playback 27 [87%] [-6.00dB] [on]               
  Front Right: Playback 27 [87%] [-6.00dB] [on]              
Simple mixer control 'Line',0                                
  Capabilities: pvolume pswitch                              
  Playback channels: Front Left - Front Right                
  Limits: Playback 0 - 31                                    
  Mono:                                                      
  Front Left: Playback 25 [81%] [3.00dB] [on]                
  Front Right: Playback 25 [81%] [3.00dB] [on]               
Simple mixer control 'Mic',0                                 
  Capabilities: pvolume pswitch                              
  Playback channels: Front Left - Front Right                
  Limits: Playback 0 - 31                                    
  Mono:                                                      
  Front Left: Playback 18 [58%] [-7.50dB] [on]               
  Front Right: Playback 18 [58%] [-7.50dB] [on]              
Simple mixer control 'Mic Boost',0                           
  Capabilities: volume                                       
  Playback channels: Front Left - Front Right                
  Capture channels: Front Left - Front Right                 
  Limits: 0 - 3                                              
  Front Left: 2 [67%]                                        
  Front Right: 2 [67%]                                                                                                                             
Simple mixer control 'IEC958',0                                                                                                                    
  Capabilities: pswitch pswitch-joined                                                                                                             
  Playback channels: Mono                                                                                                                          
  Mono: Playback [off]                                                                                                                             
Simple mixer control 'IEC958 Default PCM',0                                                                                                        
  Capabilities: pswitch pswitch-joined                                                                                                             
  Playback channels: Mono                                                                                                                          
  Mono: Playback [off]                                                                                                                             
Simple mixer control 'Capture',0                                                                                                                   
  Capabilities: cvolume cswitch                                                                                                                    
  Capture channels: Front Left - Front Right                                                                                                       
  Limits: Capture 0 - 31                                                                                                                           
  Front Left: Capture 24 [77%] [24.00dB] [on]                                                                                                      
  Front Right: Capture 24 [77%] [24.00dB] [on]                                                                                                     
Simple mixer control 'Capture',1                                                                                                                   
  Capabilities: cvolume cswitch                                                                                                                    
  Capture channels: Front Left - Front Right                                                                                                       
  Limits: Capture 0 - 31                                                                                                                           
  Front Left: Capture 28 [90%] [30.00dB] [off]                                                                                                     
  Front Right: Capture 28 [90%] [30.00dB] [off]                                                                                                    
Simple mixer control 'Beep',0                                                                                                                      
  Capabilities: pvolume pswitch                                                                                                                    
  Playback channels: Front Left - Front Right                                                                                                      
  Limits: Playback 0 - 31                                                                                                                          
  Mono:                                                                                                                                            
  Front Left: Playback 0 [0%] [-34.50dB] [off]                                                                                                     
  Front Right: Playback 0 [0%] [-34.50dB] [off]                                                                                                    
Simple mixer control 'Digital',0                                                                                                                   
  Capabilities: cvolume                                                                                                                            
  Capture channels: Front Left - Front Right                                                                                                       
  Limits: Capture 0 - 120                                                                                                                          
  Front Left: Capture 88 [73%] [14.00dB]                                                                                                           
  Front Right: Capture 88 [73%] [14.00dB]                                                                                                          
Simple mixer control 'Input Source',0                                                                                                              
  Capabilities: cenum                                                                                                                              
  Items: 'Mic' 'Line'                                                                                                                              
  Item0: 'Mic'                                                                                                                                     
Simple mixer control 'Input Source',1                                                                                                              
  Capabilities: cenum                                                                                                                              
  Items: 'Mic' 'Line'                                                                                                                              
  Item0: 'Line'                                                                                                                                    
pwa@Lepiota:~$ lspci | grep Audio
00:14.2 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller (rev 01)
pwa@Lepiota:~$ cat /proc/asound/card0/codec#0
Codec: Realtek ALC883                        
Address: 0                                   
Function Id: 0x1                             
Vendor Id: 0x10ec0883                        
Subsystem Id: 0x1025009f                     
Revision Id: 0x100002                        
No Modem Function Group found                
Default PCM:                                 
    rates [0x560]: 44100 48000 96000 192000  
    bits [0xe]: 16 20 24                     
    formats [0x1]: PCM                       
Default Amp-In caps: N/A                     
Default Amp-Out caps: N/A                    

[snip]
 
Old 02-07-2010, 01:05 PM   #6
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
For your hardware details /proc/asound/card0/codec#0 is essential.

Yes indeed, if you double the volume on the ADC and on the microphone, you will get a four times louder signal recorded. I have to look at the codec#0 file to tell you if the microphone is connected to the ADC. Normally it should be.

Now to our question about the connection of the microphone to the ADC: Although the hardware will most likely support to change the connection, most drivers won't offer this option to the user via a mixer control, for what reason ever.
 
Old 02-07-2010, 09:10 PM   #7
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 272

Original Poster
Rep: Reputation: 41
codec#0

Here's the first part of codec#0:

Code:
pwa@Lepiota:~$ lspci | grep Audio
00:14.2 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller (rev 01)
pwa@Lepiota:~$ cat /proc/asound/card0/codec#0
Codec: Realtek ALC883                        
Address: 0                                   
Function Id: 0x1                             
Vendor Id: 0x10ec0883                        
Subsystem Id: 0x1025009f                     
Revision Id: 0x100002                        
No Modem Function Group found                
Default PCM:                                 
    rates [0x560]: 44100 48000 96000 192000  
    bits [0xe]: 16 20 24                     
    formats [0x1]: PCM                       
Default Amp-In caps: N/A                     
Default Amp-Out caps: N/A                    
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0  
  IO[0]: enable=1, dir=1, wake=0, sticky=0, data=1, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x11: Stereo                
  Converter: stream=0, channel=0                           
  PCM:                                                     
    rates [0x560]: 44100 48000 96000 192000                
    bits [0xe]: 16 20 24                                   
    formats [0x1]: PCM                                     
Node 0x03 [Audio Output] wcaps 0x11: Stereo                
  Converter: stream=0, channel=0                           
  PCM:                                                     
    rates [0x560]: 44100 48000 96000 192000                
    bits [0xe]: 16 20 24                                   
    formats [0x1]: PCM                                     
Node 0x04 [Audio Output] wcaps 0x11: Stereo                
  Converter: stream=0, channel=0                           
  PCM:                                                     
    rates [0x560]: 44100 48000 96000 192000                
    bits [0xe]: 16 20 24                                   
    formats [0x1]: PCM                                     
Node 0x05 [Audio Output] wcaps 0x11: Stereo                
  Converter: stream=0, channel=0                           
  PCM:                                                     
    rates [0x560]: 44100 48000 96000 192000                
    bits [0xe]: 16 20 24                                   
    formats [0x1]: PCM                                     
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital       
  Converter: stream=0, channel=0                           
  Digital:                                                 
  Digital category: 0x0                                    
  PCM:                                                     
    rates [0x560]: 44100 48000 96000 192000                
    bits [0x1e]: 16 20 24 32                               
    formats [0x1]: PCM                                     
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono     
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In      
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x18 0x18]                                
  Converter: stream=0, channel=0                           
  SDI-Select: 0                                            
  PCM:                                                     
    rates [0x160]: 44100 48000 96000                       
    bits [0x6]: 16 20                                      
    formats [0x1]: PCM                                     
  Connection: 1                                            
     0x23                                                  
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In      
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x9c 0x9c]                                
  Converter: stream=0, channel=0                           
  SDI-Select: 0                                            
  PCM:                                                     
    rates [0x160]: 44100 48000 96000                       
    bits [0x6]: 16 20                                      
    formats [0x1]: PCM                                     
  Connection: 1                                            
     0x22                                                  
Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital     
  Converter: stream=0, channel=0                           
  SDI-Select: 0                                            
  Digital:                                                 
  Digital category: 0x0                                    
  PCM:                                                     
    rates [0x560]: 44100 48000 96000 192000                
    bits [0x1e]: 16 20 24 32                               
    formats [0x1]: PCM                                     
  Unsolicited: tag=00, enabled=0                           
  Connection: 1                                            
     0x1f                                                  
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In      
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x12 0x12] [0x80 0x80] [0x19 0x19] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 10                                                                                                                       
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17                                                                                 
Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out                                                                          
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1                                                                            
  Amp-In vals:  [0x00 0x00] [0x00 0x00]                                                                                                
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0                                                                           
  Amp-Out vals:  [0x15 0x15]                                                                                                           
  Connection: 2                                                                                                                        
     0x02 0x0b                                                                                                                         
Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out                                                                          
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1                                                                            
  Amp-In vals:  [0x00 0x00] [0x00 0x00]                                                                                                
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0                                                                           
  Amp-Out vals:  [0x00 0x00]                                                                                                           
  Connection: 2                                                                                                                        
     0x03 0x0b                                                                                                                         
Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out                                                                          
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1                                                                            
  Amp-In vals:  [0x00 0x00] [0x00 0x00]                                                                                                
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0                                                                           
  Amp-Out vals:  [0x00 0x00]                                                                                                           
  Connection: 2                                                                                                                        
     0x04 0x0b                                                                                                                         
Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out                                                                          
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1                                                                            
  Amp-In vals:  [0x00 0x00] [0x00 0x00]                                                                                                
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0                                                                           
  Amp-Out vals:  [0x00 0x00]                                                                                                           
  Connection: 2                                                                                                                        
     0x05 0x0b                                                                                                                         
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono                                                                                 
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono                                                                                 
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono                                                                                 
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono                                                                                 
Node 0x14 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out                                                                          
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0                                                                            
  Amp-In vals:  [0x00 0x00]                                                                                                            
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1                                                                           
  Amp-Out vals:  [0x00 0x00]                                                                                                           
  Pincap 0x0000003e: IN OUT HP Detect Trigger                                                                                          
  Pin Default 0xc2211110: [Both] HP Out at Ext Front                                                                                   
    Conn = 1/8, Color = Black                                                                                                          
    DefAssociation = 0x1, Sequence = 0x0                                                                                               
    Misc = NO_PRESENCE                                                                                                                 
  Pin-ctls: 0xc0: OUT HP                                                                                                               
  Unsolicited: tag=00, enabled=0                                                                                                       
  Connection: 5                                                                                                                        
     0x0c* 0x0d 0x0e 0x0f 0x26                                                                                                         
Node 0x15 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out                                                                          
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0                                                                            
  Amp-In vals:  [0x00 0x00]                                                                                                            
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1                                                                           
  Amp-Out vals:  [0x80 0x80]                                                                                                           
  Pincap 0x0000003e: IN OUT HP Detect Trigger                                                                                          
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear                                                                                    
    Conn = 1/8, Color = Black                                                                                                          
    DefAssociation = 0xf, Sequence = 0x0                                                                                               
    Misc = NO_PRESENCE                                                                                                                 
  Pin-ctls: 0x20: IN                                                                                                                   
  Unsolicited: tag=00, enabled=0                                                                                                       
  Connection: 5                                                                                                                        
     0x0c 0x0d* 0x0e 0x0f 0x26                                                                                                         
Node 0x16 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out                                                                          
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0                                                                            
  Amp-In vals:  [0x00 0x00]                                                                                                            
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1                                                                           
  Amp-Out vals:  [0x80 0x80]                                                                                                           
  Pincap 0x0000003e: IN OUT HP Detect Trigger                                                                                          
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear                                                                                    
    Conn = 1/8, Color = Black                                                                                                          
    DefAssociation = 0xf, Sequence = 0x0                                                                                               
    Misc = NO_PRESENCE                                                                                                                 
  Pin-ctls: 0x20: IN                                                                                                                   
  Unsolicited: tag=00, enabled=0                                                                                                       
  Connection: 5                                                                                                                        
     0x0c 0x0d 0x0e* 0x0f 0x26                                                                                                         
Node 0x17 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out                                                                          
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0                                                                            
  Amp-In vals:  [0x00 0x00]                                                                                                            
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1                                                                           
  Amp-Out vals:  [0x80 0x80]                                                                                                           
  Pincap 0x0000003e: IN OUT HP Detect Trigger                                                                                          
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear                                                                                    
    Conn = 1/8, Color = Black                                                                                                          
    DefAssociation = 0xf, Sequence = 0x0                                                                                               
    Misc = NO_PRESENCE                                                                                                                 
  Pin-ctls: 0x20: IN                                                                                                                   
  Unsolicited: tag=00, enabled=0                                                                                                       
  Connection: 5                                                                                                                        
     0x0c 0x0d 0x0e 0x0f* 0x26                                                                                                         
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out                                                                          
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0                                                                            
  Amp-In vals:  [0x02 0x02]                                                                                                            
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1                                                                           
  Amp-Out vals:  [0x80 0x80]                                                                                                           
  Pincap 0x0000173e: IN OUT HP Detect Trigger                                                                                          
    Vref caps: HIZ 50 GRD 80                                                                                                           
  Pin Default 0x02a19930: [Jack] Mic at Ext Front                                                                                      
    Conn = 1/8, Color = Pink                                                                                                           
    DefAssociation = 0x3, Sequence = 0x0                                                                                               
    Misc = NO_PRESENCE                                                                                                                 
  Pin-ctls: 0x24: IN VREF_80                                                                                                           
  Unsolicited: tag=00, enabled=0                                                                                                       
  Connection: 5                                                                                                                        
     0x0c* 0x0d 0x0e 0x0f 0x26                                                                                                         
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out                                                                          
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0                                                                            
  Amp-In vals:  [0x00 0x00]                                                                                                            
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1                                                                           
  Amp-Out vals:  [0x80 0x80]                                                                                                           
  Pincap 0x0000173e: IN OUT HP Detect Trigger                                                                                          
    Vref caps: HIZ 50 GRD 80
 
Old 02-07-2010, 09:14 PM   #8
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 272

Original Poster
Rep: Reputation: 41
Rest of coded#0

Here's the rest of codec#0:

Code:
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out                                                                          
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0                                                                            
  Amp-In vals:  [0x00 0x00]                                                                                                            
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1                                                                           
  Amp-Out vals:  [0x80 0x80]                                                                                                           
  Pincap 0x0000173e: IN OUT HP Detect Trigger                                                                                          
    Vref caps: HIZ 50 GRD 80                                                                                                           
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear                                                                                    
    Conn = 1/8, Color = Black                                                                                                          
    DefAssociation = 0xf, Sequence = 0x0                                                                                               
    Misc = NO_PRESENCE                                                                                                                 
  Pin-ctls: 0x20: IN VREF_HIZ                                                                                                          
  Unsolicited: tag=00, enabled=0                                                                                                       
  Connection: 5                                                                                                                        
     0x0c* 0x0d 0x0e 0x0f 0x26                                                                                                         
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out                                                                          
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0                                                                            
  Amp-In vals:  [0x00 0x00]                                                                                                            
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1                                                                           
  Amp-Out vals:  [0x80 0x80]                                                                                                           
  Pincap 0x0000173e: IN OUT HP Detect Trigger                                                                                          
    Vref caps: HIZ 50 GRD 80                                                                                                           
  Pin Default 0x0281313f: [Jack] Line In at Ext Front                                                                                  
    Conn = 1/8, Color = Blue                                                                                                           
    DefAssociation = 0x3, Sequence = 0xf                                                                                               
    Misc = NO_PRESENCE                                                                                                                 
  Pin-ctls: 0x20: IN VREF_HIZ                                                                                                          
  Unsolicited: tag=00, enabled=0                                                                                                       
  Connection: 5                                                                                                                        
     0x0c* 0x0d 0x0e 0x0f 0x26                                                                                                         
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out                                                                          
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0                                                                            
  Amp-In vals:  [0x00 0x00]                                                                                                            
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1                                                                           
  Amp-Out vals:  [0x80 0x80]                                                                                                           
  Pincap 0x0000173e: IN OUT HP Detect Trigger                                                                                          
    Vref caps: HIZ 50 GRD 80                                                                                                           
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear                                                                                    
    Conn = 1/8, Color = Black                                                                                                          
    DefAssociation = 0xf, Sequence = 0x0                                                                                               
    Misc = NO_PRESENCE                                                                                                                 
  Pin-ctls: 0x20: IN VREF_HIZ                                                                                                          
  Unsolicited: tag=00, enabled=0                                                                                                       
  Connection: 5                                                                                                                        
     0x0c* 0x0d 0x0e 0x0f 0x26                                                                                                         
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo                                                                                         
  Pincap 0x00000020: IN                                                                                                                
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear                                                                                    
    Conn = 1/8, Color = Black                                                                                                          
    DefAssociation = 0xf, Sequence = 0x0                                                                                               
    Misc = NO_PRESENCE                                                                                                                 
  Pin-ctls: 0x00:                                                                                                                      
Node 0x1d [Pin Complex] wcaps 0x400000: Mono                                                                                           
  Pincap 0x00000020: IN                                                                                                                
  Pin Default 0x4015130d: [N/A] Speaker at Ext N/A                                                                                     
    Conn = Optical, Color = Black                                                                                                      
    DefAssociation = 0x0, Sequence = 0xd                                                                                               
    Misc = NO_PRESENCE                                                                                                                 
  Pin-ctls: 0x00:                                                                                                                      
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital                                                                                   
  Pincap 0x00000010: OUT                                                                                                               
  Pin Default 0x02451120: [Jack] SPDIF Out at Ext Front                                                                                
    Conn = Optical, Color = Black                                                                                                      
    DefAssociation = 0x2, Sequence = 0x0                                                                                               
    Misc = NO_PRESENCE                                                                                                                 
  Pin-ctls: 0x00:                                                                                                                      
  Connection: 1                                                                                                                        
     0x06                                                                                                                              
Node 0x1f [Pin Complex] wcaps 0x400200: Mono Digital
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=17
  Processing Coefficient: 0x00
  Coefficient Index: 0x0c
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Audio Output] wcaps 0x11: Stereo
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x26 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x25 0x0b
 
Old 02-08-2010, 12:39 PM   #9
irmin
Member
 
Registered: Jan 2010
Location: the universe
Distribution: Slackware (modified), Slackware64 (modified), openSuSE (modified)
Posts: 342

Rep: Reputation: 62
Ok let me explain your hardware and mixer controls:

Your "Input Source" Mixer element allows you to select
node 0x23 to mix in either from pin 0x18 or pin 0x1a

Same is valid for "Input Source 1". (node 0x22 here)

Pin 0x18 is a jack for a microphone at the front of your device.

Pin 0x1a is a jack for "line-in" at the front of your device.

Now to the other pins:
pin 0x14: headphone jack (at the front)
pin 0x15: internal speaker
pin 0x16: internal speaker
pin 0x18: mic-in (at the front, jack)
pin 0x1a: line-in (at the front)
pin 0x1d: the source for the PC-Beep
pin 0x1e: spdif digital output (at the front)
pin 0x1f: digital input (not connected in your case)

all other pins are not connected in your case.

All other controls should do the correct thing. But from the possible settings for your "input source" mixer elements I conclude that the driver only lets you to select either the jacked microphone or the line-in jack as a record source.

But as I cannot find the subsystem id 0x1025009f to be supported by the snd-hda-intel driver (kernel 2.6.32), I think that you are using a generic driver for your sound card (selected automatically by the snd-hda-intel driver).
This generic mode will enable you to use the basic functionality of your sound card but not all features.

Maybe you can also try to load the kernel module with "model=acer-aspire". (Your subsystem id suggests this option). If this does not help, you might try to select one of the model listed below:

Code:
static const char *alc883_models[ALC883_MODEL_LAST] = {
        [ALC883_3ST_2ch_DIG]    = "3stack-dig",
        [ALC883_3ST_6ch_DIG]    = "3stack-6ch-dig",
        [ALC883_3ST_6ch]        = "3stack-6ch",
        [ALC883_6ST_DIG]        = "6stack-dig",
        [ALC883_TARGA_DIG]      = "targa-dig",
        [ALC883_TARGA_2ch_DIG]  = "targa-2ch-dig",
        [ALC883_ACER]           = "acer",
        [ALC883_ACER_ASPIRE]    = "acer-aspire",
        [ALC883_MEDION]         = "medion",
        [ALC883_MEDION_MD2]     = "medion-md2",
        [ALC883_LAPTOP_EAPD]    = "laptop-eapd",
        [ALC883_LENOVO_101E_2ch] = "lenovo-101e",
        [ALC883_LENOVO_NB0763]  = "lenovo-nb0763",
        [ALC888_LENOVO_MS7195_DIG] = "lenovo-ms7195-dig",
        [ALC883_HAIER_W66]      = "haier-w66",
        [ALC888_3ST_HP]         = "3stack-hp",
        [ALC888_6ST_DELL]       = "6stack-dell",
        [ALC883_MITAC]          = "mitac",
        [ALC883_CLEVO_M720]     = "clevo-m720",
        [ALC883_FUJITSU_PI2515] = "fujitsu-pi2515",
        [ALC883_3ST_6ch_INTEL]  = "3stack-6ch-intel",
        [ALC883_AUTO]           = "auto",
};
 
  


Reply

Tags
kmix, microphone


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kmix figadiablo Slackware 6 06-24-2009 05:17 PM
Kmix - microphone - Nvidia MCP51 High Definition audio - realtek ALC883 farfrael Linux - Hardware 5 03-03-2008 11:09 PM
KMix Thinks Microphone / Line-in / etc. is Output ducky383 Linux - Software 7 07-08-2005 12:57 AM
Kmix Problem don_dimo Linux - Software 4 10-31-2004 08:18 PM
KMix not working! jbhatta Linux - Software 1 04-06-2004 12:24 AM


All times are GMT -5. The time now is 01:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration