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