Jump to content
jaro12345

PowerManagement bundle (with ACPI) for Leopard

243 posts in this topic

Recommended Posts

Hello,

 

the battery meter doesn't show up on latest iatkos 10.5.4, here's the output of kextstat command :

 

18 10 0x2dff3000 0x4000 0x3000 com.apple.iokit.IOACPIFamily (1.2.0) <12>

19 4 0x2e041000 0x3d000 0x3c000 com.apple.driver.AppleACPIPlatform (1.2.1) <18 17 12 7 5 4>

28 0 0x336fd000 0x3000 0x2000 com.apple.driver.AppleACPIPCI (1.2.1) <19 18 17 12>

30 0 0x337b8000 0x5000 0x4000 com.apple.driver.AppleACPIEC (1.2.1) <29 19 18 12>

35 0 0x33a73000 0x2000 0x1000 org.tgwbd.driver.ACPIPS2Nub (1.0.0d1) <19 18 12>

38 0 0x33d73000 0x4000 0x3000 com.apple.driver.AppleACPIButtons (1.2.1) <21 19 18 7 6 5 4 2>

74 0 0x33503000 0xc000 0xb000 com.apple.driver.ACPI_SMC_PlatformPlugin (3.1.6d0) <73 72 18 17 12 7 6 5 4

 

and here's the kernel i'm using :

 

9.4.0 Darwin Kernel Version 9.4.0: Mon Jun 9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386

 

if the matter is the file version, could someone please attach the correct ones in the replies please?

 

thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement

ok I managed to make this from slightly modified Jaro sources. if somebady want to try - try with care)

post-192358-1216916253_thumb.png

EDIT - removed as obsolete, see this page below

Jaro, I hardly need actual header files from project

 

ApplicationServicesPriv.h - to compile battery faker app

IOSMBusController.h - to end up with smart battery manager(it is half-ready now) and probably whole thing

I only have this errored for now:

post-192358-1216917568_thumb.png

Share this post


Link to post
Share on other sites
ApplicationServicesPriv.h - to compile battery faker app

IOSMBusController.h - to end up with smart battery manager(it is half-ready now) and probably whole thing

 

Those are apple internal. Anyway why bother with creating more pm.bundles? :D

 

This thread is getting passé...

Share this post


Link to post
Share on other sites
ApplicationServicesPriv.h - to compile battery faker app

BatteryFaker compileable!

//#import <ApplicationServices/ApplicationServicesPriv.h>

Share this post


Link to post
Share on other sites

>why bother with creating more pm.bundles

 

just to train my brain :)

if you try to compile unmodified sources in xcode 3.1 under 10.5.4 u'll get exactly 666 errors btw )

 

Slice tnx )

Share this post


Link to post
Share on other sites

This was not working in 10.5.4 but..

 

I checked that ACPIApplePlatform version listed in /System/Library/Extensions/AppleACPIPlatform.kext/Contents/Plugins/AppleACPIPowerSource.kext/Contents/Info.plist

- this was 1.2.1

 

matched against the version listed in /System/Library/Extensions/AppleACPIPlatform.kext/Contents/version.plist

- this was 1.1.0 - I changed that to 1.2.1 using VI editor in terminal

 

then reloaded the kext using

 

sudo kextload -t /System/Library/Extensions/AppleACPIPlatform.kext/Contents/Plugins/AppleACPIPowerSource.kext

 

 

 

The battery symbol is now displayed, showing 100% charged. However I've not tested that the time goes down correctly or anything as of yet, but shall keep posted.

 

 

Thanks for your hard work OP.

Chris

 

Oh and my Laptop is a HP dv6955ea

 

just unplugged the mains, and it reduces in %age :]

 

Thanks again!!

Share this post


Link to post
Share on other sites

I installed PowerManagement bundle via kext helper and rebooted and it doesn't seem to have worked since there's no battery meter at the top.

 

Can anyone help?

Share this post


Link to post
Share on other sites
Files I edited, req by NHJ

 

 

