ViennaL Posted June 29, 2007 Share Posted June 29, 2007 Intro: Battery status is the only thing that does NOT WORK on my Hackintosh. Speedstep works and all the other beautiful stuff. What I did I installed the PowerManagment.bundle fix from this forums. I now have a battery status icon in my tray. And it works - lets say 20 percent of it. It knows if a battery is plugged in or not. It fails to calculate percentage or time !!! I already downloaded keithpk's Source Code and hade a look in Xcode. The problem is - i dont know where to start. Battery information works fine under linux 2.6 with a simple: cat /proc/acpi/Battery/bat1/status under os x 10.4.8: uname -a 8.9.1 Darwin Kernel Version 8.9.1: Sun May 6 17:37:57 UZT 2007; made by ToH:xnu-792.18.15/BUILD/obj/RELEASE_I386 ioreg -l | grep Capacity | | "IOBatteryInfo" = ({"Capacity"=0,"Amperage"=0,"Current"=0,"Voltage"=0,"Flags"=0}) So I think the problem is ACPI kext related and not Powermanagment.bundle related?! because ioreg has to show up my battery information right? please help me. its a portable so i need a battery status! Link to comment https://www.insanelymac.com/forum/topic/55566-fixing-battery-status-on-acer-tm-3000/ Share on other sites More sharing options...
keithpk Posted June 29, 2007 Share Posted June 29, 2007 Intro:Battery status is the only thing that does NOT WORK on my Hackintosh. Speedstep works and all the other beautiful stuff. What I did I installed the PowerManagment.bundle fix from this forums. I now have a battery status icon in my tray. And it works - lets say 20 percent of it. It knows if a battery is plugged in or not. It fails to calculate percentage or time !!! I already downloaded keithpk's Source Code and hade a look in Xcode. The problem is - i dont know where to start. Battery information works fine under linux 2.6 with a simple: cat /proc/acpi/Battery/bat1/status under os x 10.4.8: uname -a 8.9.1 Darwin Kernel Version 8.9.1: Sun May 6 17:37:57 UZT 2007; made by ToH:xnu-792.18.15/BUILD/obj/RELEASE_I386 ioreg -l | grep Capacity | | "IOBatteryInfo" = ({"Capacity"=0,"Amperage"=0,"Current"=0,"Voltage"=0,"Flags"=0}) So I think the problem is ACPI kext related and not Powermanagment.bundle related?! because ioreg has to show up my battery information right? please help me. its a portable so i need a battery status! Vienna, I haven't worked on this for a long time, so I don't remember all the details, but I think you analysis is right. I believe ioreg needed to report the proper values, and the hack I made was simply to get them interpreted and displaying correctly. Therefore, I'm not sure what to suggest. It is probably a problem with the ACPI kext, like you said. But I can't remember if those sources are even available. Good luck. Link to comment https://www.insanelymac.com/forum/topic/55566-fixing-battery-status-on-acer-tm-3000/#findComment-397676 Share on other sites More sharing options...
ViennaL Posted June 29, 2007 Author Share Posted June 29, 2007 damn :-( who can i contact to hack apples acpi kext? who is familier with this. the #appleacpi Channel is always so idle :-( maybe i have to try older acpi kexts? will that help? Link to comment https://www.insanelymac.com/forum/topic/55566-fixing-battery-status-on-acer-tm-3000/#findComment-397759 Share on other sites More sharing options...
ViennaL Posted June 30, 2007 Author Share Posted June 30, 2007 I have a new Idea what can cause my kernel not to read correct battery information. In Linux it is battery 1 that i am polling - maybe they start counting at zero and my laptop would have the possibility to have 2 batteries but i am only having the second plugged in. So maybe I need to hack some kernel parameters to get the ioreg output to show up my bat1 !!! any ideas? - i need help Link to comment https://www.insanelymac.com/forum/topic/55566-fixing-battery-status-on-acer-tm-3000/#findComment-398235 Share on other sites More sharing options...
Recommended Posts