Jump to content
47 posts in this topic

Recommended Posts

@nyolc8:

 

The AppleLPC kext in 10.8.5+ matches against device-id and name only. 

 

I only use this:

 

Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "device-id", 
                            Buffer (0x04)
                            {
                                0x18, 0x3A, 0x00, 0x00
                            }, 


                            "name", 
                            "pci8086,3a18"
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }

PS. Could you please patch the 10.9GM AppleHDA for ALC662? I have zero knowledge about HDA patching. 

  • Like 1

or this, mine PX40= LPC

 

 

 

Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                {
                    Store (Package (0x0C)
                        {
                            "device-id", 
                            Buffer (0x04)
                            {
                                 0x02, 0x3B, 0x00, 0x00
                            }, 
 
                            "compatible", 
                            Buffer (0x0D)
                            {
                                "pci8086,3b02"
                            }, 
 
                            "IOName", 
                            Buffer (0x0D)
                            {
                                "pci8086,3b02"
                            }, 
 
                            "name", 
                            Buffer (0x0D)
                            {
                                "pci8086,3b02"
                            }, 
 
                            "subsystem-id", 
                            Buffer (0x04)
                            {
                                 0x01, 0x50, 0x00, 0x00
                            }, 
 
                            "subsystem-vendor-id", 
                            Buffer (0x04)
                            {
                                 0x58, 0x14, 0x00, 0x00
                            }
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }
            }
  • Like 1

 

@nyolc8:

 

The AppleLPC kext in 10.8.5+ matches against device-id and name only. 

 

I only use this:

 

Method (_DSM, 4, NotSerialized)
                {
                    Store (Package (0x04)
                        {
                            "device-id", 
                            Buffer (0x04)
                            {
                                0x18, 0x3A, 0x00, 0x00
                            }, 


                            "name", 
                            "pci8086,3a18"
                        }, Local0)
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                    Return (Local0)
                }

PS. Could you please patch the 10.9GM AppleHDA for ALC662? I have zero knowledge about HDA patching. 

 

AppleHDA for GM is on the downloads page.

  • Like 1

HI Guys.

 

Sorry about that, but i already read 10x this post and didnt understand how to fix that. :-(  My DSDT dont shows "device-id", )

 

Here my IOREG:  http://cl.ly/image/1Z1i1y053v3V

My DSDT: http://cl.ly/1U3P0Z1f0c0l

 

Please Help. My HAck is overclocked and now im getting  real high temps  under stress..

 

Thank you very much

I have CPUPowerManagement working and LPC loading, but my temps are higher than OSX 10.8.4 of about 10 grades. What can be?

Is normal that in IORegistryExplorer under AppleLPC device under IOPowerManagement sectione I have "CurrentPowerState and MaxPowerState" set to 0x1?

I will be very grateful if some one could help me inject the LCP device douse my appleLPC.kext refuse to load as in ML10.8.5 when added the LPC devId into it. But now running MavGM but no speedstep.

 

Here is my DSDT, ioreg and LSPCI dump.

 

Thanks.

 

Arkiv.zip

HI Guys.

 

Sorry about that, but i already read 10x this post and didnt understand how to fix that. :-(  My DSDT dont shows "device-id", )

 

Here my IOREG:  http://cl.ly/image/1Z1i1y053v3V

My DSDT: http://cl.ly/1U3P0Z1f0c0l

 

Please Help. My HAck is overclocked and now im getting  real high temps  under stress..

 

Thank you very much

Help please

@hugeschnauzer I added LPC device injection try this DSDT: attachicon.gifDSDTPATCHED1.aml.zip

@calmesal I renamed SBRG device and invocations to LPCB and added device injection try this: attachicon.gifDSDTPATCHED2.aml.zip

Thank you for your effort, but still dosent work the applelpc.kext won't load and I get hight temp 60C. Any other suggestion?

Try to add manually vendor-id and device-id to AppleLPC.kext's Info.plist

Yes I tried this before posting, that worked in ML10.8.5. But doesn't in Maverick. I solved the problem by AppleLPC.kext revert from 10.8.5. Now the kext is loading and the temp is down. But still think is high in idle about 50-55C. I try to find out what or where the the problem is. 

 

Thanks again.

  • 2 weeks later...
  • 3 weeks later...

Been messing with one of my systems today trying to get AppleLPC.kext to load in Mavericks (DELL M6400) , and couldn't get it load using any of these patches with my systems LPC device ID (2917,8086) but eventually found that by patching my dsdt using an ID that actually exists in the IONameMatch of the 10.9 AppleLPC.kext itself, then it would load (Currently I am using 2916, 8086). 
 
However, I don't like the fact that it didn't actually point to the correct ID of the LPC device in my system, so I am not a fan of this method.
 
UPDATE:  I've made use of an injector kext which now properly loads the new AppleLPC.kext using my correct device ID, and (after applying EHCI and USB fixes to my DSDT) have verified that sleep is working perfectly! :)
 

Here is the patch that I used in my DSDT with the correct device ID for my LPC device (note that in my system, the LPCB device is actually named ISAB - the default naming for the LPC device in Dell/Intel boards?):

into method label _DSM parent_adr 0x001F0000 remove_entry;
into device name_adr 0x001F0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package (0x04)\n
        {\n
            "device-id",\n
            Buffer (0x04)\n
            {\n
                 0x17, 0x29, 0x86, 0x80\n
            },\n
            "name",\n
            "pci8086,2917"\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end

Attached is the injector kext that I used, and contains the following device IDs for identifying LPC (you may also add your own device ID to the info.plist within this kext): 
 

                                <string>pci8086,25a1</string>
				<string>pci8086,2640</string>
				<string>pci8086,2641</string>
				<string>pci8086,2642</string>
				<string>pci8086,27b0</string>
				<string>pci8086,27b8</string>
				<string>pci8086,27bc</string>
				<string>pci8086,27bd</string>
				<string>pci8086,2810</string>
				<string>pci8086,2812</string>
				<string>pci8086,2814</string>
				<string>pci8086,2910</string>
				<string>pci8086,2911</string>
				<string>pci8086,2912</string>
				<string>pci8086,2914</string>
				<string>pci8086,2917</string>
				<string>pci8086,2918</string>
				<string>pci8086,2919</string>
				<string>pci8086,3a10</string>
				<string>pci8086,3a14</string>
				<string>pci8086,3a16</string>
				<string>pci8086,3a1a</string>
				<string>pci8086,3a1e</string>
				<string>pci8086,3b04</string>
				<string>pci8086,3b06</string>
				<string>pci8086,3b08</string>
				<string>pci8086,3b0d</string>

 
Enjoy!

AppleLPCInjector.kext.zip

  • Like 1
  • 9 months later...
  • 2 months later...

Nice work. I installed AppleLPCInjector kext. i checked in system profile, this kext is not loaded. how to get this kext to load.

if you are too lazy to edit your dsdt, here is the old but reliable way to inject LPC ( No DSDT edit needed). This was downloaded long time ago from projectosx. the main difference with this legacy compared to what djouija uploaded above is it uses IOPCIClassMatch instead of IONameMatch. 

LegacyLPC.zip

  • 9 months later...

Been messing with one of my systems today trying to get AppleLPC.kext to load in Mavericks (DELL M6400) , and couldn't get it load using any of these patches with my systems LPC device ID (2917,8086) but eventually found that by patching my dsdt using an ID that actually exists in the IONameMatch of the 10.9 AppleLPC.kext itself, then it would load (Currently I am using 2916, 8086). 

 

However, I don't like the fact that it didn't actually point to the correct ID of the LPC device in my system, so I am not a fan of this method.

 

UPDATE:  I've made use of an injector kext which now properly loads the new AppleLPC.kext using my correct device ID, and (after applying EHCI and USB fixes to my DSDT) have verified that sleep is working perfectly! :)

 

Here is the patch that I used in my DSDT with the correct device ID for my LPC device (note that in my system, the LPCB device is actually named ISAB - the default naming for the LPC device in Dell/Intel boards?):

into method label _DSM parent_adr 0x001F0000 remove_entry;
into device name_adr 0x001F0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package (0x04)\n
        {\n
            "device-id",\n
            Buffer (0x04)\n
            {\n
                 0x17, 0x29, 0x86, 0x80\n
            },\n
            "name",\n
            "pci8086,2917"\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end

Attached is the injector kext that I used, and contains the following device IDs for identifying LPC (you may also add your own device ID to the info.plist within this kext): 

 

                                <string>pci8086,25a1</string>
				<string>pci8086,2640</string>
				<string>pci8086,2641</string>
				<string>pci8086,2642</string>
				<string>pci8086,27b0</string>
				<string>pci8086,27b8</string>
				<string>pci8086,27bc</string>
				<string>pci8086,27bd</string>
				<string>pci8086,2810</string>
				<string>pci8086,2812</string>
				<string>pci8086,2814</string>
				<string>pci8086,2910</string>
				<string>pci8086,2911</string>
				<string>pci8086,2912</string>
				<string>pci8086,2914</string>
				<string>pci8086,2917</string>
				<string>pci8086,2918</string>
				<string>pci8086,2919</string>
				<string>pci8086,3a10</string>
				<string>pci8086,3a14</string>
				<string>pci8086,3a16</string>
				<string>pci8086,3a1a</string>
				<string>pci8086,3a1e</string>
				<string>pci8086,3b04</string>
				<string>pci8086,3b06</string>
				<string>pci8086,3b08</string>
				<string>pci8086,3b0d</string>

 

Enjoy!

Without injector kext,only use your DSDT patch,I can load AppleLPC.kext well.Thank you.

×
×
  • Create New...