Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

DW820A WIFI not working in 10.11.x on my laptop, but works in 10.10.
Same card works fine in both 10.10 and 10.11 on another device ( ECS liva core).

So I think this a device-specific problem, and I am trying to figure out the problem in which part. Guess ACPI related.

Read post #1, "Problem Reporting".
 
Why are there four different ioreg files?
ACPI/origin is too old (my request was for current files, you provided files from Dec 23 2016).
Different ioreg was dumped to represent different wifi hardware status, but It seems no difference, maybe using dmesg.
I usually debug with:
Code:
$ ioreg -n en1 -t -r

I update BIOS at 2016 Dec, so I am sure these original ACPI files are up-to-date.
 
Different ioreg was dumped to represent different wifi hardware status, but It seems no difference, maybe using dmesg.
I usually debug with:
Code:
$ ioreg -n en1 -t -r

I update BIOS at 2016 Dec, so I am sure these original ACPI files are up-to-date.

I only need one set of files that represent what you're doing TODAY.
 
RehabMan, firstly I used SF.net MaciASL and got a lot of troubles, then I found yours, I built your sources, but seems like it doesn't work in my case - no patches are found even I changed preferencies, but I got only 4 compilation errors instead of huge amount if the tools from SF.net. What should I do to fetch patches? http://prntscr.com/e0mh7k
 
RehabMan, firstly I used SF.net MaciASL and got a lot of troubles, then I found yours, I built your sources, but seems like it doesn't work in my case - no patches are found even I changed preferencies, but I got only 4 compilation errors instead of huge amount if the tools from SF.net. What should I do to fetch patches? http://prntscr.com/e0mh7k

No need to build it. Pre-built MaciASL.app is available. Read the README for download location.

Note: The URL you show in Sources is wrong.
 
Having trouble getting this vanilla DSDT to compile. Can anyone help?

It is an iasl bug, with obvious fix...

Change:
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)
                            }
 
It is an iasl bug, with obvious fix...

Change:
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)
                            }

I still have this error
 

Attachments

  • Screen Shot 2017-01-31 at 10.14.25 AM.png
    Screen Shot 2017-01-31 at 10.14.25 AM.png
    76.6 KB · Views: 134
Back
Top