LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-17-2007, 06:14 PM   #1
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Rep: Reputation: 30
Exclamation Microphone problems with nForce 570 HDA w/ALC882 (long)


I am unable to make the microphone work on my new SN27P2 SFF machine, running Xubuntu with kernel 2.6.22.1 and ALSA v1.0.14. No matter what I do, I am simply unable to get any input from the microphone! programs such as Skype simply do not detect any sound from the microphone, despite being able to get feedback from the

lspci detects the HDA chipset as follows:
Code:
00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device 3077
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (500ns min, 1250ns max)
        Interrupt: pin B routed to IRQ 22
        Region 0: Memory at fe024000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
aplay -l:

Code:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC882 Analog [ALC882 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC882 Digital [ALC882 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
arecord -l:

Code:
**** List of CAPTURE Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC882 Analog [ALC882 Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 0: NVidia [HDA NVidia], device 1: ALC882 Digital [ALC882 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 2: ALC882 Analog [ALC882 Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
/proc/asound/cards:

Code:
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfe024000 irq 22
/proc/asound/devices:

Code:
  0: [ 0]   : control
  1:        : sequencer
 16: [ 0- 0]: digital audio playback
 17: [ 0- 1]: digital audio playback
 24: [ 0- 0]: digital audio capture
 25: [ 0- 1]: digital audio capture
 26: [ 0- 2]: digital audio capture
 33:        : timer
/proc/asound/pcm:

Code:
00-02: ALC882 Analog : ALC882 Analog : capture 2
00-01: ALC882 Digital : ALC882 Digital : playback 1 : capture 1
00-00: ALC882 Analog : ALC882 Analog : playback 1 : capture 2
/proc/asound/card0/codec#0:

Code:
Codec: Realtek ALC882
Address: 0
Vendor Id: 0x10ec0882
Subsystem Id: 0x10eca201
Revision Id: 0x100101
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
Node 0x02 [Audio Output] wcaps 0x11: Stereo
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x11: Stereo
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x11: Stereo
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x05 [Audio Output] wcaps 0x11: Stereo
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
Node 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x81 0x81]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x9a 0x9a]
  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:  [0x9a 0x9a]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  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:  [0x13 0x13] [0x13 0x13] [0x10 0x10] [0x97 0x97] [0x1e 0x1e] [0x17 0x17] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
  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:  [0x19 0x19]
  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:  [0x1a 0x1a]
  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:  [0x19 0x19]
  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:  [0x19 0x19]
  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] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x083f: IN OUT HP Detect
  Pin Default 0x01014010: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
  Pin-ctls: 0x40: OUT
  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] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x083f: IN OUT HP Detect
  Pin Default 0x01014012: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
  Pin-ctls: 0x40: OUT
  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] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x083f: IN OUT HP Detect
  Pin Default 0x01014011: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
  Pin-ctls: 0x40: OUT
  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] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x083f: IN OUT HP Detect
  Pin Default 0x01014014: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
  Pin-ctls: 0x40: OUT
  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:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173f: IN OUT HP Detect
  Pin Default 0x01813040: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
  Pin-ctls: 0x24: IN
  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:  [0x02 0x02] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173f: IN OUT HP Detect
  Pin Default 0x02a19950: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
  Pin-ctls: 0x24: IN
  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] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173f: IN OUT HP Detect
  Pin Default 0x9993014f: [Fixed] Aux at Int ATAPI
    Conn = ATAPI, Color = Unknown
  Pin-ctls: 0x20: IN
  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] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x08173f: IN OUT HP Detect
  Pin Default 0x02214120: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
  Pin-ctls: 0xc0: OUT HP
  Connection: 5
     0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0820: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x00:
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x0820: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x00:
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
  Pincap 0x0810: OUT
  Pin Default 0x014b4130: [Jack] SPDIF Out at Ext Rear
    Conn = Comb, Color = Green
  Pin-ctls: 0x00:
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400200: Mono Digital
  Pincap 0x0820: IN
  Pin Default 0x01c59160: [Jack] SPDIF In at Ext Rear
    Conn = Optical, Color = Pink
  Pin-ctls: 0x00:
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Node 0x21 [Volume Knob Widget] wcaps 0x600080: 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] [0x00 0x00] [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 0x23 [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] [0x00 0x00] [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 [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] [0x00 0x00] [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 0x25 [Audio Output] wcaps 0x11: Stereo
  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] [0x80 0x80]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x1f 0x1f]
  Connection: 2
     0x25 0x0b
The kernel outputs the following when I load the v1.0.14 snd-hda-intel driver:

Code:
ACPI: PCI Interrupt Link [AAZA] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:06.1[B] -> Link [AAZA] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:06.1 to 64
hda_codec: Unknown model for ALC882, trying auto-probe from BIOS...
After endless Google searches, I discovered that the current driver currently does not support the nForce 570 chipset implementation, leading to the last message from the driver. As a result, I tried every sensible option listed in ./alsa-kernel/Documentation/ALSA-Configuration.txt for the ALC882. The SN27P2 has the following jack configuration, from left to right:

Rear:
Code:
                     Front Out (Left/Right)   Center/Bass
SPDIF Out (Coax)     Line In                  Rear Out (Left/Right)
SPDIF Out (Optical)  SPDIF in (Optical)       Side Out (Left/Right)
Front:
Code:
Microphone Headphone
As a result, I figured that the 6stack-dig model option was the best one, and tried that first, with no success (all output from the kernel, ALSA programs or /proc is with this option in use). After trying all the others and STILL getting no success, I have run out of ideas. Can anyone (i.e. Gruemaster, whose previous posts on the HDA driver appear very helpful) help me with this?
 
Old 08-18-2007, 01:08 AM   #2
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Quote:
Can anyone (i.e. Gruemaster, whose previous posts on the HDA driver appear very helpful) help me with this?
Thought I heard my name mentioned somewhere.

Excellent detailed output, this helps with my preliminary investigation, which doesn't look good initially. There is currently no support under the alc882 for your system, but I am reviewing the data and will look into a preliminary patch this weekend.

In the mean time, could you run this script and post the output? It gives me a file I can download and parse more easily.

Tobin
 
Old 08-18-2007, 09:42 AM   #3
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Original Poster
Rep: Reputation: 30
Exclamation

http://pastebin.ca/662252 is the output of the script.
 
Old 08-19-2007, 03:18 PM   #4
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Original Poster
Rep: Reputation: 30
Post Another system, another chip, same problem

BUMP.

Another system I have is experiencing similar symptoms to the above - the system is based on the Asus M2N32-SLI Deluxe motherboard with the nForce 590 chipset. This motherboard uses an Analog Devices AD1988 on its HDA bus, and has the exact same problem as the ALC882 in the SN27P2: absolutely no microphone input whatsoever.

http://pastebin.ca/663668 is the output of the alsa-info.sh script for the M2N32-SLI system (with the 6stack-dig kernel module option in use). Its jack configuration is laid out as follows:

Code:
                                                Center/Bass               Line In
                                                Rear Out (Left/Right)     Front Out (Left/Right)
SPDIF Out (Coax)     SPDIF Out (Optical)        Side Out (Left/Right)     Microphone
Even though this motherboard has a different chip, is the underlying issue the same?
 
Old 08-19-2007, 03:55 PM   #5
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
In looking at the Asus pastebin file, it looks like the microphone mixer inputs (Node 0x26) are muted. In the Shuttle output, it looks like the mic is not muted, but the capture volume is at 0.

Use alsamixer to check your mixer settings. <M> mutes, and <SPACE> selects capture device.
 
Old 08-20-2007, 05:45 PM   #6
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Original Poster
Rep: Reputation: 30
I ran alsamixer on the Asus machine, but I don't see anything wrong. Could you be more specific about what I need to check in alsamixer?
 
Old 08-21-2007, 10:43 PM   #7
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
I really don't know what to tell you. I have no real way of telling you which control manages what. Some of the controls are defined individually by a driver function, some are auto generated based on the sound device.

What I can tell you is that for the Shuttle and "model=6stak-dig", your Mic should be on Node 0x18 and the Front Mic should be on Node 0x19. Look at /proc/asound/card0/codec#0 file as you adjust the controls. The values of Amp-In and Amp-Out correspond with the volume and mute functions. If (value & 0x80) then the node is muted (ex 0x94). You can kind of follow the chain to see where these pins end up at by looking at the connections listing. For example, Node 0x18 (Mic) is connected to Node 0x22 (Audio Mixer), which is connected to Node 0x09 (Audio Input). Both the mixer and the input are muted (Amp In Vals {0x80 0x80]).

Now, it is possible that you don't have controls to unmute them, but that is rare. If you could put a snapshot of alsamiser in both playback & capture modes (use <tab> to switch modes) up on patebin.ca, that would be helpful. I may have to hack a test patch to add some more controls until we get this right.
 
Old 09-11-2007, 05:51 PM   #8
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Original Poster
Rep: Reputation: 30
Post Partial success with position_fix

Thanks for your help with the Asus machine; after using alsamixer, I found the control that was still muted and managed to unmute it. My microphone now works through both the motherboard-mounted jacks and an HD-Audio breakout box that came with a computer case that I put the motherboard in.

As for this:

Quote:
Originally Posted by GrueMaster View Post
Now, it is possible that you don't have controls to unmute them, but that is rare. If you could put a snapshot of alsamiser in both playback & capture modes (use <tab> to switch modes) up on patebin.ca, that would be helpful. I may have to hack a test patch to add some more controls until we get this right.
After looking through the ALSA-Configuration.txt file in the Linux kernel source, we tried the kernel module option position_fix=1, and to our surprise, the rear audio jacks began to work! However, we still cannot make the microphone work anywhere despite this option.

The output from amixer with the position_fix option is:

Code:
Simple mixer control 'Headphone',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 196 [77%] [-11.80dB]
  Front Right: Playback 196 [77%] [-11.80dB]
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 'Front Mic',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 'Front 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 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 24 [77%] [-10.50dB] [on]
  Front Right: Playback 24 [77%] [-10.50dB] [on]
Simple mixer control 'Center',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 'LFE',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 'Side',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 25 [81%] [-9.00dB] [on]
  Front Right: Playback 25 [81%] [-9.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 26 [84%] [4.50dB] [on]
  Front Right: Playback 26 [84%] [4.50dB] [on]
Simple mixer control 'CD',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 27 [87%] [6.00dB] [on]
  Front Right: Playback 27 [87%] [6.00dB] [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: 3 [100%]
  Front Right: 3 [100%]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Mono: Playback [on] Capture [off]
Simple mixer control 'PC Speaker',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 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 24 [77%] [24.00dB] [off]
  Front Right: Capture 24 [77%] [24.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 25 [81%] [25.50dB] [off]
  Front Right: Capture 25 [81%] [25.50dB] [off]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 25 [81%] [25.50dB] [off]
  Front Right: Capture 25 [81%] [25.50dB] [off]
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '6ch' '8ch'
  Item0: '6ch'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 96 [80%] [18.00dB]
  Front Right: Capture 96 [80%] [18.00dB]
Simple mixer control 'Input Source',0
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'CD'
Simple mixer control 'Input Source',2
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 'Line'
I tried using the amixer command to manually unmute and modify the volume configuration on the microphone controls, but without any success.

alsamixer, showing playback controls:

Code:
┌──────────────────────────────────────────────────────────────────[AlsaMixer v1.0.14 (Press Escape to quit)]──────────────────────────────────────────────────────────────────┐
│ Card: HDA NVidia                                                                                                                                                             │
│ Chip: Realtek ALC882                                                                                                                                                         │
│ View: [Playback] Capture  All                                                                                                                                                │
│ Item: Headphone                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│             ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐              ┌──┐                                        │
│             │  │     │  │     │  │     │  │     │  │     │  │     │  │     │  │     │  │     │  │     │  │     │▒▒│              │  │                                        │
│             │  │     │  │     │  │     │  │     │  │     │  │     │  │     │  │     │  │     │  │     │  │     │▒▒│              │  │                                        │
│             │  │     │▒▒│     │▒▒│     │  │     │  │     │  │     │  │     │  │     │  │     │  │     │▒▒│     │▒▒│              │▒▒│                                        │
│             │  │     │▒▒│     │▒▒│     │  │     │  │     │  │     │  │     │  │     │▒▒│     │  │     │▒▒│     │▒▒│              │▒▒│                                        │
│             │  │     │▒▒│     │▒▒│     │  │     │  │     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │  │     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │  │     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                                        │
│             │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│     6ch    Front Mi    CD      Line    │
│    ┌──┐     └──┘     ├──┤     ├──┤     └──┘     ├──┤     ├──┤     ├──┤     ├──┤     ├──┤     ├──┤     ├──┤     └──┘     ┌──┐     ├──┤                                        │
│    │OO│              │OO│     │OO│              │OO│     │OO│     │OO│     │OO│     │OO│     │OO│     │OO│              │OO│     │OO│                                        │
│    └──┘              └──┘     └──┘              └──┘     └──┘     └──┘     └──┘     └──┘     └──┘     └──┘              └──┘     └──┘                                        │
│            77<>77   87<>87   87<>87   67<>67   77<>77     81       81     81<>81   84<>84   81<>81   87<>87  100<>100           87<>87                                       │
│ <Headphon>  PCM     Front   Front Mi Front Mi Surround  Center    LFE      Side     Line      CD      Mic    Mic Boos  IEC958  PC Speak Channel  Input So Input So Input So  │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
alsamixer, showing capture controls:

Code:
┌──────────────────────────────────────────────────────────────────[AlsaMixer v1.0.14 (Press Escape to quit)]──────────────────────────────────────────────────────────────────┐
│ Card: HDA NVidia                                                                                                                                                             │
│ Chip: Realtek ALC882                                                                                                                                                         │
│ View:  Playback [Capture] All                                                                                                                                                │
│ Item: Front Mic Boost                                                                                                                                                        │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                 ┌──┐                   ┌──┐                                         ┌──┐                  ┌──┐                   ┌──┐                  ┌──┐                  │
│                 │  │                   │▒▒│                                         │  │                  │  │                   │  │                  │  │                  │
│                 │  │                   │▒▒│                                         │  │                  │  │                   │  │                  │  │                  │
│                 │  │                   │▒▒│                                         │  │                  │  │                   │  │                  │  │                  │
│                 │  │                   │▒▒│                                         │  │                  │  │                   │  │                  │  │                  │
│                 │  │                   │▒▒│                                         │  │                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │  │                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │  │                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 │▒▒│                   │▒▒│                                         │▒▒│                  │▒▒│                   │▒▒│                  │▒▒│                  │
│                 └──┘                   └──┘                                         └──┘                  └──┘                   └──┘                  └──┘                  │
│                                                             ------                 ------                ------                 ------                                       │
│                67<>67                100<>100                                      77<>77                81<>81                 81<>81                80<>80                 │
│              <Front Mi>              Mic Boos               IEC958                Capture               Capture                Capture               Digital                 │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│                                                                                                                                                                              │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
If you need any output from the other ALSA command line programs, don't hesitate to ask.
 
Old 12-02-2007, 10:30 AM   #9
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Original Poster
Rep: Reputation: 30
BUMP.

The situation listed in the OP hasn't changed - the microphone still does not work. Additional research has turned up nothing else to try.

Does anyone have any further ideas?
 
  


Reply

Tags
alsa, kernel, microphone, skype, sound



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
microphone does not work with Realtek ALC883 HDA fakie_flip Linux - Hardware 47 03-26-2012 07:25 PM
nForce 570 RAID philgar Linux - Hardware 3 02-16-2008 06:50 AM
HDA Intel/Realtek microphone/line in very quiet format C: Linux - Hardware 1 02-20-2007 01:50 PM
nforce hda sound (sound_hda_intel) working but oss emulation does not work doc.nice Linux - Hardware 3 02-12-2007 11:07 AM
Debian Business card to install NVIDIA nForce 570 Ultra MCP LingLIng7 Linux - Newbie 1 01-06-2007 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:05 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration