Contribute
Register

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

Status
Not open for further replies.
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) }
    }
 
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) }
    }
 
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
 
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.
 
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.
 
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
 
Status
Not open for further replies.
Back
Top