zoliky Posted December 10, 2012 Share Posted December 10, 2012 My specs: HP 4540s laptop, i5-2450m, Intel HD3000M, BIOS 68IRR Ver F. 01 My DSDT.dsl https://dl.dropbox.com/u/1924024/dsdthp.dsl IASL I use iasl20121114 to compile and decompile the DSDT. The problem This is how the original (Hewlett-Packard) DSDT looks. ~iasl: Compilation complete. 0 Errors, 6 Warnings, 275 Remarks, 4643 Optimizations I have more than 200 remarks: dsdthp.dsl 15838: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length dsdthp.dsl 15856: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length dsdthp.dsl 15876: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length dsdthp.dsl 15896: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length dsdthp.dsl 15916: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length dsdthp.dsl 15934: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length dsdthp.dsl 15954: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length dsdthp.dsl 15972: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length dsdthp.dsl 15992: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length dsdthp.dsl 16012: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length dsdthp.dsl 16030: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length dsdthp.dsl 16048: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length dsdthp.dsl 16066: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length dsdthp.dsl 16084: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length dsdthp.dsl 16102: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length and much more... Ok, let's examine the first remark: dsdthp.dsl 15838: Package (0x1A) Remark 5063 - ^ Initializer list shorter than declared package length Package (0x1A) <--- this is line 15838 { " ", " ", " ", 0x01, 0x00, 0x01, 0x02A7, 0x03, " ", " ", " ", 0x00, " ", 0x00 }, There's a way to fix that by replacing Package (0x1A) with Package () but doing that for more than 200 remarks isn't fun. I don't know if removing (0x1A) is correct. I think the problem is somewhere else, maybe a bracket is missing in the factory DSDT. I searched three forums on the internet, but I didn't find a solution. Can you please take a look at my DSDT? It is already decompiled. Should I ignore these remarks and warnings? Your time is greatly appreciated. Thank you! Link to comment Share on other sites More sharing options...
Cassio Posted December 10, 2012 Share Posted December 10, 2012 Deleting 0x1A is the correct fix, if you leave the package length blank the compiler will count and set it automatically. In your example the actual length is 14, if you set Package (), after compile/decompile it will become Package (0x0E). -Guides and Tutorials HERE -Hackintosh Tutorial Database - HERE -The largest EFI folder collection for Hackintosh HERE -Support Olarila Vanilla Hackintosh by making a donation HERE -Professional Consulting for macOS Hackintosh since 2006 HERE Link to comment Share on other sites More sharing options...
zoliky Posted December 10, 2012 Author Share Posted December 10, 2012 Cassio, Thank you very much! You help is greatly appreciated. I removed that 0x1A value, compiled then decompiled the file. I didn't see 0x0E in the file. The compiler set that removed value back to 0x1A. Link to comment Share on other sites More sharing options...
Mirone Posted December 10, 2012 Share Posted December 10, 2012 Cassio, Thank you very much! You help is greatly appreciated.I removed that 0x1A value, compiled then decompiled the file. I didn't see 0x0E in the file. The compiler set that removed value back to 0x1A. Try this: http://www.sendspace.com/file/uvm58k 0errors ,0Warnings, 0Remarks. Link to comment Share on other sites More sharing options...
zoliky Posted December 10, 2012 Author Share Posted December 10, 2012 Wow. Thank you so much! Did you edit my DSDT or do you have the same specs/BIOS ? Link to comment Share on other sites More sharing options...
Mirone Posted December 10, 2012 Share Posted December 10, 2012 Wow. Thank you so much! Did you edit my DSDT or do you have the same specs/BIOS ? I edited your dsdt. Link to comment Share on other sites More sharing options...
zoliky Posted December 10, 2012 Author Share Posted December 10, 2012 May I ask how did you obtain the correct Package () informations? For example for this code: My DSDT: Package (0x1A) { "HP QuickLook", "", "\\System Configuration\\Device Configurations", Zero, One, Zero, 0x0137, 0x03, " ", " ", " ", Zero, "Disable", 0x02, "Disable", "Enable" }, Your fixed DSDT: Package (0x10) { "HP QuickLook", "", "\\System Configuration\\Device Configurations", Zero, One, Zero, 0x0137, 0x03, " ", " ", " ", Zero, "Disable", 0x02, "Disable", "Enable" }, My dsdt have 0x1A, and your fixed dsdt have 0x10 Link to comment Share on other sites More sharing options...
Mirone Posted December 10, 2012 Share Posted December 10, 2012 May I ask how did you obtain the correct Package () informations?For example for this code: My DSDT: Package (0x1A) { "HP QuickLook", "", "\\System Configuration\\Device Configurations", Zero, One, Zero, 0x0137, 0x03, " ", " ", " ", Zero, "Disable", 0x02, "Disable", "Enable" }, Your fixed DSDT: Package (0x10) { "HP QuickLook", "", "\\System Configuration\\Device Configurations", Zero, One, Zero, 0x0137, 0x03, " ", " ", " ", Zero, "Disable", 0x02, "Disable", "Enable" }, My dsdt have 0x1A, and your fixed dsdt have 0x10 count how many objects have within the { } 0x10=16 Link to comment Share on other sites More sharing options...
zoliky Posted December 10, 2012 Author Share Posted December 10, 2012 Thank you. I appreciate it! Link to comment Share on other sites More sharing options...
manci5 Posted December 12, 2012 Share Posted December 12, 2012 Can you please upload the patched DSDT? Have you got HD 3000 working with QE/CI on 10.8.2? Link to comment Share on other sites More sharing options...
Mirone Posted December 12, 2012 Share Posted December 12, 2012 Can you please upload the patched DSDT? Have you got HD 3000 working with QE/CI on 10.8.2? Look: http://Olarila.com/forum/viewtopic.php?f=18&t=2193 Link to comment Share on other sites More sharing options...
zoliky Posted December 23, 2012 Author Share Posted December 23, 2012 Can you please upload the patched DSDT? Have you got HD 3000 working with QE/CI on 10.8.2? My HD3000 works without patches or enablers. I changed this address in AppleIntelSNBGraphicsFB.kext IOPCIPrimaryMatch 0x1C3A8086 to this: IOPCIPrimaryMatch 0x1E3A8086 Please note, this change works only with Intel 7-series motherboards. I use a HP 4540s laptop - i5-2450m sandy bridge. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now