Jump to content
c0ke

inspiron 1545 help with native cpu pm

Recommended Posts

Hi!

I'm running sno leo 10.6.7 and trying to patch my dsdt to correctly get sleep working.

Months ago mald0n provided to me an almost perfect patch and everything worked but applehda.

Then I've lost my hd and today I had restored everything but sleep and native cpu power management.

Thank's to deviato I've got applehda working, but if I remove nullcpupowermanagement from extra I get KP (version mis-match between kernel and CPU PM...)


I've noticed that appleLCA was not loading. Tried many times the right dsdt patch for my board, but finally I had to patch directly the kext's info plist with my device id and now it loads:


Found my lpc device id from lspci..:

00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03)

 

tried to inject it with the dsdt patch for ICH9 lpc but no luck.

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

 


finally my system loads applelpc by adding the device id directly in its info.plist as

<string>pci8086,2919</string>

 

Still kp without nullcpupm.


see also:

http://www.insanelymac.com/forum/index.php?showtopic=271418


I post here my original dsdt, and the other actual "send_me" files

send_me.zip

Could you please take a look if something's wrong?

Thank you in advance!

Dell Inspiron 1545 C2D 2,2Ghz; 4 GB SDRAM; Mob Radeon HD4330 512MB; Ubuntu11 & Win7 & Lion 10.7.4

Dell Precision M6400 C2D 2,53Ghz; 8 GB DDR3; Nvidia Quadro FX 3700M 1GB; BCM 4312; Mavericks 10.9.3 - in progress: fix native PM and SMC

Link to comment
Share on other sites

When you inject an ID you have to inject one that is supported by the original kext, not the original ID of your card.


Try the Inspiron 1545 patch available here.

 

if I remove nullcpupowermanagement from extra I get KP (version mis-match between kernel and CPU PM...)

Are you sure you are using the correct version of kernel and AICPUPM?

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

When you inject an ID you have to inject one that is supported by the original kext, not the original ID of your card.


Try the Inspiron 1545 patch available here.



Are you sure you are using the correct version of kernel and AICPUPM?

 


There are many different configurations of 1545 inspiron. I tried that one hosted on this site, with no luck. However I'll try it again now.


How can I be sure about the correct version of kernel and aicpupm? however my aicpupm should be 142.6.0

Dell Inspiron 1545 C2D 2,2Ghz; 4 GB SDRAM; Mob Radeon HD4330 512MB; Ubuntu11 & Win7 & Lion 10.7.4

Dell Precision M6400 C2D 2,53Ghz; 8 GB DDR3; Nvidia Quadro FX 3700M 1GB; BCM 4312; Mavericks 10.9.3 - in progress: fix native PM and SMC

Link to comment
Share on other sites

According to my records AICPUPM version for kernel 10.7.0 (OS 10.6.7) should be 105.13.0.

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

According to my records AICPUPM version for kernel 10.7.0 (OS 10.6.7) should be 105.13.0.

 


Hmmm.. I've got the old 96.0.0 and now 142.6.0 from 10.6.7 upgrade... Where could I find 105.13.0 ?

Dell Inspiron 1545 C2D 2,2Ghz; 4 GB SDRAM; Mob Radeon HD4330 512MB; Ubuntu11 & Win7 & Lion 10.7.4

Dell Precision M6400 C2D 2,53Ghz; 8 GB DDR3; Nvidia Quadro FX 3700M 1GB; BCM 4312; Mavericks 10.9.3 - in progress: fix native PM and SMC

Link to comment
Share on other sites

I always make a backup of the Extensions folder before updating.


http://www.sendspace.com/file/umfq24


142.6.0 is the version I use in 10.6.8 (kernel 10.8.0).

-Donations-

PayPal HERE - Stripe HERE - BuyMeaCoffee HERE - Mercado Livre HERE

Skrill danielnmaldonado@gmail.com - BTC 33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3

PicPay @danielnmaldonado - PiX @danielnmaldonado@gmail.com

Premium Users HERE - Problems with Paypal HERE

xcd5u2Y.png

Link to comment
Share on other sites

I always make a backup of the Extensions folder before updating.


http://www.sendspace.com/file/umfq24


142.6.0 is the version I use in 10.6.8 (kernel 10.8.0).

 

wooooo!

with this aicpupm I'm able to boot with native cpu pm and sleep!

I used this patch provided by LatinMcG on insanelymac, and avoid KP (no HPETs available).

Still cannot correctly wake up, I see garbage on display and I must shut down holding the power button.

And sometimes my left side usb ports are not working.

But we're almost there...


Big thanks for your support!!!

Dell Inspiron 1545 C2D 2,2Ghz; 4 GB SDRAM; Mob Radeon HD4330 512MB; Ubuntu11 & Win7 & Lion 10.7.4

