Jump to content

AppleACPIBatteryManager/AppleSmartBatteryManager For Lion


  • Please log in to reply
175 replies to this topic

#81
LesGaR

LesGaR

    InsanelyMac Protégé

  • Members
  • Pip
  • 48 posts
Hello, my dsdt look's very different that yours. Can you explain how to fix my dsdt, I'm lost.
Thank you in advance.

Attached Files



#82
Jingu

Jingu

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 119 posts
Works flawless in 32-bit. Any chance on getting a 64-bit version for Mountain Lion?

#83
barat

barat

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:Poland
I have a little problem ... I think that I have 256bit value ...

Name (SMBF, Zero)
		    OperationRegion (SMBX, EmbeddedControl, 0x18, 0x28)
		    Field (SMBX, ByteAcc, NoLock, Preserve)
		    {
			    PRTC,   8,
			    SSTS,   5,
				    ,   1,
			    ALFG,   1,
			    CDFG,   1,
			    ADDR,   8,
			    CMDB,   8,
			    BDAT,   256,
			    BCNT,   8,
				    ,   1,
			    ALAD,   7,
			    ALD0,   8,
			    ALD1,   8
		    }

After 3 KP I don't know what to do ... someone may look at this? My DSDT was OK on SL10.6.8 ... but here I have a problem.
Glad, that My Y530 have "hardware" battery indicator...

I have problem with ALC888 too, but that's not the topic here ...

Attached Files



#84
grinchenko

grinchenko

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

can anyone help me with my battery in dsdt?

i don't understand what should I change

I already added B1B2 method

help me please

sorry for my english

Attached Files



#85
xmen107

xmen107

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 111 posts
Thanks for fix work for me..but on battery...slide not change brightness

#86
Ronnie_frown

Ronnie_frown

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

Worked like a charm on Dell Adamo 13

 

Great work and many thanks.

 

Cheers ... !



#87
slashack

slashack

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 203 posts
  • Gender:Male
  • Location:Buenos Aires, Argentina

I've tried to look which registers I should split using the B1B2 method, but my DSDT is really different. Any help?

 

 



#88
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,107 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

I've tried to look which registers I should split using the B1B2 method, but my DSDT is really different. Any help?


No one can help if you don't post the DSDT.

#89
slashack

slashack

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 203 posts
  • Gender:Male
  • Location:Buenos Aires, Argentina

I was indeed sure I did it.

 

Here it goes.. again...

Attached Files



#90
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,107 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

I was indeed sure I did it.
 
Here it goes.. again...


What laptop is this for?

#91
slashack

slashack

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 203 posts
  • Gender:Male
  • Location:Buenos Aires, Argentina

Samsung R480

 

The complete model string is: NP-R480-JS04AR



#92
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,107 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

Samsung R480
 
The complete model string is: NP-R480-JS04AR


I've already written a battery patch that appears to match. See: https://github.com/R...ptop-DSDT-Patch

The one you want to apply (with MaciASL) is "Samsung Series 3"

You will also need to fix the problem with _PLD "Fix _PLD Buffer/Package Error"

#93
slashack

slashack

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 203 posts
  • Gender:Male
  • Location:Buenos Aires, Argentina

Worked great.

 

Thanks.



#94
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,107 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

Worked great.
 
Thanks.


Great. I will update the comments in the patch to indicate it works with your model#.

#95
Damn Fool

Damn Fool

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

Hi,

I'm really struggling to patch my DSDT. I've attached a copy of my current DSDT. It'd be great if anyone with the expertise and the time could apply the edits for me. It's for an Acer Aspire S3-951. I DSDT I'm uploading is one that's had various edits applied , let me know if it's better to have a clean DSDT. 

Hope someone can help. Thanks for all the good work.

Attached Files



#96
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,107 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

Hi,
I'm really struggling to patch my DSDT. I've attached a copy of my current DSDT. It'd be great if anyone with the expertise and the time could apply the edits for me. It's for an Acer Aspire S3-951. I DSDT I'm uploading is one that's had various edits applied , let me know if it's better to have a clean DSDT. 
Hope someone can help. Thanks for all the good work.


Your DSDT doesn't require any edits for battery status. All battery status registers are in SystemMemory, not EmbeddedControl.

#97
Damn Fool

Damn Fool

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

I'm going to need to do more reading up on DSDTs just to understand what that means :) But yeah, just tried the ACPIBatteryManager.kext with the DSDT as it is and it works. Sorry for the trouble. I'm getting a message about the condition of the battery and that I need to replace it but that's easily ignored. Many thanks. You've been a great help, not just with this but from your many other posts.



#98
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,107 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

I'm going to need to do more reading up on DSDTs just to understand what that means :) But yeah, just tried the ACPIBatteryManager.kext with the DSDT as it is and it works. Sorry for the trouble. I'm getting a message about the condition of the battery and that I need to replace it but that's easily ignored. Many thanks. You've been a great help, not just with this but from your many other posts.


You should probably install the debug version to see if there are any errors coming back from DSDT (if there are, it is not from large EC registers, but from something else).

Also you can dump the status with this:
# in Terminal
ioreg -rc IOPMPowerSource


#99
Damn Fool

Damn Fool

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

The status looks fine to me (see below). I'll take your advice and try the debug version when I get the chance. Thanks again.

 

 {
      "PostChargeWaitSeconds" = 120
      "TimeRemaining" = 65535
      "InstantTimeToEmpty" = 65535
      "ExternalChargeCapable" = Yes
      "CellVoltage" = (3148,3148,3148,3148)
      "PermanentFailureStatus" = 0
      "BatteryInvalidWakeSeconds" = 30
      "Voltage" = 12592
      "MaxCapacity" = 3340
      "Quick Poll" = No
      "AtWarnLevel" = No
      "Manufacturer" = "SONYCorp"
      "CurrentCapacity" = 3340
      "LegacyBatteryInfo" = {"Amperage"=0,"Flags"=5,"Capacity"=3340,"Current"=3340,"Voltage"=12592,$
      "FirmwareSerialNumber" = 4980
      "BatteryInstalled" = Yes
      "CycleCount" = 536
      "DesignCapacity" = 6560
      "AvgTimeToFull" = 65535
      "ManufactureDate" = 0
      "AtCriticalLevel" = No
      "BatteryType" = "LiP"
      "InstantTimeToFull" = 65535
      "BatterySerialNumber" = "AP11D4F- 1374"
      "PostDischargeWaitSeconds" = 120
      "Serial" = " 1374"
      "Temperature" = 0
      "InstantAmperage" = 0
      "MaxErr" = 0
      "FullyCharged" = Yes
      "DeviceName" = "AP11D4F"
      "IOGeneralInterest" = "IOCommand is not serializable"
      "Amperage" = 0
      "IsCharging" = No
      "ExternalConnected" = Yes
      "AvgTimeToEmpty" = 65535
    }


#100
RehabMan

RehabMan

    InsanelyMac Legend

  • Coders
  • 1,107 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

The status looks fine to me (see below). I'll take your advice and try the debug version when I get the chance. Thanks again.
 
 {
      "MaxCapacity" = 3340
      "CurrentCapacity" = 3340
      "CycleCount" = 536
      "DesignCapacity" = 6560
    }


It is probably the high cycle count and/or the fact that MaxCapacity is half DesignCapacity.

 

FYI: Most DSDTs do not report cycle count, but the battery manager estimates cycle count with a formula based on the difference between DesignCapacity and MaxCapacity.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy