ClevoService icon indicating copy to clipboard operation
ClevoService copied to clipboard

Keyboard backlight not available

Open mangguomax opened this issue 6 years ago • 6 comments

Hello, after I load SSDT, the keyboard control is still unavailable. FN + "*" has no response. What's the reason?

mangguomax avatar Feb 14 '20 01:02 mangguomax

Most probably you didn't patch your ACPI as per "How To Install". If you're using Clover, you need to patch two methods: _WAK & _Q50. You can check whether everything is fine using the IORegistryExplorer. You have to find the device CLV0 with attached ClevoKbdFanService (look at attached pict) CLV0

FreeJHack avatar Feb 16 '20 17:02 FreeJHack

1 2 3

mangguomax avatar Feb 16 '20 20:02 mangguomax

I use the open core, and have modified the _WAK & _Q50., and found the device clv0 with clevokbdfanservice, but the keyboard backlight is still not available

mangguomax avatar Feb 16 '20 20:02 mangguomax

ClevoService is using the device DCHU to communicate with laptop hardware (through ACPI). When CLV0 is loaded, the property KBLT is showing the actual keyboard backlight status.

Schermata 2020-02-16 alle 23 18 02aa

According to your IOReg this device is missing, this is the reason why it's not working...

How to fix: in your DSDT (even in IOReg) the device WMI should be also available

Schermata 2020-02-16 alle 23 45 49

In addition, check if in your DSDT it is also available the method WMBB (attach your DSDT to your reply). It should looks like below

        Method (WMBB, 3, NotSerialized)
        {
            Store (Acquire (^^PCI0.LPCB.EC.PATM, 0x0064), Local1)
            If (LEqual (Local1, Zero))
            {
                If (LEqual (ToInteger (Arg1), 0x0C))
                {
                    Store (DEVT (Arg0, Arg1, Arg2), Local0)
                    Release (^^PCI0.LPCB.EC.PATM)
                    Return (Local0)
                }
                ElseIf (LEqual (ToInteger (Arg1), 0x0D))
                {
                    Store (EEVT (Arg0, Arg1, Arg2), Local0)
                    Release (^^PCI0.LPCB.EC.PATM)
                    Return (Local0)
                }
                ElseIf (LEqual (ToInteger (Arg1), 0x0E))
                {
                    Store (FEVT (Arg0, Arg1, Arg2), Local0)
                    Release (^^PCI0.LPCB.EC.PATM)
                    Return (Local0)
                }
                Else
                {
                    Store (ZEVT (Arg0, Arg1, Arg2), Local0)
                    Release (^^PCI0.LPCB.EC.PATM)
                    Return (Local0)
                }
            }
        }

If available, I have to implement support for WMBB as an alternative to DCHU when it's missing. In the meantime, you could patch the SSDT-ClevoService file yourself by changing Method (CLVE, 3, Serialized) { _SB.DCHU.ZEVT (Arg0, Arg1, Arg2) } to Method (CLVE, 3, Serialized) { _SB.WMI.WMBB (Arg0, Arg1, Arg2) } It should works...

FreeJHack avatar Feb 16 '20 23:02 FreeJHack

After checking in ioreg, I found that dchu was indeed lost. Later, I changed _SB.DCHU.ZEVT (Arg0, Arg1, Arg2) to _SB.WMI.WMBB (Arg0, Arg1, Arg2) according to the method you provided. After that, I can use the keyboard backlight normally and use it perfectly. Thank you for your help!

dsdt.zip

mangguomax avatar Feb 17 '20 05:02 mangguomax

Good... The SSDT file in the repository has been updated .

FreeJHack avatar Feb 17 '20 15:02 FreeJHack