Contribute
Register

Battery Manager with Fix for Boot without Batteries

Status
Not open for further replies.
That patch that you mention. How I can apply it to my DSDT?
I used the evoDSDTse to handle my DSDT, you suggest some program?

Use MaciASL.
 
Use MaciASL.

Achieve install the patch you told me but i still get an X on the battery indicator.


Maybe I should change something in the org.chameleon.Boot.plist??
use svn version 2.2 R2140 chameleon

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Boot Graphics</key>
    <string>Yes</string>
    <key>DSDT</key>
    <string>/Extra/dsdt.aml</string>
    <key>Default Partition</key>
    <string>hd(0,1)</string>
    <key>EthernetBuiltIn</key>
    <string>Yes</string>
    <key>GraphicsEnabler</key>
    <string>Yes</string>
    <key>Kernel</key>
    <string>mach_kernel</string>
    <key>Kernel Flags</key>
    <string>npci=0x2000 </string>    
    <key>SMBIOS</key>
    <string>/Extra/smbios.plist</string>
    <key>SMBIOSdefaults</key>
    <string>No</string>
    <key>Timeout</key>
    <string>2</string>
    <key>UseKernelCache</key>
    <string>Yes</string>
    <key>device-properties</key>
    <string>4905000001000000020000003f0000000100000002010c00d041030a0000000001010600031c0101060000007fff0400160000006200750069006c0074002d0069006e0000000500000001fe0400001800000002010c00d041030a000000000101060000010101060000007fff0400220000004100410050004c002c0073006c006f0074002d006e0061006d00650000000a000000536c6f742d3122000000400030002c0064006900730070006c00610079002d00630066006700000008000000ffffffff2e000000400030002c004100410050004c002c0062006f006f0074002d0064006900730070006c006100790000000800000001000000320000004100410050004c002c006200610063006b006c0069006700680074002d0063006f006e00740072006f006c00000011000000305c33323730303030303030310e0000004e00560050004d00000020000000010000000000000000000000000000000000000000000000000000001c000000400030002c006200750069006c0074002d0069006e00000005000000011e00000072006f006d002d007200650076006900730069006f006e000000190000002f45787472612f313064655f306132392e726f6d00100000004e00560043004100500000001800000004000000000001007e0000000000000a0000000022000000400030002c006400650076006900630065005f00740079007000650000000c000000646973706c617900100000006d006f00640065006c000000140000004765466f726365204754203333304d0038000000400030002c007500730065002d006200610063006b006c0069006700680074002d0062006c0061006e006b0069006e0067000000040000001c000000400030002c00700077006d002d0069006e0066006f0000001c000000021800649059020008520000a51c0000000400000100000014000000400030002c006e0061006d0065000000130000004e5644412c446973706c61792d410022000000400031002c0064006900730070006c00610079002d00630066006700000008000000ffffffff24000000400031002c00630061006e002d0068006f0074002d0070006c00750067000000040000001c0000006400650076006900630065005f0074007900700065000000100000004e5644412c506172656e740014000000400031002c006e0061006d0065000000130000004e5644412c446973706c61792d420020000000400031002c0063006f006d00700061007400690062006c00650000000f0000004e5644412c4e564d61630022000000400031002c006400650076006900630065005f00740079007000650000000c000000646973706c61790020000000400030002c0063006f006d00700061007400690062006c00650000000f0000004e5644412c4e564d61630014000000400030002c00450044004900440000008400000000ffffffffffff004ca345320000000000120100802213780a87f594574f8c2727505400000001010101010101010101010101010101411c56a0500016303020250058c2100000190000000f0000000000000000002387026401000000fe0053414d53554e470a2020202020000000fe004c544e31353641543032303030007c220000005600520041004d002c0074006f00740061006c00730069007a00650000000800000000000040360000004100410050004c002c006100750078002d0070006f007700650072002d0063006f006e006e0065006300740065006400000011000000305c33323730303030303030312e000000400030002c006200610063006b006c0069006700680074002d0063006f006e00740072006f006c0000000800000001000000</string>
</dict>
</plist>
 
Achieve install the patch you told me but i still get an X on the battery indicator.

Are you using the patched DSDT? You must Save As to /Extra/dsdt.aml, format: ACPI Machine Language Binary

Maybe I should change something in the org.chameleon.Boot.plist??

Probably not.
 
Are you using the patched DSDT? You must Save As to /Extra/dsdt.aml, format: ACPI Machine Language Binary



Probably not.

Captura de pantalla 2013-08-26 a la(s) 20.07.54.png

Works!! ... You're awesome!!!, thank you very much for the help.


My last query. Every time I want to connect an extended screen I connect it to turn my computer, otherwise it does not work.


From what I see I load the kext for my video card is:

Captura de pantalla 2013-08-26 a la(s) 20.11.13.png
 
