Jump to content

Lenovo X220 using MaciASL

maciasl DSDT x220 lenovo thinkpad laptop

  • Please log in to reply
3 replies to this topic

#1
sports

sports

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 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?



#2
miaumiau2

miaumiau2

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts

Use rehabs patches for laptops from https://github.com/R...ptop-DSDT-Patch (Installation instruction in readme, see "https://github.com/RehabMan/Laptop-DSDT-Patch").

 

Apply 1.1 (Fix _PLD), 1.4 (Fix _IRC), maybe other 1.x fixes.



#3
iFIRE

iFIRE

    InsanelyMacaholic

  • Moderators
  • 3,775 posts
  • Gender:Male
  • Location:Bcn-Spain

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


#4
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,298 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

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.





Also tagged with one or more of these keywords: maciasl, DSDT, x220, lenovo, thinkpad, laptop


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy