Shalom folks!
I'v got completely working solution for sound at T510/T410 + T520/W520(with different bin patch)
What we got
-sound autodetection speakers-headphones
-internal mic
-external mic with combo port as line in
to use headphones+external mic you need to use headset like iPhone use or any other phone with 4 pin TRRS mini-jack connector
also to get it working you should use some patch for HDEF dsdt section
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x0E)
{
"AAPL,slot-name",
Buffer (0x09)
{
"Built in"
},
"device-id",
Buffer (0x04)
{
0x69, 0x50, 0xF1, 0x14
},
"layout-id",
Buffer (0x04)
{
0x6E, 0x50, 0x00, 0x00
},
"model",
Buffer (0x1A)
{
"HD Audio Conexant Cx20585"
},
"name",
Buffer (0x11)
{
"Conexant Cx20585"
},
"device_type",
Buffer (0x11)
{
"Audio Controller"
},
// "hda-gfx",
// Buffer (0x0A)
// {
// "onboard-1"
// },
"PinConfigurations",
Buffer (One)
{
0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
Then install next with updated dsdt and reboot
T520/420/W520 machines should patch my next with your codec IDs
sudo perl -pi -e 's|\x69\x50\xf1\x14|\x6e\x50\xf1\x14|g' AppleHDA.kext/Contents/MacOS/AppleHDA
Good luck