Jump to content

I found the brightness's working principle ,And i don't need genericbrightness at all


59117108
 Share

8 posts in this topic

Recommended Posts

hi guys,  :thumbsup_anim:

I am  a chinese,  i found the the brightness's working  principle!!!!

B)

maybe it can help everyone use a better brightness for your own hackintosh! :D  and get 17steps brightness

 

someone have been found the brightness is related with the "AppleintelpanelA" like this 

 post-59094-0-04260700-1383444632_thumb.jpg

So everyone use DSDT and add 

Name (_HID, EisaId ("LCD1234"))

for brightness but it's not enough

 

you coud just use the default brightness panel and the linear brightness

it is not suitable for everyone's display

maybe darkder than what u want need,maybe to bright for u,maybe when it will became dark when you step0

and someone who have intel graphic card will edit the FB  but it's not suitable for ATI and nVidia,and i don't think it is a good way

the best way is find out the brightnesspanel and find out how can make it work!

 

1  

the linearbrightnesspanel is in AppleBackDIsplay.kext

post-59094-0-06925500-1383445318_thumb.jpg

maybe u have been found "default"

you should download some Macs IOreg looks the same with your PC

for example:

my computer is Sony EA18.my graphic card is ATI 5650,so i should download iMac11,2 or iMac12,1

and find out it's display deviceID

post-59094-0-08536300-1383445742_thumb.jpg

a007 and change it to your display deviceID  and delete others such as this:

post-59094-0-93328400-1383445802_thumb.jpg

post-59094-0-89695800-1383446011_thumb.jpg

 

be careful,when your device ID is "5fa",it's "05fa" 

than reinstall it

 

2

than add your displayID and EDID here /System/library/Displays/Overrides/*/

the "*" is your display vendorID 

post-59094-0-96012800-1383446210_thumb.jpg

 

3

edit your dsdt as this 

 Device (PNLF)
        {
            Name (_HID, EisaId ("APP0002"))
            Name (_CID, "backlight")
            Name (_UID, 0x0A)
            Name (_STA, 0x0B)
        }

somebody's   Name (_UID, 0x0A)   Name (_STA, 0x0B) may be 0X0E  

you must edit it like Macs

 

4

if you are using intel graphic card,maybe you should try to edit "AppleGraphicControl"  

U should try yourself ,i dont have a intel graphic card

post-59094-0-32392400-1383446560_thumb.jpg

 

5

the 0 step's is 06,maybe it's too dard for some display,you can edit your self like this

"00110006 000B0014 001C0027 0033003F 004E005C 00670073 00810091 00A500BF 00DB00FF "

"00110008 000B0014 001C0027 0033003F 004E005C 00670073 00810091 00A500BF 00DB00FF "

remember  the first "0011" is the steps when you don't use your PC for while ,it's will change to this steps like iphone 

 

6

my english is poor,try to read it ,and enjoy it!

 

7

thx to my friend "海洋知秋" we are working for three days 

and thx to “张秋桥” his topic http://www.cndev.org/forum/msg?pid=911993 give me idea

 

 

  • Like 11
Link to comment
Share on other sites

 

 

Intel HD4000 also dont need patch AppleGraphicsControl. My laptop dont need patch LCD1234 and copy to /System/library/Displays/Overrides/. It still work.

So lucky,

Maybe what i've found is suitable for the people who feels too dark or too bright,or those PC cannot have A straight line panel or no backlight at the step0

Link to comment
Share on other sites

You can use my FixEDID app to properly make DisplayMergeNub.kext

It is in the Developers corner and will allow proper injection of display values (instead of the displayoverride folder) ;)

Link to comment
Share on other sites

@59117108 - nice work.

 

Note: i have been using linear brightness (default panel params) - seems ok for me. i did find a way to make the LCD brighter by modifying SNBGraphicsBuffer to increase max value. it used to be dimmer until sleep/wake. so changed 710 to 1213 max value (thanks to TimeWalker75a who put be on this)

 

@Smith@@ - i have found 100% glitch free/hang free (no artifacts etc) success for my HD3000 only box by injecting an alternate EDID by clover. i also put in my DSDT for non-clover but anyway.

Otherwise, if i use the built-in EDID i can't get a hang on demand. the key diff is in detailed timing - slower pixel clock - vertical refresh works out to be 60.00 ... this approach may work for you.

  • Like 1
Link to comment
Share on other sites

  • 1 year later...
edit your dsdt as this 

 Device (PNLF)
        {
            Name (_HID, EisaId ("APP0002"))
            Name (_CID, "backlight")
            Name (_UID, 0x0A)
            Name (_STA, 0x0B)
        }

somebody's   Name (_UID, 0x0A)   Name (_STA, 0x0B) may be 0X0E  

you must edit it like Macs

Good one, I hadn't caught that.

 

_UID is 0x0C on Macbook3,1 and 4,1 with Intel GMAX3100:

        Device (PNLF)
        {
            Name (_HID, EisaId ("APP0002"))
            Name (_CID, "backlight")
            Name (_UID, 0x0C)
            Name (_STA, 0x0B)
        }
Link to comment
Share on other sites

  • 7 months later...
 Share

×
×
  • Create New...