I think this is where I found it. (it is included in a previous post.)
Ref: http://forum.thinkpa...p?f=32&t=102098
http://forum.thinkpa...p?f=32&t=102098
this site was very useful also
http://www.tinhte.vn/threads/1481524/
Anyway for what its worth attached is an AppleHDA.kext for CX20590 for Lenovo T420 with 10.8.2.
It was based on standard 10.8.2 AppleHDA, with just 4 modifications. Note: It is very similar in function to the 10.7.3 version as it has 4 ports.
- internal speaker
- internal microphone
- external speaker/headphone (if plugged in the jack front/right)
- Linein/external mic (if plugged in the jack front/right)
Or if you just plug in external speakers, then the internal mic is used.
However, this version expects layout ID 12 (0x0C) in dsdt.aml.
Device (HDEF)
{
Name (_ADR, 0x001B0000)
Name (_S3D, 0x03)
Name (RID, Zero)
Name (_PRW, Package (0x02)
{
0x0D,
0x04
})
Method (_PSW, 1, NotSerialized)
{
Noop
}
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x0A)
{
"codec-id",
Buffer (0x04)
{
0x6E, 0x50, 0xF1, 0x14
},
"layout-id",
Buffer (0x04)
{
// for 10.8.x use layout12
0x0C, 0x00, 0x00, 0x00
// 0x6E, 0x50, 0x00, 0x00
},
"PinConfigurations",
Buffer (Zero) {},
"hda-gfx",
Buffer (0x0A)
{
"onboard-1"
},
"device-type",
Buffer (0x11)
{
"Conexant CX20590"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Besides the dsdt change, there are 3 files that need to replaced
1) /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist
2)
/System/Library/Extensions/AppleHDA.kext/Contents/Resources/layout12.xml.zlib
3)
/System/Library/Extensions/AppleHDA.kext/Contents/Resources/Platforms.xml.zlib
These are the “verbs” that are used in Info.plist
01971C30 01971D10 01971E21 01971F01
01B71C20 01B71D10 01B71EA1 01B71F01
01F71C40 01F71D01 01F71E10 01F71F90
02371CA0 02371D01 02371EA0 02371F90
01B70C02
The final change is to patch the binary to use a existing codec for the Conexant chipset.
Thanks to bcc9 who posted an excellent bin-patching script ref:
http://www.insanelym...y-for-osx107108
I added the codec info for Conexant in the file patch-hda-codecs.pl and ran:
# ./patch-hda.pl 14f1506e
{ name => 'Conexant' ,
target_id => 0x14f1506e,
patch_id => 0x11d4198b #Conexant
},
The attached zip has the modified AppleHDA.kext, dsdt.aml (and dsl), and some tools/files used to build it.
updated: 11-30-2012 to be consistent with 10.8.2 kext pack below.



Sign In
Create Account











