Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Sorry i uploaded wrong file ssdt has error I attached correct ssd-3.dsl
 

Attachments

  • SSDT-3.dsl.zip
    1.7 KB · Views: 67
Sorry i uploaded wrong file ssdt has error I attached correct ssd-3.dsl
you will have to upload all problem reporting files
 
hi
I'm trying to get USB-C working on my Dell 9360. It seems to be working randomly after reboot when a device is connected but hot plug functionality does not work at all.
I'm attaching the debug files.
Any idea?
thanks
 

Attachments

  • patchmatic.zip
    26 KB · Views: 65
  • Ioreg.ioreg
    19.9 MB · Views: 110
  • EFI.zip
    8.4 MB · Views: 117
Sorry i uploaded wrong file ssdt has error I attached correct ssd-3.dsl

No need to patch this file, so why are you trying to recompile it?
 
hi
I'm trying to get USB-C working on my Dell 9360. It seems to be working randomly after reboot when a device is connected but hot plug functionality does not work at all.
I'm attaching the debug files.
Any idea?
thanks

It is typical. You might use search to find several work-in-progress threads that are attempting to address it.
Off-topic here.
 
It is typical. You might use search to find several work-in-progress threads that are attempting to address it.
Off-topic here.
Ok thanks. I thought the patches were already available. Do you know why HDMI out is not working via a TypeC adapter even after a reboot? This should work, right?
 
hey everyone!

I got a new baby a LG Gram 2018, the system is quite similar to other newer computers (ultrabook with 8250 and no dedicated gpu) but I never saw a LG guide, I'm trying to compile the .dsl that I have extracted with clover, but I'm facing some issues that I could not find solution so far.

After extracting and trying to compile dsdt.dsl with MaciASL I got the following error: unexpected parseop_string_literal from some sections like the one below

