At Mon, 18 May 2009 14:44:48 +0800, Karthik Ramgopal wrote:
Hi, Here is a list of ALC889 verbs for the 6920/6935 series of laptops. I got this from someone who has got the audio subsystem fully working (jack sensing+proper mapping+mic+SPDIF) with Mac OS X.
NID 17 [Jack] Digital Out at Int HDMI Node - 0x11 Pin Default - 0x18561130 Verb - 01171C30 01171D11 01171E56 01171F18
NID 18 [Fixed] Mic at Int ATAPI Node 0x12 Pin Default - 0x99a3094e Verb - 01271C4E 01271D09 01271EA3 01271F99
NID 20 [Fixed] Speaker at Int ATAPI Node - 0x14 Pin Default - 0x99130110 Verb - 01471C10 01471D01 01471E13 01471F99
NID 21 [Jack] HP Out at Ext Front Node - 0x15 Pin Default - 0x0221101f Verb - 01571C1F 01571D10 01571E21 01571F02
NID 22 [N/A] Speaker at Ext Rear Node - 0x16 Pin Default - 0x411111f0 Verb - 01671CF0 01671D11 01671E11 01671F41
NID 23 [N/A] Speaker at Ext Rear Node - 0x17 Pin Default - 0x411111f0 Verb - 01771CF0 01771D11 01771E11 01771F41
NID 24 [Jack] Mic at Ext Front Node - 0x18 Pin Default - 0x02a19c40 Verb - 01871C40 01871D9C 01871EA1 01871F02
NID 25 [N/A] Speaker at Ext Rear Node - 0x19 Pin Default - 0x411111f0 Verb - 01971CF0 01971D11 01971E11 01971F41
NID 26 [Jack] Line In at Ext Front Node - 0x1A Pin Default - 0x02813441 Verb - 01A71C41 01A71D34 01A71E81 01A71F02
NID 27 [N/A] Speaker at Ext Rear Node - 0x1B Pin Default - 0x411111f0 Verb - 01B71CF0 01B71D11 01B71E11 01B71F41
NID 28 [N/A] Speaker at Ext Rear Node - 0x1C Pin Default - 0x411111f0 Verb - 01C71CF0 01C71D11 01C71E11 01C71F41
NID 29 [N/A] Speaker at Ext Rear Node - 0x1D Pin Default - 0x4016852d Verb - 01D71C2D 01D71D85 01D71E16 01D71F40
NID 30 [Jack] SPDIF Out at Ext Front Node - 0x1E Pin Default - 0x02451120 Verb - 01E71C20 01E71D11 01E71E45 01E71F02
NID 31 [N/A] Speaker at Ext Rear Node - 0x1F Pin Default - 0x411111f0 Verb - 01F71CF0 01F71D11 01F71E11 01F71F41
Any use of these?
Set model=auto, try to write all these values to /sys/class/sound/hwC0D*/user_pin_configs as root, such as # echo 0x11 0x18561130 > /sys/class/sound/hwC0D0/user_pin_configs
Then write 1 to /sys/class/sound/hwC0D*/reconfig. It'll reconfigure the setup according to the new pin configuration. The EAPD setting might be still missing, though.
Takashi