Contribute
Register

Lenovo X1Carbon 4th Gen (2016) - Sierra

Status
Not open for further replies.
Thank you RehabMan!
I will give it a try!

Ah well, everything cannot be perfect.
I get two errors when I try to compile.
1:
Unexpected "}" at line 16408

2:
Unexpected PARSEOP_ELSE at line 16518

I have only applied (or rather, tried) the sys IRQ and bat X220 fixes from your repo.
Attached is my dsl file - the one I am trying to patch.
 

Attachments

  • DSDT.dsl
    580.7 KB · Views: 173
Ah well, everything cannot be perfect.
I get two errors when I try to compile.
1:
Unexpected "}" at line 16408

2:
Unexpected PARSEOP_ELSE at line 16518

I have only applied (or rather, tried) the sys IRQ and bat X220 fixes from your repo.
Attached is my dsl file - the one I am trying to patch.

Not sure if this means anything, but the dsl won't compile even without the patches - same two errors.
 
OK, think I got it:
was:
{
\_SB.PCI0.RP09.PEGP.NVST ()
0x3C
}
changed to:
{
\_SB.PCI0.RP09.PEGP.NVST (
0x3C)
}
Now I only get warnings.
 
Ah well, everything cannot be perfect.
I get two errors when I try to compile.
1:
Unexpected "}" at line 16408

2:
Unexpected PARSEOP_ELSE at line 16518

I have only applied (or rather, tried) the sys IRQ and bat X220 fixes from your repo.
Attached is my dsl file - the one I am trying to patch.

It is likely you disassembled incorrectly.

"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
It is likely you disassembled incorrectly.

"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

I think disassembly was OK, I followed the guide word for word.
Anyway, I got the aml file OK with the patches.
I copied that to EFI/Clover/ACPI/patched
"installed" your battery manager ( <- I might have made a mistake here, as I copied it to SLE)
Rebuilt cache (and the battery manager kext was omitted because of wrong permissions)
Reboot .... and nothing.
 
I think disassembly was OK, I followed the guide word for word.
Anyway, I got the aml file OK with the patches.
I copied that to EFI/Clover/ACPI/patched
"installed" your battery manager ( <- I might have made a mistake here, as I copied it to SLE)
Rebuilt cache (and the battery manager kext was omitted because of wrong permissions)
Reboot .... and nothing.

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

Hello RehabMan,
Yes, I know, and at this point I was merely looking for suggestions - didn't want to hold up anyone with it.
And I did succeed - as I thought, the kext install was the thing that went wrong.
I used Kext Utility... then resorted to terminal and voila, I now have battery displayed also.
So, Lenovo 4th gen X1 Carbon with i5 6200U and HD 520.
Working:
Sierra with
LCD backlight (AppleBacklightInjector.kext)
Keyboard backlight (OOB?)
Sound (only tested internal speakers and mic, so HDMI not confirmed) (VoodooHDA.kext 2.9.0d10)
Accelerated graphics (HD520 plist from RehabMan)
Touchpad with gestures (VoodooPS2Controller.kext)
Trackpoint (I guess because of VoodooPS2Controller.kext)
Battery display (bat X220 and sys IRQ from RehabMan + ACPIBatteryManager.kext)
Wired LAN (IntelMausiEthernet.kext)
App Store
Siri

Not working:
Wifi (I have to change the card)
Shutdown (reboots instead)
Sleep (only turns off the display)
Camera
Battery depletes quite fast - CPU speed maybe?
 
Last edited:
See FAQ:
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

Your shutdown issue is probably PMEE issue (look at ACPI hotpatch SSDT-PTSWAK.dsl and handling of _PTS re. XHC.PMEE).

Thank you RehabMan!
Maybe I am going insane BUT the sleep (sort of) / restart / reboot started working WITHOUT me doing anything... figure that...
So Wifi and Webcam are left as the only non-working features.
And I need to test the battery lifetime, although I did get 5+ hours yesterday.
 
Status
Not open for further replies.
Back
Top