Jump to content

Fixed iStat Pro/iStat Nano for HackBooks


Prasys
 Share

3 posts in this topic

Recommended Posts

Ive managed to fix the problem on why iStat Pro and iStat Nano would not work on HackBooks is that on Intel Macs , it checks for SMC controller to get information about battery. Our SMC data is not being populated for battery and not to mention that we are using a kernel-based driver to get our Battery Information (similar to how PowerBooks and iBooks do work , were using the same ol fashioned method from 10.4.x till today). Obviously we can opt to use SMC , but then we need to gather more data from our laptop Electronic Controller (the backbone of our laptop which is in charge of getting battery information , brightness information , spinning up the disk , spinning down , getting information about ac adapter , etc)

 

 

Its not a feasible solution at all . Patching DSDT may not be everyones cup of tea nor having a perfect Electronic Controller . Anyhow Ive patched both iStat Pro and Nano for HackBooks. This will get your battery indicator to work , ETA , its able to tell if the laptop is plugged or unplugged. However its not able to tell you the health of the battery nor the cycle counts of the battery. these information are provided by the SMC controller to the system. We dont have our ACPI drivers probing for that. Its possible to fake it out or find a proper method to do it

 

Here are the patched version of iStat Pro and iStat Nano. Source codes are included inside the istat.bundle , open it up. its inside there. You cant miss it. Ive commented on how Ive changed. Again we gotta find a proper way to use FakeSMC to give istat the information its looking for , rather then patching istat !

 

No, they arent going to put this patch in the official iStat and it will never happen as we are using ACPI , and real macs use SMC to probe details from battery

 

Source : My Blog ( no i am not going to post it here as I respect the R&R of this board)

 

Anyway

 

http://www.mediafire.com/download.php?gwmbmtmtmqj - iStat Pro (source is included)

 

http://www.mediafire.com/download.php?3nyzoewyj4t - iStat Nano ( source is included)

 

Compatible with Superhai's VodooBattery (32-bit/64-bit) and AppleACPIBattery by Eureka

 

Requires OSX 10.5 / OSX 10.6 (will not work on 10.4 with patched powermanagement.bundle) or 10.5 with patched powermanagement.bundle

 

Edit : Its not going to report battery health nor other vital info apart from the charge left , eta , if its plugged or not.

 

Just double click and run and yeah as for the screenshot that it works

post-60992-1260760143_thumb.png

Link to comment
Share on other sites

 Share

×
×
  • Create New...