Contribute
Register

Native Brightness working without 'blinkscreen' using patched AppleBacklight.kext

Status
Not open for further replies.
No it doesn't restore to the previous session...
Strange, does it have something todo, that i need to change the Bar1 Value from Bus00/02?

I don't know what nvram is exactly... it stores some things...
For example, im using tripple boot with clover (Windows/OSX/Ubuntu), and clover stores the last booted item...
Clover boots the last system... So that means, my nvram is working?

Thank you :)

With Clover make sure:
- selected "EmuVariableUefi-64"
- selected "Install RC scripts on target volume"
 
With Clover make sure:
- selected "EmuVariableUefi-64"
- selected "Install RC scripts on target volume"

thats already installed...
i read about that, so ive checked what is into nvram with "sudo nvram -p" command.

Thats stored in it:
Code:
efi-boot-device	<array><dict><key>IOMatch</key><dict><key>IOProviderClass</key><string>IOMedia</string><key>IOPropertyMatch</key><dict><key>UUID</key><string>5603A317-6AAA-4D56-B803-A10EE31987C9</string></dict></dict></dict></array>prev-lang:kbd	de
fmm-computer-name	Ramas MacBook Pro
BackgroundClear	%00%00%00%00
security-mode	none
acpi-backlight-level	@%02
SystemAudioVolume	5
efi-boot-device-data	%02%01%0c%00%d0A%03%0a%00%00%00%00%01%01%06%00%02%1f%03%12%0a%00%00%00%ff%ff%00%00%04%01*%00%02%00%00%00(@%06%00%00%00%00%00`A%ce%0c%00%00%00%00%17%a3%03V%aajVM%b8%03%a1%0e%e3%19%87%c9%02%02%7f%ff%04%00
OsxAptioFixDrv-RelocBase	%00%80%02%cc%00%00%00%00
LocationServicesEnabled	%01
Clover.LogLineCount	500
ramas-mbp:~ rama$

acpi-backlight-level @%02

seems thats stored, but i don't know if this is right @%02...

Cheers :)
 
Forget it :)

I haven't installed "EmuVariableUefi-64"...
Its working now...

Thank you very much Rehab, and sry for my stupidness :)

Cheers :)
 
I am afraid or better, embarrassed to ask the following but...

what does it mean to unzip into a directory?

and how do you create a subdirectory?

So far I have been able to follow your guides, which are wonderful but this time I am stuck right at the beginning. If this is too basic or too stupid, just ignore my questions.

Thanks for your wonderful work
 
I am afraid or better, embarrassed to ask the following but...

what does it mean to unzip into a directory?

and how do you create a subdirectory

If you double click on a ZIP file, OS X will create a sub-directory and place the contents in it. Directories are also called folders. When we are doing to deal with a folder in Terminal, we usually call them directories.
 
When I run this program,It output some error

kals-MacBook-Air:patchAppleBacklight_v2 kal$ ./patch.sh
Cannot parse a NULL or zero-length data
./patch.sh: line 9: printf: Error: invalid number
./patch.sh: line 9: printf: Reading: invalid number
./patch.sh: line 9: printf: File:: invalid number
./patch.sh: line 9: printf: /tmp/org.rehabman.display.plist: invalid number
Patched AppleBacklight.kext for DisplayID: F10T0000F00T0000F00T0000
 
When I run this program,It output some error

kals-MacBook-Air:patchAppleBacklight_v2 kal$ ./patch.sh
Cannot parse a NULL or zero-length data
./patch.sh: line 9: printf: Error: invalid number
./patch.sh: line 9: printf: Reading: invalid number
./patch.sh: line 9: printf: File:: invalid number
./patch.sh: line 9: printf: /tmp/org.rehabman.display.plist: invalid number
Patched AppleBacklight.kext for DisplayID: F10T0000F00T0000F00T0000

You need to at least have the normal brightness patch in place, such that AppleBacklightDisplay is active. I was just lazy when I wrote the script, so that is a prereq.

See: https://github.com/RehabMan/Laptop-DSDT-Patch
Apply "Brightness Fix" (or one of the others specific to HD3000/HD4000/Haswell).

Then try running the script after rebooting with the new patched DSDT.

Note that ACPIBacklight.kext is, in many ways, a better solution: http://www.tonymacx86.com/hp-probook-mavericks/118805-full-range-brightness-using-acpibacklight.html
 
The script worked for me before patching the DSDT, so I believe the reason for the error is the lack of AppleBacklightDisplay.kext inside the vanilla folder, according to the instructions in post #1:

- unzip the PatchAppleBacklight.zip into a directory.
- make a subdirectory there called 'vanilla'
- copy unpatched AppleBacklight.kext to the 'vanilla' directory
- run the script, ./patch.sh
 
The script worked for me before patching the DSDT, so I believe the reason for the error is the lack of AppleBacklightDisplay.kext inside the vanilla folder, according to the instructions in post #1:

No.

You must have had the standard PNLF patch in place. The script requires it as it looks for AppleBacklightDisplay in ioreg. Without PNLF, you have AppleDisplay instead of AppleBacklightDisplay and the script does not work.
 
Status
Not open for further replies.
Back
Top