Contribute
Register

Battery in Dell Inspiron 14z

Status
Not open for further replies.
Joined
Mar 27, 2011
Messages
16
Motherboard
Dell Inspiron 14z
CPU
Intel Core i7-3517U
Graphics
Intel HD 4000 + AMD Radeon HD 7570M
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. Android
  2. Other
Hi all.

I'm trying to get work the RehabMan ACPIBattery kext for the battery of my laptop. But i don't understand what changes are needed to the DSDT to get working the KEXT. I can see laptop has some kind of EC methods, but i'm not sure about it.

Attached is my actual DSDT with some fixes to support AppleCPUPowerManagement and AppleHDA.

Cheers =3
 

Attachments

  • DSDT.dsl.zip
    27.5 KB · Views: 116
Hi all.

I'm trying to get work the RehabMan ACPIBattery kext for the battery of my laptop. But i don't understand what changes are needed to the DSDT to get working the KEXT. I can see laptop has some kind of EC methods, but i'm not sure about it.

Attached is my actual DSDT with some fixes to support AppleCPUPowerManagement and AppleHDA.

Cheers =3

Your battery methods/EC layout in the DSDT appear to be the same as the Dell XPS 13. See this thread for patches: http://www.tonymacx86.com/mountain-...tery-brightness-sleep-mouse-2.html#post669419
 
Thanks RehabMan, it seems to work normally without patching the DSDT. I've done again my DSDT from scratch, and its working as normally. Now i have a problem with Graphics. =(

If i load the AppleACPIPlatform from 10.6.8, the Graphics Works correctly, but i don't have Speedstep or Turbomodes.
If i load the AppleACPIPlatform from 10.8.5, the Turbomodes seems to be enabled, also speedstep, but i cannot login. The Login Daemon just crashes.

I attach a log of the crashing, and also the list of kexts being loaded (I just can boot right now from secure mode)

Cheers ^^
 

Attachments

  • Status_Dell14z.zip
    61.6 KB · Views: 104
Thanks RehabMan, it seems to work normally without patching the DSDT. I've done again my DSDT from scratch, and its working as normally. Now i have a problem with Graphics. =(

If i load the AppleACPIPlatform from 10.6.8, the Graphics Works correctly, but i don't have Speedstep or Turbomodes.
If i load the AppleACPIPlatform from 10.8.5, the Turbomodes seems to be enabled, also speedstep, but i cannot login. The Login Daemon just crashes.

I attach a log of the crashing, and also the list of kexts being loaded (I just can boot right now from secure mode)

Cheers ^^

Yes, battery status works with rollback of AppleACPIPlatform. But you need to run the current AppleACPIPlatform to have Ivy Bridge power management (as you discovered). Restore AppleACPIPlatform to the vanilla kext, use the DSDT patches for battery, and work on getting Ivy PM working. You need an Ivy SSDT -- you can generate one easily with the ProBook Installer.

As far as graphics, you seem to have ig-platfrom-id set to 01660003 which is correct for HD4000 and 1366x768 display.
 
Actually i'm using the Vanilla Kext AppleACPIPlatform (Running version according to kextstat is 1.8)

Code:
    9   18 0xffffff7f80783000 0x7000     0x7000     com.apple.iokit.IOACPIFamily (1.4) <7 6 4 3>
   11    1 0xffffff7f807b2000 0x5a000    0x5a000    com.apple.driver.AppleACPIPlatform (1.8) <10 9 7 6 5 4 3 1>
   32    0 0xffffff7f80967000 0x4000     0x4000     com.apple.driver.AppleACPIButtons (1.8) <31 11 9 7 6 5 4 3 1>
   33    0 0xffffff7f8096d000 0x6000     0x6000     org.hwsensors.driver.ACPISensors (820) <17 9 7 5 4 3>

