Jump to content

Fn HotKey and ALS sensor driver for Asus Notebooks


EMlyDinEsH

Recommended Posts

Hello...

I'm new in hackintosh world.

So i have Asus X450JF, installed win10 & osx 10.10.4...then i replace my unsupported wlan & bt card (ar5b225) with AR5b195.

everything works but i have one issue, in osx my BT ar3011 can't turn off.. in win10 BT can turn off with fn+f2.. i try to apply some BT dsdt patch from this thread but failed, seems i have a different dsdt scope.

I'm blind how to build new patch for my own dsdt.

 

Can someone help me...?

 

thanks before.

Dsdt.zip

Link to comment
Share on other sites

Hello...

I'm new in hackintosh world.

So i have Asus X450JF, installed win10 & osx 10.10.4...then i replace my unsupported wlan & bt card (ar5b225) with AR5b195.

everything works but i have one issue, in osx my BT ar3011 can't turn off.. in win10 BT can turn off with fn+f2.. i try to apply some BT dsdt patch from this thread but failed, seems i have a different dsdt scope.

I'm blind how to build new patch for my own dsdt.

 

Can someone help me...?

 

thanks before.

 

Sorry for late reply, You still need help ?

Link to comment
Share on other sites

hello everybody

 

is there any way to use my vol up-down,brightness up-down

 

without pressing the FN key

 

You can only if you are using my SmartTouchpad driver. So please read my Keyboard features thread for Fn keys mode 1 for that.

 

I have couple of issues with new patches.  perhaps it is  only my case, here there are.

 

The patch for Fn+F2 status does not work, in fact, it reverses the indicator, after sleep or doing Fn+F2 (in two toggle mode)  it stays alawys on.

The patch Fn+F2 for four toggles does not work at all.

 

For some reason, unless I am doing something wrong,  the scrolling just does not work, unless I use external mouse.  Anyone had experienced these issues?  Any solutions specially for scrolling?.  Oh yes my laptop is an Asus UX303LN.

 

Here are my original and modified DSDTs:

 

 

 

I have an Asus UX305FA the following patches were used by myself, everything works with exception of WIFI Fn Key please note UX305FA fails to have backlight. However, I have been told it works on LN variant with backlight keyboard.

 

ALS Patch (Haswell) ALS Patch (Haswell).txt
Fn Brightness Keys Patch Fn Brightness Keys Patch.txt
KeyboardBacklight 16Levels Patch (Haswell:Ivy) KeyboardBacklight 16Levels Patch (Haswell:Ivy).txt
ZenBooks LidSleep and ScreenBackLight Patch ZenBooks LidSleep and ScreenBackLight Patch.txt
 
You need AsusNBFnKey 2.5 and ApplePS2SmartTouchpad 4.4 This will give you Ambient Light Sensing for display and keyboard. Fn+A disable / enable ALS
 
jhawk

 

 

Can you try latest versions of Touchpad and Fn keys and test again ? Also use the updated DSDT patches and let me know if you have any issues so i can help.

Link to comment
Share on other sites

Sorry for late reply, You still need help ?

 

Yes sir , I am still waiting for help..!

I tried searching but found nothing

thank you.

 

update;

I tried to install AsusNBFnKeys v.2.5 / v.2.5.5 ..

 

receive messages in verbose log;

Sep 8, 2015, 11:04:16 kernel[0]: AsusNBFnKeys: Cannot find the method ALSS.

Sep 8, 2015, 11:04:19 kernel[0]: AsusNBFnKeys: Cannot find the method ALSS.

fn button for all versions AsusNBFnKeys on my asus laptop can only work for f1 , f5 and f6 , otherwise it is not working .

 

but with shift+caps in ApplePS2SmartTouchPad , keys f1 - f12 can work well , except f2 ( on / off wifi BT ) that do not work (this is my problem )

 

IOReg&DSDT.zip

Link to comment
Share on other sites

hi

my problem is BT can turn off with fn+f2, my system is yosemite 10.10 my wifi is ar5b195, bt ar3011, kext BT is ioath3kfrmwr.kext

 

Can you help me plz 

thanks

 

Sorry, I did not understand you. You can turn off or not your BT using Fn + F2 ? What is your problem exactly ? 

 

Yes sir , I am still waiting for help..!

I tried searching but found nothing

thank you.

 

update;

I tried to install AsusNBFnKeys v.2.5 / v.2.5.5 ..

 

receive messages in verbose log;

Sep 8, 2015, 11:04:16 kernel[0]: AsusNBFnKeys: Cannot find the method ALSS.

Sep 8, 2015, 11:04:19 kernel[0]: AsusNBFnKeys: Cannot find the method ALSS.

fn button for all versions AsusNBFnKeys on my asus laptop can only work for f1 , f5 and f6 , otherwise it is not working .

 

but with shift+caps in ApplePS2SmartTouchPad , keys f1 - f12 can work well , except f2 ( on / off wifi BT ) that do not work (this is my problem )

 

Did you apply patches to your DSDT ? I've provided some patches in my fist post which are needed for some keys to work.

