Jump to content

Fn HotKey and ALS sensor driver for Asus Notebooks


EMlyDinEsH

Recommended Posts

Working alongside RehabMan, keyboard backlight now works on 10.8.5/10.9. It seems to be a OSX bug where Arg0 for _WAK is producing erroneous values.

 

Find _WAK, before WAK(Arg0), add this:

        If (LOr (LLess(Arg0, 1), LGreater(Arg0,5))) 
        { 
            Store(3, Arg0) 
        } 

Credits goes to RehabMan.

 

Edit:

 

Here is the DSDT patch:

# Fix originally discovered by RehabMan and 68x
# Patch created by 68x
into Method label _WAK code_regex WAK\s+\(Arg0\) replace_matched begin

        If (LOr (LLess(Arg0, 1), LGreater(Arg0,5))) \n
        { \n
            Store(3, Arg0) \n
        } \n
        WAK(Arg0)\n
end;
  • Like 1
Link to comment
Share on other sites

 

Working alongside RehabMan, keyboard backlight now works on 10.8.5/10.9. It seems to be a OSX bug where Arg0 for _WAK is producing erroneous values.

 

Find _WAK, before WAK(Arg0), add this:

        If (LOr (LLess(Arg0, 1), LGreater(Arg0,5))) 
        { 
            Store(3, Arg0) 
        } 

Credits goes to RehabMan.

 

Edit:

 

Here is the DSDT patch:

# Fix originally discovered by RehabMan and 68x
# Patch created by 68x
into Method label _WAK code_regex WAK\s+\(Arg0\) replace_matched begin

        If (LOr (LLess(Arg0, 1), LGreater(Arg0,5))) \n
        { \n
            Store(3, Arg0) \n
        } \n
        WAK(Arg0)\n
end;

If i were to use this method, would the keyboard backlight bezel show up? And does it the fn f3-f4 keys instead of ctrl + alt + or - as in Rehabman's voodoops2 drivers?

Link to comment
Share on other sites

If i were to use this method, would the keyboard backlight bezel show up? And does it the fn f3-f4 keys instead of ctrl + alt + or - as in Rehabman's voodoops2 drivers?

It doesn't modify the FN keys so no, you're stuck to still using the RehabMan's key combo. This will work on all Asus laptops with backlight keyboards, also this fixes a lot of issues.

Link to comment
Share on other sites

@EMlyDinEsH,

 

I have an Asus G74SX no Optimus Enabled on this laptop.  Nvidia GTX 560M graphics.   I am unable to make the LCD brightness change with FN + f5 or +f6.

 

I am using your latest 1.7.2 driver.  Running mavericks but also tried on 10.8.3 and it did not work.

 

I don't see anything in console when I hit the keys?

 

I attached DSDT and IOreg and system. log if you could have a peak.

 

Thanks

DSDT_IOREG.zip

System.log.zip

Link to comment
Share on other sites

If i were to use this method, would the keyboard backlight bezel show up? And does it the fn f3-f4 keys instead of ctrl + alt + or - as in Rehabman's voodoops2 drivers?

 

Just for clarification. What I posted earlier was incorrect.

The keyboard backlight bezel won't work (there is no support?). For backlight, just make sure that you have edited Info.plist for the kext (WMIController.kext, it's in Plugins).

Link to comment
Share on other sites

@EMlyDinEsH,

 

I have an Asus G74SX no Optimus Enabled on this laptop.  Nvidia GTX 560M graphics.   I am unable to make the LCD brightness change with FN + f5 or +f6.

 

I am using your latest 1.7.2 driver.  Running mavericks but also tried on 10.8.3 and it did not work.

 

I don't see anything in console when I hit the keys?

 

I attached DSDT and IOreg and system. log if you could have a peak.

 

Thanks

 

Is your other Fn keys like Volume and Media are working?

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...