Jump to content
InsanelyMac Forum
navendugoyal

ACPIBrightness level Fix problem

Recommended Posts

this is what i get during boot

 

Current ACPibrightness=11 Minacpibrightness=0 Maxacpibrightness=100

 

From what i know there should be 12 levels , maybe thats the reason for low brightness about 20% low from windows

 

but after slepp i get full brightness

 

can anyone help me with dsdt edit to get all levels at startup

 

thank you

Share this post


Link to post
Share on other sites
Advertisement

this is from my dsdt

 

Method (_BCL, 0, NotSerialized)

{

Store (0x8010, BTM0)

Store (0x8A16, BTM1)

Store (0x941C, BTM2)

Store (0x9E25, BTM3)

Store (0xA831, BTM4)

Store (0xB241, BTM5)

Store (0xBC56, BTM6)

Store (0xC671, BTM7)

Store (0xD094, BTM8)

Store (0xDAC3, BTM9)

Store (0xE4FF, BTMA)

If (LEqual (LCDD, 0x15A2AF0D))

{

Store (0x8012, BTM0)

Store (0x8A18, BTM1)

Store (0x941F, BTM2)

Store (0x9E29, BTM3)

Store (0xA836, BTM4)

Store (0xB248, BTM5)

Store (0xBC5F, BTM6)

Store (0xC67E, BTM7)

Store (0xD0A6, BTM8)

Store (0xDADA, BTM9)

Store (0xE4FF, BTMA)

}

If (LEqual (LCDD, 0x0283E430))

{

Store (0x800F, BTM0)

Store (0x8A14, BTM1)

Store (0x9419, BTM2)

Store (0x9E21, BTM3)

Store (0xA82B, BTM4)

Store (0xB23A, BTM5)

Store (0xBC4C, BTM6)

Store (0xC663, BTM7)

Store (0xD084, BTM8)

Store (0xDAAD, BTM9)

Store (0xE4FF, BTMA)

}

If (LEqual (LCDD, 0x159DAF06))

{

Store (0x800C, BTM0)

Store (0x8A11, BTM1)

Store (0x9416, BTM2)

Store (0x9E1C, BTM3)

Store (0xA826, BTM4)

Store (0xB233, BTM5)

Store (0xBC42, BTM6)

Store (0xC659, BTM7)

Store (0xD075, BTM8)

Store (0xDA99, BTM9)

Store (0xE4FF, BTMA)

}

If (LEqual (LCDD, 0x3454A34C))

{

Store (0x8012, BTM0)

Store (0x8A17, BTM1)

Store (0x941F, BTM2)

Store (0x9E29, BTM3)

Store (0xA836, BTM4)

Store (0xB247, BTM5)

Store (0xBC5E, BTM6)

Store (0xC67D, BTM7)

Store (0xD0A6, BTM8)

Store (0xDAD8, BTM9)

Store (0xE4F5, BTMA)

}

If (LEqual (LCDD, 0x315AA34C))

{

Store (0x800F, BTM0)

Store (0x8A14, BTM1)

Store (0x941C, BTM2)

Store (0x9E26, BTM3)

Store (0xA833, BTM4)

Store (0xB242, BTM5)

Store (0xBC59, BTM6)

Store (0xC675, BTM7)

Store (0xD099, BTM8)

Store (0xDAC9, BTM9)

Store (0xE4E0, BTMA)

}

Return (Package (0x0D)

{

0x64,

0x32,

Zero,

0x0A,

0x14,

0x1E,

0x28,

0x32,

0x3C,

0x46,

0x50,

0x5A,

0x64

})

}

Share this post


Link to post
Share on other sites

Mine are different from yours

 

 

Method (_BCL, 0, NotSerialized)
               {
                   Return (Package (0x12)
                   {
                       0x64, 
                       0x1E, 
                       0x06, 
                       0x0C, 
                       0x12, 
                       0x18, 
                       0x1E, 
                       0x24, 
                       0x2A, 
                       0x30, 
                       0x36, 
                       0x3C, 
                       0x42, 
                       0x48, 
                       0x4E, 
                       0x54, 
                       0x5A, 
                       0x64
                   })
               }

               Method (_BCM, 1, NotSerialized)
               {
                   If (LAnd (LGreaterEqual (Arg0, Zero), LLessEqual (Arg0, 0x64)))
                   {
                       AINT (One, Arg0)
                       Store (Arg0, BRTL)
                   }
               }

               Method (_BQC, 0, NotSerialized)
               {
                   Return (BRTL)
               }

 

And we have the same problem :D

Share this post


Link to post
Share on other sites

i have read somewhere at a post that acpi assigns 12 brightness levels and 4 levels are added after sleep thats why more brightness after sleep .

i wonder if i do have to revert to windows after all the effort

hmmmmmmmmmmmmmm

Share this post


Link to post
Share on other sites

so no tonymacs or insanelymacs can solve the issue ?

 

people here are legends and i know it is a problem many people have

somebody please find a solution to get brightness rectified

 

what is the thing that differentiates the power state after wake up and after normal boot

 

and also is there a way to change the parameter Backlightatboot parameter under PNLF section ?

Share this post


Link to post
Share on other sites

