Jump to content

[Consiglio] Inject AppleLPC.kext


pianman
 Share

6 posts in this topic

Recommended Posts

Buonasera a tutti,

 

torno a scrivere in questo stupendo forum, poichè utilizzando l'applicazione "System Info" ho notato che rispetto a mountain lion tra i kext caricati non vi era AppleLPC.kext, ma solo LPCSensor.kext. In rete ho trovato che, per chi come me utilizzava il metodo DSDT per iniettare l'id del LPC, dalla versione 10.8.5 le cose sono cambiate, questa è la patch che ho trovato in rete:

 

Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x08)
                        {
                            "device-id", 
                            Buffer (0x04)
                            {
                                0x18, 0x3A, 0x00, 0x00
                            }, 
 
                            "compatible", 
                            Buffer (0x0D)
                            {
                                "pci8086,3a18"
                            }, 
 
                            "IOName", 
                            Buffer (0x0D)
                            {
                                "pci8086,3a18"
                            }, 
 
                            "name", 
                            Buffer (0x0D)
                            {
                                "pci8086,3a18"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
 
La stessa patch l'ho applicata alla voce Sata (naturalmente cambiando gli id della periferica. Ora volevo chiedervi ho fatto bene?
Attualmente AppleLPC è caricato e la temperatura della cpu dai 50-54 °c in standby è passata ai 39-40 °c.
Grazie a tutti.
Link to comment
Share on other sites

Naaaaa,
lascia perdere, usa un iniettore.

 

Tutto quello che devi fare è aggiungere il tuo id nell'Info.plist, installarlo e riavviare. 

AppleLPC

CFBundleIdentifier
com.apple.driver.AppleLPC
IOClass
AppleLPC
IONameMatch
pci8086,8cc4  
IOProbeScore
1000
IOProviderClass
IOPCIDevice
LCTL_Offset
424

LPCInjector.kext.zip

  • Like 1
Link to comment
Share on other sites

Grazie buoo,

 

anche se mi hai consigliato il kext per iniettare applelpc, ho utilizzato la patch DSDT per iniettare sia APPLELPC.kext che APPLEAHCI.Kext. Questa e la patch da me utilizzata e testata su una asus P5Q Pro Turbo:

 

 Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "device-id", 
                            Buffer (0x04)
                            {
                                0x18, 0x3A, 0x00, 0x00
                            }, 
 
                            "name", 
                            Buffer (0x0D)
                            {
                                "pci8086,3a18"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
 
            Device (SATA)
            {
                Name (_ADR, 0x001F0002)
                Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "device-id", 
                            Buffer (0x04)
                            {
                                0x81, 0x26, 0x00, 0x00
                            }, 
 
                            "name", 
                            Buffer (0x0D)
                            {
                                "pci8086,2681"
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
 
Ora la temperatura è calata di circa 10 °c, dai 50 e scesa stabilmente ai 38-39 °c con ventola impostata sui 1800 (io ho un fan controller).
Link to comment
Share on other sites

@ pianman

 

La patch completa "LPC" iniettata nel dsdt

Method (_DSM, 4, NotSerialized)
{
    Store (Package (0x08)
        {
            "device-id", 
            Buffer (0x04)
            {
                 0x18, 0x3A, 0x00, 0x00
            }, 
            "compatible", 
            Buffer (0x0D)
            {
                "pci8086,3a18"
            }, 
            "IOName", 
            Buffer (0x0D)
            {
                "pci8086,3a18"
            }, 
            "name", 
            Buffer (0x0D)
            {
                "pci8086,3a18"
            }
        }, Local0)
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
    Return (Local0)
}

FAbio

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...