ashindnile Posted May 4, 2014 Share Posted May 4, 2014 Hey guys my card is the Mobility Radeon HD 4530, I saw a guide with this dsdt code and I wanted to know if any of you can scan through this code and tell me what's wrong with it, I always get compile errors with messages like "NonAscii value.. maybe binary" or something along those lines. Here is the code: Device (GFX0) { Name (_ADR, Zero) Name (_SUN, One) Method (_DSM, 4, NotSerialized) { Store (Package (0x0C) { "@0,name", Buffer (0x0D) { "ATY,Shrike” }, "@1,name", Buffer (0x0D) { "ATY,Shrike” }, "@2,name", Buffer (0x0D) { "ATY,Shrike” }, "model", Buffer (0x13) { "ATI Radeon HD 4530” }, "hda-gfx", Buffer (0x0A) { "onboard-1" } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Device (HDAU) { Name (_ADR, One) Method (_DSM, 4, NotSerialized) { Store (Package (0x02) { "hda-gfx", Buffer (0x0A) { "onboard-1" } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } I largely appreciate your help! Please correct this(or me) if you can! :D Link to comment Share on other sites More sharing options...
Slice Posted May 15, 2014 Share Posted May 15, 2014 IASL compiler doesn't like invisible characters other then SPACE and LINE_FEED. I may propose you to check your dsl file with a text editor that shows you any invisible symbols. Link to comment Share on other sites More sharing options...
ashindnile Posted May 15, 2014 Author Share Posted May 15, 2014 Oh I see! That clears it up for me thank you But I'm only trying to paste this off a text file i got from the internet What do i do now? Link to comment Share on other sites More sharing options...
iFIRE Posted May 15, 2014 Share Posted May 15, 2014 try this one, copy past in your DSDT/Compile/Save carpeta sin tà tulo 2.zip Link to comment Share on other sites More sharing options...
ashindnile Posted May 15, 2014 Author Share Posted May 15, 2014 Thank you! I will! ****EDIT**** Still the same error Link to comment Share on other sites More sharing options...
iFIRE Posted May 15, 2014 Share Posted May 15, 2014 POST your DSDT, I take a look Link to comment Share on other sites More sharing options...
ashindnile Posted May 15, 2014 Author Share Posted May 15, 2014 link Thank you Link to comment Share on other sites More sharing options...
Slice Posted May 20, 2014 Share Posted May 20, 2014 link Thank you The error is _PLD must be package of Buffers. This is wrong Name (_PLD, Package (0x10) // _PLD: Physical Location of Device { Zero, Zero, Zero, 0x81, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero }) This is good Name (_PLD, Package (One) // _PLD: Physical Location of Device { Buffer () { Zero, Zero, Zero, 0x81, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero, Zero } }) Correct, please, these errors and try again Compilation complete. 64 Errors, 31 Warnings, 78 Remarks, 38 Optimizations Link to comment Share on other sites More sharing options...
ashindnile Posted May 22, 2014 Author Share Posted May 22, 2014 Thanks so much!! What language must I know to understand this error? I really will learn it Link to comment Share on other sites More sharing options...
Slice Posted May 27, 2014 Share Posted May 27, 2014 Thanks so much!! What language must I know to understand this error? I really will learn it https://www.acpica.org Link to comment Share on other sites More sharing options...
ashindnile Posted May 28, 2014 Author Share Posted May 28, 2014 Thanks Link to comment Share on other sites More sharing options...
Recommended Posts