Contribute
Register

[Guide] Lenovo T430 - El Capitan

Status
Not open for further replies.
That is the same problem i have. Glad you have it too :headbang:

You guys can work on it together. As a general rule, I never keep USB storage devices connected across sleep, power down, restart. I use USB storage as backups. Backups connected when not doing a backup or restore are at risk unnecessarily.
 
Great work kartoffelsalat_reloaded! I've been using your threads since Yosemite and now El Capitan.
I've been trying to get dock audio working for the longest of while, and I'm really really close. I've gotten all the outputs and inputs working, Including dock LineOut and LineIn. The problem is getting the audio to switch correctly.

Currently I have it to the point where if I dock my laptop it will automatically switch to LineOut and give audio (assuming you have something plugged into the dock),But LineOut seems to take precedence over Headphones which is quite an annoyance. Headphones will be disabled upon docking.

We could probably fix it if we found a way to have headphones take precedence over the Speaker/Dock switch.

I've attached my decoded Codec dump/Verbs, Modified Platform and Layout28, and a Modified Version of your ALC269 kext (with everything in in it already) if you want to take a look or have an idea how to fix the docking issue, or even just try out my version of the ALC269. I guess once this is fixed we'll have perfect appleHDA audio on our laptops. :lol:

I've also separated the Headphone LineIn and from the Internal LineIn and Dock LineIn since I dislike my headset microphone and would rather use the internal. The Internal Mic will switch to Dock LineIn based off of Jack Detect on the Dock.

View attachment T430 ALC269.zip
 
The patch did not apply correctly...

go back to DSDT before the last patch... Try:
Code:
# remove dumb code from _WAK (and it is not needed)
into method label \_WAK code_regex If.*LOr.*Equal.*Arg0.*LGreaterEqual.*Arg0.*0x05.*\n.*\{\n.*Return.*WAKI.*\n.*\} remove_matched;
into method label _WAK code_regex If.*LOr.*Equal.*Arg0.*LGreaterEqual.*Arg0.*0x05.*\n.*\{\n.*Return.*WAKI.*\n.*\} remove_matched;

