- Joined
- Sep 26, 2012
- Messages
- 79
- Motherboard
- GA-Z77X-UD5H / HP ProBook 4740s
- CPU
- i7 3770
- Graphics
- Radeon R9 290X
- Mac
- Classic Mac
- Mobile Phone
Hello everybody,
I'm currently patching a DSDT w/ corresponding SSDTs for an ASUS N750JK (it is not for myself). The system information is as follows:
- Intel® Core™ i7 4700HQ Processor
- Intel® HM86 Express Chipset
- Intel® HD Graphics 4600
- Nvidia GeForce GTX 850M (switching technology)
- Realtek RTL8188CU wireless LAN 802.11n -> replaced with BCM43xx w/ BT 4.0 combo.
- Realtek PCIe GBE ethernet controller
- Realtek PCIE CardReader
There are 8 SSDTs extracted by using a Linux bootable disk, of which the last one (number 8) was in the dynamic folder on the Linux boot. I did include SSDT8 with decompiling as I thought it may help solving some external references (I couldn't find it in the guide exactly whether you'd need to in/exclude the dynamic ones with disassembly, but I included it anyway). So, after that I checked each file for what I think it's 'main purpose' is and SSDT7 is AFAIK mainly responsible for some graphics handling (GFX0 and PEG).
So far I followed the DSDT/SSDT patching guide by Rehabman and extracted everything from Linux (as you could read previously). Also installed latest MacIASL App and CLI binaries from Rehabman's repositories today (support for ACPI 6 spec). Some errors were resolved by using this latest v6.
I've been able to get the DSDT and all SSDTs error-free as that is my first step before I'm starting to patch 'em. However, in SSDT7 is a method and I get a syntax error there (PARSEOP_NAMESEG). The bit I'm referring to is this:
Thus, the question: What do I need to do to fix the error? I have included all files in a zip, attached to this post, just in case the code snippet is not enough.
In the file are 3 sets:
- Extracted -> raw files from the Linux.
- Decompiled -> the decompiled files from the extracted folder.
- Patched -> patched decompiled files.
Hope somebody can help me with this.
I'm currently patching a DSDT w/ corresponding SSDTs for an ASUS N750JK (it is not for myself). The system information is as follows:
- Intel® Core™ i7 4700HQ Processor
- Intel® HM86 Express Chipset
- Intel® HD Graphics 4600
- Nvidia GeForce GTX 850M (switching technology)
- Realtek RTL8188CU wireless LAN 802.11n -> replaced with BCM43xx w/ BT 4.0 combo.
- Realtek PCIe GBE ethernet controller
- Realtek PCIE CardReader
There are 8 SSDTs extracted by using a Linux bootable disk, of which the last one (number 8) was in the dynamic folder on the Linux boot. I did include SSDT8 with decompiling as I thought it may help solving some external references (I couldn't find it in the guide exactly whether you'd need to in/exclude the dynamic ones with disassembly, but I included it anyway). So, after that I checked each file for what I think it's 'main purpose' is and SSDT7 is AFAIK mainly responsible for some graphics handling (GFX0 and PEG).
So far I followed the DSDT/SSDT patching guide by Rehabman and extracted everything from Linux (as you could read previously). Also installed latest MacIASL App and CLI binaries from Rehabman's repositories today (support for ACPI 6 spec). Some errors were resolved by using this latest v6.
I've been able to get the DSDT and all SSDTs error-free as that is my first step before I'm starting to patch 'em. However, in SSDT7 is a method and I get a syntax error there (PARSEOP_NAMESEG). The bit I'm referring to is this:
Code:
Method (WMMX, 3, NotSerialized)
{
CreateDWordField (Arg2, Zero, FUNC)
If (LEqual (FUNC, 0x534F525F))
{
If (LGreaterEqual (SizeOf (Arg2), 0x08))
{
CreateDWordField (Arg2, 0x04, ARGS)
CreateDWordField (Arg2, 0x08, XARG)
Return (\_SB.PCI0.PEG0.PEGP._ROM (ARGS, XARG))
}
}
If (LEqual (FUNC, 0x4D53445F))
{
If (LGreaterEqual (SizeOf (Arg2), 0x1C))
{
CreateField (Arg2, Zero, 0x80, MUID)
CreateDWordField (Arg2, 0x10, REVI)
CreateDWordField (Arg2, 0x14, SFNC)
CreateField (Arg2, 0xE0, 0x20, XRG0)
If (CondRefOf (\_SB.PCI0.GFX0._DSM))
{
Return (\_SB.PCI0.GFX0._DSM)
MUID
REVI // This is the problematic line.
SFNC
XRG0
}
}
}
Return (Zero)
}
Thus, the question: What do I need to do to fix the error? I have included all files in a zip, attached to this post, just in case the code snippet is not enough.
In the file are 3 sets:
- Extracted -> raw files from the Linux.
- Decompiled -> the decompiled files from the extracted folder.
- Patched -> patched decompiled files.
Hope somebody can help me with this.