Jump to content

Intel HD Graphics 4600 Can't change brightness.


Best Answer RehabMan, 11 June 2014 - 11:34 PM

THEN WHY YOU NO SEND ME THE FILES XD isn't it faster ?


You need to learn. If I do your work for you, you learn nothing and are still a dependent.
This is not the last time you'll need to patch your DSDT...

Here, do this:
- download your *own* files in post #75.
- the ZIP, Files.zip, will download to your 'Downloads' folder
- decompress Files.zip by double clicking in Finder
- open Terminal
- type:
cd ~/Files
iasl -da *.aml
open ssdt4.dsl ssdt5.dsl
- MaciASL is now open with both ssdt4.dsl and ssdt5.dsl.
- Activate each Window, in turn, and click Compile.

Report the result here. Go to the full post


  • Please log in to reply
165 replies to this topic

#1
Raff7M

Raff7M

    InsanelyMac Protégé

  • Members
  • PipPip
  • 86 posts

HI, I'm new here,
I saw this thread but unfortunately I didn't understand it very well :/
http://www.insanelym...-dsdt-patching/

I have the my graphic card recognized with QE/CI Fully functional on OS X Mavericks.
My laptop is Lenovo Ideapad Z510:
Intel core i5 4200M
Intel HD 4600
6GB RAM

 

But the problem is that the screen is a way too bright which is hurting my eyes at night :/
IF someone can help me out with that thread.
or just tell me something else that is working I hope you can help me, Thanks for reading :D



#2
RehabMan

RehabMan

    InsanelyMac Deity

  • Coders
  • 1,581 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

HI, I'm new here,
I saw this thread but unfortunately I didn't understand it very well :/
http://www.insanelym...-dsdt-patching/

I have the my graphic card recognized with QE/CI Fully functional on OS X Mavericks.
My laptop is Lenovo Ideapad Z510:
Intel core i5 4200M
Intel HD 4600
6GB RAM

 

But the problem is that the screen is a way too bright which is hurting my eyes at night :/
IF someone can help me out with that thread.
or just tell me something else that is working I hope you can help me, Thanks for reading :D

Haswell Brigthness Fix:

You will need to extract all DSDT/SSDT from Linux.  Your GFX0 device is probably in one of the SSDTs not DSDT and to get a proper disassembly of your DSDT (and the SSDT that has GFX0) you will need all of them.  They are available in /sys/firmware/acpi/tables and /sys/firmware/acpi/tables/dynamic.

Place all SSDT/DSDT in a single directory and use a recent build of iasl to disassemble:


cd "to directory where you placed all SSDT/DSDT"

iasl -da *.aml

Then search the resulting *.dsl so  you know where GFX0 is defined.

Laptop repo: https://github.com/R...ptop-DSDT-Patch
Apply: "Rename GFX0 to IGPU" (to both DSDT and the SSDT that has your GFX0 device)
Apply: "Brightness Fix (Haswell)" to SSDT with GFX0
install: https://github.com/R...-ACPI-Backlight

Place patched DSDT.aml in /Extra/dsdt.aml.  Place patched SSDT in /Extra/ssdt-1.aml (assuming you have already generated SSDT.aml for CPU)

Result: Working brightness slider in SysPrefs->Displays (mapping of keyboard keys is a separate issue), possible LID sleep, and IGPU power management.



#3
Raff7M

Raff7M

    InsanelyMac Protégé

  • Members
  • PipPip
  • 86 posts

Haswell Brigthness Fix:

You will need to extract all DSDT/SSDT from Linux.  Your GFX0 device is probably in one of the SSDTs not DSDT and to get a proper disassembly of your DSDT (and the SSDT that has GFX0) you will need all of them.  They are available in /sys/firmware/acpi/tables and /sys/firmware/acpi/tables/dynamic.

Place all SSDT/DSDT in a single directory and use a recent build of iasl to disassemble:


cd "to directory where you placed all SSDT/DSDT"

iasl -da *.aml

Then search the resulting *.dsl so  you know where GFX0 is defined.

Laptop repo: https://github.com/R...ptop-DSDT-Patch
Apply: "Rename GFX0 to IGPU" (to both DSDT and the SSDT that has your GFX0 device)
Apply: "Brightness Fix (Haswell)" to SSDT with GFX0
install: https://github.com/R...-ACPI-Backlight

Place patched DSDT.aml in /Extra/dsdt.aml.  Place patched SSDT in /Extra/ssdt-1.aml (assuming you have already generated SSDT.aml for CPU)

Result: Working brightness slider in SysPrefs->Displays (mapping of keyboard keys is a separate issue), possible LID sleep, and IGPU power management.

thanks for fast reply, is it possible extract all DSDT/SSDT from windows using AIDA64 ?



#4
RehabMan

RehabMan

    InsanelyMac Deity

  • Coders
  • 1,581 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

thanks for fast reply, is it possible extract all DSDT/SSDT from windows using AIDA64 ?

It is, I just think it is easier on Linux...  But if you already have Windows installed, use it.  You need all of them...



#5
Raff7M

Raff7M

    InsanelyMac Protégé

  • Members
  • PipPip
  • 86 posts

It is, I just think it is easier on Linux...  But if you already have Windows installed, use it.  You need all of them...

is there a way to install the patches without having access to internet on mac ?
and forgot to tell that, am using clover... what to do in last step ??



#6
RehabMan

RehabMan

    InsanelyMac Deity

  • Coders
  • 1,581 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

