Jump to content

HP 6520s, 6720s, 6820s, 550 SL Install Package

* * * * * 1 votes

  • Please log in to reply
1443 replies to this topic

#1101
calmesal

calmesal

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 167 posts

Thats version 1.3.5, from 10.6.7 I guess. I would like to know if is untouched or has some patch on it.

Im downloading 10.6.7 combo update to extract this kext and try it in Lion


OK. It states that the kext is from Lion DP3. Sofar working good here.

#1102
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,617 posts
  • Gender:Male
  • Location:BCN

OK. It states that the kext is from Lion DP3. Sofar working good here.

Did you instal the whole AppleACPIPlatform.kext or just the AppleACPIThermal.kext that is inside?

#1103
calmesal

calmesal

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 167 posts

Did you instal the whole AppleACPIPlatform.kext or just the AppleACPIThermal.kext that is inside?


You have to install the hole kext.

#1104
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,617 posts
  • Gender:Male
  • Location:BCN

You have to install the hole kext.

I can confirm it works for me as well. Thanks!

#1105
juanerson

juanerson

    InsanelyMac Legend

  • Local Moderators
  • 1,480 posts
  • Gender:Male
  • Location:Tru, Venezuela
Thanks God, 10.7.1 is here!!! My hope for fix some of our problems are in this update. Good Luck.

#1106
Zprood

Zprood

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 252 posts
  • Gender:Male
  • Location:CHN

Thanks God, 10.7.1 is here!!! My hope for fix some of our problems are in this update. Good Luck.

No any good news, graphics video card issue still exists, so as wireless.

#1107
juanerson

juanerson

    InsanelyMac Legend

  • Local Moderators
  • 1,480 posts
  • Gender:Male
  • Location:Tru, Venezuela
... Coming from the previous commentary HERE... I have good news... because I fixed the dsdt code for battery meter in Lion, also works in Snow of course. Big THANKS to the legendary master bcc9 in this thread for point to the "real" fix.

Attached the involved code for implementation & testing, please BlackCH and ThirdSmile and maybe others friends, I need your help to make it standard for all of us into a soon new version of the DSDT. Also, maybe the ThermalZones code (fan control) can be fixed in the same way... I think it can be possible and is not so complicated.

@ Testers, for record, I have vanilla 10.7.2 (beta) system (just x3100FB.kext from Snow). Also I have installed all my extensions in /S/L/E, at moment using the glsy's battery .kext, the last version of the vanilla istat pro widget, and coconut battery app to monitoring the results. Good Luck to everyone.

Update 1: Thanks to ThirdSmile we have a better code for the battery support. Please test and enjoy the first revision of this effort, and of course remember the most important is Lion & Snow ready (ONLY for our laptop models). Worked excellent for me, now with auto-detection of the "desing capacity". Also, attached AppleACPIBatteryManager.kext into the .zip for properly cycle count readings, and other things for monitoring. Bye.

Attached Files



#1108
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,617 posts
  • Gender:Male
  • Location:BCN

... Coming from the previous commentary HERE... I have good news... because I fixed the dsdt code for battery meter in Lion, also works in Snow of course. Big THANKS to the legendary master bcc9 in this thread for point to the "real" fix.

Attached the involved code for implementation & testing, please BlackCH and ThirdSmile and maybe others friends, I need your help to make it standard for all of us into a soon new version of the DSDT. Also, maybe the ThermalZones code (fan control) can be fixed in the same way... I think it can be possible and is not so complicated.

Cool! I was looking to that very thread this morning and wondering if it would work for us...
I dont have much free time this days but I will try to test it
Thanks for sharing!

I do think that thermal zones could be fixed on the DSDT as well. I dont have the knowledge to do it though

EDIT
About the battery code:
The "design capacity" parameter always vary along with the "current capacity". It shouldnt. Design capacity should be always the same (4400mAh or whatever the factory full capacity of the battery is)...

#1109
ThirdSmile