# sleep related T450 (LED)... may affect other models
into method label _WAK code_regex (Return\s+\(.*) replace_matched
begin
If (LEqual(Arg0,3))\n
{\n
    \\_SB.PCI0.LPC.EC.LED(Zero, 0x80)\n
    \\_SB.PCI0.LPC.EC.LED(0x0A, 0x80)\n
}\n
%1\n
end;
into method label \_WAK code_regex (Return\s+\(.*) replace_matched
begin
If (LEqual(Arg0,3))\n
{\n
    \\_SB.PCI0.LPC.EC.LED(Zero, 0x80)\n
    \\_SB.PCI0.LPC.EC.LED(0x0A, 0x80)\n
}\n
%1\n
end;

Just a little something I found. The T430 uses register 0x07 instead of 0x0A for the lid sleep LED. So with the LED fix you posted the power button LED will return to normal, but the sleep LED remains on.

The fix is to change
Code:
    \\_SB.PCI0.LPC.EC.LED(Zero, 0x80)\n
    \\_SB.PCI0.LPC.EC.LED(0x0A, 0x80)\n
to
Code:
    \\_SB.PCI0.LPC.EC.LED(Zero, 0x80)\n
    \\_SB.PCI0.LPC.EC.LED(0x07, 0x80)\n
 
Just a little something I found. The T430 uses register 0x07 instead of 0x0A for the lid sleep LED. So with the LED fix you posted the power button LED will return to normal, but the sleep LED remains on.

The fix is to change
Code:
    \\_SB.PCI0.LPC.EC.LED(Zero, 0x80)\n
    \\_SB.PCI0.LPC.EC.LED(0x0A, 0x80)\n
to
Code:
    \\_SB.PCI0.LPC.EC.LED(Zero, 0x80)\n
    \\_SB.PCI0.LPC.EC.LED(0x07, 0x80)\n

I will comment the patch in the battery patch (originally for X220) and make a note in it about the 0x07 vs. 0x0A.
 
Hi RehabMan,Im working on USB on 10.11.1,I had renamed EHC to EH01/EH02,patched DSDT with OS check win8,install FakePCIID+FakePCIID_XHCIMux+USBInjectAll.But USB worked incorrectly,bluetooth was gone and after sleep Sound was gone too(but icon in menu bar is ok)and if I shutdown my lap,when it power on next time,system will halt before clover loading.To sovle it,I need unplug all battery or ac power and then reboot.I stuck in these problems for long time(tried rename XHCI or patch shutdown),would you please help me to look into this?Many thanks.

here are the codes:
kextstat|grep -y acpiplat 13 2 0xffffff7f82697000 0x66000 0x66000 com.apple.driver.AppleACPIPlatform (4.0) 295F7A91-2DF7-3FFE-9550-A0C1A6F9D575 <12 11 7 6 5 4 3 1>


kextstat|grep -y appleintelcpu
23 0 0xffffff7f822f1000 0x2b000 0x2b000 com.apple.driver.AppleIntelCPUPowerManagement (218.0.0) 38E3CB46-539D-3104-AF43-CEF24124B14A <7 6 5 4 3 1>
31 0 0xffffff7f822ec000 0x3000 0x3000 com.apple.driver.AppleIntelCPUPowerManagementClient (218.0.0) 25B44397-83A4-3F4D-89E4-3D45C3EADD04 <7 6 5 4 3 1>


kextstat|grep -y applelpc
89 0 0xffffff7f820ee000 0x3000 0x3000 com.apple.driver.AppleLPC (3.1) 0C90B22D-637B-3000-8C44-B7955D57E10A <85 12 5 4 3>



View attachment RehabMan.zip

View attachment CLOVER.zip
 
Hi RehabMan,Im working on USB on 10.11.1,I had renamed EHC to EH01/EH02,patched DSDT with OS check win8,install FakePCIID+FakePCIID_XHCIMux+USBInjectAll.But USB worked incorrectly,bluetooth was gone and after sleep Sound was gone too(but icon in menu bar is ok)and if I shutdown my lap,when it power on next time,system will halt before clover loading.To sovle it,I need unplug all battery or ac power and then reboot.I stuck in these problems for long time(tried rename XHCI or patch shutdown),would you please help me to look into this?Many thanks.

here are the codes:
kextstat|grep -y acpiplat 13 2 0xffffff7f82697000 0x66000 0x66000 com.apple.driver.AppleACPIPlatform (4.0) 295F7A91-2DF7-3FFE-9550-A0C1A6F9D575 <12 11 7 6 5 4 3 1>


kextstat|grep -y appleintelcpu
23 0 0xffffff7f822f1000 0x2b000 0x2b000 com.apple.driver.AppleIntelCPUPowerManagement (218.0.0) 38E3CB46-539D-3104-AF43-CEF24124B14A <7 6 5 4 3 1>
31 0 0xffffff7f822ec000 0x3000 0x3000 com.apple.driver.AppleIntelCPUPowerManagementClient (218.0.0) 25B44397-83A4-3F4D-89E4-3D45C3EADD04 <7 6 5 4 3 1>


kextstat|grep -y applelpc
89 0 0xffffff7f820ee000 0x3000 0x3000 com.apple.driver.AppleLPC (3.1) 0C90B22D-637B-3000-8C44-B7955D57E10A <85 12 5 4 3>



View attachment 160685

View attachment 160687

You have a patched SSDT in ACPI/patched. Requires DropOem=true. Make sure you include the rest of the SSDTs, patched appropriately.

See guide: http://www.tonymacx86.com/el-capitan-laptop-support/152573-guide-patching-laptop-dsdt-ssdts.html

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.
 
You have a patched SSDT in ACPI/patched. Requires DropOem=true. Make sure you include the reset of the SSDTs, patched appropriately.

See guide: http://www.tonymacx86.com/el-capitan-laptop-support/152573-guide-patching-laptop-dsdt-ssdts.html

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

Thanks for reply.I patched SSDT only for Renaming GPU(some patches in DSDT like Brightness,layout3,IRQ) and you mentioned include the rest of SSDTs,Did you mean I should set DropOem=true in Clover config.plist and patch Rename GPU in the rest of SSDTs or patch other SSDTs by patches I used in DSDT?Thanks in advance.

here is my ioreg,sorry I forgot it.
View attachment GerryGu.ioreg
 
Thanks for reply.I patched SSDT only for Renaming GPU(some patches in DSDT like Brightness,layout3,IRQ) and you mentioned include the rest of SSDTs,Did you mean I should set DropOem=true in Clover config.plist and patch Rename GPU in the rest of SSDTs or patch other SSDTs by patches I used in DSDT?Thanks in advance.

here is my ioreg,sorry I forgot it.
View attachment 160777

Any rename must be applied to all files that reference the renamed identifier.

DropOem=true must be used when you have patched SSDT(s).

When using DropOem=true, you must include the SSDTs that you're dropping (patched appropriately) in ACPI/patched.

SortedOrder must be used to specify the order that SSDTs load.

It is covered in the ACPI patching guide.
 
Just a little something I found. The T430 uses register 0x07 instead of 0x0A for the lid sleep LED. So with the LED fix you posted the power button LED will return to normal, but the sleep LED remains on.

The fix is to change
Code:
    \\_SB.PCI0.LPC.EC.LED(Zero, 0x80)\n
    \\_SB.PCI0.LPC.EC.LED(0x0A, 0x80)\n
to
Code:
    \\_SB.PCI0.LPC.EC.LED(Zero, 0x80)\n
    \\_SB.PCI0.LPC.EC.LED(0x07, 0x80)\n

This is not working perfectly.
After wake up from sleep, the sleep moon LED is gone (as supposed), but if you move the display up and down the moon LED is flickering ... o_O i go back to 0x0A. It's not worth to fix!
 
Status
Not open for further replies.
Back
Top