I'm booting from safe mode, because on Normal mode it just crashes (as i commented it on the last post). I've also generated SSDT and this is my actual boot.plist.

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>EthernetBuiltIn</key>
	<string>Yes</string>
        <key>Boot Banner</key>
        <string>No</string>
        <key>GraphicsEnabler</key>
        <string>No</string>
	<key>IGPEnabler</key>
	<string>No</string>
        <key>Instant Menu</key>
        <string>Yes</string>
        <key>Kernel Flags</key>
        <string></string>
        <key>Legacy Logo</key>
        <string>Yes</string>
	<key>Kernel</key>
	<string>mach_kernel</string>
	<key>DropSSDT</key>
	<string>Yes</string>
	<key>GeneratePStates</key>
	<string>No</string>
	<key>GenerateCStates</key>
	<string>No</string>
</dict>
</plist>

The IGPEnabler is set to No because i've patched my DSDT for the purpose of detecting Intel HD 4000.

Any idea what could be causing the crash on loginwindow?

Cheers ^^
 
Actually i'm using the Vanilla Kext AppleACPIPlatform (Running version according to kextstat is 1.8)

Code:
    9   18 0xffffff7f80783000 0x7000     0x7000     com.apple.iokit.IOACPIFamily (1.4) <7 6 4 3>
   11    1 0xffffff7f807b2000 0x5a000    0x5a000    com.apple.driver.AppleACPIPlatform (1.8) <10 9 7 6 5 4 3 1>
   32    0 0xffffff7f80967000 0x4000     0x4000     com.apple.driver.AppleACPIButtons (1.8) <31 11 9 7 6 5 4 3 1>
   33    0 0xffffff7f8096d000 0x6000     0x6000     org.hwsensors.driver.ACPISensors (820) <17 9 7 5 4 3>

I'm booting from safe mode, because on Normal mode it just crashes (as i commented it on the last post). I've also generated SSDT and this is my actual boot.plist.

I'd be interested in looking at your ioreg in this scenario (battery status working with 1.8 ACPIPlatform). http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html

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>EthernetBuiltIn</key>
	<string>Yes</string>
        <key>Boot Banner</key>
        <string>No</string>
        <key>GraphicsEnabler</key>
        <string>No</string>
	<key>IGPEnabler</key>
	<string>No</string>
        <key>Instant Menu</key>
        <string>Yes</string>
        <key>Kernel Flags</key>
        <string></string>
        <key>Legacy Logo</key>
        <string>Yes</string>
	<key>Kernel</key>
	<string>mach_kernel</string>
	<key>DropSSDT</key>
	<string>Yes</string>
	<key>GeneratePStates</key>
	<string>No</string>
	<key>GenerateCStates</key>
	<string>No</string>
</dict>
</plist>

The IGPEnabler is set to No because i've patched my DSDT for the purpose of detecting Intel HD 4000.

That's all fine, but IGPEnabler=No is the default, so setting it is rather inconsequential.

Any idea what could be causing the crash on loginwindow?

I think it points to some other kind of corruption/bad kexts in your install. I would try a fresh install keeping random rollbacks, etc to a minimum.
 

Attachments

  • IOReg-14z.ioreg
    1.6 MB · Views: 151
Ok, attached.

I'll reinstall from draft, and then i'll apply patches by separate.

Cheers ^^

Well, that explains that... The DSDT inside your ioreg here is completely different than the DSDT you uploaded in post #1, probably each one was from a completely different computer. The DSDT you are currently using has no EmbeddedControl (no EC) and gets all battery status from SystemMemory (which needs no patches for battery manager to work with current ACPIPlatform).
 
Well, that explains that... The DSDT inside your ioreg here is completely different than the DSDT you uploaded in post #1, probably each one was from a completely different computer. The DSDT you are currently using has no EmbeddedControl (no EC) and gets all battery status from SystemMemory (which needs no patches for battery manager to work with current ACPIPlatform).

Yep, i started from scratch my DSDT because i was suspecting it was not the correct one (I did some backups of the last time I tried to put ML on the Laptop). The DSDT that i'm using actually (the one from IOReg) is actually the correct DSDT.

I've reinstalled, and i'm on a clean system. But, i can't boot in Normal mode (Just safe mode, because the same crash on loginwindow and mds, as far as i can see). Also, when booting on Normal mode, it logs some lines that i suspect are the responsible to the LoginWindow fail on Normal Mode.

