Contribute
Register

Solved > DSDT: Invalid object type for reserved name (found INTEGER, requires ) and 16 others

Joined
Jun 5, 2018
Messages
43
Motherboard
Lenovo Thinkpad T520 (UEFI Clover)
CPU
i5-2520M (Sandy-Bridge)
Graphics
HD3000 / 1366x768
Mobile Phone
iOS
Hey guys,

Please ignore the components on the left as this is for my ThinkPad T520 Laptop.
All I did was open my DSDT file with MaciASL. I have never modified this file but still get 17 Errors when I try compiling it:
Screen Shot 2020-02-14 at 19.47.08.png

Does anyone know a patch I need to apply in order to fix this? I am trying to get the battery indicator to show up in the menu bar and following RehabMans guide is really nice but I just can't find a fix for this. I tried this a few months back and got the same errors. I have attached my DSDT.dsl. Something else I noticed is that it shows 2592 optimizations. I don't know if that is normal as the number looks quite big.

Hopefully some of you can help me. Thanks in advance.
Felix
 

Attachments

Feartech

Moderator
Joined
Aug 3, 2013
Messages
15,410
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
iMac
Mobile Phone
iOS
Hey guys,

Please ignore the components on the left as this is for my ThinkPad T520 Laptop.
All I did was open my DSDT file with MaciASL. I have never modified this file but still get 17 Errors when I try compiling it:
View attachment 449841
Does anyone know a patch I need to apply in order to fix this? I am trying to get the battery indicator to show up in the menu bar and following RehabMans guide is really nice but I just can't find a fix for this. I tried this a few months back and got the same errors. I have attached my DSDT.dsl. Something else I noticed is that it shows 2592 optimizations. I don't know if that is normal as the number looks quite big.

Hopefully some of you can help me. Thanks in advance.
Felix
zip and upload origin folder
 
Joined
Jun 5, 2018
Messages
43
Motherboard
Lenovo Thinkpad T520 (UEFI Clover)
CPU
i5-2520M (Sandy-Bridge)
Graphics
HD3000 / 1366x768
Mobile Phone
iOS
Here you go
 

Attachments

Feartech

Moderator
Joined
Aug 3, 2013
Messages
15,410
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
iMac
Mobile Phone
iOS
Here you go
you seem to be missing some files in there

remove the files already in there (keep the folder)

at clover bot screen press f2 and f4 and then upload new origin folder

before you do that:
please read the faq for proper hardware profile setup:
 
Joined
Jun 5, 2018
Messages
43
Motherboard
Lenovo Thinkpad T520 (UEFI Clover)
CPU
i5-2520M (Sandy-Bridge)
Graphics
HD3000 / 1366x768
Mobile Phone
iOS
okay, I have this folder now, but the problem stays the same
 

Attachments

Feartech

Moderator
Joined
Aug 3, 2013
Messages
15,410
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
iMac
Mobile Phone
iOS
okay, I have this folder now, but the problem stays the same
your hardware profile is not filled out correctly, no laptop hardware?
 
Joined
Jun 5, 2018
Messages
43
Motherboard
Lenovo Thinkpad T520 (UEFI Clover)
CPU
i5-2520M (Sandy-Bridge)
Graphics
HD3000 / 1366x768
Mobile Phone
iOS
My Laptop Information:
Lenovo Thinkpad T520 (UEFI Clover)
i5-2520M (Sandy-Bridge)
HD3000 / 1366x768
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
15,410
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
iMac
Mobile Phone
iOS
My Laptop Information:
Lenovo Thinkpad T520 (UEFI Clover)
i5-2520M (Sandy-Bridge)
HD3000 / 1366x768
which needs to be in your hardware profile, not some random post

anyway, no issues in decompiling your DSDT, no errors using:
Code:
iasl -dl DSDT.aml SSDT*.aml
and using ACPI 6.2a
 
Joined
Jun 5, 2018
Messages
43
Motherboard
Lenovo Thinkpad T520 (UEFI Clover)
CPU
i5-2520M (Sandy-Bridge)
Graphics
HD3000 / 1366x768
Mobile Phone
iOS
Yes, decompiling them works perfectly, but when I open the DSDT.dsl file in MaciASL it shows these errors
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
15,410
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
iMac
Mobile Phone
iOS
Yes, decompiling them works perfectly, but when I open the DSDT.dsl file in MaciASL it shows these errors
not with the command and acpi version as i used above, no errors
 
Top