Method (VBDL, 0, Serialized)
{
ADBG
"VBDL"
Or (PB1E, 0x20, PB1E)
If (LEqual (And (PB1E, One), One))
{

I added some () to the "VBDL" and got another error: Not a control method cannot invoke (adbg is a Untyped)

Here are my files and EFI I'm trying to use, so far I could not reach the graphical stage of High Sierra installer

I get an ACPI Exception: Bad AE Parameter, Returned by Handler for EmbeddedControl (20160930/evregion-388), XBIF @00007 #002D: BDC or BPR, No local variables are initialised for method (XBIF), I get something similar for XBST

this is probably related to the battery information as one of the .dsl have these variables

if I open the dsdt.aml directly on the MaciASL I get no errors just warnings

Edit
I read the guide again and revised my clover configuration now I can boot but I have two problems I can proceed to install because the other usb door is 3.0 and with injected kext it don’t work and my trackpad is i2c and voodoop2scontroller works only for keyboard

Also about the guide it’s not clear what I need to patch or what is the workflow after extracting, I extract, or open aml directly because my compilation is new then, check for errors, compile and add to patched folder?

if anything is missing let me know
 

Attachments

  • CLOVER.zip
    4.1 MB · Views: 83
Last edited:
hey everyone!

I got a new baby a LG Gram 2018, the system is quite similar to other newer computers (ultrabook with 8250 and no dedicated gpu) but I never saw a LG guide, I'm trying to compile the .dsl that I have extracted with clover, but I'm facing some issues that I could not find solution so far.

After extracting and trying to compile dsdt.dsl with MaciASL I got the following error: unexpected parseop_string_literal from some sections like the one below

Method (VBDL, 0, Serialized)
{
ADBG
"VBDL"
Or (PB1E, 0x20, PB1E)
If (LEqual (And (PB1E, One), One))
{

I added some () to the "VBDL" and got another error: Not a control method cannot invoke (adbg is a Untyped)

Here are my files and EFI I'm trying to use, so far I could not reach the graphical stage of High Sierra installer

I get an ACPI Exception: Bad AE Parameter, Returned by Handler for EmbeddedControl (20160930/evregion-388), XBIF @00007 #002D: BDC or BPR, No local variables are initialised for method (XBIF), I get something similar for XBST

this is probably related to the battery information as one of the .dsl have these variables

if I open the dsdt.aml directly on the MaciASL I get no errors just warnings

Edit
I read the guide again and revised my clover configuration now I can boot but I have two problems I can proceed to install because the other usb door is 3.0 and with injected kext it don’t work and my trackpad is i2c and voodoop2scontroller works only for keyboard

Also about the guide it’s not clear what I need to patch or what is the workflow after extracting, I extract, or open aml directly because my compilation is new then, check for errors, compile and add to patched folder?

if anything is missing let me know

No error in DSDT.dsl if you disassemble: iasl -dl DSDT.aml SSDT*.aml
 
Could someone please help me out?
I start off with 4 errors but
I end up with 37 warnings after carrying out the following:
The common ECRW patch
PARSEOP_ZERO Error (Aggressive)


Code:
27/07/2018, 14:29:29, iASLDcggZn.dsl(12102) : warning  3115 - Not all control paths return a value (THDS)
27/07/2018, 14:29:29, iASLDcggZn.dsl(12956) : warning  3115 - Not all control paths return a value (GPEH)
27/07/2018, 14:29:29, iASLDcggZn.dsl(13105) : warning  3115 - Not all control paths return a value (GPEH)
27/07/2018, 14:29:29, iASLDcggZn.dsl(13154) : warning  3115 - Not all control paths return a value (_PS0)
27/07/2018, 14:29:29, iASLDcggZn.dsl(13196) : warning  3115 - Not all control paths return a value (_PS3)
27/07/2018, 14:29:29, iASLDcggZn.dsl(13252) : warning  3115 - Not all control paths return a value (_PS0)
27/07/2018, 14:29:30, iASLDcggZn.dsl(13265) : warning  3115 - Not all control paths return a value (_PS2)
27/07/2018, 14:29:30, iASLDcggZn.dsl(13278) : warning  3115 - Not all control paths return a value (_PS3)
27/07/2018, 14:29:30, iASLDcggZn.dsl(13704) : warning  3115 - Not all control paths return a value (GPEH)
27/07/2018, 14:29:30, iASLDcggZn.dsl(13752) : warning  3115 - Not all control paths return a value (GPEH)
27/07/2018, 14:29:30, iASLDcggZn.dsl(14157) : warning  3115 - Not all control paths return a value (RPON)
27/07/2018, 14:29:30, iASLDcggZn.dsl(14208) : warning  3115 - Not all control paths return a value (RPOF)
27/07/2018, 14:29:30, iASLDcggZn.dsl(14311) : warning  3115 - Not all control paths return a value (CNRS)
27/07/2018, 14:29:30, iASLDcggZn.dsl(14440) : warning  3115 - Not all control paths return a value (RPON)
27/07/2018, 14:29:30, iASLDcggZn.dsl(14491) : warning  3115 - Not all control paths return a value (RPOF)
27/07/2018, 14:29:30, iASLDcggZn.dsl(14594) : warning  3115 - Not all control paths return a value (CNRS)
27/07/2018, 14:29:30, iASLDcggZn.dsl(14723) : warning  3115 - Not all control paths return a value (RPON)
27/07/2018, 14:29:30, iASLDcggZn.dsl(14774) : warning  3115 - Not all control paths return a value (RPOF)
27/07/2018, 14:29:30, iASLDcggZn.dsl(14877) : warning  3115 - Not all control paths return a value (CNRS)
27/07/2018, 14:29:30, iASLDcggZn.dsl(15091) : warning  3115 - Not all control paths return a value (VMMH)
27/07/2018, 14:29:30, iASLDcggZn.dsl(16156) : warning  3115 - Not all control paths return a value (_INI)
27/07/2018, 14:29:30, iASLDcggZn.dsl(16170) : warning  3124 - Switch expression is not a static Integer/Buffer/String data type, defaulting to Integer
27/07/2018, 14:29:30, iASLDcggZn.dsl(16295) : warning  3115 - Not all control paths return a value (_INI)
27/07/2018, 14:29:30, iASLDcggZn.dsl(16462) : warning  3115 - Not all control paths return a value (_INI)
27/07/2018, 14:29:30, iASLDcggZn.dsl(18301) : warning  3115 - Not all control paths return a value (SPL1)
27/07/2018, 14:29:30, iASLDcggZn.dsl(18339) : warning  3115 - Not all control paths return a value (GUAM)
27/07/2018, 14:29:30, iASLDcggZn.dsl(18797) : warning  3115 - Not all control paths return a value (VMON)
27/07/2018, 14:29:30, iASLDcggZn.dsl(18807) : warning  3115 - Not all control paths return a value (VMOF)
27/07/2018, 14:29:30, iASLDcggZn.dsl(19975) : warning  3148 - Illegal open scope on external object from within DSDT
27/07/2018, 14:29:30, iASLDcggZn.dsl(27952) : warning  3148 - Illegal open scope on external object from within DSDT
27/07/2018, 14:29:30, iASLDcggZn.dsl(32560) : warning  3144 - Method Local is set but never used (Local4)
27/07/2018, 14:29:30, iASLDcggZn.dsl(32996) : warning  3144 - Method Local is set but never used (Local0)
27/07/2018, 14:29:30, iASLDcggZn.dsl(33114) : warning  3144 - Method Local is set but never used (Local1)
27/07/2018, 14:29:30, iASLDcggZn.dsl(33118) : warning  3144 - Method Local is set but never used (Local0)
27/07/2018, 14:29:30, iASLDcggZn.dsl(33861) : warning  3144 - Method Local is set but never used (Local0)
27/07/2018, 14:29:30, iASLDcggZn.dsl(34560) : warning  3144 - Method Local is set but never used (Local5)
27/07/2018, 14:29:30, iASLDcggZn.dsl(35623) : warning  3144 - Method Local is set but never used (Local1)
27/07/2018, 14:29:30, ASL Input:     iASLDcggZn.dsl - 35723 lines, 1088899 bytes, 15684 keywords
27/07/2018, 14:29:31, AML Output:    iASLDcggZn.aml - 140667 bytes, 2966 named objects, 12718 executable opcodes
27/07/2018, 14:29:31, Compilation complete. 0 Errors, 37 Warnings, 125 Remarks, 230 Optimizations
 

Attachments

  • crunchies DSDT.zip
    309.3 KB · Views: 83
Back
Top