Jump to content

Dell Latitude E6530


Leo Burn

Recommended Posts

  • Moderators

I've already worked with Ukelele, is a good soft to create and personalize a layout but i don't know if there is a possibility to add btn (like the fn).

now i'm looking for a battery kext except voodoobattery 

Leo,

 

If you use the bootpack from the guide, it should already include AppleSmartbatteryManager.kext. If it's not loading, try rerunning my hack, select my fix/full to rebuild cache and permission. If that still doesn't work, try adding -f switch to boot.plist.

Link to comment
Share on other sites

Leo,

 

If you use the bootpack from the guide, it should already include AppleSmartbatteryManager.kext. If it's not loading, try rerunning my hack, select my fix/full to rebuild cache and permission. If that still doesn't work, try adding -f switch to boot.plist.

 

I've tried this one with/without boot flag but without result !!

 

 

 

EDP provides other battery management kexts if required. Look in /Extra/storage/kexts/battery

 

Very nice, i've installed both AppleACPIBatteryManager.kext + AppleSmartBatteryManager and it works very fine !!

Now i've the battery icon on the status bar !!   :D

Link to comment
Share on other sites

Hello,

it is possible dsdt patch for battery?

With old AppleACPIPlatform.kext is ivy bridge speedstep not possible.

(sorry, google translator...)

 

 
speedstep with original AppleACPIPlatform.kext:
 

attachicon.gif 2013-08-13 _17.47.10.png

attachicon.gif2013-08-13 _17.48.16.png

attachicon.gif2013-08-13 _17.50.05.png

 

Yes for the battery, you must disable both BAT1 and BAT2 in your DSDT

 

Well i saw you have an i7 mine is just an i5 but to test if PM works, use MSRDump

Link to comment
Share on other sites

Yes for the battery, you must disable both BAT1 and BAT2 in your DSDT

 

Well i saw you have an i7 mine is just an i5 but to test if PM works, use MSRDump

 

 

Hey Leo can you detail how you accomplished this feat?  I would like to try it on my E6520 and see if it works for it as well.  I want working battery status!  :o

Link to comment
Share on other sites

I use the AppleSmartBatteryManager.kext

 

In your DSDT, search for Device (BAT, if the battery section is like mine, you'll find 3 Devices (BAT0, BAT1 and BAT2).

 Device (BAT0)
        {
            Name (_HID, EisaId ("PNP0C0A"))
            Name (_UID, One)
            Name (_PCL, Package (0x01)
            {
                _SB
            })
            Method (_STA, 0, NotSerialized) // <---- look here
            {
                Store (ECG5 (), Local0)
                And (Local0, 0x02, Local0)
                If (Local0)
                {
                    Return (0x1F)    // <---- The battery is present
                }

                Return (0x0F) // <---- The battery is absent
            }

            Method (_BIF, 0, NotSerialized)
            {
                Name (BIF0, Package (0x0D) {})
                ECG9 (One, BIF0)
                Return (BIF0)
            }

            Method (_BST, 0, NotSerialized)
            {
                Name (BST0, Package (0x04) {})
                ECG6 (One, BST0)
                Return (BST0)
            }
        }

Device (BAT1)
        {
            Name (_HID, EisaId ("PNP0C0A"))
            Name (_UID, 0x02)
            Name (_PCL, Package (0x01)
            {
                _SB
            })
            Method (_STA, 0, NotSerialized)
            {
                Store (EEAC (0x05, Zero), Local0)
                If (LLess (Local0, 0x02))
                {
                    Return (Zero)
                }

                Store (ECG5 (), Local0)
                And (Local0, 0x08, Local0)
                If (Local0)
                {
                    Return (Zero)  // <---- disable the BAT1
                }

                Return (Zero)  // <---- disable the BAT1
            }

            Method (_BIF, 0, NotSerialized)
            {
                Name (BIF1, Package (0x0D) {})
                ECG9 (0x02, BIF1)
                Return (BIF1)
            }

            Method (_BST, 0, NotSerialized)
            {
                Name (BST1, Package (0x04) {})
                ECG6 (0x02, BST1)
                Return (BST1)
            }
        }

Device (BAT2)
        {
            Name (_HID, EisaId ("PNP0C0A"))
            Name (_UID, 0x03)
            Name (_PCL, Package (0x01)
            {
                _SB
            })
            Method (_STA, 0, NotSerialized)
            {
                Store (EEAC (0x05, Zero), Local0)
                If (LLess (Local0, 0x03))
                {
                    Return (Zero)
                }

                Store (ECG5 (), Local0)
                And (Local0, 0x20, Local0)
                If (Local0)
                {
                    Return (Zero)  // <---- disable the BAT2
                }

                Return (Zero)  // <---- disable the BAT2
            }

            Method (_BIF, 0, NotSerialized)
            {
                Name (BIF1, Package (0x0D) {})
                ECG9 (0x03, BIF1)
                Return (BIF1)
            }

            Method (_BST, 0, NotSerialized)
            {
                Name (BST1, Package (0x04) {})
                ECG6 (0x03, BST1)
                Return (BST1)
            }
        }

If doesn't works with the BAT0, disable it (replace the first and second return values with Zero) and pass to the second device, replace its return values with (0x1F) and (0x0F) respectively and so one.

 

Every time, you do that, repair the cache, reboot and verify that the battery icon is present without putting the battery in your laptop.

 

Good luck

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...