Code:
Oct  6 10:21:12 localhost kernel[0]: [ PCI configuration end, bridges 5 devices 13 ]
Oct  6 10:21:12 localhost kernel[0]: Kext com.apple.driver.AppleHDAController - library kext com.apple.iokit.IOGraphicsFamily not found.
Oct  6 10:21:12 localhost kernel[0]: Can't load kext com.apple.driver.AppleHDAController - failed to resolve library dependencies.
Oct  6 10:21:12 localhost kernel[0]: Kext com.apple.driver.AppleHDAController failed to load (0xdc00800e).
Oct  6 10:21:12 localhost kernel[0]: Failed to load kext com.apple.driver.AppleHDAController (error 0xdc00800e).
Oct  6 10:21:12 localhost kernel[0]: Couldn't alloc class "AppleHDAController"
Oct  6 10:21:12 localhost kernel[0]: Kext com.apple.iokit.IOAcceleratorFamily - library kext com.apple.iokit.IOGraphicsFamily not found.
Oct  6 10:21:12 localhost kernel[0]: Can't load kext com.apple.driver.AppleIntelHD4000Graphics - failed to resolve library dependencies.
Oct  6 10:21:12 localhost kernel[0]: Kext com.apple.driver.AppleIntelHD4000Graphics failed to load (0xdc00800e).
Oct  6 10:21:12 localhost kernel[0]: Failed to load kext com.apple.driver.AppleIntelHD4000Graphics (error 0xdc00800e).
Oct  6 10:21:12 localhost kernel[0]: Kext com.apple.driver.AppleSMCPDRC - library kext com.apple.driver.IOPlatformPluginFamily not found.Couldn't alloc class "IntelAccelerator"
Oct  6 10:21:12 localhost kernel[0]: Can't load kext com.apple.driver.AppleSMCPDRC - failed to resolve library dependencies.
Oct  6 10:21:12 localhost kernel[0]: Kext com.apple.driver.AppleSMCPDRC failed to load (0xdc00800e).
Oct  6 10:21:12 localhost kernel[0]: Failed to load kext com.apple.driver.AppleSMCPDRC (error 0xdc00800e).
Oct  6 10:21:12 localhost kernel[0]: Couldn't alloc class "AppleSMCPDRC"
Oct  6 10:21:12 localhost kernel[0]: HWSensors Project Copyright 2013 netkas, slice, usr-sse2, kozlek, navi, THe KiNG, RehabMan. All rights reserved.
Oct  6 10:21:12 localhost kernel[0]: FakeSMCDevice: 15 preconfigured keys added
Oct  6 10:21:12 localhost kernel[0]: SMC: successfully initialized
Oct  6 10:21:12 localhost kernel[0]: Kext com.apple.iokit.IOAcceleratorFamily - library kext com.apple.iokit.IOGraphicsFamily not found.
Oct  6 10:21:12 localhost kernel[0]: Can't load kext com.apple.AMDRadeonAccelerator - failed to resolve library dependencies.
Oct  6 10:21:12 localhost kernel[0]: Kext com.apple.AMDRadeonAccelerator failed to load (0xdc00800e).
Oct  6 10:21:12 localhost kernel[0]: Failed to load kext com.apple.AMDRadeonAccelerator (error 0xdc00800e).
Oct  6 10:21:12 localhost kernel[0]: Couldn't alloc class "AMDLombokGraphicsAccelerator"
Oct  6 10:21:12 localhost kernel[0]: mbinit: done [96 MB total pool size, (64/32) split]

Do I need another kind of patch or workaround to make HD 4000 work on Normal Mode?

Update (6/Oct 15:15) => It seems that the kext error is caused by a bug in that specific revision of Chimera. I used 2159 from Chameleon, and that log is over. But launchwindowd keeps crashing on normal mode.

Cheers ^^
 
...

Update (6/Oct 15:15) => It seems that the kext error is caused by a bug in that specific revision of Chimera. I used 2159 from Chameleon, and that log is over. But launchwindowd keeps crashing on normal mode.

It this a clean install using Mac App Store purchased ML? What version? What was your installation procedure?
 
Status
Not open for further replies.
Back
Top