is there a way to install the patches without having access to internet on mac ?


Read the README.

and forgot to tell that, am using clover... what to do in last step ??


Clover needs patched ACPI files at /EFI/Clover/ACPI/patched.

#7
Raff7M

Raff7M

    InsanelyMac Protégé

  • Members
  • PipPip
  • 86 posts

Read the README.Clover needs patched ACPI files at /EFI/Clover/ACPI/patched.


Okaay, I have only one problem now, is that I have sure one DSDT and TWO SSDT that has GFX0 what should I do ?

and how should i rename the ssdt ?



#8
Raff7M

Raff7M

    InsanelyMac Protégé

  • Members
  • PipPip
  • 86 posts
PS: The compiler is always giving me errors when I want to save the dsdt or ssdt :(

#9
RehabMan

RehabMan

    InsanelyMac Deity

  • Coders
  • 1,581 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

PS: The compiler is always giving me errors when I want to save the dsdt or ssdt :(


No idea without the errors and the file that causes them.

#10
Raff7M

Raff7M

    InsanelyMac Protégé

  • Members
  • PipPip
  • 86 posts

No idea without the errors and the file that causes them.

I know but those errors are not related to your fixes on the repo :/

DSDT.aml

2n66g0p.jpg

SSDT4.aml
25ivrqo.jpg
SSDT5.aml
noye6e.jpg
ay0bjs.jpg

what should I do now ?



#11
RehabMan

RehabMan

    InsanelyMac Deity

  • Coders
  • 1,581 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars
No idea without the actual files...

#12
Raff7M

Raff7M

    InsanelyMac Protégé

  • Members
  • PipPip
  • 86 posts

No idea without the actual files...

Here are the files

Attached Files



#13
RehabMan

RehabMan

    InsanelyMac Deity

  • Coders
  • 1,581 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

Here are the files


I didn't have much trouble...

- first, fix the errors in DSDT/SSDT4 before applying any patches (they are easy fixes... remove the lines causing the error)
- your GFX0 device is in SSDT4, so SSDT4 gets GFX0->IGPU rename + brightness patch
- the others... DSDT/SSDT5 just get GFX0->IGPU rename
(and it appears DSDT already has had the rename done, so don't do it again)

#14
Raff7M

Raff7M

    InsanelyMac Protégé

  • Members
  • PipPip
  • 86 posts

I didn't have much trouble...

- first, fix the errors in DSDT/SSDT4 before applying any patches (they are easy fixes... remove the lines causing the error)
- your GFX0 device is in SSDT4, so SSDT4 gets GFX0->IGPU rename + brightness patch
- the others... DSDT/SSDT5 just get GFX0->IGPU rename
(and it appears DSDT already has had the rename done, so don't do it again)

I did everything you said done with 0 errors
placed the files in patched folder like this
dsdt.aml
ssdt-4.aml
ssdt-5.aml

nothing changed after reboot :/



#15
RehabMan

RehabMan

    InsanelyMac Deity

  • Coders
  • 1,581 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

I did everything you said done with 0 errors
placed the files in patched folder like this
dsdt.aml
ssdt-4.aml
ssdt-5.aml

nothing changed after reboot :/


Did you drop all OEM SSDTs? Did you install ACPIBacklight.kext?

#16
Raff7M

Raff7M

    InsanelyMac Protégé

  • Members
  • PipPip
  • 86 posts

Did you drop all OEM SSDTs? Did you install ACPIBacklight.kext?

what do you mean by dropping OEM SSDTs ? I should drop all SSDTs that I got from linux too ?

Yes I installed the kext


and there is no slider in pref/display too :/



#17
RehabMan

RehabMan

    InsanelyMac Deity

  • Coders
  • 1,581 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

what do you mean by dropping OEM SSDTs ? I should drop all SSDTs that I got from linux too ?


If you want to replace OEM SSDTs with patched ones, you need to drop them. Option DropOem in config.plist.

Yes I installed the kext

and there is no slider in pref/display too :/


Your patched SSDTs will not take effect without dropping the OEM ones.

#18
Raff7M

Raff7M

    InsanelyMac Protégé

  • Members
  • PipPip
  • 86 posts

If you want to replace OEM SSDTs with patched ones, you need to drop them. Option DropOem in config.plist.


Your patched SSDTs will not take effect without dropping the OEM ones.


Now osx is unable to boot except in safe mode :/
The problem is the ssdt5 i trashed it osx boots.. But still no brightness control :(

#19
RehabMan

RehabMan

    InsanelyMac Deity

  • Coders
  • 1,581 posts
  • Gender:Male
  • Location:Bellingham, WA
  • Interests:skiing, software, classic cars

Now osx is unable to boot except in safe mode :/
The problem is the ssdt5 i trashed it osx boots.. But still no brightness control :(


Make sure you saved in the correct format (ACPI Machine Language Binary). And you might need to review the other SSDTs you're dropping (eg. SSDTs you're dropping and not replacing), as perhaps they are required.

#20
Raff7M

Raff7M

    InsanelyMac Protégé

  • Members
  • PipPip
  • 86 posts

Make sure you saved in the correct format (ACPI Machine Language Binary). And you might need to review the other SSDTs you're dropping (eg. SSDTs you're dropping and not replacing), as perhaps they are required.

am dropping only those three files and their format is .aml for sure, should I drop the rest of the ssdt1,2,3 etc..., too ?







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