Contribute
Register

Dell XPS 13 5th Generation Setup 9343 Help

Status
Not open for further replies.
So I been working away at the errors on my DSDT and its getting pretty tough. I fixed some things and other things would break. Keep getting that all these objects like LNKA LNKB don't exist so i tried to throw those out and got down to 3 errors but looks like that wasn't the proper way to fix em. Any tips?


This is my stock DSDT from the F4 Dump in dsl format: View attachment 177885


Heres a screen shot with the 3 errors left. I thought maybe you can't start with "else if" so i changed it to "if" but got more error. Also thought "else if" needed to end with "else" as a default but didn't know where to put it. View attachment 177883

Your edits look wrong.

See guide: http://www.tonymacx86.com/el-capitan-laptop-support/152573-guide-patching-laptop-dsdt-ssdts.html
 
apologies for the noob question but may I ask, what is the purpose of patching the IOkit?

It disables the pixel clock limit enforced by the code.
 
I am following that guide. I am in the process of cleaning up my errors in the DSDT. Using your laptop patches from git hub.

Are you referring to my disassembly is wrong?


Most of my errors are missing object errors. I have tried to manually edit the text removing the objects and also trying your laptop patches sys and syn but neither have worked for me in resolving the errors.
 
1)
I downloaded patchmatic and placed into /usr/bin
Downlaoded MaciASL placed into applications

2)
Booted clover, hit F4 only once and then booted into mac partition.
Retrieved files from ACPI/origin
Confirmed no duplicates exist

3)
Downloaded and installed iasl compiler
Copied compiler into MaciASL contents folder

5) Run disassembly in term
cd ~/Desktop/orgincp
iasl -da -dl *.aml

6) Create refs.txt
I ran the disassembly again with refs.txt

^Should I have ran the dissasmbler only once with the refs.txt?
Is this my problem?

Also out of curiosity how many errors should I expect from the stock dsdt extract?
 
1)
I downloaded patchmatic and placed into /usr/bin
Downlaoded MaciASL placed into applications

2)
Booted clover, hit F4 only once and then booted into mac partition.
Retrieved files from ACPI/origin
Confirmed no duplicates exist

3)
Downloaded and installed iasl compiler
Copied compiler into MaciASL contents folder

5) Run disassembly in term
cd ~/Desktop/orgincp
iasl -da -dl *.aml

6) Create refs.txt
I ran the disassembly again with refs.txt

^Should I have ran the dissasmbler only once with the refs.txt?
Is this my problem?

Also out of curiosity how many errors should I expect from the stock dsdt extract?

Post files from ACPI/origin.
 
Here are my stock ACPI origin files: View attachment 178043

Here are my ACPI files after I tried to disassemble: View attachment 178044

Thanks:headbang:

If you use this refs.txt, less errors:
Code:
External(MDBG, MethodObj, 1)
External(_GPE.MMTB, MethodObj, 0)
External(_SB_.PCI0.LPCB.H_EC.ECWT, MethodObj, 2)
External(_SB_.PCI0.LPCB.H_EC.ECRD, MethodObj, 1)
External(_SB_.PCI0.PEG0.PEGP.SGPO, MethodObj, 2)
External(_SB.PCI0.GFX0.DD02._BCM, MethodObj, 1)
External(_SB.PCI0.SAT0.SDSM, MethodObj, 4)
External(_SB.PCI0.XHC.PS0X, MethodObj, 0)
External(_SB.PCI0.XHC.PS3X, MethodObj, 0)
External(_SB.PCI0.SDHC.PS0X, MethodObj, 0)
External(_SB.PCI0.I2C0.PS0X, MethodObj, 0)
External(_SB.PCI0.I2C0.PS3X, MethodObj, 0)
External(_SB.PCI0.I2C1.PS0X, MethodObj, 0)
External(_SB.PCI0.I2C1.TPD7.PS0X, MethodObj, 0)
External(_SB.PCI0.I2C1.TPD8.PS0X, MethodObj, 0)
External(_SB.PCI0.SDHC.WI01.PS3X, MethodObj, 0)

Manually fix the first error...

in _CRS, from (near line 2556):
Code:
                If (LEqual (PM6H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW)  // _RW_: Read-Write Status
                    Store (Zero, ECRW (If (PM0H)
                            {
                                CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN)  // _LEN: Length
                                Store (Zero, F0LN)
                            }))
                }

to:
Code:
                If (LEqual (PM6H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW)  // _RW_: Read-Write Status
                    Store (Zero, ECRW)
                }

                If (PM0H)
                {
                    CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN)  // _LEN: Length
                    Store (Zero, F0LN)
                }

The iasl disassembler was confused by the local bitfield ECRW vs. the method ECRW declared later. Note that this bug in iasl is actually fixed in the latest version (can be built from sources, see my ACPI guide for details).

Result: Zero errors in dsdt.dsl.

The SSDTs are straitforward (moving 'Externals' as described in the guide or using the latest compiler [built from source], and using typical patches when needed).
 
That refs.txt help reduce error from 70 to 59.

I inserted your code but it hasn't resolved anything. did i do it right?

Screen Shot 2016-02-21 at 2.32.11 PM.jpg
View attachment DSDT copy.dsl.zip
 
Status
Not open for further replies.
Back
Top