Contribute
Register

[solved] Brightness is changing 3 times per on key click

RehabMan

Moderator
Joined
May 3, 2012
Messages
189,205
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Does not matter. But how can I patch BRTN ?
As I already mentioned, two basic approaches... either patch _QB7/_QB8:
Code:
            Method (_QB7, 0, NotSerialized)  // _Qxx: EC Query
            {
                Store (0xB7, SCIC)
                Store (0xB7, DBG8)
                If (LGreaterEqual (OSVR, 0x02))
                {
                    Notify (PS2K, 0x0405)
                }
            }

            Method (_QB8, 0, NotSerialized)  // _Qxx: EC Query
            {
                Store (0xB8, SCIC)
                Store (0xB8, DBG8)
                If (LGreaterEqual (OSVR, 0x02))
                {
                    Notify (PS2K, 0x0406)
                }
            }
Or leave _QB7 and _QB8 as original, and patch BRTN:
Code:
    Method (BRTN, 1, Serialized)
    {
        If (0x87 == Arg0) { Notify(\_SB.PCI0.LPCB.PS2K, 0x0405) }
        If (0x86 == Arg0) { Notify(\_SB.PCI0.LPCB.PS2K, 0x0406) }
    }
 
Joined
Sep 2, 2017
Messages
23
Motherboard
MSI Gp72
CPU
i7 5700HQ
Graphics
Hd 5600
Mac
MacBook
Mobile Phone
iOS
As I already mentioned, two basic approaches... either patch _QB7/_QB8:
Code:
            Method (_QB7, 0, NotSerialized)  // _Qxx: EC Query
            {
                Store (0xB7, SCIC)
                Store (0xB7, DBG8)
                If (LGreaterEqual (OSVR, 0x02))
                {
                    Notify (PS2K, 0x0405)
                }
            }

            Method (_QB8, 0, NotSerialized)  // _Qxx: EC Query
            {
                Store (0xB8, SCIC)
                Store (0xB8, DBG8)
                If (LGreaterEqual (OSVR, 0x02))
                {
                    Notify (PS2K, 0x0406)
                }
            }
Or leave _QB7 and _QB8 as original, and patch BRTN:
Code:
    Method (BRTN, 1, Serialized)
    {
        If (0x87 == Arg0) { Notify(\_SB.PCI0.LPCB.PS2K, 0x0405) }
        If (0x86 == Arg0) { Notify(\_SB.PCI0.LPCB.PS2K, 0x0406) }
    }
Can I just replace
Code:
Method (BRTN, 1, Serialized)
    {
        If (LEqual (And (DIDX, 0x0F00), 0x0400))
        {
            Notify (\_SB.PCI0.GFX0.DD1F, Arg0)
        }
    }
With ?
Code:
    Method (BRTN, 1, Serialized)
    {
        If (0x87 == Arg0) { Notify(\_SB.PCI0.LPCB.PS2K, 0x0405) }
        If (0x86 == Arg0) { Notify(\_SB.PCI0.LPCB.PS2K, 0x0406) }
    }
 
Joined
Sep 2, 2017
Messages
23
Motherboard
MSI Gp72
CPU
i7 5700HQ
Graphics
Hd 5600
Mac
MacBook
Mobile Phone
iOS
It works now with this patch
Code:
Method (_QB7, 0, NotSerialized)  // _Qxx: EC Query
            {
                Store (0xB7, SCIC)
                Store (0xB7, DBG8)
                If (LGreaterEqual (OSVR, 0x02))
                {
                    Notify (PS2K, 0x0405)
                }
            }

            Method (_QB8, 0, NotSerialized)  // _Qxx: EC Query
            {
                Store (0xB8, SCIC)
                Store (0xB8, DBG8)
                If (LGreaterEqual (OSVR, 0x02))
                {
                    Notify (PS2K, 0x0406)
                }
            }
But the laptop sometimes freezes and I must make a cold reset
 
Joined
Sep 2, 2017
Messages
23
Motherboard
MSI Gp72
CPU
i7 5700HQ
Graphics
Hd 5600
Mac
MacBook
Mobile Phone
iOS
It's same with my MSI GP62MVR 6RF, the brightness change 3 times with one key click. Alternative solution is using F14/F15 button (scroll lock/pause break in my keyboard layout) to change the brightness.
It actually works.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
189,205
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Can I just replace
Code:
Method (BRTN, 1, Serialized)
    {
        If (LEqual (And (DIDX, 0x0F00), 0x0400))
        {
            Notify (\_SB.PCI0.GFX0.DD1F, Arg0)
        }
    }
With ?
Code:
    Method (BRTN, 1, Serialized)
    {
        If (0x87 == Arg0) { Notify(\_SB.PCI0.LPCB.PS2K, 0x0405) }
        If (0x86 == Arg0) { Notify(\_SB.PCI0.LPCB.PS2K, 0x0406) }
    }
That's what I wrote in post #21.

It works now with this patch

Code:
Method (_QB7, 0, NotSerialized)  // _Qxx: EC Query
            {
                Store (0xB7, SCIC)
                Store (0xB7, DBG8)
                If (LGreaterEqual (OSVR, 0x02))
                {
                    Notify (PS2K, 0x0405)
                }
            }

            Method (_QB8, 0, NotSerialized)  // _Qxx: EC Query
            {
                Store (0xB8, SCIC)
                Store (0xB8, DBG8)
                If (LGreaterEqual (OSVR, 0x02))
                {
                    Notify (PS2K, 0x0406)
                }
            }
But the laptop sometimes freezes and I must make a cold reset
No idea without details on when the freeze happens and PR files as per FAQ.
 
Joined
Sep 2, 2017
Messages
23
Motherboard
MSI Gp72
CPU
i7 5700HQ
Graphics
Hd 5600
Mac
MacBook
Mobile Phone
iOS
That's what I wrote in post #21.



No idea without details on when the freeze happens and PR files as per FAQ.
I don't have the bug anymore. I don't know why, but its`s fixed
 
Top