Jump to content

Intel HD Graphics 4600 Can't change brightness.


Raff7M
 Share

166 posts in this topic

Recommended Posts

HI, I'm new here,
I saw this thread but unfortunately I didn't understand it very well :/
http://www.insanelymac.com/forum/topic/296213-brightness-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

Link to comment
Share on other sites

HI, I'm new here,

I saw this thread but unfortunately I didn't understand it very well :/

http://www.insanelymac.com/forum/topic/296213-brightness-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/RehabMan/Laptop-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/RehabMan/OS-X-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.

Link to comment
Share on other sites

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/RehabMan/Laptop-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/RehabMan/OS-X-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 ?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 ??

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 ?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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 :/

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 :/

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 :(

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 ?

Link to comment
Share on other sites

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 ?

I don't see how you can drop "only those three files". All your SSDTs have the same signature.

 

It is best to drop all (DropOem=true), then include the ones you need in ACPI/patched.

 

If you want me to look at what you have, dump your native tables with F4 at Clover, then post your EFI/Clover/ACPI and EFI/Clover/config.plist.

Link to comment
Share on other sites

I don't see how you can drop "only those three files". All your SSDTs have the same signature.

 

It is best to drop all (DropOem=true), then include the ones you need in ACPI/patched.

 

If you want me to look at what you have, dump your native tables with F4 at Clover, then post your EFI/Clover/ACPI and EFI/Clover/config.plist.

i really thank you u still trying to help :)

I've put everything in this archive

 

Archive.zip

Link to comment
Share on other sites

i really thank you u still trying to help :)

I've put everything in this archive

config.plist/ACPI/SSDT/DropOem is set to false. As discussed, should be true...

 

Why are you using a desktop framebuffer (ig-platform-id) for a laptop? Should be 0x0a260006 or 0x0a260005.

 

Without an SSDT generated for your CPU (eg. with ssdtPRgen.sh), you should Generate/PStates=true, Generate/CStates=true. Also PluginType=1.

 

I looked at your other SSDT tables and none need to be included, so all can be dropped with DropOem=true. If it doesn't booth without them, you may need additional DSDT patches (often times, DSDT will reference objects in those SSDTs). As a work around, you can simply include them all in ACPI/patched until you get around to working out all the issues.

Link to comment
Share on other sites

config.plist/ACPI/SSDT/DropOem is set to false. As discussed, should be true...Why are you using a desktop framebuffer (ig-platform-id) for a laptop? Should be 0x0a260006 or 0x0a260005.Without an SSDT generated for your CPU (eg. with ssdtPRgen.sh), you should Generate/PStates=true, Generate/CStates=true. Also PluginType=1.I looked at your other SSDT tables and none need to be included, so all can be dropped with DropOem=true. If it doesn't booth without them, you may need additional DSDT patches (often times, DSDT will reference objects in those SSDTs). As a work around, you can simply include them all in ACPI/patched until you get around to working out all the issues.

Sorry i forgot to replace the config file :/

The only way to enable my graphics with qe/ci was this way and don't ask me why cuz idk XD :P

I tried with only with dsdt and ssdt4,5 didn't boot :/

With all it booted but no brightness control though -_-

Link to comment
Share on other sites

Sorry i forgot to replace the config file :/

The only way to enable my graphics with qe/ci was this way and don't ask me why cuz idk XD :P

I tried with only with dsdt and ssdt4,5 didn't boot :/

With all it booted but no brightness control though -_-

Brightness adjustment will not work with a desktop framebuffer. Post your actual files if you want me to look again. For troubleshooting your boot process, use verbose.

 

Also, try with DropOem=true *and* all SSDTs (patched ones and unpatched ones, eg. SSDT-1 through SSDT-8) in ACPI/patched. Generally, you need power management implemented properly to get QE/CI with laptop framebuffer. It is why I always implement power management first.

Link to comment
Share on other sites

 Share

×
×
  • Create New...