Jump to content

UPDATED 20.12. GenericBrightness.kext


  • Please log in to reply
672 replies to this topic

#121
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,618 posts
  • Gender:Male
  • Location:BCN

Screen wake or wake from sleep?


Both

#122
ivik

ivik

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 280 posts
Try adding something like Store (0xFFFFFFFF, LEVL) to _WAK method before last return. If this works, then, we could save this to some variable in _PTS method and restore it in _WAK.

#123
ivik

ivik

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 280 posts

hi ivik



i am so confused about my dsdt

please have alook thx very much




Too many errors... I get Maximum error count (200) exceeded. It is difficult to debug this.

#124
maczx

maczx

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts

Too many errors... I get Maximum error count (200) exceeded. It is difficult to debug this.


god but thx all the same


now

Brightness doesn't change and the slider keeps back to 100% when i drug itmy dsdt is very difficult to modify .

#125
ivik

ivik

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 280 posts
Do you have max brightness 0 in ioreg?

#126
maczx

maczx

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts

Do you have max brightness 0 in ioreg?



yes the max and min are all 0

here is my ioreg

Attached File  _____________2010_11_15_______10.34.23.png   398.94KB   72 downloads



and use your kext dmesg give me this info

Acpi brightness levels:11, lowest brightness:5, highest brightness:100 

We still don't have brightness entry in ioreg... waiting...


#127
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,618 posts
  • Gender:Male
  • Location:BCN

Try adding something like Store (0xFFFFFFFF, LEVL) to _WAK method before last return. If this works, then, we could save this to some variable in _PTS method and restore it in _WAK.


That didnt work

#128
ivik

ivik

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 280 posts
Then osx messes with brightness after wakeup. Maybe your injector values are wrong. Try removing AAPL,BacklightRestore and see if anything changes or change to zero all values.

@maczx try changing some injector values with backlight. Maybe then max brightness changes. Or try loading nvidia rom for your grahics.

#129
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,618 posts
  • Gender:Male
  • Location:BCN

Then osx messes with brightness after wakeup. Maybe your injector values are wrong. Try removing AAPL,BacklightRestore and see if anything changes or change to zero all values.


I think what happens is that osx restore it's own brightness value after sleep and your kext does not correct it. After you press bright up/down the brightness is fine again. Anyway, I can live with it. Thanx for your work!

#130
maczx

maczx

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts

Then osx messes with brightness after wakeup. Maybe your injector values are wrong. Try removing AAPL,BacklightRestore and see if anything changes or change to zero all values.

@maczx try changing some injector values with backlight. Maybe then max brightness changes. Or try loading nvidia rom for your grahics.



as u say i try use rom but no change

what card is yours? mine is gt240m

the best situation is the SUN icon and the bar .but backlight didnot change when i press fn+Pause and fn+ScorLk ,the bar always goes to 100%

here is my modfied dsdt any suggestion?

Attached File  dsdt.zip   17.43KB   7 downloads

#131
ivik

ivik

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 280 posts
Yeah... this is becase it cant move, min/max=0.
I have intel gma 950.
Look for chamelon info on how to load original apple rom. Maybe osx from there reads min/max values. I just read them from ioreg.

Hm... maybe i could write some menu plugin for people who's values are zero.

#132
wojnar0

wojnar0

    InsanelyMac Protégé

  • Members
  • PipPip
  • 50 posts
  • Gender:Male
  • Location:Poland
@ivik

With your last kext (not from 1 page) nothing change, slider doesn't move.

In console i see We still ... ioreg, values in ioreg are 0x0.

I run RW Everything under windows and my brightness code are (from lowest): 45,4F,56,6E,8E,AE,CF,FF.

Here is screenshot from RW-E with checked whitch one values moves:

Posted Image

Maybe is something still wrong in my dsdt, I cant find "LEVL" words :D

Thank you very much.

Ps. Is "more vanilla" using VoodooPs2 kext or ApplePs2...? (Im under 64bit)

#133
ivik

ivik

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 280 posts
Use the one in first page. All others are modified for BlackCH notebook.
As i sad.. if your max brightness is zero (from ioreg), slider doesn'tt move.

#134
exiva

exiva

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
I have a Dell Mini 10v, I don't see a PNLF device in my DSDT.

Attached File  DellMini10vDSDT.zip   24.72KB   2 downloads

#135
humph

humph

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 146 posts
Working more or less fine on Lenovo S12-GMA950 - some issues with number of steps and max-brightness occurring before full 16 blobs, but figure that's just DSDT needing additional work as only 11 steps defined in std DSDT.
Is OK after sleep.
Kind of just annoying that so far seem to need your nice kext to get backlight controllable under OSX (so am really happy that you made it!!)
On S9e worked OK with just DSDT changes. So, I guess ultimately would like to find DSDT-only solution to avoid the 1sec delay, and to get backlight to be off on zero sun-blobs, but for now am happy :P

#136
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 11,139 posts
  • Gender:Male
  • Location:Rio de Janeiro
Great Job
Thank You
:(

#137
ivik

ivik

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 280 posts

Working more or less fine on Lenovo S12-GMA950 - some issues with number of steps and max-brightness occurring before full 16 blobs, but figure that's just DSDT needing additional work as only 11 steps defined in std DSDT.
Is OK after sleep.
Kind of just annoying that so far seem to need your nice kext to get backlight controllable under OSX (so am really happy that you made it!!)
On S9e worked OK with just DSDT changes. So, I guess ultimately would like to find DSDT-only solution to avoid the 1sec delay, and to get backlight to be off on zero sun-blobs, but for now am happy ;)


What is max brightness on your gma from ioreg? 80 here.
Maybe you could play with rw-everything under win. EC controlls your brightness (BNAC or BNDC).
I have some lower brightness settings that original.

#138
maczx

maczx

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts

Yeah... this is becase it cant move, min/max=0.
I have intel gma 950.
Look for chamelon info on how to load original apple rom. Maybe osx from there reads min/max values. I just read them from ioreg.

Hm... maybe i could write some menu plugin for people who's values are zero.


ye

i have already use 'GraphicsEnabler' to driver the graphic card .and i tried 'UseNvidiaROM' flag also. at the same time i deleted 'PEGP' from dsdt,but no go!

if i do not driver the card ,the brightness couled be contralled with origianl keys fn+up/down,but no SUN no bar. once the card was drivered,brightness goes away.

#139
ivik

ivik

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 280 posts
But do you have osx rom dump from apple copmuter with this card?

#140
maczx

maczx

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts

But do you have osx rom dump from apple copmuter with this card?



It seems that Apple have not used this card before.so there no osx rom.the rom i used is dumped from Everest.

thx reply





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