Jump to content

Recommended Posts

Posted

You can compare lucke77 original DSDT with the one edited by Maldon, use a tool like DiffMerge.


If you download the patch and apply with DSDT Editor or run Auto-Patcher from terminal

cd ~/Downloads/DSDT\ Auto-Patcher.app/Contents/Resources/Java/
mkdir lib
cp *.jar lib
java -jar DSDTParser.jar

you will find the error. In this case there was a problem in the patch (I call it "bugadão do Maldon"), should be fixed now, you can try to apply it again.


I can also add the sleep fix used by lucke77 if you confirm the problem with USB4 causing immediate wake after sleep

into method label _PSW parent_label USB4 code_regex ^((?:.|\n)*)$ replace_matched
begin
                   Store (Zero, U1EN)
end

 

@lucke77


Did you edit _PSW or remove _PRW to fix the sleep issue?

-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

Posted

Ok, i have edited _PSW:

 

Device (USB4)
           {
               Name (_ADR, 0x001A0001)
               OperationRegion (U1CS, PCI_Config, 0xC4, 0x04)
               Field (U1CS, DWordAcc, NoLock, Preserve)
               {
                   U1EN,   2
               }

               Method (_PSW, 1, NotSerialized)
               {
                   If (Arg0)
                   {
                       Store (0x03, U1EN)
                       Store (Zero, U1EN)
                   }
                   Else
                   {
                       Store (Zero, U1EN)
                   }
               }

Asus M12F - i9 10900k - RAM 32GB - RX5700XT SE Nitro+ 8GB - BS 11.1

Posted

This should be enough

                Method (_PSW, 1, NotSerialized)
               {
                   Store (Zero, U1EN)
               }

-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

Posted
This should be enough

                Method (_PSW, 1, NotSerialized)
               {
                   Store (Zero, U1EN)
               }

 

I tried that, but the sleep did not work ...

Asus M12F - i9 10900k - RAM 32GB - RX5700XT SE Nitro+ 8GB - BS 11.1

Posted (edited)

Hi :)


I put my request here, to avoid multiple thread for 6930G, hope it's a good idea, if not, please delete my reply and i make a new thread.


@lucke77 :


Which version of bios do you have ? (For my part i have the latest one, v3238.with SLIC2.1...)




I extract the DSDT from Win7, "Fix Errors" , and i have somme errors i know one of it, and i replace the "_T_" by "dit".


i've just see in "patches" section another fix for _T_ (this is why i've just edited my post) :


_T_0 replaceall_matched begin T_0 end

same for _T_1 etc.....


But when i'm using "dit" it works too, my question is : Who is the better choice ? "dit" or "T_" ?


Try to compil again, and 2 errors stay :


3268 Error Invalid combination of Length and Min/Max fixed flags

3282 Error Invalid combination of Length and Min/Max fixed flags


This is from 3264 to 3282



0x00000000, // Granularity

0x00000000, // Range Minimum

0xDFFFFFFF, // Range Maximum

0x00000000, // Translation Offset

0x00000000, // Length <=== Here

,, , AddressRangeMemory, TypeStatic)

DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,

0x00000000, // Granularity

0xF0000000, // Range Minimum

0xFEBFFFFF, // Range Maximum

0x00000000, // Translation Offset

0x0EC00000, // Length

,, , AddressRangeMemory, TypeStatic)

DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,

0x00000000, // Granularity

0xFED40000, // Range Minimum

0xFED44FFF, // Range Maximum

0x00000000, // Translation Offset

0x00000000, // Length <=== Here



I don't put another Patch on My DSL, try to obtain an "Error Free" Before.

Hope MaLDon or OLdNaPaLM can help us ;)


Regards,Ray

Edited by Guest
Posted

Try length=max-min+1


Doesn't DSDT Editor auto-fix that?

-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

Posted

Also like you, I have the 3236 version with 2.1 Slic.

For the rest, follow the advice of old ...

Have you used DSDT Editor?

Asus M12F - i9 10900k - RAM 32GB - RX5700XT SE Nitro+ 8GB - BS 11.1

Posted (edited)
Try length=max-min+1


Doesn't DSDT Editor auto-fix that?

 

Arghhhh.... SHAME on me !!!! :evil:

MissClick the Pad button ! :x (<=== This man is an idiot....)


Ouch... sorry to disturb you for that !


All is clear!!! , in my precedent post , i ask you what is the bettter way :


"dit" or "_T0" ? , one is more efficient than the other ?


I join the Acer6930g v3238 .dsl with No error after compil (and "dit" for "_T_"), No Patch applied.

In case of, you want to mod it and add it, into DSDT database.


I know your time is precious, in case you don't have the time, can you explain which patch to apply to obtain a Good DSDT ?

Thanks again and again !

Acer6930gBios3238DSDT.zip

Edited by Guest
Posted
Also like you, I have the 3236 version with 2.1 Slic.

For the rest, follow the advice of old ...

Have you used DSDT Editor?

 


Yes, DSDT editor 250411, like i said before, sorry for disturbing and shame on me :?


just a precision, don't have this error with bios 3238 :


[[Line 2167 type Error message Name already exists in scope (PNLF)]]

Posted

Use this patch and you should be good.


Remarks "fix" isn't really necessary.


Maybe you need to patch _PSW in USB to fix sleep, like lucke77 did

http://Olarila.com/forum/viewtopic.php?f=19&t=301#p2859

-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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...