- Joined
- Oct 9, 2018
- Messages
- 12
- Motherboard
- Razer Blade 15" (2018)
- CPU
- i7-8750
- Graphics
- UHD 630 + GTX 1070
- Mac
- Mobile Phone
I'm running 17G2208 and using the native Coffee Lake Framebuffer with the 3e9b0000 platform-id and this patch didn't work for me, it actually broke brightness entirely.
But maybe I'm using it wrong, what exactly is the Whatevername for? I tried running it and I have no idea where to start with it. I installed the whatevergreen.kext from your package and I booted with no brightness at all, not even after 3 minutes. Is there some trick to installing the patch?
I don't know what Whatevername is for, the WEG build process includes it in the package and I didn't remove it. You can ignore it, I only changed the kext.
Did it break by having the panel stuck full-bright? or stuck turned off?
If you can, open a terminal on the machine after it boots with broken backlight control and run:
Code:
sudo dmesg | grep wrapHwSetPanelPowerConfig
Here's the ACPI patch (for SSDT-2-SaSsdt) that I also had to apply to enable the native brightness control, in case you were doing something different to get that working. I got this from somewhere else as a generic "enable native brightness control" patch.
Code:
diff --git a/SSDT-2-SaSsdt.dsl b/SSDT-2-SaSsdt.dsl
index 4614d30..c454733 100644
--- a/SSDT-2-SaSsdt.dsl
+++ b/SSDT-2-SaSsdt.dsl
@@ -175,6 +175,62 @@ DefinitionBlock ("", "SSDT", 2, "SaSsdt", "SaSsdt ", 0x00003000)
Scope (\_SB.PCI0.GFX0)
{
+
+ /* BEGIN ACPI brightness fix */
+ Device (PNLF)
+ {
+ // normal PNLF declares (note some of this probably not necessary)
+ Name (_ADR, Zero)
+ Name (_HID, EisaId ("APP0002"))
+ Name (_CID, "backlight")
+ Name (_UID, 10)
+ Name (_STA, 0x0B)
+ // _BCM/_BQC: set/get for brightness level
+ Method (_BCM, 1, NotSerialized)
+ {
+ // Update backlight via existing DSDT methods
+ ^^DD1F._BCM(Arg0)
+ }
+ Method (_BQC, 0, NotSerialized)
+ {
+ Return(^^DD1F._BQC())
+ }
+ Method (_BCL, 0, NotSerialized)
+ {
+ Return(^^DD1F._BCL())
+ }
+ Method (_DOS, 1, NotSerialized)
+ {
+ ^^_DOS(Arg0)
+ }
+ // extended _BCM/_BQC for setting "in between" levels
+ Method (XBCM, 1, NotSerialized)
+ {
+ // Update backlight via existing DSDT methods
+ ^^DD1F._BCM(Arg0)
+ }
+ Method (XBQC, 0, NotSerialized)
+ {
+ Return(^^DD1F._BQC())
+ }
+ // Use XOPT=1 to disable smooth transitions
+ Name (XOPT, Zero)
+ // XRGL/XRGH: defines the valid range
+ Method (XRGL, 0, NotSerialized)
+ {
+ Store(_BCL(), Local0)
+ Store(DerefOf(Index(Local0, 2)), Local0)
+ Return(Local0)
+ }
+ Method (XRGH, 0, NotSerialized)
+ {
+ Store(_BCL(), Local0)
+ Store(DerefOf(Index(Local0, Subtract(SizeOf(Local0), 1))), Local0)
+ Return(Local0)
+ }
+ }
+ /* END ACPI brightness fix */
+
Method (_DOS, 1, NotSerialized) // _DOS: Disable Output Switching
{
Store (And (Arg0, 0x07), DSEN)