Jump to content
2 posts in this topic

Recommended Posts

Hi,

 

I found the following post about remapping hotkeys for brightness for a DELL E6230 and I would like to achieve the same for my E6440.

 

I figured out that the fn + arrow up/down actions are handled by the _Q66 method in DSDT. I tried to edit the _Q66 method as follows (retrieved from one of the DSDT from the above-mentioned threats), but it doesn't work properly.

 

Fn + up --> brightness up, volume down

Fn + down --> brightness up

 


            Method (_Q66, 0, NotSerialized)  // _Qxx: EC Query
            {
                If (LNotEqual (ECRD, One))
                {
                    Return (Zero)
                }

                NEVT ()
                ^^^^AMW0.WED0 (One)
                Mid (^^^^AMW0._WED (0xD0), Zero, 0x06, Local2)
                If (LEqual (Local2, Buffer (0x06)
                        {
                             0x02, 0x00, 0x10, 0x00, 0x50, 0x00             
                        }))
                {
                    Notify (PS2K, 0x0205)
                    Notify (PS2K, 0x0285)
                }

                If (LEqual (Local2, Buffer (0x06)
                        {
                             0x02, 0x00, 0x10, 0x00, 0x48, 0x00             
                        }))
                {
                    Notify (PS2K, 0x0206)
                    Notify (PS2K, 0x0286)
                }

                Return (Zero)
            }

 

For simplicity I thought to get it work by patching the DSDT, but my goal would be to have a hotpatch for that if possible. I have uploaded two zip files, the EFI_hotpatch.zip is the one I usually use on my laptop.

 

Could anybody point out, what else I'm missing?

Thank you in advance.

EFI_patched DSDT.zip

EFI_hotpatch.zip

Edited by kjescha
×
×
  • Create New...