Jump to content

ACPIBrightness level Fix problem


  • Please log in to reply
9 replies to this topic

#1
navendugoyal

navendugoyal

    InsanelyMac Protégé

  • Members
  • Pip
  • 31 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

#2
navendugoyal

navendugoyal

    InsanelyMac Protégé

  • Members
  • Pip
  • 31 posts
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
})
}

#3
TUX FIRE

TUX FIRE

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 113 posts
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

#4
navendugoyal

navendugoyal

    InsanelyMac Protégé

  • Members
  • Pip
  • 31 posts
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

#5
navendugoyal

navendugoyal

    InsanelyMac Protégé

  • Members
  • Pip
  • 31 posts
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 ?

#6
Smith@@™

Smith@@™

    InsanelyMac LOL

  • Retired
  • 2,928 posts
  • Gender:Male
  • Location:Somewhere over the rainbow...ITALIA!
  • Interests:Dark matter and dark energy. E basta. HD3000. E basta.
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.

#7
magnifico

magnifico

    InsanelyMac Deity

  • Donators
  • 2,210 posts
  • Gender:Male
Sorry for OT ,hello smith returned well :wink2:

#8
Smith@@™

Smith@@™

    InsanelyMac LOL

  • Retired
  • 2,928 posts
  • Gender:Male
  • Location:Somewhere over the rainbow...ITALIA!
  • Interests:Dark matter and dark energy. E basta. HD3000. E basta.
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.

Attached Files



#9
Ingwie Phoenix

Ingwie Phoenix

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
  • Gender:Male
  • Location:Germany
  • Interests:PHP, DJ, Drums, Tinkering&Tuning of technical devices

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 =)



#10
hoanglan87

hoanglan87

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

Any other solution for this? Some DSDT patch any one?







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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