Dell Precision M6400 C2D 2,53Ghz; 8 GB DDR3; Nvidia Quadro FX 3700M 1GB; BCM 4312; Mavericks 10.9.3 - in progress: fix native PM and SMC

Link to comment
Share on other sites

still trying to solve the wakeup issue..


after wakeup I see a small portion of the screen on both displays with flickering garbage over a desktop corner.

The system doesn't respond, but the mouse cursor moves correctly..

Maybe it's an issue with the graphic card...


And also, sometimes with that patch my usb ports seems to work very slowly.. or sometimes the leftside ones are not working at all

Dell Inspiron 1545 C2D 2,2Ghz; 4 GB SDRAM; Mob Radeon HD4330 512MB; Ubuntu11 & Win7 & Lion 10.7.4

Dell Precision M6400 C2D 2,53Ghz; 8 GB DDR3; Nvidia Quadro FX 3700M 1GB; BCM 4312; Mavericks 10.9.3 - in progress: fix native PM and SMC

Link to comment
Share on other sites

a short update:


now running lion.

tried to modify dsdt starting from deviato's (applehda) one.

Only added right LPC device id and DRW.

The system loads quickly without nullcpupm. I'm able to go to sleep: everything's off, the power light fades in and out. Perfect.

Trying to wake with mouse/keyboard/trackpad, but nothing happens. Only if I click on the logitech usb mouse button its light turns on, but everything else still sleeps.

Pushing the power button everything seems to turn back on, fans gradually increase but both display are showing nothing but a square on the top left with its screen portion before sleep flickering. I see the mouse cursor correctly moving on the whole display surfaces.

But the system is stuck and not reacting to any other input. I must hold down the power button to shut down.


Assuming that it seems a graphic related issue, I tried with GE=no but then I wasn't able to sleep at all.


in the kernel log I see

 

Nov 18 14:02:40 myHacky kernel[0]: Wake reason = PBTN LID
Nov 18 14:02:40 myHacky kernel[0]: No interval found for . Using 8000000
Nov 18 14:02:40 myHacky kernel[0]: RadeonMonitor: found 9552 Radeon chip
Nov 18 14:02:40 myHacky kernel[0]: RadeonMonitor: Unknown DeviceID!
Nov 18 14:02:40 myHacky kernel[0]: ApplePS2ALPSGlidePoint: ABMod Waking up Touchpad setting setTapEnable to 1
Nov 18 14:02:40 myHacky kernel[0]: No interval found for . Using 8000000
Nov 18 14:02:41 myHacky kernel[0]: 0        0 AppleUSBCDC: start - initDevice failed
Nov 18 14:02:41: --- last message repeated 1 time ---
Nov 18 14:02:41 myHacky kernel[0]: AirPort: Link Up on en1
Nov 18 14:02:41 myHacky kernel[0]: AirPort: RSN handshake complete on en1
Nov 18 14:02:41 myHacky kernel[0]: Ethernet [AppleYukon2]: Link up on en0, 100-Megabit, Full-duplex, Symmetric flow-control, Debug [78ed,6c00,0de1,0000,45e1,0000]
Nov 18 14:02:41 myHacky kernel[0]: No interval found for . Using 8000000
Nov 18 14:02:48 myHacky kernel[0]: ** Device in slot: SLOT-1 **
Nov 18 14:02:48 myHacky kernel[0]: ** GPU Debug Info Start **
Nov 18 14:02:49 myHacky kernel[0]: 0x00009552
Nov 18 14:02:49 myHacky kernel[0]: 0x000000cb
Nov 18 14:02:49 myHacky kernel[0]: 0x00000001
Nov 18 14:02:49 myHacky kernel[0]: 0x00000018
Nov 18 14:02:49 myHacky kernel[0]: 0x0000f6df
Nov 18 14:02:49 myHacky kernel[0]: 0x00000001
(...)
(and so on until reboot)

 

What do you think about?


Nov 18 14:02:40 myHacky kernel[0]: No interval found for . Using 8000000

Nov 18 14:02:41 myHacky kernel[0]: 0 0 AppleUSBCDC: start - initDevice failed

Nov 18 14:02:41: --- last message repeated 1 time ---

Nov 18 14:02:41 myHacky kernel[0]: No interval found for . Using 8000000

Nov 18 14:02:48 myHacky kernel[0]: ** Device in slot: SLOT-1 **

Nov 18 14:02:48 myHacky kernel[0]: ** GPU Debug Info Start ** (...)


seem strange.

Then I get also

kernel[0]: ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized

on boot. AppleLPC is loading correctly...

Dell Inspiron 1545 C2D 2,2Ghz; 4 GB SDRAM; Mob Radeon HD4330 512MB; Ubuntu11 & Win7 & Lion 10.7.4

Dell Precision M6400 C2D 2,53Ghz; 8 GB DDR3; Nvidia Quadro FX 3700M 1GB; BCM 4312; Mavericks 10.9.3 - in progress: fix native PM and SMC

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...