Link to comment
Share on other sites

 

Did you apply patches to your DSDT ? I've provided some patches in my fist post which are needed for some keys to work.

 

No sir, because...

I think the patch not match for my dsdt, so i can't apply..

For FnKeys as Function Keys Patch, i don't have _Q0A ~ _Q0F,  _Q13 ~ _Q15 & WiFi BT Toggle Patch (2 toggles), i don't have _Q0B, WBTS, OWLD, OBTD... you can check my dsdt in post #351 & #356.

 

What should i do now..?

thx.

Link to comment
Share on other sites

I have a problem.

After Fn disappears kext of the installation DVD drive icon in the top bar . After removing the kext icon reappears.

kext causes:

Anonymous UUID:       C469DCE1-ED85-B80C-FB02-D8E2ABB33569

Tue Sep 22 20:13:15 2015

*** Panic Report ***
panic(cpu 0 caller 0xffffff800036aea8): "a freed zone element has been modified in zone kalloc.32: expected 0xdeadbeefdeadbeef but found 0xdeadbeef00000000, bits changed 0xdeadbeef, at offset 16 of 32 in element 0xffffff8021cfcd20, cookies 0x3f00111288cf9b32 0x535212fcc9049c3"@/SourceCache/xnu/xnu-2782.40.9/osfmk/kern/zalloc.c:496
Backtrace (CPU 0), Frame : Return Address
0xffffff81ee1daf50 : 0xffffff800032ad21 
0xffffff81ee1dafd0 : 0xffffff800036aea8 
0xffffff81ee1db100 : 0xffffff80008926bd 
0xffffff81ee1db160 : 0xffffff8000897415 
0xffffff81ee1db1f0 : 0xffffff8000894092 
0xffffff81ee1db590 : 0xffffff800088f1e7 
0xffffff81ee1dbb90 : 0xffffff800086ac78 
0xffffff81ee1dbc30 : 0xffffff8000869814 
0xffffff81ee1dbc90 : 0xffffff8000867372 
0xffffff81ee1dbce0 : 0xffffff8000867170 
0xffffff81ee1dbd40 : 0xffffff8000880c21 
0xffffff81ee1dbdc0 : 0xffffff800037230d 
0xffffff81ee1dbe10 : 0xffffff800032ef8c 
0xffffff81ee1dbe40 : 0xffffff80003139f3 
0xffffff81ee1dbe90 : 0xffffff800032429d 
0xffffff81ee1dbf10 : 0xffffff800040231a 
0xffffff81ee1dbfb0 : 0xffffff80004344c6 

BSD process name corresponding to current thread: kextd
Boot args: dart=0 -xcpm kext-dev-mode=1 rootless=0 slide=0 

Mac OS version:
14F27

Kernel version:
Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64
Kernel UUID: 58F06365-45C7-3CA7-B80D-173AFD1A03C4
__HIB  text base: 0xffffff8000100000
System model name: MacBookPro9,2 (Mac-6F01561E16C75D06)