ThirdSmile

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
  • Gender:Male
  • Location:Ukraine
SmartBattery works as expected. Tested on SL 10.6.7 with AppleSmartBattary.kext from dsdt_battery_meter_fix_juanerson_08_2011.zip.

CoconutBattery screenshot.

http://zxbodya.cc.ua...t11.20.33PM.png

Also I have added fix for propper showing design capacity:

Store (\_SB.PCI0.LPCB.EC.C1E1, Index (PBIF, One)) /* Line added, C1E1 - stores battary design capacity */
/* Store (Local0, Index (PBIF, One))*/ /*removed because: Local0 now stores current(not design capacity) */

UPD:
Battery load cycles, incorrect now(it was correct before with AppleACPIBatteryManager, or probably was like correct one).

#1110
juanerson

juanerson

    InsanelyMac Legend

  • Local Moderators
  • 1,480 posts
  • Gender:Male
  • Location:Tru, Venezuela
Load cycles are working fine here in Lion & Snow, BUT ONLY by using AppleACPIBatteryManager.kext.
Attached File  Captura_de_pantalla_2011_08_21_a_la_s__17.56.19.png   153.5KB   46 downloads
Lion capture 0x1f4 = 500 hexadecimal (Num of battery cycles, I think is real because is almost death). Same report in Snow, by System Profiler (status "Replace Now") and information in coconut battery 2.6.6 app. Also "replace now" in Lion prefpane.
Attached File  Captura_de_pantalla_2011_08_21_a_la_s__18.08.41.png   67.3KB   44 downloads
Also, I made a little update to my previous comment... I think now is better code... just details to be perfect for all of us.

@ThirdSmile, Thanks for the find about C1E1 for design capacity. I will test it, and try to add to the Lion - Snow fix battery code, for properly functionality in both Systems.

EDITED: DONE! worked beautiful for me, added the fix (Lion ready) to the Update 1 involved dsdt code in the previous post.

#1111
Zprood

Zprood

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 252 posts
  • Gender:Male
  • Location:CHN
Hi guys, what a good news about Battery information. And i follow what you introduce to do, get this result: 1, Battery menu bar shows normally with the native AppleACPIPlatform.kext. But some bugs exists like the picture shows, the message "Condition : replace now " do not appears under SL, with CoconutBattery monitoring, the battery capacity is not correct. Also, system profiler doesn't shows battery information in the Power item. Here is my dsdt file:
Attached File  dsdt.aml.zip   12.78KB   13 downloads
Attached File  1.png   80.79KB   24 downloads
Attached File  2.png   17.75KB   14 downloads
Attached File  3.png   65.05KB   10 downloads

#1112
juanerson

juanerson

    InsanelyMac Legend

  • Local Moderators
  • 1,480 posts
  • Gender:Male
  • Location:Tru, Venezuela
This is for 6720s (and post title models) users. BTW, Please Go UP. First Update of the code. Good Luck with your research.

#1113
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,617 posts
  • Gender:Male
  • Location:BCN
I leave you guys an interesting link about debugging ACPI:
http://www.projectos...amp;#entry15691

About battery, my machine goes off without any "Battery Low Charge" notice, before the reported remaining capacity comes to 0. I would do more tests in the next days. Maybe I need to calibrate the battery...

BTW: I applied the C1E1 fix to the DSDT. It works good.

#1114
ThirdSmile

ThirdSmile

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
  • Gender:Male
  • Location:Ukraine
Today I have noticed buggy behavior of new battery fix - sometimes it shows charging state when working from battery(aproximately with 5 minute period).

I will test more and try to fix this later.

#1115
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,617 posts
  • Gender:Male
  • Location:BCN

Today I have noticed buggy behavior of new battery fix - sometimes it shows charging state when working from battery(aproximately with 5 minute period).
I will test more and try to fix this later.

