Jump to content



Member Since 27 Mar 2012
Offline Last Active Today, 12:30 AM

Posts I've Made

In Topic: Solution for Qualcomm Atheros AR816x, AR817x and Killer E220x

Yesterday, 11:45 PM

@shakakoa: Loading the kext fails because Clover has already injected another version of the kext.


It looks like the Killer E2400 is just a rebranded E220x which would explain why it works. At the moment I'm too busy to work on the driver but I will update the code as soon as possible.



In Topic: No graphics / USB / Audio after wake

23 November 2015 - 06:53 PM

Just in case someone is still looking for a method to disable certain hardware components of the chipset completely, here is the solution I found.


You can use register FD Function Disable found at memory address 0x3418 of the 6/7/8/9 chipsets to disable a device so that it won't be recognized by OS X anymore as the bits disable the device's PCI config space. I used these lines of code to disable EHCI 1 & 2. First you might need to define the corresponding bits of the register in Field RCRB, in my case I added EH1D and EH2D. Caution! Double check what you are doing. Disabling the wrong device might render you system unable to boot OS X.

        OperationRegion (RCRB, SystemMemory, SRCB, 0x4000)
        Field (RCRB, DWordAcc, Lock, Preserve)
                    Offset (0x1000), 
                    Offset (0x2330), 
            AFEA,   32, 
            AFED,   32, 
            AFES,   16, 
            AFER,   16, 
                    Offset (0x3000), 
                    Offset (0x3400), 
                ,   2, 
            CMUE,   1, 
                    Offset (0x3404), 
            HPAS,   2, 
                ,   5, 
            HPAE,   1, 
                    Offset (0x3418), 
                ,   1, 
            ADSD,   1, 
            SATD,   1, 
            SMBD,   1, 
            HDAD,   1, 
                ,   8, 
            EH2D,   1, 
                ,   1, 
            EH1D,   1, 
            RP1D,   1, 
            RP2D,   1, 
            RP3D,   1, 
            RP4D,   1, 
            RP5D,   1, 
            RP6D,   1, 
            RP7D,   1, 
            RP8D,   1, 
                    Offset (0x359C), 
            UP0D,   1, 
            UP1D,   1, 
            UP2D,   1, 
            UP3D,   1, 
            UP4D,   1, 
            UP5D,   1, 
            UP6D,   1, 
            UP7D,   1, 
            UP8D,   1, 
            UP9D,   1, 
            UPAD,   1, 
            UPBD,   1, 
            UPCD,   1, 
            UPDD,   1, 
                ,   1, 
                    Offset (0x359E)

Next, find method _INI under Scope (_SB.PCI) and add the code to disable the devices:

    Scope (_SB.PCI0)
        Method (_INI, 0, NotSerialized)
            Store (0x07D0, OSYS)
            If (CondRefOf (\_OSI, Local0))
                If (_OSI ("Linux"))
                    Store (0x03E8, OSYS)

                If (_OSI ("Windows 2001"))
                    Store (0x07D1, OSYS)

                If (_OSI ("Darwin"))
                    Store (0x07D1, OSYS)

                If (_OSI ("Windows 2001 SP1"))
                    Store (0x07D1, OSYS)

                If (_OSI ("Windows 2001 SP2"))
                    Store (0x07D2, OSYS)

                If (_OSI ("Windows 2001.1"))
                    Store (0x07D3, OSYS)

                If (_OSI ("Windows 2006"))
                    Store (0x07D6, OSYS)

                If (_OSI ("Windows 2009"))
                    Store (0x07D9, OSYS)

                If (_OSI ("Windows 2012"))
                    Store (0x07DC, OSYS)

            Store (One, EH1D)    //<--- This disables EHCI#1.
            Store (One, EH2D)    //<--- This disables EHCI#2.


In Topic: No graphics / USB / Audio after wake

22 November 2015 - 02:16 PM


What is the role of this other device?

Device (SLPB)
            Name (_HID, EisaId ("PNP0C0E"))
            Name (_STA, 0x0B)

It's the Sleep Button. Please see section of the ACPI 5.0 specification for a detailed description. You can download a copy using this link: http://www.acpi.info.../ACPIspec50.pdf



In Topic: New Driver for Realtek RTL8111

22 November 2015 - 11:51 AM

Actually, I think mine's a 8111F rather than a 8111E. Not sure if that should make much of a difference as far as the driver is concerned. That said, Network Utility picks it up as a 8111E - is that reliable?

Yes it is!



In Topic: No graphics / USB / Audio after wake

22 November 2015 - 11:14 AM


What is the role of AppleMCCSControl kext? It is loaded and it has dependency on SMC in ElCapitan unlike Yosemite.

I think it is for backlight control because it binds to device PNLF:

Attached File  Bildschirmfoto 2015-11-22 um 12.09.44.png   17.44KB   3 downloads

        Device (PNLF)
            Name (_ADR, 0x00)  // _ADR: Address
            Name (_HID, EisaId ("APP0002"))  // _HID: Hardware ID
            Name (_CID, "backlight")  // _CID: Compatible ID
            Name (_UID, 0x0A)  // _UID: Unique ID
            Name (_STA, 0x0B)  // _STA: Status
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                Store (Package (0x04)
                    }, Local0)
                DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                Return (Local0)

Adding these lines of code to your DSDT the backlight control can be faked, at least in a way to make the kext load, but of course it won't be functional.



© 2015 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy