Jump to content

HP G62-400 Power Management Issues


mnfesq
 Share

5 posts in this topic

Recommended Posts

I am hacking an HP G62-400 CTO laptop for a friend.   It has an i3-370M CPU and HM55 chipset.  It's running first generation IntelHDGraphics and Mavericks 10.9.4.  I have three problems:  (1) The laptop won't wake from sleep.  The video does not wake from sleep.  Have to shutdown via power button and restart; (2) Power button does not bring up shut down/sleep/restart dialog; (3) Battery charge is not recognized - battery has an "X" over it.

 

Here's what I've tried so far:

 

(1) Sleep - nothing yet.  Not sure where to start.  Tried the old sleep trick by setting video sleep in a hot corner.

(2) Power button - Changed HID to CID in DSDT for PWRBTN

(3) Battery - Using RehabMan's ACPI Battery kext and added his patch for the HP G62-B13SL

 

Any tips would be appreciated.

Link to comment
Share on other sites

OK, I was able to fix the video not waking from sleep using this guide:

 

http://www.insanelymac.com/forum/topic/287133-guide-backlight-brightness-for-intel-80860046-1st-gen-hd-gma-5700mhd/

 

It also gave me full control of display brightness and added a brightness slider bar in display properties.

 

I was able to find my BAR0 using LSPCI by entering this code in terminal:

 

lspci -bvx

 

One down, two to go.

Link to comment
Share on other sites

Moving right along, I had tried a few of RehabMan's DSDT patches for my battery and none of them seemed to work.  The problem was not his patches, it was the fact that I was applying one on top of the other.  I went back to my original unpatched DSDT and copied the entire section for LPCB/EC0 into my modified DSDT and then used the patch for the HP-DV6-3165sf and it worked.  What made me decide to use that patch came from RehabMan's tutorial.  You have to look at the patches to see what sections are being modified and if you have those sections in your DSDT, the chances are good that the patch will work.  Since my DSDT had the section EC0 and all the modifications in the HP-DV6-3165sf were to that section (including one stand-out modification of a 256-bit entry that was the same in the patch and in my DSDT), I chose that patch and it worked.  Thanks RehabMan.

 

Two down, one to go.

Link to comment
Share on other sites

Moving right along, I had tried a few of RehabMan's DSDT patches for my battery and none of them seemed to work.  The problem was not his patches, it was the fact that I was applying one on top of the other.  I went back to my original unpatched DSDT and copied the entire section for LPCB/EC0 into my modified DSDT and then used the patch for the HP-DV6-3165sf and it worked.  What made me decide to use that patch came from RehabMan's tutorial.  You have to look at the patches to see what sections are being modified and if you have those sections in your DSDT, the chances are good that the patch will work.  Since my DSDT had the section EC0 and all the modifications in the HP-DV6-3165sf were to that section (including one stand-out modification of a 256-bit entry that was the same in the patch and in my DSDT), I chose that patch and it worked.  Thanks RehabMan.

 

Two down, one to go.

Will add a note in the repo:

# Works for
...
#  HP G62-400 CTO, courtesy information from mnfesq
  • Like 1
Link to comment
Share on other sites

Finally, I got the Power Button fixed.  That's 3 down and I'm all done!

 

This was the code in my DSDT:

        Device (PWRB)
        {
            Name (_HID, EisaId ("PNP0C0C"))
        }

Here's what I changed it to:

        Device (PWRB)
        {
            Name (_CID, EisaId ("PNP0C0C"))
            Name (_PRW, Package (0x02)
            {
                0x1C, 
                0x04
            })
        }

Everyone knows to change HID to CID but I got the additional code (0x1C, 0x04) from a 2011 post made by Slice in the projectosx forum.  I think that was just the code that came with his Dell laptop but I gave it a shot and it worked.  Thanks Slice.

Link to comment
Share on other sites

 Share

×
×
  • Create New...