thanks a lot, your advice was the right one, i edited the files and correct the version 1.0.5 to 1.2.1 and it's perfectly working now i have a battery jauge :)

Share this post


Link to post
Share on other sites

On iATKOS install DVD (once loaded up to the language choice screen) shows a battery meter but after install it doesn't. I'm attempting chrisdarl's method now.

 

Umm...maybe did it backwards....instead of changing it to 1.2.1 I did 1.0.5 and got a nice kernel panic on boot (not sure if it was from the edit though as I did install different drivers for audio before reboot) I'll be back soon maybe if all goes well :rolleyes:

 

Awesome! I just used the modified Info and Version plist files and they work great. Thanks <_<

Share this post


Link to post
Share on other sites

It works flawlessly in my Lenovo T60, Kalyway upgraded to 10.5.4,

 

The indicator shows percentage, and the sleep feature is still working,

 

Thanks!!

 

JVALERA

Share this post


Link to post
Share on other sites

Batterymeter is not working on my HP DV6000T ..

I've installed the bundle, im running Vanilla 10.5.4

 

Source.kext/ is already loaded

robs-macpro31:~ rob$ kextstat | grep ACPI 18 11 0x2df62000 0x4000 0x3000 com.apple.iokit.IOACPIFamily (1.2.0) <12>

19 6 0x2dfb0000 0x3d000 0x3c000 com.apple.driver.AppleACPIPlatform (1.1.0) <18 17 12 7 4>

27 0 0x33e7f000 0x4000 0x3000 com.apple.driver.AppleACPIButtons (1.1.0) <21 19 18 7 6 5 4 2>

30 0 0x33f76000 0x5000 0x4000 com.apple.driver.AppleACPIEC (1.1.0) <29 19 18 12>

33 0 0x34122000 0x2000 0x1000 org.tgwbd.driver.ACPIPS2Nub (1.0.0d1) <19 18 12>

37 0 0x3434d000 0x3000 0x2000 com.apple.driver.AppleACPIPCI (1.1.0) <19 18 17 12>

66 0 0x2e0ac000 0xc000 0xb000 com.apple.driver.ACPI_SMC_PlatformPlugin (3.1.6d0) <65 64 18 17 12 7 6 5 4>

73 0 0x2e17c000 0x4000 0x3000 com.apple.driver.AppleACPIPowerSource (1.0.5) <19 18 12>

74 0 0x2e1ae000 0x4000 0x3000 com.apple.driver.AppleACPIThermal (1.0.5) <19 18 12>

Share this post


Link to post
Share on other sites

tks, muchas gracias me fue muy util el medidor de bateria, instale el kalyway 10.5.2 en una toshiba A135 sp8520, y labateria no se veia ahora con tu archivo si, gracias nuevamente, saludos desde mexico

Share this post


Link to post
Share on other sites

i'm in the same boat as chris, i have 10.5.4 and it won't work.

 

EDIT: i followed chrisdarl's advice above and replaced the files by simply replacing them inside their respective folders.

 

BUT when i run:

sudo kextload -t /System/Library/Extensions/AppleACPIPlatform.kext/Contents/Plugins/AppleACPIPowerSource.kext

 

i get that there were insufficient privileges.

 

 

EDIT: i repaired permissions and it worked. i hope it stays that way!

Share this post


Link to post
Share on other sites

ok my sleep was working perfectly fine...

but now with the powermanagement bundle when i go to sleep it just reboots the computer INSTANTLY. :|

 

help!

dell 1525

10.5.4 (kalway+combo+appleupdate)

Share this post


Link to post
Share on other sites

ChuN-Nan worked great for me but thanks anyways

Share this post


Link to post
Share on other sites

Hi!~

It works on my DELL 1520(T7250 2G 8600GT),but not perfect...because my restart&shutdown was broken ...

Test on:Brazilmac Leopard 10.5.0+Vinalla+10.5.1 10.5.2 10.5.3 10.5.4...and EFI...

Thank u 4 ur help!

 

Sorry 4 my Chinglish......

