Jump to content

Lenovo X220 using MaciASL


sports
 Share

4 posts in this topic

Recommended Posts

I've begun attempting to patch my DSDT.

 

One of the bigger issues is I get around ~19 errors after compilation.

 

That is after I apply patches, x220 specific ones from a git repository of DSDT patches. One of the worst things is I've opened MaciASL and compiled the extracted (immaculate) DSDT and it gives me 17 errors! How can my DSDT have errors and yet be in use by the laptop?

 

Most of the errors (with exception of one) involve lines like 

Name (_PLD, Buffer 0x10) //_PLD: Physical Location of Device

and return "Invalid object type for reserved name (_PLD: found Buffer, Package required)"

 

and my first error (which happens to be the sole different one) is 

Name (_IRC, 0x00)  // _IRC: Inrush Current

with error "Reserved name must be a control method (with zero arguments)"

 

Again, this isn't patched DSDT, this is the one that is extracted from my machine. What's going on?

Link to comment
Share on other sites

and return "Invalid object type for reserved name (_PLD: found Buffer, Package required)"

 

 

  1. Name (_PLD, Buffer 0x10) //_PLD: Physical Location of Device

 

 

  1. Name (_PLD, Package (0x10) //_PLD: Physical Location of Device
Link to comment
Share on other sites

and return "Invalid object type for reserved name (_PLD: found Buffer, Package required)"

  • Name (_PLD, Buffer 0x10) //_PLD: Physical Location of Device
  • Name (_PLD, Package (0x10) //_PLD: Physical Location of Device

OS X probably does not use _PLD, but that is not the correct fix. Refer to the ACPI spec: https://www.acpica.org/documentation

 

My laptop patch repo has a correct fix for the _PLD buffer vs. package problem.

Link to comment
Share on other sites

 Share

×
×
  • Create New...