Contribute
Register

Full range of brightness using ACPIBacklight

Joined
Sep 27, 2012
Messages
100
Motherboard
hp probook 4540 s
CPU
i7-3632QM
Graphics
Intel HD 4000
Mac
  1. MacBook Pro
Classic Mac
Mobile Phone
  1. iOS
RehabMan
how to make ACPIBacklight brightness my 4540s configer this one patch in repo is ok
Device/Vendor ID 0x01668086Revision ID 0x09
Class Code 0x030000
Cacheline Size 0x00
Latency Timer 0x00
Interrupt Pin INTA
Interrupt Line None
BAR1 0xC0000004
BAR2 0x00000000
BAR3 0xB000000C
BAR4 0x00000000
BAR5 0x00003001
BAR6 0x00000000
Expansion ROM 0x00000000
Subsystem ID 0x17F6103C
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,306
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
RehabMan
how to make ACPIBacklight brightness my 4540s configer this one patch in repo is ok
Device/Vendor ID 0x01668086Revision ID 0x09
Class Code 0x030000
Cacheline Size 0x00
Latency Timer 0x00
Interrupt Pin INTA
Interrupt Line None
BAR1 0xC0000004
BAR2 0x00000000
BAR3 0xB000000C
BAR4 0x00000000
BAR5 0x00003001
BAR6 0x00000000
Expansion ROM 0x00000000
Subsystem ID 0x17F6103C

The patch is ready, but the data right now is for 4530s. Later today I hope to have some data for the 4540s, and a little re-org of the patches to separate the data.

Meanwhile see post #11 to collect your data. We need to see the data from various machines to know what might be in common.

For now we only know:
- 4530s: seems to share the same data "range" regardless of screen installed
- 4540s: data "range" is definitely different for HD4000 than the HD3000 on the 4530s.

What we don't know:
- is the data range specific only to HD3000 vs. HD4000, or is it specific to motherboard (eg. what is the data range on a 4540s with HD3000?)
- what about the EliteBooks/other ProBooks (because 4xxx series)? Are they different?

The BAR1 address currently doesn't matter because my DSDT patch accounts for it automatically.
 
Joined
Sep 27, 2012
Messages
100
Motherboard
hp probook 4540 s
CPU
i7-3632QM
Graphics
Intel HD 4000
Mac
  1. MacBook Pro
Classic Mac
Mobile Phone
  1. iOS
RehabMan
i patch in repo now i can make screen dim but the last point my screen black also not same before full brightness little dim . my system probook 4540s i7 hd 4000
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,306
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
RehabMan
i patch in repo now i can make screen dim but the last point my screen black also not same before full brightness little dim . my system probook 4540s i7 hd 4000

4540s is not ready yet. See post #22.

The lowest point is supposed to be black. It is how OS X is supposed to work (just like real Mac).
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,306
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I have made some more changes to the patches for acpi brightness/backlight.

There is now two patches you need to use, from their own group.

First, there is the main patch containing the methods: "ACPI Backlight Control". Next, there is one of two patches you must apply depending on your laptop: "Brightness data (4x30s)" or "Brightness data (4x40s)". So the process for installing is:
1. apply "ACPI Backlight Control" patch
2. apply "Brightness data (xxxx)" patch depending on your computer
3. install ACPIBacklight.kext

The 4x40s data is constructed from the data I gathered from Rw-Everything. I then plotted the data on a graph, and used the data to generate a rough curve. I then fixed the data where it didn't conform well to a curve, then used it to generate 64 different levels (roughly) along the curve (I wrote a little program to do this). The result is the 64 levels you see in the patch.

Next, I'm going to do the same corrections to the 4530s data. It is relatively easy, now that I have the program which generates the data. The only manual work is adjusting the original data to better track the curve. After that, I'll start to do some work on the ACPIBacklight.kext and put the result up on github.

Note: You can remove blinkscreen as it isn't necessary anymore.
 
Joined
Oct 30, 2013
Messages
28
Motherboard
Hp ProBook 4530s
CPU
i3 2350m
Graphics
Intel HD3000
Mac
Classic Mac
Mobile Phone
So, with this, we (4530s) won't need Blinkscreen anymore, but of course requires ACPIBacklight.kext...
 
Joined
Oct 30, 2013
Messages
28
Motherboard
Hp ProBook 4530s
CPU
i3 2350m
Graphics
Intel HD3000
Mac
Classic Mac
Mobile Phone
I just patch my DSDT from your repo, remove blinkscreen, and works great, also, the 4 levels bellow the first one working now for even more darker brightness... Thanks!
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,306
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I just patch my DSDT from your repo, remove blinkscreen, and works great, also, the 4 levels bellow the first one working now for even more darker brightness... Thanks!

Super. Thanks for confirming on another machine!

Yes, I made the 3 quarter steps below (4 steps lower is black) the lowest "normal" step, lower than the Windows lowest setting for (in theory) better battery savings and for working in a dark room.
 
Joined
Sep 27, 2012
Messages
100
Motherboard
hp probook 4540 s
CPU
i7-3632QM
Graphics
Intel HD 4000
Mac
  1. MacBook Pro
Classic Mac
Mobile Phone
  1. iOS
thanks RehabMan :clap: now super brightness also dim brightness . now i use ACPIBacklight. kext PWD uplod that one correct ?
 
Top