Jump to content

Dr. Hurt

Members
  • Posts

    212
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by Dr. Hurt

  1. Here's another test build with a fair bit of reverts.

     

    - Manually delete the old kext before installing the new one. I don't trust most installers.

    - Reboot another time if it doesn't work on the first boot.

    - Try scrolling, tapping, moving. One part of the driver could be working while the other isn't.

     

    - Check the log for "initialization complete". That will tell if the problem is initializing or processing:

    I'm starting to suspect that the problem is with processing rather than detection because thats where I did most of the work.

     

    Testing on one Rushmore system is enough (both use the same code).

    Don't try on V7 as it won't work.

     

    test.zip

  2. Hi, the kext from the first post is not working, but the one from the last post, so far it seems to be ok, but no momentum scrolling inertia, can we enable it?

     

    Thats good news. Just gonna wait for another confirmation from Jake Lo then revert the commit on github and publish release 2.

     

    As for momentum scrolling, it is working but its quite subtle like on a real mac. You can tweak the acceleration settings in the ALPS section of info.plist inside the kext 

  3. This is really strange because I haven't done much change to the way V1-V5 are detected/initialised. 

     

    I think I have an idea why trackstick scrolling is not working with bpedman's (or my) version. We'll get to that later.

     

    For this update: 

    Reverted the detection/initialisation code back to latest bpedman code. Removed all the V6,7,8 code for now till I find a better way.

    Fixed a typo I made while enabling the Trackstick, maybe it was the cause of the pointer jump.

    Changed the way we divide speed by 8 (hope that doesn't backfire).

     

    Thanks for helping with the debugging.

    VoodooPS2Controller.kext.zip

  4. It's getting late here, so I can't think straight. Sorry about the KP!!
     
    Here's another test:
    Driver should now report V7 then correctly quit. (to avoid KP).
    Driver will now divide trackstick speed by 8 (might need to change that if it becomes too slow)
     
    Did all of those systems work with the old driver?
    Does the driver say "Found ALPS Touchpad" in the log on the non working systems?
     
    I'll be back tomorrow.

    VoodooPS2Controller.kext.zip

  5. I disabled the TrackStick code intentionally because I didn't like the way it was coded and didn't think anyone actually had it. I guess I'll re-enable it as-is for now and refactor later. 
     
    As for adding V7, I'll try if there are enough people with the hw. It's a massive job of filtering out linux-specific code, refactoring for xcode, debugging and working around mac/xcode quirks.

     

    Update:

     

    Is the Trackstick on the same system with the Rushmore Touchpad?

     

    Anyway, here's an updated version with the trackstick code reenabled. If that works I'll push the fix to github.

    VoodooPS2Controller.kext.zip

  6. Last update: 28 October 2020

     

    A refined ALPS touchpad driver based on the work RehabMan, bpedman, and many others.

    Thanks to usr-sse2 for sierra fixes.

     

    The aim of this project is to provide a stable, full-featured ALPS touchpad driver for the Mac OS.

    The core of the driver has been updated to Linux 4.7 which made significant improvements to the usability of ALPS touchpads (even on Linux!!).

     

    Driver Features:

    - Supports ALPS hardware versions V1-V5

    - Supports Mac OS X 10.6 to macOS 10.15

    - 1-finger tapping.

    - Side (edge) scrolling (Vertical with inertia, and Horizontal).

    - 2-finger tap for right click.

    - 2-finger scrolling (vertical and horizontal with inertia).

    - 3 and 4-finger gestures (V3+, check the log to find out your hw version).

    - Pointer acceleration and smoothing.

    - Trackstick (movement and scrolling).

    ==========================================

     

    Changes:

    - Touchpad initialization, packet decoding and processing updated Linux 4.7

    - Bitmap processing overhauled. Can now provide coordinates for 2 fingers simultaneously.

    - Added new device ids for better compatibility.

    - Remove hardcoded variables allowing userspace (plist) settings to apply.

    - Painstakingly optimized default settings to provide the best possible experience.

    - Improve pointer motion calculation, mode switching,… etc.

    - Lots of code cleanups, refactoring.

    - Clean up the IOLog.

     

    FAQs:

    1- On Sierra, TouchPad settings (clicking, 2 finger scroll,..)  are not saved across reboots?

    Use the attached "Touchpad Settings" app as a startup app and it'll load the settings on startup.

    Apple changed something in Sierra that broke compatibility with the base PS2 driver. Apple has yet to document the cha ges, and thus RehabMan (PS2 driver dev) hasn't fixed it yet.

     

    2- Keyboard function keys are not working or are messed up?

    Again, Apple changed something in Sierra without documenting it. No fix yet. 10.12.1 helps!!

     

    3- The touchpad doesn't work as well as on Windows?

    Unfortunately, the Linux driver for ALPS touchpads is not too good. Can't do anything about that. 

     

    4- How to enable/disable edge scrolling?

    set vscrolldivisor and/or hscrolldivisor to 13 (enable) or 0 (disable) in the info.plist

     

    5- How to customize 3/4-finger gestures?

    In system preferences, go to keyboard > shortcuts > double click an action to change its shortcut, perform a swipe and it'll be saved.

     

    Source:

    https://github.com/DrHurt/OS-X-ALPS-Driver

     

    Release 4.zip Release 5.zip Touchpad Settings.zip

     

     

    Edit (Hervé, Nov 2017):

    - For Alps V7 & V8, the following Release 6 versions can be tested (unfinished dev). Previous versions V3-V5 still fully supported.

    - Beta versions post R6B6 are understood to cause issues on wake. This is not experienced with latest R6 compiled by Bronxteck.

    - Those versions have tracksticks disabled.

    - R6 versions supports the vanilla TrackPad PrefPane (no empty gray screen) on Sierra and above, i.e. no need to replace it with older 10.11.6's version (237MB).

     

    * R6 Beta:

    * R6 Release Candidate:

    * Latest R6 version (compiled by Bronxteck) - recommended version:

     

    NB: to check if the driver identifies your Alps TrackPad, user the following Terminal command

    log show | grep ALPS
    • Like 9
  7. Sorry, look like I have a misunderstanding using the git tools. I'm a mechanics, not an IT guy. Now things was pushed correctly to Bitbucket. I hate the hassle of creating lots and lots of account here and there. Anyway, I'll grab an Github account later.

     

    Thanks for the commits :)

     

    RehabMan has merged your changes to the github.

    The updated ALPS code will be included in the next release by RehabMan.

     

    I noticed that the z_finger in the latest commits is set at 15 again though!! It works best for me when set to 30-40. Did you feel any difference in your testing?

  8. I had trouble installing the kext using kext wizard. It somehow messes up the kext cache.

     

    Download and try reinstalling the kext using my util from here:

    http://www.osx86.net/files/file/3867-ikext-mavericks-kext-installer/

     

    @sontrg:

     

    Could you please push your changes (or at least the fixes) to the github.

    The current rehabman version is broken. It'll also make your work available to lots of new users/testers since his kext is the most commonly used one.

     

    RehabMan usually respects and credits any contributor to the project.

  9. I tried the command lines and I got these messages:

     

    cjs-macbook-air:~ cj$ kextstat | grep rehabman

       98    0 0xffffff7f81d46000 0xb000     0xb000     org.rehabman.voodoo.driver.PS2Controller (1.8.11) <10 7 5 4 3 1>

    cjs-macbook-air:~ cj$ cat /var/log/system.log | grep ALPS

    cjs-macbook-air:~ cj$

     

    after input 'cat /var/log/system.log | grep ALPS', I did not get any message. I just installed the VoodooPS2Controller.kext, So I need to install PS2Trackpad.kext also?  Thanks again.

     

    v1.8.11 is the rehabman version which doesn't work with ALPS (yet). 

     

    Try the kext by sontrg in post #366 of this thread.

  10. I'll do more testing later because it working very well for now.... Thanks :)

     

    Could you please send your fixes and updates to rehabman to integrate them with his branch.

    That way more people would have access to them.

     

    PS. Are you sure I'm using a v5. People at insanelymac say the n5110 comes with either a v3 or a v6!!

  11. I see, but then again, the change you have pointed only affect a v6 trackpad, again yours is v5.

    Ok, now I make a quick fix, try and report, ignore the kext on the previous post, please.

     

    I tried it and it's the same.

     

    I just wanna say that overall the touchpad is working very well, thanks to you. The jumping issue is just a very minor annoyance than I can live with  :)

  12. Hmm, I can increase the z_finger for you, but the two changes you point out over there is almost irrelevant. The first line belong to v1 and v2 trackpad, while the second change only affects trackstick on selected v3 model. Because you have a v5 (sharing the same logic with v3), but do not have a trackstick, those changes is pretty much pointless. Please wait for a while I recompile for a new value z. In fact I don't understand much about 'stability' as you require, can you describe it more precisely? Like, when you are not moving your finger but the cursor move itself? The movement of the cursor is jitter? Or what else?

     

    Cursor moves by itself (if finger is touching but not moving) and jumps when finger is lifted.

     

    Increasing z_finger fixes the first issue but still jumps when finger is lifted.

     

    There's a fix in the Linux driver for this issue (line 695)

    http://lxr.free-electrons.com/source/drivers/input/mouse/alps.c

     

    PS. I'll test tomorrow because I don't have the laptop now!

  13. Ok, then please try this.

     

    Thanks for your finding :)

     

    Much better now :)

     

    May I suggest the following test: (hopefully make pointer even more steady)

    increasing z_finger to 40

    changing z = z_finger + 1; to z = z_finger; (line 377)

    changing x = y = 0; to x = y = z = 0; (line 502)

     

    Sorry I don't have xcode right now to test. Could you provide a kext with those changes?

     

    Thanks in advance sontrg :)

  14. Of course, Rehabman does not merge our code yet, so there is no help. The only thing that confuses me right now is there is nothing change with the keyboard code, yet you cannot get your keyboard identified correctly, and the plist file has already cooperated the newest change... Post your IORegistryExplorer, please.

     

    Actually, I fixed it. The keyboard including all FN keys is identified and working perfectly now :) :)

     

    Turns out Clover changed the system identifier (in DSDT) from "Dell" to "Apple" so the kext did not load the correct profile. 

    I fixed it by patching the DSDT.

     

    I had a look at the code, and have a suggestion. Could you please increase the z_finger value to 30.

  15. @sontrg:

     

    You were right. I just reinstalled your latest (RehabMan-Voodoo-2014-0219.zipdriver and cleared the caches and IT WORKED.

     

    The touchpad and FN keys are working beautifully :D

     

    Could you please pull rehabman's latest code, merge your fixes with them because as of this moment the ALPS code in rehabman's driver (1.8.11) is broken. It detects the touchpad as a PS2 mouse since the ALPS driver doesn't initialise.

     

    Log (this is all I get using rehabman's latest kext).

    kernel[0] VoodooPS2SynapticsTouchPad Version 1.8.11 loaded...

    kernel[0] VoodooPS2Trackpad: Identify TouchPad command returned incorrect byte 2 (of 3): 0x00
    kernel[0] VoodooPS2Mouse Version 1.8.11 loaded...

     

    Much appreciated :)

  16. I can give bio mod a try. which one you used? And do you know if there is some way to patch it without windows?

     

    Ps: I am using dsdt and kexts from the guide that I posted before.

     

    I'm using an old patched BIOS. I'd recommend using the latest UEFI BIOS though because it should fix the HD3000 artefacts. 

    I'd strongly recommend using the official BIOS flashing tool (in the first post in the N5110 thread on insanelymac).

     

    Hints:

    Close all apps, including your antivirus.

    After flashing, Windows will freeze and fan will spin at maximum speed due to overwriting of MSR. All you need to do is remove the battery and put it back again, and everything will be fine :)

  17. I tried @sontrg 2014-02-18 and 2014-02-19 but they didn´t work on my N5110. This is a bit strange since @ahmad had success on a N5110. 

     

    I tried to put them on S/L/E and E/E (removing the old versions 1st), recreated the cache, removed my DSDTs and started without caches, but not success so far.

     

    @ahmad, are you running Mavericks? And have you changed you BIOS to some mod one?

     

    I found also this version: http://www.insanelymac.com/forum/topic/271573-guide-dell-inspiron-n5110/?p=1767733 which is working also. (VoodooPS2Controller.kext.zip from the post and not the one inside the post install folder).

     

    Thanks guys. 

     

    Yeah, I'm using 10.9.1 with a patched BIOS (though I don't think the BIOS makes a difference).

    18 worked, but with 19 the keyboard stopped working (despite the touchpad working perfectly)!! 

     

    I would recommend you use the newer kext in the post-install folder. It works very well. The only one I saw that actually works better is 2014-0218 except for the fact that FN keys were messed up and breakless.

     

    I always delete the old kext before installing the new one using kext wizard. 

    • Like 1
×
×
  • Create New...