Contribute
Register

[Guide] How to patch DSDT for working battery status

This code is wrong:
Code:
                0SN0,8,0SN1,8,

ACPI identifiers must begin with an alpha character. Identifiers cannot begin with a digit.

After you fix that (fatal) error, you will then see the errors related to BDAT.

It is likely one of the existing ASUS patches will work with your DSDT.

So I thought I would try out the patches you provided for the G75 and they work perfectly. Thanks again for your help!
 
I'm getting this error to system.log when i plug in or plug out power adapter.

Code:
Mar  5 13:51:13 Leafs-MacBook-Pro powerd[50]: Failed to read current rating(0xe00002f0)

What does this mean? Can you get anything meaningful out of this?
 
Hi, RehabMan
I've been able to get battery status on my laptop (cq42-263tu) using battery_HP-DV6-3165sf.txt patch by omitting few lines. However, after few minutes cold boot, the battery status isn't working (cross on the menubar). That happens right after the screen dimming.

I got this on system.log

Code:
Mar  7 00:04:15 cq42 kernel[0]: 843.009350: setWOW_PARAMETERS:wowevents = 2(1)
Mar  7 00:06:15 cq42 kernel[0]: 962.912011: setWOW_PARAMETERS:wowevents = 0(0)
Mar  7 00:06:45 cq42 kernel[0]: 992.914453: setWOW_PARAMETERS:wowevents = 2(1)

Any idea why that happens?
Anyway, thanks for encouraging me to learn :thumbup:
 
Hi, RehabMan
I've been able to get battery status on my laptop (cq42-263tu) using battery_HP-DV6-3165sf.txt patch by omitting few lines. However, after few minutes cold boot, the battery status isn't working (cross on the menubar). That happens right after the screen dimming.

I got this on system.log

Code:
Mar  7 00:04:15 cq42 kernel[0]: 843.009350: setWOW_PARAMETERS:wowevents = 2(1)
Mar  7 00:06:15 cq42 kernel[0]: 962.912011: setWOW_PARAMETERS:wowevents = 0(0)
Mar  7 00:06:45 cq42 kernel[0]: 992.914453: setWOW_PARAMETERS:wowevents = 2(1)

Any idea why that happens?
Anyway, thanks for encouraging me to learn :thumbup:

Read post #1, "Problem Reporting".
 

Attachments

  • cq42-ioreg.zip
    391.1 KB · Views: 82
  • DSDT.zip
    26.9 KB · Views: 55
  • DSDT CQ42 Ori.aml.zip
    23.9 KB · Views: 90

Attachments

  • cq42-263tu.zip
    3.3 MB · Views: 80
Sorry, my bad.

Your DSDT is not patched correctly (in ACPI/patched). It appears to have come from a different computer, or the same computer with a different BIOS/hardware configuration. The SystemMemory addresses don't match.

Re-patch based on fresh extract.

Also, it is not clear you used the correct patch. Follow the guide in post #1. Make sure you fill out your profile correctly.

The "HP G6 2221ss" patch may be a match.
 
Hi apologies if my understanding of this is a little bit naive but after following your guide and a few of the examples I came up with the attached patch, which, when I try to apply it to my working dsdt.aml throws up all kind of errors so I'm thinking I've done something wrong which may or may not be glaringly obvious?

Can I please ask you to have a look to see what I have done wrong?

From what I could gather I only have 16bit entries to worry about which I have tried to address in the patch.His is from my second hacintosh a Sony Vaio that I have upgraded several components for including the 32 bit processor to a 64 bit to allow me to install Lion.

As it is my second hac I haven't got it's specs in my signature so here they are:

http://www.tonymacx86.com/lion-laptop-support/187143-sony-vaio-sz-1xp.html#post1216053

The battery patch is really the last necessary fix I need so I would greatly value your help on this.

Many thanks!
 

Attachments

  • CM.txt
    3.1 KB · Views: 104
  • DSDT.aml.zip
    9 KB · Views: 67
Back
Top