Contribute
Register

Lenovo Yoga 520 Issues with compiling DSDT, patching VooDoo I2C and ACPI table errors

Joined
Oct 13, 2018
Messages
1
CPU
i7-8550U
Graphics
UHD 620 / GTX 940mx
Mac
MacBook Pro
Mobile Phone
Android
Hello everyone,

I have successfully installed macOS Mojave with almost no issues (Audio and battery indicator fixed with kexts). Now I'm trying to fix the trackpad. Even though the keyboard and external mouse works out of the box, the trackpad is pretty important since the laptop only has 2 USB ports. I don't mind if the touchscreen doesn't work, as long as the trackpad does. The trackpad is a I2C HID device.

After searching far and wide, I concluded that my laptop needs:
  • DSDT patch
  • VooDooI2C Kext
  • VooDooI2CHID Kext
Since a similar laptop, the Yoga 720 needs a Windows 10 DSDT patch for it to work.

When I extracted the DSDT.aml to DSDT.dsl with the latest IASL and MaciASL, it works without the refs.txt. When I compiled it back to aml, there's no errors, but many warnings. I tried to use this recompiled aml by placing it into the clover patched folder, and it boots normally with no issues whatsoever.

The issue comes to play when I tried to patch with VooDoo I2C controller. A syntax error occured, unexpected PARSEOP_METHOD. It turns out there's an extra curly bracket as shown below:



After fixing it, a similar error occurs further down the DSDT, so I fixed the other curly bracket. After trying to compile, the following errors occur:



I attempted to increase the scope of Scope (_SB.PCI0) with the help of a user on discord, and after compiling, no errors occured. After placing it in the patched folder in Clover and rebooting the laptop, I received ACPI table errors:



I repeated the entire process with using refs.txt, but the same thing happens again. There's no PARSEOP_ZERO to patch at all if that's anything. I followed this guide as well.

Thanks in advance for any help!
 

Attachments

P1LGRIM

Moderator
Joined
Mar 2, 2012
Messages
21,594
Motherboard
Lenovo ThinkStation p300 ⌘
CPU
i7-4790K
Graphics
HD 4600
Mac
MacBook Pro, Mac mini
Classic Mac
Power Mac
Mobile Phone
iOS

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,123
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hello everyone,

I have successfully installed macOS Mojave with almost no issues (Audio and battery indicator fixed with kexts). Now I'm trying to fix the trackpad. Even though the keyboard and external mouse works out of the box, the trackpad is pretty important since the laptop only has 2 USB ports. I don't mind if the touchscreen doesn't work, as long as the trackpad does. The trackpad is a I2C HID device.

After searching far and wide, I concluded that my laptop needs:
  • DSDT patch
  • VooDooI2C Kext
  • VooDooI2CHID Kext
Since a similar laptop, the Yoga 720 needs a Windows 10 DSDT patch for it to work.

When I extracted the DSDT.aml to DSDT.dsl with the latest IASL and MaciASL, it works without the refs.txt. When I compiled it back to aml, there's no errors, but many warnings. I tried to use this recompiled aml by placing it into the clover patched folder, and it boots normally with no issues whatsoever.

The issue comes to play when I tried to patch with VooDoo I2C controller. A syntax error occured, unexpected PARSEOP_METHOD. It turns out there's an extra curly bracket as shown below:



After fixing it, a similar error occurs further down the DSDT, so I fixed the other curly bracket. After trying to compile, the following errors occur:



I attempted to increase the scope of Scope (_SB.PCI0) with the help of a user on discord, and after compiling, no errors occured. After placing it in the patched folder in Clover and rebooting the laptop, I received ACPI table errors:



I repeated the entire process with using refs.txt, but the same thing happens again. There's no PARSEOP_ZERO to patch at all if that's anything. I followed this guide as well.

Thanks in advance for any help!
"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/
 
Top