Jump to content

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


  • Please log in to reply
5 replies to this topic

#1
59117108

59117108

    InsanelyMac Protégé

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

 Attached File  屏幕快照 2013-11-03 上午10.09.20.jpg   122.25KB   20 downloads

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

Attached File  屏幕快照 2013-11-03 上午10.21.03.jpg   86.07KB   16 downloads

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

Attached File  屏幕快照 2013-11-03 上午10.28.29.jpg   41.64KB   7 downloads

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

Attached File  屏幕快照 2013-11-03 上午10.29.45.jpg   17.12KB   5 downloads

Attached File  屏幕快照 2013-11-03 上午10.32.59.jpg   29.69KB   4 downloads

 

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 

Attached File  屏幕快照 2013-11-03 上午10.35.40.jpg   60.98KB   5 downloads

 

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

Attached File  屏幕快照 2013-11-03 上午10.42.07.jpg   54.89KB   8 downloads

 

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.../msg?pid=911993 give me idea

 



#2
darkera13

darkera13

    InsanelyMac Protégé

  • Members
  • Pip
  • 31 posts
  • Gender:Male

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



#3
59117108

59117108

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts

 

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



#4
Andy Vandijck

Andy Vandijck

    InsanelyMac Deity

  • Coders
  • 1,693 posts
  • Gender:Male
  • Location:Tienen
  • Interests:Programming stuff for Mac OS X...
    Hacking...
    Hard rock (also really big Metallica...
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) ;)

#5
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.

Good for me thanks, now it's set like macbookpro panel for my hp, but this not help to solve artifacts problem with clover about hd3000 ;)



#6
tluck

tluck

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 739 posts
  • Gender:Male
  • Location:NC, USA

@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.







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