Yes, right. I have same problem with my HP with full HD screen 1920x1080, problem is solved not only after a full sleep, but you need simply to "switch off" screen. I use this nice app that system can execute to login :

https://github.com/bigkm/SleepDisplay

 

you can compile yourself but if you download the zip you can found the lion compatibility app. So to boot, screen goes off, only screen, touch simply the trackpad or any button and you will have completely all acpi brightness levels. Oh important, simply decrease the brightness with slider or by F2 to turn off the screen absolutely doesn t solve the problem; last 4 acpi levels brightness remain inaccessible, at least for me.

I have tried also to automate the "awake" of the screen but on snow works good, on lion not. Thinking that is Lion, not a bug, it's feature :jester: In lion sleep display is a bit different

Here for example: http://www.iospirit....e-Buddy-1-18-1/

 

Atm it is the only good solution, not solution w dsdt for now, no one solution for automatic display awake trying always with scripts to boot sending keystroke, simulating touch on trackpad, scripts w automator and many many many other tries, no one solution on this way.

 

Maybe a framebuffer problem of hd3000, but also patching it doesn t solve the problem. I have patched that framebuffer w right 3 connectors and not more, LVDS, HDMI and VGA and now all exits are good and working full but that problem was still there. So... that app for now is a solution ...

 

Edit: i forgot an important thing, on this way you will have always, also if you start on battery, max brightness because to boot the system doesn t check if you are on battery or ac in a "good way" (this with ALL battery kext, all) so i use a second script to execute AFTER SleepDisplay app:

 

you can build your very quickly;

open apple script editor and in a new script paste this:

 

do shell script "pmset -a lessbright 0" user name "your account name" password "your account password" with administrator privileges
delay 5
do shell script "pmset -a lessbright 1" user name "your account name" password "your account password" with administrator privileges

save as app, paste it in application folder for example, and insert it only after SleepDisplay in login account.. you know

 

here for that command http://developer.app...n1/pmset.1.html

 

so now is all good, if you found a good working solution for automatic awake display write here thanks;)

 

EDIT: automatic awake display now works. Read post 8.

Share this post


Link to post
Share on other sites

About previous post. Now works also automatic display wake. Compilation directly on Lion and script works well.

Download the attached. There is the working script named SleepDisplay and the automator app named SDi.

The automator app has this code like written here:

 

/Applications/SleepDisplay

/Applications/SleepDisplay --wake

 

So do like me: paste both script SleepDisplay and automator app SDi in Applications folder. Setting the application to boot at startup in login menu (you know how) before obviously of previous script:

 

you can build your very quickly;

open apple script editor and in a new script paste this:

 

 

 

do shell script "pmset -a lessbright 0" user name "your account name" password "your account password" with administrator privileges

delay 5

do shell script "pmset -a lessbright 1" user name "your account name" password "your account password" with administrator privileges

 

 

 

 

 

save as app and name, paste it in application folder for example, and insert it only after SleepDisplay in login account.. you know

 

 

So now you will need to have only two app about screen to boot.

Display.zip

Share this post


Link to post
Share on other sites

Hello to a dead topic... well, not as dead as it seems.

 

I have been trying to get my Vaio to work completely. It keeeeeeps acting weird, but it somehow works. But I have the odd issue myself. Poking the DSDT didnt solve it, replacing VoodooBattery with a patched Apple-thing didnt do it, and the last download wont extract - error 20 "not a directory". Derp?

 

So, what possibilities do I have to restore my 4 states? I can easily post my DSDT, though it's prepatched with PNLF and alike, which work very well - even my emulated NVRAM does =)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    • @fusion71au hi. i have a question. what is screenshot? this files 2nd stage? now El Capitan files is same like file vault 2 of high sierra. can you give me more information for fusion drive?
    • Unfortunately here's all what i get (when connection error doesn't apply) 
    • Hello,   My laptop (specs in signature) runs El Capitan and it works okay, but as the title says, the computer reboots when trying to wake up from sleep. I can't seem to find why it does this, as power management is presumably working properly. I'm attaching PR files. https://www.dropbox.com/s/um4iglj2nqy81c0/debug.zip?dl=0
    • Hi I m trying to install High Sierra 10.13.4 in my dell Inspiron N5110 using MBR patch .Please help me with post installation procedures for patching audio graphics etc    specs                                                                     Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz ,                                                                               Display Adapters    NVIDIA GeForce GT 525M  Intel(R) HD 3000 Graphics           IDT  92HD87B1 audio driver  Dell Wireless 1702 802.11 b/g/n, Bluetooth 3.0+HS Driver           USB Controllers  Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C26 Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C2D Bluetooth Hard Copy Cable Replacement Server Renesas Electronics USB 3.0 Host Controller                                                                                                                       
    • Hi there, You can either use Lilu.kext and nVidiaGraphicsFixUp.kext or you can add the following patch to your config.plist under Kernel and Kext Patches: The kexts must be placed under the following path: /EFI/Clover/kexts/Other    Name: com.apple.driver.AppleGraphicsDevicePolicy Find: BA050000 00 Replace: BA000000 00   You can use clover configurator to mount the EFI partition on the drive that you have clover bootloader installed.


×