Jump to content

68x

Members
  • Posts

    34
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by 68x

  1. Ok guys!!

    I solved all the problems!! It was my version of AsusNBFnKeys that was old (v1.7.2) and was not working properly! :D

    But I strongly suggest you, either to include the AsusNBFnKeys as a plugin in ElanTouchpad.kext or to specify that you need to use an updated version of AsusNBFnKeys to make it work ok.

    You need to specify that these two kext are correlated in some way. It may seem obvious to you, but I'm pretty sure that many users didn't even know that they need to be both updated.

    At least this is what I think!

    Thank you again for this update and the very useful support!

    Cheers!!  :-P

     

    The Asus Fn kext is not madatory. It just adds extra functioanilty for keyboard backlight, you should be able to use the old versions of that kext without issues if you disable the correct plist nodes.

  2. I did had set my node ID before I use it. 

    Node 0x24 [Pin Complex] wcaps 0x40050d: Stereo Amp-Out
      Control: name="Speaker Playback Switch", index=0, device=0
        ControlAmp: chs=3, dir=Out, idx=0, ofs=0
      Control: name="Speaker Phantom Jack", index=0, device=0
      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
      Amp-Out vals:  [0x00 0x00]
      Pincap 0x00010050: OUT EAPD Balanced
      EAPD 0x3: BALANCED EAPD
      Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    

    mine is in node 24 isn't it?

     

    Nope ... 0x24 is hex, you have to convert to decimal (Base16 to Base10). As you can see here, http://www.openstrike.co.uk/cgi-bin/decimalhex.cgi?input=24&direction=To+Decimal , your actual node is 36. Try using node 36 and let us know. Also, the oinly reason why you have sound via headphones is because your device doesn't have an EAPD for it.

  3. EAPDFix: EAPD is disabled, Enabling EAPD...

    EAPDFix: Codec verb sent successfully to enable Speakers EAPD.

    EAPDFix: EAPD is disabled, Enabling EAPD...

     

    EAPDFix: Codec verb sent successfully to enable Speakers EAPD.

     

    my vt1802p, using appleHDA,2.6.0, in 10.9.2, still no sound after sleep..

    in console, it keeps appearing the above two lines.

     

     

    Set the correct node ID in the Info.plist. Read the first post to figure out which node.

  4. Got my combo card this morning in the mail! Ordered from EmbeddedWorks.net for $35, with shipping + UPS brokerage crud it came to around $70.

     

    Wifi + BT work OOB in Windows. On Mavericks wifi is working (install method #2) but bluetooth is nowhere to be found. I've tried adding the info to the broadcom bluetooth kext & using BTFirmwareUploader but it's not working. In IOREG I can see it under AppleUSBEHCI/BCM20702A0@1a110000 & product & vendor ID are correct.

     

    I thought maybe my BT was screwed up under this install so I tried on another & same issue arises. I'm not sure if this is relevant but System Report shows no pci cards installed. I've tried using different sysdefs & tried booting without my dsdt/ssdt (autopatching via clover) but nothing is working. Oh & I did try shutting down completely as well.

     

    Anyone have any ideas? I'm going to try a reinstall but failing that I'm not sure what to do.

     

     

    4AM EDIT: I tried Toledas bcm4352.kext with the toledaArpt.kext & wifi & BT are working!

     

    It is indeed cheaper to buy from Embedded Works, they updated the links.

     

    Just for future reference, it is http://www.embeddedworks.net/wlan507.html

  5.  

    Fix keyboard backlight not auto wake when wake on LID. Must apply this patch first https://osxlatitude.com/index.php?/topic/1968-fn-hotkey-driver-for-asus-notebooks/?p=23959

     

    Add to _LID Method:

                    If (LEqual (Local0, One))
                    {
                        ^^ATKD.SKBL (0x03)
                    }
    

    Like this:

    Method (_LID, 0, NotSerialized)  // _LID: Lid Status
                {
                    Store (One, Local0)
                    Store (^^PCI0.LPCB.EC0.RPIN (0x46), Local0)
                    If (LEqual (Local0, Ones))
                    {
                        Store (One, Local0)
                    }
    
                    If (And (VGAF, One))
                    {
                        Store (One, ^^PCI0.IGPU.CLID)
                    }
    
                    If (LEqual (Local0, One))
                    {
                        ^^ATKD.SKBL (0x03)
                    }
    
                    Return (Local0)
                }
    

     

     

    That is not even needed... The DSDT handles the backlight by itself when it wakes. Take a look at the EC0W method. All you are doing is setting the backlight to the maximum when the lid is being opened.

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

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

  8. 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
  9. Quoting myself here...

    Well, I felt like having another kext in the system is pretty pointless, considering I already have a kext that is able to determine power state transitions.. and it just happens to be opensource. So I went ahead and modified it, so no more IOAudioFamily sources are required and no hassle for me after every updated (you don't generally update your PS/2 kexts that often, do you?).

    The kext is made configurable and can handle both speaker and headphone nodes if they are defined properly. You still need to have the EAPD codec verb in your pinconfig for sound to be enabled upon boot though. My codec only has EAPD on speaker node 0x14 (20) so I can't test headphones alone or headphones plus speakers for EAPD command verb updating. 

     

    People who are using RehabMan's VoodooPS2Controller can give this a go, I've documented the settings I've added (as well what has been modified from RehabMan's sources) in the readme:

    https://github.com/Dolnor/VoodooPS2Controller_EAPD_Handler

     

    Cheers!

    - Dolnor a.k.a TimeWalker

     

    If it is possible, can you consider making it a separate kext? As an owner of a laptop with an Elan touchpad, I can't use PS2 controller without kext conflicts.

  10. I've attached the necessary DSDT edits in a form of a patch to get the ambient light sensor working:

    # Patches for getting the Ambient Light Sensor (ALS) working, must be used with EMlyDinEsH's kext
    # Kext link: https://osxlatitude.com/index.php?/topic/1968-fn-hotkey-driver-for-asus-notebooks/
    # Credits: 68x and EMlyDinEsH
    
    # Removes the code that doesn't execute 
    into Method label _QCD replace_content begin
                    
                Notify (ALS, 0x80)\n
                If (ATKP)\n
                {\n
                    ^^^^ATKD.IANE (0xC7)\n
                }
                
     end;
     
    # Removes the code that doesn't execute 
    into Method label _QDD replace_content begin
                    
                Notify (ALS, 0x80)\n
                If (ATKP)\n
                {\n
                    ^^^^ATKD.IANE (0xC6)\n
                }
                
    end;
    
    # Modify RALS to return correct values
    # Also change the keyboard backlight in DSDT
    into Method label RALS replace_content begin
    			If (ALAE)\n
                {\n
                    Store (RRAM (0x04C9), Local0)\n
                    And (Local0, 0x0F, Local0)\n
                    If (LLessEqual (Local0, One))\n
                    {\n
                        Store (0x32, Local1)\n
                        ^^^^ATKD.SKBL (0x03)\n
                        Store (One, Local2)\n
                    }\n
                    Else\n
                    {\n
                        If (LLessEqual (Local0, 0x06))\n
                        {\n
                            Store (0xC8, Local1)\n
                            ^^^^ATKD.SKBL (0x02)\n
                            Store (0x02, Local2)\n
                        }\n
                        Else\n
                        {\n
                            If (LLessEqual (Local0, 0x0A))\n
                            {\n
                                Store (0x0190, Local1)\n
                                ^^^^ATKD.SKBL (One)\n
                                Store (0x03, Local2)\n
                            }\n
                            Else\n
                            {\n
                                If (LLessEqual (Local0, 0x0E))\n
                                {\n
                                    Store (0x0258, Local1)\n
                                }\n
                                Else\n
                                {
                                    Store (0x0320, Local1)\n
                                }\n
                                ^^^^ATKD.SKBL (Zero)\n
                                Store (0x04, Local2)\n
                            }\n
                        }\n
                    }\n
                    Return (Local2)\n
                }\n
                Else\n
                {\n
                    Return (0xC8)\n
                }
    end;
     
    # Add ALSS so kext can get values
    into Method label ALSS remove_entry; 
    into Device label ATKD insert begin
                Method (ALSS, 0, NotSerialized)\n
                {\n
                    Return (^^PCI0.LPCB.EC0.RALS ())\n
                }
    end;
    
  11. Hi there!  Just wondering if anyone can help with this, have an Asus X202e and got the v4 kexts installed but is there anyway to turn off the tapping?  Id prefer to use the physical buttons but I think the tapping is interfering with the button clicks since.  Seems like the actual button clicks aren't recognized about 75% of the time.  Unchecking the "clicking" button in the trackpad pref doesn't do it (I gather thats used for tap to drag) Thanks!

     

    Go into your Info.plist then edit each gesture value to -1. This will disable that gesture.

  12. help plzzzzzzzzzz

     in console it shows "assuming v3 hardware" ......and after installing v3 files after restart nothing works and again after restart both trackpad and keyboard works flawless......but again at next boot both doesnt works.....it works at alternate boots....help plzzzzzzzzzz

    Check your console for logs starting with "Elan". It may be a kext conflict.

  13. WIth the new Fn key kext (with ALS support), my Fn keys seems to be delayed.

     

    For example, I press 2x voulme decrease and press 2x brightness increase. Instead of the volume being decreased when I press Fn+F10, the volume decreases when I press Fn+F6. It seems to be some kind of buffer. I do not have this issue in the older kexts.

     

    Also, if possible, can you also please add F7 (screen off) support?

  14. 15-06-13 15:44:28,000 kernel[0]: ElanTech Touchpad driver v2.6  by EMlyDinEsHMG(OSXLatitude) (c) 2012-2013
    15-06-13 15:44:28,000 kernel[0]: Elan: Detecting the touchpad
    15-06-13 15:44:28,000 kernel[0]: Elan: FirmWare Version 262402
    15-06-13 15:44:28,000 kernel[0]: Elan: Touchpad found, Assuming hardware version 2 (with firmware version 0x040102)
    15-06-13 15:44:28,000 kernel[0]: Elan: Sorry your hardware versions 2 is not supported yet by this driver, For help contact me on [email protected] and I will try to support as much I can in my time but I can't promise

     

    Your touchpad isn't supported. That's what the console message is saying, this kext is for v3 and v4.

  15. Glad to see that someone is working on a driver for this. Any prediction on when we'll finally have 2F-Scrolling in Mountain Lion with the Elan?

     

    Update: Nevermind. It turns out that, if you boot with unifail, the driver doesn't work. If you boot with chimera (chameleon, stolen and rebranded), it does. (shrug...)

     

    The main reason is because the Elan kext never loads due to a conflict with the PS2 kext on unifail. Take a look at the Console, it'll explain which kext is causing the error.

  16. Even more progress. I got Fn + F2 working for my Zenbook, all you have to do this:

     

    The wireless card is stopped at a low level (OSX does not detect any changes).

    (Note: I am using an edited kext for this ... I am sure Dinesh would be able to add to the kext).

                Method (WIF1, 0, NotSerialized)
                {
                    If (ATKP)
                    {
                        OWLD (One)
                        OBTD (One)
                    }
                }
    
                Method (WIF2, 0, NotSerialized)
                {
                    If (ATKP)
                    {
                        OWLD (Zero)
                        OBTD (Zero)
                    }
                }
    

    If you have a light sensor, take a look at the _ALI DSDT method.

     

    Also qerty12, thank Dinesh for the battery edits. Please do not thank me for it.

     

    Edit:

     

    I found a good github project that details the ambient light sensor and how to use it.

     

    https://github.com/victorenator/als#readme

     

    I am currently debugging the outputs produced by the appropriate DSDT methods.

    • Like 1
×
×
  • Create New...