Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Sorry in advance not to have big knowledge on the subject or if my question has already been discussed !

2 files shows me syntax errors when analyzing .dsl :
SSDT-0-sensrhub and SSDT-6-sensrhub - others .dsl shows up warnings/remarks on compile
I try to correct errors under Maciasl but no success (always got new syntax errors when trying to modify the code)...

Is there a clover patch for correcting or another way (is patchmatic help for that ?) ?
 

Attachments

  • Archive.zip
    21.9 MB · Views: 65
And maybe a second question. I need to adjust my DSDT, since I have a dual battery. I cannot however save the changes, because I'm getting compiler errors (untouched). I'm on 6.2a
It would be great, if you could look into it (debug zip is in previous post)

No errors in resulting DSDT.dsl if you disassemble as per post #1 with refs.txt.
Always read carefully.
 
2 files shows me syntax errors when analyzing .dsl :
SSDT-0-sensrhub and SSDT-6-sensrhub -

No need to include those files in ACPI/patched. So why are you attempting to recompile them?
 
Your DSDT has an existing _DSM at HDEF/HDAS._DSM.
But you forgot to enable the _DSM->XDSM patch.
As a result, conflicting _DSM in SSDT-HDEF.aml is ignored.
Thank you again! Yes, I've seen that I had this patch already in plist, but forgot to check if it was active or not.
Audio is working now. Even though this is not the right thread, but if someone need it:
for Medion E6424 the working id for AppleALC is 6
 
No need to include those files in ACPI/patched. So why are you attempting to recompile them?
Noted thanks !
As I found nothing clear to me by searching the use of SSDT-0-sensrhub and SSDT-6-sensrhub
I was thinking (wrong) it is a good long term practice to analyse/correct/recompile/patch the extracted files showing compile syntax errors
 
it is a good long term practice to analyse/correct/recompile/patch the extracted files showing compile syntax errors

Definitely not. General rule: If there are no functional patches required, don't touch 'em.
 
can't understand why is not working jack on my dell 7559?
as well i have the latest voodoo but no setting on trackpad section
can somebody navigate me to my missings
 

Attachments

  • debug_6639.zip
    5 MB · Views: 63
can't understand why is not working jack on my dell 7559?
as well i have the latest voodoo but no setting on trackpad section
can somebody navigate me to my missings
Off-topic. Open a separate thread please.
 
I have some problems decompiling DSDT.aml - Too many parent prefixes.
These comes in as errors in the dsl as well.

Compiling the dsl, I get 2x error on "Object Does not exist (SS1_) " on simple code like this. No errors on SS2 etc.

Method (GPRW, 2, NotSerialized)
{
Store (Arg0, Index (PRWP, Zero))
Store (ShiftLeft (SS1, One), Local0)
Or (Local0, ShiftLeft (SS2, 0x02), Local0)
Or (Local0, ShiftLeft (SS3, 0x03), Local0)
Or (Local0, ShiftLeft (SS4, 0x04), Local0)



Input file DSDT.aml, Length 0x28188 (164232) bytes
ACPI: DSDT 0x0000000000000000 028188 (v02 ACRSYS ACRPRDCT 00000000 1025 00040000)
Pass 1 parse of [DSDT]
ACPI Error: ^^WMID.FEBC: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^^PEG0.PEGP: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^^PEG1.PEGP: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Pass 2 parse of [DSDT]
ACPI Error: ^^WMID.FEBC: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^^PEG0.PEGP: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^^PEG1.PEGP: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Warning - Emitting ASL code "External (BNUM)"
This is a conflicting declaration with some other declaration within the ASL code.
This external declaration may need to be deleted in order to recompile the dsl file.

Disassembly completed
ASL Output: DSDT.dsl - 1217974 bytes
Input file SSDT-0-ACRPRDCT.aml, Length 0x46 (70) bytes
 

Attachments

  • origin.zip
    79.8 KB · Views: 64
I have some problems decompiling DSDT.aml - Too many parent prefixes.
These comes in as errors in the dsl as well.

Compiling the dsl, I get 2x error on "Object Does not exist (SS1_) " on simple code like this. No errors on SS2 etc.

Method (GPRW, 2, NotSerialized)
{
Store (Arg0, Index (PRWP, Zero))
Store (ShiftLeft (SS1, One), Local0)
Or (Local0, ShiftLeft (SS2, 0x02), Local0)
Or (Local0, ShiftLeft (SS3, 0x03), Local0)
Or (Local0, ShiftLeft (SS4, 0x04), Local0)



Input file DSDT.aml, Length 0x28188 (164232) bytes
ACPI: DSDT 0x0000000000000000 028188 (v02 ACRSYS ACRPRDCT 00000000 1025 00040000)
Pass 1 parse of [DSDT]
ACPI Error: ^^WMID.FEBC: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^^PEG0.PEGP: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^^PEG1.PEGP: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Pass 2 parse of [DSDT]
ACPI Error: ^^WMID.FEBC: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^^PEG0.PEGP: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
ACPI Error: ^^PEG1.PEGP: Path has too many parent prefixes (^) (20180427/nsaccess-568)
ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180427/psobject-371)
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Warning - Emitting ASL code "External (BNUM)"
This is a conflicting declaration with some other declaration within the ASL code.
This external declaration may need to be deleted in order to recompile the dsl file.

Disassembly completed
ASL Output: DSDT.dsl - 1217974 bytes
Input file SSDT-0-ACRPRDCT.aml, Length 0x46 (70) bytes

Add Name(SS1,0) near the top of the file.
Code:
...
    External (WMID, DeviceObj)    // (from opcode)
Name(SS1,0) // ADDED missing SS1
    Name (SS2, Zero)
...
 
Back
Top