[alsa-devel] Thinkpad T400 - internal mic doesn't work, can't set CAPTURE - schematics included
Hi,
My Thinkpad T400 (2764CTO model) doesn't have ability to set CAPTURE on microphone inputs with alsa. Most likely some quirk is missing.
The laptop has internal microphone, microphone in input, headphones out output and 2 internal speakers. That's all.
Is uses Conexant CX20561_15Z internally and there is detailed T400 schematic available: http://kythuatphancung.com/download/lenovo-thinkpad-t400-schematic- diagram.html?dl (for audio look around page 43).
Kernels 3.7.x, fresh 3.8 - no luck. Tried even linux-next from today but it dies early on alsa unrelated issues.
I've tried model options laptop, hp, hp-dv6736, hp-700, toshiba, ideapad, auto. None of these work fine. With model=hp-700 I can set CAPTURE but it doesn't work (silent audio is captured using arecord or in google hangout). External mic connected also doesn't work with these setups.
http://www.alsa-project.org/db/?f=394ff4cdca33e75c8a47203d42b89d8de36deca7 [3.8 kernel]
http://www.alsa-project.org/db/?f=302877e50f99835075d038207f6db0dfd89873b0 [3.7 kernel]
Thinkpad is 2764CTO model exactly.
I can test various hacks, patches etc easily. Could someone look at schematic and provide quirks to test?
Thanks!
On 02/27/2013 06:58 PM, Arkadiusz Miśkiewicz wrote:
Hi,
My Thinkpad T400 (2764CTO model) doesn't have ability to set CAPTURE on microphone inputs with alsa. Most likely some quirk is missing.
The laptop has internal microphone, microphone in input, headphones out output and 2 internal speakers. That's all.
Is uses Conexant CX20561_15Z internally and there is detailed T400 schematic available: http://kythuatphancung.com/download/lenovo-thinkpad-t400-schematic- diagram.html?dl (for audio look around page 43).
Kernels 3.7.x, fresh 3.8 - no luck. Tried even linux-next from today but it dies early on alsa unrelated issues.
I've tried model options laptop, hp, hp-dv6736, hp-700, toshiba, ideapad, auto. None of these work fine. With model=hp-700 I can set CAPTURE but it doesn't work (silent audio is captured using arecord or in google hangout). External mic connected also doesn't work with these setups.
http://www.alsa-project.org/db/?f=394ff4cdca33e75c8a47203d42b89d8de36deca7 [3.8 kernel]
http://www.alsa-project.org/db/?f=302877e50f99835075d038207f6db0dfd89873b0 [3.7 kernel]
Thinkpad is 2764CTO model exactly.
I can test various hacks, patches etc easily. Could someone look at schematic and provide quirks to test?
Hi,
What do you mean with "doesn't have ability to set CAPTURE"? What input is used is automatically selected depending on what you have plugged in, and its level is set using mixer controls (which in your alsa-info is set to minimum levels).
On Thursday 28 of February 2013, David Henningsson wrote:
On 02/27/2013 06:58 PM, Arkadiusz Miśkiewicz wrote:
Hi,
My Thinkpad T400 (2764CTO model) doesn't have ability to set CAPTURE on microphone inputs with alsa. Most likely some quirk is missing.
The laptop has internal microphone, microphone in input, headphones out output and 2 internal speakers. That's all.
Is uses Conexant CX20561_15Z internally and there is detailed T400 schematic available: http://kythuatphancung.com/download/lenovo-thinkpad-t400-schematic- diagram.html?dl (for audio look around page 43).
Kernels 3.7.x, fresh 3.8 - no luck. Tried even linux-next from today but it dies early on alsa unrelated issues.
I've tried model options laptop, hp, hp-dv6736, hp-700, toshiba, ideapad, auto. None of these work fine. With model=hp-700 I can set CAPTURE but it doesn't work (silent audio is captured using arecord or in google hangout). External mic connected also doesn't work with these setups.
http://www.alsa-project.org/db/?f=394ff4cdca33e75c8a47203d42b89d8de36deca 7 [3.8 kernel]
http://www.alsa-project.org/db/?f=302877e50f99835075d038207f6db0dfd89873b 0 [3.7 kernel]
Thinkpad is 2764CTO model exactly.
I can test various hacks, patches etc easily. Could someone look at schematic and provide quirks to test?
Hi,
What do you mean with "doesn't have ability to set CAPTURE"?
On some other notebook I had mic input that I could set to CAPTURE mode using space in alsamixer F4: Capture menu. Here I can't set capture on any of inputs (pressing space causes no change).
What input is used is automatically selected depending on what you have plugged in, and its level is set using mixer controls (which in your alsa-info is set to minimum levels).
There are two jack sockets in this laptop, one with headphones icon and other with mic icon (on the laptop case itself) as on this photo: http://www.notebookreview.com/shared/picture.asp?f=42200
Ok... maxing all mixer controls and connecting external microphone I get external mic being recorded. The mixer controls that seem to be working in such mode are: "Mic", "Mic boost" and "Digital". What's weird is that when "Digitial" is set to 0 then no sound from microphone is being recorded (testing with arecord -f cd | aplay). The "Mic" and "Mic boost" seems to work as expectedf. Question: why "Digital" has any influence here?
Unfortunately I'm unable to get internal microphone working at all. Even with all outputs set to maximum like this:
http://www.alsa-project.org/db/?f=9a7e1ca68b2f2fa2f77dce6ead2b5fb158b74652
Internal mic is my primary problem.
Thanks!
On 02/28/2013 06:23 PM, Arkadiusz Miśkiewicz wrote:
On Thursday 28 of February 2013, David Henningsson wrote:
On 02/27/2013 06:58 PM, Arkadiusz Miśkiewicz wrote:
Hi,
My Thinkpad T400 (2764CTO model) doesn't have ability to set CAPTURE on microphone inputs with alsa. Most likely some quirk is missing.
The laptop has internal microphone, microphone in input, headphones out output and 2 internal speakers. That's all.
Is uses Conexant CX20561_15Z internally and there is detailed T400 schematic available: http://kythuatphancung.com/download/lenovo-thinkpad-t400-schematic- diagram.html?dl (for audio look around page 43).
Kernels 3.7.x, fresh 3.8 - no luck. Tried even linux-next from today but it dies early on alsa unrelated issues.
I've tried model options laptop, hp, hp-dv6736, hp-700, toshiba, ideapad, auto. None of these work fine. With model=hp-700 I can set CAPTURE but it doesn't work (silent audio is captured using arecord or in google hangout). External mic connected also doesn't work with these setups.
http://www.alsa-project.org/db/?f=394ff4cdca33e75c8a47203d42b89d8de36deca 7 [3.8 kernel]
http://www.alsa-project.org/db/?f=302877e50f99835075d038207f6db0dfd89873b 0 [3.7 kernel]
Thinkpad is 2764CTO model exactly.
I can test various hacks, patches etc easily. Could someone look at schematic and provide quirks to test?
Hi,
What do you mean with "doesn't have ability to set CAPTURE"?
On some other notebook I had mic input that I could set to CAPTURE mode using space in alsamixer F4: Capture menu. Here I can't set capture on any of inputs (pressing space causes no change).
We're increasingly moving away from manual input selection to automatic based on what is plugged in.
What input is used is automatically selected depending on what you have plugged in, and its level is set using mixer controls (which in your alsa-info is set to minimum levels).
There are two jack sockets in this laptop, one with headphones icon and other with mic icon (on the laptop case itself) as on this photo: http://www.notebookreview.com/shared/picture.asp?f=42200
Ok... maxing all mixer controls and connecting external microphone I get external mic being recorded. The mixer controls that seem to be working in such mode are: "Mic", "Mic boost" and "Digital". What's weird is that when "Digitial" is set to 0 then no sound from microphone is being recorded (testing with arecord -f cd | aplay). The "Mic" and "Mic boost" seems to work as expectedf. Question: why "Digital" has any influence here?
Unfortunately I'm unable to get internal microphone working at all. Even with all outputs set to maximum like this:
http://www.alsa-project.org/db/?f=9a7e1ca68b2f2fa2f77dce6ead2b5fb158b74652
Internal mic is my primary problem.
From a quick look at the alsa-info things look fine, so I don't know what has happened here. Is it a regression from an older kernel, or did it never work?
2013-3-1 上午1:23 於 "Arkadiusz Miśkiewicz" arekm@maven.pl 寫道:
On Thursday 28 of February 2013, David Henningsson wrote:
On 02/27/2013 06:58 PM, Arkadiusz Miśkiewicz wrote:
Hi,
My Thinkpad T400 (2764CTO model) doesn't have ability to set CAPTURE
on
microphone inputs with alsa. Most likely some quirk is missing.
The laptop has internal microphone, microphone in input, headphones
out
output and 2 internal speakers. That's all.
Is uses Conexant CX20561_15Z internally and there is detailed T400 schematic available: http://kythuatphancung.com/download/lenovo-thinkpad-t400-schematic- diagram.html?dl (for audio look around page 43).
Kernels 3.7.x, fresh 3.8 - no luck. Tried even linux-next from today
but
it dies early on alsa unrelated issues.
I've tried model options laptop, hp, hp-dv6736, hp-700, toshiba,
ideapad,
auto. None of these work fine. With model=hp-700 I can set CAPTURE
but it
doesn't work (silent audio is captured using arecord or in google hangout). External mic connected also doesn't work with these setups.
http://www.alsa-project.org/db/?f=394ff4cdca33e75c8a47203d42b89d8de36deca
7 [3.8 kernel]
http://www.alsa-project.org/db/?f=302877e50f99835075d038207f6db0dfd89873b
0 [3.7 kernel]
Thinkpad is 2764CTO model exactly.
I can test various hacks, patches etc easily. Could someone look at schematic and provide quirks to test?
Hi,
What do you mean with "doesn't have ability to set CAPTURE"?
On some other notebook I had mic input that I could set to CAPTURE mode
using
space in alsamixer F4: Capture menu. Here I can't set capture on any of
inputs
(pressing space causes no change).
What input is used is automatically selected depending on what you have plugged in, and its level is set using mixer controls (which in your alsa-info is set to minimum levels).
There are two jack sockets in this laptop, one with headphones icon and
other
with mic icon (on the laptop case itself) as on this photo: http://www.notebookreview.com/shared/picture.asp?f=42200
Ok... maxing all mixer controls and connecting external microphone I get external mic being recorded. The mixer controls that seem to be working in such mode are: "Mic", "Mic boost" and "Digital". What's weird is that when "Digitial" is set to 0 then no sound from microphone is being recorded (testing with arecord -f cd | aplay). The "Mic" and "Mic boost" seems to
work
as expectedf. Question: why "Digital" has any influence here?
Unfortunately I'm unable to get internal microphone working at all. Even
with
all outputs set to maximum like this:
http://www.alsa-project.org/db/?f=9a7e1ca68b2f2fa2f77dce6ead2b5fb158b74652
Internal mic is my primary problem.
Do you mean dynamic adc switch does not work as expected or "Dock mic capture volume" and "internal Michael capture volume" controls cannot share the same amp in ?
Node 0x14 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L Control: name="Dock Mic Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=1, ofs=0 Control: name="Internal Mic Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Device: name="CONEXANT Analog", type="Audio", device=0 Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=0 Amp-In vals: [0x50 0x50] [0x50 0x50] Converter: stream=4, channel=0 SDI-Select: 0 PCM: rates [0x160]: 44100 48000 96000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power states: D0 D1 D2 D3 Power: setting=D0, actual=D0 Connection: 2 0x1d* 0x17 Node 0x15 [Audio Input] wcaps 0x100d1b: Stereo Amp-In R/L Control: name="Mic Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=0 Amp-In vals: [0x50 0x50] Converter: stream=0, channel=0 SDI-Select: 0 PCM: rates [0x160]: 44100 48000 96000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power states: D0 D1 D2 D3 Power: setting=D0, actual=D0 Connection: 1 0x18
2013-2-28 上午1:58 於 "Arkadiusz Miśkiewicz" arekm@maven.pl 寫道:
Hi,
My Thinkpad T400 (2764CTO model) doesn't have ability to set CAPTURE on microphone inputs with alsa. Most likely some quirk is missing.
The laptop has internal microphone, microphone in input, headphones out
output
and 2 internal speakers. That's all.
Is uses Conexant CX20561_15Z internally and there is detailed T400
schematic
available: http://kythuatphancung.com/download/lenovo-thinkpad-t400-schematic- diagram.html?dl (for audio look around page 43).
Kernels 3.7.x, fresh 3.8 - no luck. Tried even linux-next from today but
it
dies early on alsa unrelated issues.
I've tried model options laptop, hp, hp-dv6736, hp-700, toshiba, ideapad, auto. None of these work fine. With model=hp-700 I can set CAPTURE but it doesn't work (silent audio is captured using arecord or in google
hangout).
External mic connected also doesn't work with these setups.
http://www.alsa-project.org/db/?f=394ff4cdca33e75c8a47203d42b89d8de36deca7 [3.8 kernel]
http://www.alsa-project.org/db/?f=302877e50f99835075d038207f6db0dfd89873b0 [3.7 kernel]
Thinkpad is 2764CTO model exactly.
I can test various hacks, patches etc easily. Could someone look at
schematic
and provide quirks to test?
Seem those driver pin config lost in hda_proc.c
/sys/class/sound/hwC0D0/driver_pin_configs: 0x16 0x042140ff 0x17 0x21a11000 0x19 0x2121103f 0x1c 0x21440100
Node 0x17 [Pin Complex] wcaps 0x40048b: Stereo Amp-In Control: name="Dock Mic Boost Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Dock Mic Jack", index=0, device=0 Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Pincap 0x00001224: IN Detect Vref caps: 50 80 Pin Default 0x61a190f0: [N/A] Mic at Sep Rear Conn = 1/8, Color = Pink DefAssociation = 0xf, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=04, enabled=1 Power states: D0 D1 D2 D3 Power: setting=D0, actual=D0
Node 0x19 [Pin Complex] wcaps 0x400581: Stereo Control: name="Dock Headphone Jack", index=0, device=0 Pincap 0x00000014: OUT Detect Pin Default 0x40f000f0: [N/A] Other at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Pin-ctls: 0x40: OUT Unsolicited: tag=01, enabled=1 Power states: D0 D1 D2 D3 Power: setting=D0, actual=D0 Connection: 2 0x10 0x11*
Node 0x1c [Pin Complex] wcaps 0x400701: Stereo Digital Control: name="SPDIF Phantom Jack", index=0, device=0 Pincap 0x00000010: OUT Pin Default 0x40f001f0: [N/A] Other at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Power states: D0 D1 D2 D3 Power: setting=D0, actual=D0 Connection: 1 0x12
participants (3)
-
Arkadiusz Miśkiewicz
-
David Henningsson
-
Raymond Yau