View attachment 65476

Works!! ... You're awesome!!!, thank you very much for the help.

Super!

My last query. Every time I want to connect an extended screen I connect it to turn my computer, otherwise it does not work.


From what I see I load the kext for my video card is:

View attachment 65477

This is off-topic and I don't know much about nvidia/amd cards, having only used Intel HD3K/HD4K...

But you might try and see what Detect Display does in SysPrefs->Displays. Hold down "Option" and Detect Displays button will appear.
 
HP ProBook 4x30s (4330, 4430, 4530, 4730) patches -- Updated

Hi RehabMan,

I trying patch your DSDT to enable battery but it's not work, can you help me for fix my DSDT to enable battery in my lenovo edge e330 ?

thank's in advance and sorry for my english
 

Attachments

  • DSDT.aml.zip
    29.7 KB · Views: 98
HP ProBook 4x30s (4330, 4430, 4530, 4730) patches -- Updated

Hi RehabMan,

I trying patch your DSDT to enable battery but it's not work, can you help me for fix my DSDT to enable battery in my lenovo edge e330 ?

thank's in advance and sorry for my english

You cannot use patches intended for one computer on a different one. DSDT patches, especially those for battery, tend to be specific to the target DSDT.

I don't think your DSDT needs patches for battery (all EC fields are 8-bit or less).

Have you installed a battery manager? Like this one: https://github.com/RehabMan/OS-X-ACPI-Battery-Driver
 
HI RehabMan, I have tried various ways to change my dsdt but without success shows me ... 0% what is wrong in my dsdt ... can you help me please? I am using the latest version of the battery kext. My laptop compaq presario CQ60 200EP

my dmesg:
AppleSmartBattery::pollingTimeOut called
AppleSmartBattery::pollBatteryState: path = 0x2
AppleSmartBattery::pollBatteryState: path = 0x1
AppleSmartBatteryManager::getBatterySTA called
AppleSmartBattery::setBatterySTA: battery_status = 0x1f
AppleSmartBatteryManager::getBatteryBIF called
AppleSmartBatteryManager::getBatteryBIF: validateObject return 0x0
AppleSmartBatteryManager::getBatteryBIF: evaluateObject error 0xe00002bc
AppleSmartBatteryManager::getBatteryBST called
AppleSmartBatteryManager::getBatteryBST: evaluateObject error 0xe00002bc
AppleSmartBattery::pollingTimeOut called
AppleSmartBattery::pollBatteryState: path = 0x2
AppleSmartBattery::pollBatteryState: path = 0x1
AppleSmartBatteryManager::getBatterySTA called
AppleSmartBattery::setBatterySTA: battery_status = 0x1f
AppleSmartBatteryManager::getBatteryBIF called
AppleSmartBatteryManager::getBatteryBIF: validateObject return 0x0
AppleSmartBatteryManager::getBatteryBIF: evaluateObject error 0xe00002bc
AppleSmartBatteryManager::getBatteryBST called
AppleSmartBatteryManager::getBatteryBST: evaluateObject error 0xe00002bc
 

Attachments

  • DSDTxmen1.aml.zip
    17.8 KB · Views: 79
HI RehabMan, I have tried various ways to change my dsdt but without success shows me ... 0% what is wrong in my dsdt ... can you help me please? I am using the latest version of the battery kext. My laptop compaq presario CQ60 200EP

my dmesg:
AppleSmartBattery::pollingTimeOut called
AppleSmartBattery::pollBatteryState: path = 0x2
AppleSmartBattery::pollBatteryState: path = 0x1
AppleSmartBatteryManager::getBatterySTA called
AppleSmartBattery::setBatterySTA: battery_status = 0x1f
AppleSmartBatteryManager::getBatteryBIF called
AppleSmartBatteryManager::getBatteryBIF: validateObject return 0x0
AppleSmartBatteryManager::getBatteryBIF: evaluateObject error 0xe00002bc
AppleSmartBatteryManager::getBatteryBST called
AppleSmartBatteryManager::getBatteryBST: evaluateObject error 0xe00002bc
AppleSmartBattery::pollingTimeOut called
AppleSmartBattery::pollBatteryState: path = 0x2
AppleSmartBattery::pollBatteryState: path = 0x1
AppleSmartBatteryManager::getBatterySTA called
AppleSmartBattery::setBatterySTA: battery_status = 0x1f
AppleSmartBatteryManager::getBatteryBIF called
AppleSmartBatteryManager::getBatteryBIF: validateObject return 0x0
AppleSmartBatteryManager::getBatteryBIF: evaluateObject error 0xe00002bc
AppleSmartBatteryManager::getBatteryBST called
AppleSmartBatteryManager::getBatteryBST: evaluateObject error 0xe00002bc

Is the DSDT you attached unedited?
 
Status
Not open for further replies.
Back
Top