Jump to content

Fn HotKey and ALS sensor driver for Asus Notebooks


EMlyDinEsH

Recommended Posts

Hi Dinesh,

 

Caps lock twice push.

 

Dimmer FN keys don't work.

 

macOS Sierra 10.12

 

AsusK53E

Core i3 2310

HD3000

DSDT patched

SSDT.aml, SSDT-1.aml, SSDT-2.aml SSDT-3.aml

AsusACPIBacklightPanel

AsusNBFn

AppleSmartTouchPad Elantouchpad

AtherosL1

FakeSMC with the sensors

 

Clover 3851

boot up glitch patch

 

Also this kext wipes out the Terminal cache for typed.

 

My main problem is this don't work had to remove.

 

Thank you.

 

 

Link to comment
Share on other sites

Hi Dinesh,

The AsusNBFnKeys.kext no longer works in sierra. I have Asus K55VM same as yours. Please advice me on how to fix this. Also, the touchpad section in system preferences is blank. I am using latest version of ApplePS2ElantechTouchpad.kext.

Link to comment
Share on other sites

Hi Dinesh,

 

Got the FN keys working using the Optional Patch without Notify.

 

System ;  AsusK53E. Sierra 10.12.1. Clover 3899 ESP not UEFI

 

DSDT patched and using AppleBackLight.Kext, AppleHDA patcher 1.6, 

AppleRTC, AsusAICPM, Legacyboot, boot-glitch patch, Trim patch,

ssdtPRGen ssdt and dsdt,

 

May I ask your assistance?

 

When I turn on wifi Led, wifi shutdowns.  

 

From Asus DSDT patches bundle.  

 

1 Optional Fn key patches.txt

2 WiFi BT LED status fix

3 WiFi BT Toggle Patch (2 toggles)

 

Patches tried to use:

 

FN keys patch. -- did not work

Fn keys as function -- did not work 

Wifi Bt sleep/shutdown -- could not compile MacIASL 5.1, 5.0a, 4.0. ; DSDT editor

Wifi Bt 4 toggle -- shuts down wifi when LED on.

 

Also I do not have Bluetooth onboard.  Original Intel Centrino N-1030 had combo.

Switched out to Atheros AR9280. 2GHz/5GHz model.

 

Later I will upgrade to Dual chip Wifi BT.  Not sure which one works although someone suggested BCM .

 

What do you think?

 

Makiko

 

Link to comment
Share on other sites

Is there anyway to invert the fn keys with this kext?  It doesn't seem like this option works.  Everything else is perfect, the only thing I want to do is have the fn keys work to control volume level, brightness, etc without having to hold down fn.

Link to comment
Share on other sites

Hello,

I've got ux305ca (core m3 6y30), trying to get ALS to work with AsusNBFnKeys v2.6 kext and DSDT patches.

Fn+F5/6 working ok, Fn+A ALS on/off ok (via console.app).

Problem :

When I enable ALS the screen dims to about 1/4 of max value, and just stays there, no matter what current ambient light is.

 

My research : 

 

Original DSDT RALS method : 

      Method (RALS, 0, NotSerialized)        {
            If (ALAE)
            {
                Store (RRAM (0x02A3), Local0)
                Store (RRAM (0x02A4), Local1)
                ShiftLeft (Local0, 0x08, Local0)
                Add (Local0, Local1, Local0)
                Multiply (Local0, 0x03E8, Local1)
                Divide (Local1, ALSA, Local2, Local3)
                Return (Local3)
            }
            Else
            {
                Return (0x0190)
            }
        }

I've patched to :

Method (RALS, 0, NotSerialized)        {
            
            If (ALAE)
            {
                Store (RRAM (0x04C9), Local0)
                And (Local0, 0x0F, Local0)
                If (LLessEqual (Local0, One))
                {
                    Store (0x32, Local1)
                }
                Else
                {
                    If (LLessEqual (Local0, 0x06))
                    {
                        Store (0xC8, Local1)
                    }
                    Else
                    {
                        If (LLessEqual (Local0, 0x0A))
                        {
                            Store (0x0190, Local1)
                        }
                        Else
                        {
                            If (LLessEqual (Local0, 0x0E))
                            {
                                Store (0x0258, Local1)
                            }
                            Else
                            {
                                Store (0x0320, Local1)
                            }
                        }
                    }
                }
                Return (Local1)
            }
            Else
            {
                Return (0xC8)
            }


        }

I believe there is something wrong with RRAM locations... Dinesh, can you point me into right direction?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...