electrovalent Posted April 5, 2015 Share Posted April 5, 2015 Hi, I am trying to compile dsdt from maciasl but i get the following error: 5318, 6126, syntax error, unexpected PARSEOP_NOOP How to resolve this please? My system is acer aspire 3810tz and running Mac OS X 10.9.5 through clover. Thank you. DSDT&ACPI.zip Link to comment Share on other sites More sharing options...
WaldMeister Posted April 5, 2015 Share Posted April 5, 2015 OperationRegion (RSSC, SystemMemory, 0xFED11100, 0xFF) Field (RSSC, ByteAcc, NoLock, Preserve) { Offset (0xB8), , 30, RS2E, 1 } Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Noop Name (SWIT, One) Name (CRTA, One) Name (LCDA, One) Name (TVAA, One) Remove all Noop lines. It will generate 33 new errors. # _PLD is supposed to return a variable length Package of Buffers into_all all code_regex (Name\s*\(_PLD,\s*)Buffer(\s\([^\)].*\)[^\)]*) replaceall_matched begin %1Package() { Buffer%2 } end; # _PLD return case, courtesy stargazer418 into_all all code_regex (Return\s)\(Buffer(\s\(0x10\)[^\)]*) replaceall_matched begin %1(Package() { Buffer%2} end; Fixes 28 of them. 3 are not defined locals, so those lines can be removed also. ,, _Y0C, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0xFEBFFFFF, // Range Maximum 0x00000000, // Translation Offset 0x14000000, // Length ,, _Y0E, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0xFED40000, // Range Minimum 0xFED44FFF, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length Length is not defined properly, so i kept increasing/decreasing until the errors where gone. ,, _Y0C, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0xFEBFFFFF, // Range Maximum 0x00000000, // Translation Offset 0xFEC00000, // Length ,, _Y0E, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0xFED40000, // Range Minimum 0xFED44FFF, // Range Maximum 0x00000000, // Translation Offset 0x00005000, // Length ,, _Y0D, AddressRangeMemory, TypeStatic) }) System DSDT.zip 1 Link to comment Share on other sites More sharing options...
artur_pt Posted April 5, 2015 Share Posted April 5, 2015 hello i apply some patches in this one .. test it if u want DSDT.aml.zip good hack 2 Link to comment Share on other sites More sharing options...
electrovalent Posted April 7, 2015 Author Share Posted April 7, 2015 Thank you both for the quick reply. Clover is crashed and i am not able to boot on system to provide any feedback for the attached dsdt. Link to comment Share on other sites More sharing options...
WaldMeister Posted April 7, 2015 Share Posted April 7, 2015 Create a FAT32 USB drive, copy the EFI folder to it, structure should be: Efi > Boot > Clover > ACPI > Kexts > etc.... Boot from the USB and select the OS X hdd, you should be able to repair your Clover now. Link to comment Share on other sites More sharing options...
Recommended Posts