The "current capacity" reading method is buggy too.
I get different values for this parameter; For example:
-If I pull the AC plug and then back in again the value sometimes goes up, sometimes goes down...
-If I let the battery drain completely until the machine goes off, after restart the value is different

#1116
ThirdSmile

ThirdSmile

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
  • Gender:Male
  • Location:Ukraine

The "current capacity" reading method is buggy too.
I get different values for this parameter; For example:
-If I pull the AC plug and then back in again the value sometimes goes up, sometimes goes down...
-If I let the battery drain completely until the machine goes off, after restart the value is different


current capacity - is not constant value it can variate from battery condition(the same was on previous fix too, ±70mAh for me)... it's normal.

About load cycles - yes, with ACPIBattary mgr. it is correct.

About, charger detecting problems - it persist with ACPIBattary too.

About tools for debug, to find out design capacity in EC device I have used ectool with DirectIO library(both in attachments). Also about DirectIO library - it can be used other monitoring purposed too.

@juanerson Where I can find sources of AppleSmartBatteryManager from your recent post?

Attached Files



#1117
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,617 posts
  • Gender:Male
  • Location:BCN
You can ask gsly for AppleSmartBatteryManager sources:

http://www.insanelym...howtopic=264597

#1118
juanerson

juanerson

    InsanelyMac Legend

  • Local Moderators
  • 1,480 posts
  • Gender:Male
  • Location:Tru, Venezuela

BATTERY METER IS WORKING ON LION (10.7).

@ThirdSmile, I have none problem as you mentioned about "charger or charging" detection from battery status in N period, is working fine here with the UPDATE-1 CODE FIX, and of course I am speaking about any problem "out of the normal" things because our buggy (ever) dsdt, and also due to battery conditions, calibration, etc as we all must to know. So, is not my idea to fix this bugs of the factory code... therefore at moment I am happy because it's Lion ready Done (not perfect for sure) just like in Snow, that was my only intention.. no more. I will post a new dsdt as soon possible. Next step for me: thermalzones.

#1119
ThirdSmile

ThirdSmile

    InsanelyMac Protégé

  • Members
  • PipPip
  • 87 posts
  • Gender:Male
  • Location:Ukraine

@ThirdSmile, I have none problem as you mentioned about "charger or charging" detection from battery status in N period, is working fine here with the UPDATE-1 CODE FIX, and of course I am speaking about any problem "out of the normal" things because our buggy (ever) dsdt, and also due to battery conditions, calibration, etc as we all must to know. So, is not my idea to fix this bugs of the factory code... therefore at moment I am happy because it's Lion ready Done (not perfect for sure) just like in Snow, that was my only intention.. no more. I will post a new dsdt as soon possible. Next step for me: thermalzones.

I have updated DSDT but problem with charger status remains...

More about problem:
When charger connected and battery is fully charged every thing is ok.
When battery is charging - driver randomly changes "charging" and "charged - work from AC" states (period is not fixed - from few seconds to few minutes) .
When battery is discharging - driver randomly changes "discharging" and "charged - work from AC" states period also is not fixed.

When all this driver state transitions occurs i have monitored state of ec device - there was no changes in battery state...

For monitoring EC device I have modified ectool(in attachments, run with "-p" param) is my post above. It outputs values from ec device as them are commented in DSDT code.

Currently I am running 10.6.7 and using AppleACPIBatteryManager from last update...

It is possible that I have missed something when patching dsdt or I have some other error in it so - could you post you current working dsdt?

Attached Files



#1120
juanerson

juanerson

    InsanelyMac Legend

  • Local Moderators
  • 1,480 posts
  • Gender:Male
  • Location:Tru, Venezuela

It is possible that I have missed something when patching dsdt or I have some other error in it so - could you post you current working dsdt?

YES, maybe you are missing something. Post yours and I will apply the exactly Update 1 fix, I mean the whole: EC and Battery involved code, just like the .dsl file I upload... that's it. My dsdt is very modified, and not standard YET. Coming soon.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy