Jump to content

battery DSDT patch for Asus x301a (@rehabman)


chriz74
 Share

22 posts in this topic

Recommended Posts

Hello, I checked and tried the rehabman patch battery_asus-n55sl on my x301a laptop but it doesn't seem to work. Can anyone look at the DSDT and check what needs to be modified?

It's a partially modified DSDT (hd4000) and some other patches

 

 

https://www.dropbox.com/s/jxh2ing9yv690y3/DSDT.aml?dl=0

That is the wrong patch for this DSDT. There are two ASUS patches in the repo.

  • Like 1
Link to comment
Share on other sites

Hello!

 

DSDT is already compiled.

 

I have been able to recompile the DSDT with DSDT Editor and MaciASL without any errors, warnings and remarks. There is only a different amount of optimizations.

 

How did you try to recompile the DSDT?

 

Have fun.

  • Like 1
Link to comment
Share on other sites

I booted into Windows and checked from the driver, it says alc 277.

DPCI manager with vanilla APPLEHDA kext and the DSDT from above shows this.

 

post-76108-0-88622700-1424347279_thumb.png

 

Battery is now working however I get this boot warning:

 

WARNING: IOPlatformPluginUtil : getCPUIDInfo: this is an unknown CPU model 0x3a

  -- power management may be incomplete or unsupported

ACPI_SMC_PlatformPlugin::pushCPU_CSTData - _CST evaluation failed

ACPI_SMC_PlatformPlugin::pushCPU_CSTData - _CST evaluation failed

ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized

Link to comment
Share on other sites

hello

 

what smbios u using ?

 

i think is all related with cpu powermanagement

 

is hard to know .. what is happen .. u don't have a proper signature for this hardware ..

 

what boot loader u are using .. what is the sets for cpu powermanagement ..

 

only guessing

 

good hack

Link to comment
Share on other sites

Cpupowermanagement is native (bios is unlocked). Smbios is MacBook Air 5.2.

Anyway I gave up. Audio is not working even if nodes are correct. The device appears intermittently but when appears no audio comes out. Also the screen is dim and it brightens only if I put in standby after getting out of stb

Link to comment
Share on other sites

Cpupowermanagement is native (bios is unlocked). Smbios is MacBook Air 5.2.

Doesn't mean you implemented CPU PM correctly (requires correct SSDT).

 

Also the screen is dim and it brightens only if I put in standby after getting out of stb

DSDT patches: https://github.com/RehabMan/Laptop-DSDT-Patch

Apply: "Brightness Fix (HD3000/HD4000)", and optionally "Rename GFX0 to IGPU"

Install kext: https://github.com/RehabMan/OS-X-ACPI-Backlight

Link to comment
Share on other sites

... is there another ssdt for cpu powermanagent?

No.

 

If you generated and installed a correct ssdt.aml for your CPU, verified that X86PlatfromPlugin is loaded (assuming Ivy/Haswell CPU), used a correct SMBIOS, verified that AppleLPC is loaded, not using a NullCPU*, not using a rollback AppleACPIPlatform, verified pstates by monitoring them... then you have CPU PM implemented.

 

FYI: No idea if X86Platform/MacBookAir5,2 is correct as your hardware is unspecified.

Link to comment
Share on other sites

No.

 

If you generated and installed a correct ssdt.aml for your CPU, verified that X86PlatfromPlugin is loaded (assuming Ivy/Haswell CPU), used a correct SMBIOS, verified that AppleLPC is loaded, not using a NullCPU*, not using a rollback AppleACPIPlatform, verified pstates by monitoring them... then you have CPU PM implemented.

 

FYI: No idea if X86Platform/MacBookAir5,2 is correct as your hardware is unspecified.

 

here is the hardware: chipset intel hm76, cpu intel i7-3630qm, graphics intel hd4000 (integrated), audio alc277 (as recognized by windows realtek drivers), ethernet realtek 8111, ram 8gb kingston 1600mhz.

 

So far everything works apart audio (chipset recognized but no audio output), battery works but got some errors (error reading battery 0), backlight is dim (didn't try the kext yet).

Link to comment
Share on other sites

Doesn't mean you implemented CPU PM correctly (requires correct SSDT).

 

 

DSDT patches: https://github.com/RehabMan/Laptop-DSDT-Patch

Apply: "Brightness Fix (HD3000/HD4000)", and optionally "Rename GFX0 to IGPU"

Install kext: https://github.com/RehabMan/OS-X-ACPI-Backlight

 

ok. backlight is fixed. I still need to patch the battery and the audio.

Link to comment
Share on other sites

 Share

×
×
  • Create New...