System uptime in nanoseconds: 1285297634014
last loaded kext at 945561628660: com.apple.filesystems.smbfs	3.0.2 (addr 0xffffff7f823b8000, size 389120)
last unloaded kext at 985378511133: com.apple.iokit.IOAHCIPassThrough	1.0.3 (addr 0xffffff7f8163e000, size 36864)
loaded kexts:
org.pqrs.driver.Karabiner	10.9.0
org.emlydinesh.driver.ApplePS2SmartTouchPad	4.3
org.emlydinesh.driver.ApplePS2Keyboard	4.3
com.insanelymac.RealtekRTL8111	2.0.0
org.emlydinesh.driver.AsusNBFnKeys	2.3.5
com.darwin.driver.ACPIBacklight	3.0.1d2
org.emlydinesh.driver.ApplePS2Controller	4.3
org.netkas.driver.FakeSMC	1655
org.rehabman.driver.AppleSmartBatteryManager	1.55
com.apple.filesystems.smbfs	3.0.2
com.apple.driver.AudioAUUC	1.70
com.apple.filesystems.autofs	3.0
com.apple.iokit.IOBluetoothSerialManager	4.3.6f3
com.apple.driver.AppleHDA	272.18.1
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.driver.ACPI_SMC_PlatformPlugin	1.0.0
com.apple.Dont_Steal_Mac_OS_X	7.0.0
com.apple.driver.AppleHWAccess	1
com.apple.driver.AppleHV	1
com.apple.driver.AppleIntelSlowAdaptiveClocking	4.0.0
com.apple.driver.AppleLPC	1.7.3
com.apple.driver.AppleUpstreamUserClient	3.6.1
com.apple.driver.AppleMCCSControl	1.2.12
com.apple.driver.AppleOSXWatchdog	1
com.apple.driver.AppleIntelHD4000Graphics	10.0.6
com.apple.driver.AppleIntelFramebufferCapri	10.0.6
com.apple.iokit.SCSITaskUserClient	3.7.5
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless	1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0
com.apple.BootCache	36
com.apple.driver.XsanFilter	404
com.apple.iokit.IOAHCIBlockStorage	2.7.1
com.apple.driver.AppleUSBHub	705.4.2
com.apple.driver.AirPort.Atheros40	700.74.5
com.apple.driver.AppleUSBXHCI	710.4.11
com.apple.driver.AppleAHCIPort	3.1.2
com.apple.driver.AppleUSBEHCI	705.4.14
com.apple.driver.AppleACPIButtons	3.1
com.apple.driver.AppleRTC	2.0
com.apple.driver.AppleHPET	1.8
com.apple.driver.AppleSMBIOS	2.1
com.apple.driver.AppleACPIEC	3.1
com.apple.driver.AppleAPIC	1.7
com.apple.nke.applicationfirewall	161
com.apple.security.quarantine	3
com.apple.security.TMSafetyNet	8
com.apple.kext.triggers	1.0
com.apple.iokit.IOSerialFamily	11
com.apple.driver.DspFuncLib	272.18.1
com.apple.kext.OSvKernDSPLib	1.15
com.apple.driver.AppleHDAController	272.18.1
com.apple.iokit.IOHDAFamily	272.18.1
com.apple.iokit.IOAudioFamily	203.3
com.apple.vecLib.kext	1.2.0
com.apple.driver.IOPlatformPluginLegacy	1.0.0
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.iokit.IOUSBHIDDriver	705.4.0
com.apple.iokit.IOBluetoothHostControllerUSBTransport	4.3.6f3
com.apple.iokit.IOBluetoothFamily	4.3.6f3
com.apple.driver.IOPlatformPluginFamily	5.9.1d7
com.apple.iokit.IOUSBUserClient	705.4.0
com.apple.driver.AppleSMC	3.1.9
com.apple.driver.AppleSMBusController	1.0.13d1
com.apple.driver.AppleSMBusPCI	1.0.12d1
com.apple.iokit.IOSurface	97.4
com.apple.iokit.IONDRVSupport	2.4.1
com.apple.iokit.IOAcceleratorFamily2	156.16
com.apple.AppleGraphicsDeviceControl	3.10.25
com.apple.iokit.IOSCSIBlockCommandsDevice	3.7.5
com.apple.iokit.IOUSBMassStorageClass	3.7.2
com.apple.driver.AppleUSBComposite	705.4.9
com.apple.iokit.IOSCSIMultimediaCommandsDevice	3.7.5
com.apple.iokit.IOBDStorageFamily	1.7
com.apple.iokit.IODVDStorageFamily	1.7.1
com.apple.iokit.IOCDStorageFamily	1.7.1
com.apple.driver.CoreStorage	471.30.1
com.apple.iokit.IOAHCISerialATAPI	2.6.1
com.apple.iokit.IOSCSIArchitectureModelFamily	3.7.5
com.apple.iokit.IO80211Family	730.60
com.apple.iokit.IONetworkingFamily	3.2
com.apple.iokit.IOAHCIFamily	2.7.5
com.apple.iokit.IOUSBFamily	720.4.4
com.apple.driver.AppleEFINVRAM	2.0
com.apple.driver.AppleEFIRuntime	2.0
com.apple.iokit.IOHIDFamily	2.0.0
com.apple.iokit.IOGraphicsFamily	2.4.1
com.apple.iokit.IOSMBusFamily	1.1
com.apple.security.sandbox	300.0
com.apple.kext.AppleMatch	1.0.0d1
com.apple.driver.AppleKeyStore	2
com.apple.driver.AppleMobileFileIntegrity	1.0.5
com.apple.driver.AppleCredentialManager	1.0
com.apple.driver.DiskImages	398
com.apple.iokit.IOStorageFamily	2.0
com.apple.iokit.IOReportFamily	31
com.apple.driver.AppleFDEKeyStore	28.30
com.apple.driver.AppleACPIPlatform	3.1
com.apple.iokit.IOPCIFamily	2.9
com.apple.iokit.IOACPIFamily	1.4
com.apple.kec.corecrypto	1.0
com.apple.kec.Libm	1
com.apple.kec.pthread	1
Model: MacBookPro9,2, BootROM MBP91.00D3.B00, 2 processors, Intel Core i5, 2.49 GHz, 16 GB, SMC 2.2f44
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Memory Module: BANK0/DIMM0, 8 GB, DDR3, 1600 MHz, Kingston, 9905428-095.D00LF
Memory Module: BANK1/DIMM0, 8 GB, DDR3, 1600 MHz, Kingston, 9905428-095.D00LF
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9285: 4.0.74.0-P2P
Bluetooth: Version 4.3.6f3 16238, 3 services, 19 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: Crucial_CT250MX200SSD1, 250,06 GB
Serial ATA Device: TSSTcorp CDDVDW SN-208BB
USB Device: Hub
USB Device: USB 2.0 UVC VGA WebCam
USB Device: Bluetooth USB Host Controller
USB Device: Hub
USB Device: USB Flash Memory
USB Device: USB Receiver
Thunderbolt Bus: 

Can anyone help ?

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