Share this post


Link to post
Share on other sites

has anyone tried it on iAtkos v4i ? shall i install this?

 

bash-3.2# kextstat | grep ACPI 
  18	9 0x37a86000 0x4000	 0x3000	 com.apple.iokit.IOACPIFamily (1.2.0) <12>
  19	4 0x37ad4000 0x3d000	0x3c000	com.apple.driver.AppleACPIPlatform (1.2.1) <18 17 12 7 5 4>
  27	0 0x3da27000 0x4000	 0x3000	 com.apple.driver.AppleACPIButtons (1.2.1) <21 19 18 7 6 5 4 2>
  30	0 0x3db1e000 0x5000	 0x4000	 com.apple.driver.AppleACPIEC (1.2.1) <29 19 18 12>
  33	0 0x3dccb000 0x2000	 0x1000	 org.tgwbd.driver.ACPIPS2Nub (1.0.0d1) <19 18 12>
  38	0 0x3e01b000 0x3000	 0x2000	 com.apple.driver.AppleACPIPCI (1.2.1) <19 18 17 12>
  79	0 0x3e0d7000 0xc000	 0xb000	 com.apple.driver.ACPI_SMC_PlatformPlugin (3.1.6d0) <78 77 18 17 12 7 6 5 4>
bash-3.2# uname -a
Darwin krrrs.local 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun  9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386


  This laptop [HP 6000 Pavilion (6114tx Intel)] is running 10.5.4 from iAtkos v4i on Kernel is Stock 9.4
  What package should i use?

 

well i used installer from Xenon's sig and its solved. :(

post-11993-1219923748_thumb.jpg

Share this post


Link to post
Share on other sites

Hi krrr,

 

My Laptop is running 10.5.4 from iAtkos v4i on Stock ACPI & kernel 9.4:

kextstat | grep ACPI 

  18	9 0x2df9e000 0x4000	 0x3000	 com.apple.iokit.IOACPIFamily (1.2.0) <12>
  19	4 0x2dfec000 0x3d000	0x3c000	com.apple.driver.AppleACPIPlatform (1.2.1) <18 17 12 7 5 4>
  27	0 0x33ea7000 0x4000	 0x3000	 com.apple.driver.AppleACPIButtons (1.2.1) <21 19 18 7 6 5 4 2>
  30	0 0x33f9e000 0x5000	 0x4000	 com.apple.driver.AppleACPIEC (1.2.1) <29 19 18 12>
  33	0 0x34152000 0x2000	 0x1000	 org.tgwbd.driver.ACPIPS2Nub (1.0.0d1) <19 18 12>
  38	0 0x344a2000 0x3000	 0x2000	 com.apple.driver.AppleACPIPCI (1.2.1) <19 18 17 12>
  68	0 0x34528000 0xc000	 0xb000	 com.apple.driver.ACPI_SMC_PlatformPlugin (3.1.6d0) <67 66 18 17 12 7 6 5 4>

uname -a

Darwin carlos-vgn-n21z-w.local 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun  9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386

 

The meter of battery doesn' t work. Some suggestion?

 

Thanks and sorry for my Enlish :)

Share this post


Link to post
Share on other sites

i tried it with a fresh kaly install (updated to 10.5.4) now i cant shutdown anymore.

 

after pressing shutdown, it apprears a msg after a few secs, telling me that i have to hold the shutdown button. then the system goes down.

 

i tried to recover the old powermanagement.bundle, but it still wont shutdown correct anymore ^_^

 

 

 

edit: i tried the original appleacpiplatform.kext....now my touchpad and my keyboard wont work anymore :)

 

 

any suggestions how to fix that???

Share this post


Link to post
Share on other sites

Anyone having problems with iAtkos v4i and PowerManagement.bundle needs to simply get a cope of the VANILLA bundle for 10.5.4, as the one installed by default is hacked. After replacing the bundle with the vanilla one, simply use Superhai's ACPIBattery.kext. Works a treat. This is a superior solution.

 

-Jason

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×