hieplpvip/AsusSMC

brightness functional keys, whiskey lake ASUS X512FJ

atzutz opened this issue · 1 comments

Hello, I have i5 8265u, Asus X512fj.

The problem is, my functional keys: f4/f5 (decrease/increase display backlight), f7 (control keyboard brightness, only one key for that), f8 (switch monitor, gives "π" symbol when i press fn+f8) not working.
Also, I can turn off my trackpad by FN+F6 AND prnscreen key WITHOUT FN, weird.
What I tried is using Fn patches which are already available in repo with my key codes, for ex: I used patch for f5 fn key which is decrease brightness in repo, I input 0xC4 code, from f4 fn key (which is decrease brighntess in my case), I thought that should help, but no luck.
I have f1,f2,f3 (mute, increase,decrease volume keys) working, but only with FN. Is it fixable?

Im able to change brighntess in System Preferences -> Display. But I dont have "Display" Shortcuts in "Keyboard" so I cant manually set shortcuts for brighntess.
Sorry for my poor english.
Thanks.
Attaching my DSDT file.
DSDT.zip
My keys:
f1 - mute vol (working only with fn)
f2 - decrease vol (working only with fn)
f3 - increase vol (working only with fn)
f4 - decrease screen brightness (not working)
f5 - increase screen brightness (not working)
f6 - turn off touchpad (working only with fn, also PRNSCREEN turns off touchpad without FN)
f7 - Keyboard backlight control, ONLy one key (nnot working)
f8 - switch monitor (not working)
f9-home