Jump to content

Dr. Hurt

Members
  • Posts

    212
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by Dr. Hurt

  1. Don't do that. Delete the old kext and install the new one (without touching its contents). Or even better, put the kext in the clover kext folder.
     
    Does the pointer move well? (1 finger doesn't cause crash?).
    Try to find out exactly what causes the panic.
     
    In terminal app, type "sudo dmesg" and search for alps "get area".

  2. Thanks for your reports.

     

    Dolphin a4:

    - Fixed a typo in bitmap (probably the reason for broken multitouch)

    - Optimized variables for V5

    - Added some debug logging

     

    Search the log for alps messages, especially "get area", "fingers" and "bitmap"

    (touch the touchpad with 1, 2, 3, and 4 fingers and see which of those values represents more accurately the number of fingers)

     

    PS.

    Settings not sticking across reboots is a known sierra problem with the base ps2 driver.

    Add the attached app as a startup item, and it will automatically launch on login and set the needed settings.

    It requires accessibility permission.

     

    PPS.

    I`ll be hardcoding enabled clicking, dragging, and 2-finger scrolling in the final Release 5 till the base driver gets fixed. That way, they'll work by default.

    Dolphin a4.zip

    Touchpad Settings.zip

    • Like 1
  3. I got the pref pane working with loading a macOS Sierra patched trackpad pref pane. so I could enable "clicking", but 2-finger Scrolling does not work.

     

    Finally some useful info.

    Try separating the 2 fingers a bit while scrolling (make fingers like a V ) and try pressing a bit harder on the touchpad.

    Try scrolling using 3 and 4 fingers and tell me if it makes a difference.

     

    I'll make you a test version tomorrow to see where the problem is coming from.

     

    Remember that the Linux 4.7 driver doesn't work properly with this touchpad.

    I'm using user-submitted patches so it's likely to not work too well and need time for debugging.

  4. Dr.hurt. The release 5 beta 1 can't make my touchpad worked. Not initialize

     

    I know. I haven't added the newer dolphin to any release.

    It would be nice of you to explain exactly what happens with a3.

    Also, in the info.plist of the a3 trackpad kext, set v/hscrolldivisor to 0 (2-items) and fingerz to 1. Tell me if that changes anything.

     

     

    R5beta1:

    • The infamous trackstick mouse jumping 45 degree to the right is back when you lift your finger.
    • Middle button scrolling is no longer working
    • Can't click and drag window with trackstick
    • Can't right click or select cuz trackstick keep jumping to the right 45 degree
    • Can't highlight with trackstick

     

     

    Does that mean that everything else is working well?

    Release 5, despite the small changelog, is a huge change!! 

     

    Try this:

    Beta 2:

    - Reduce speed slightly (now speed is divided by 3 for both move and scroll)

    - Fix scroll and jumping pointer (hopefully)

    Release 5 Beta 2.zip

  5. Dr.Hurt,

     

    Is there a way to slow down the scrolling for the trackstick. it's a bit fast and maybe enable inertia too if possible. All and all, R4 final is very stable and very usable. Better than all the previous versions up to now for Alps touchpad.

    Also, option and command keys are switched, I know I could use switch it in Keyboard Preference but wonder if that could be done without it.

     

    Thanks!

     

    - Trackstick speed (scroll and move) has to be hardcoded. Will reduce speed in next release.

    - Inertia for trackstick is really difficult because it sends movements rather than coordinates so its not easy to control.

    - In the info.plist of the keyboard kext, you'll find an option called "swap command and option". Set it to true.

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

     

    Release 5 beta 1:

    - Massive cleanup and refactoring of almost every part of the driver.

    - Trackstick code updated to Linux 4.7 again!! Hope it works this time!! Might need some work.

    - Fixed a serious bug in edge scrolling. Somehow fixed a lot of random unrelated problems I had!!!!  :)

    - Gesture and scrolling accuracy improvements.

     

    The amount of code changed in this release is scary!! Hope it doesn't break too many things.

    Release 5 beta 1.zip

  6. Dr.hurt.

    It worked!!!!! Amazing.

    But it seems the single finger move need to use the thumb or two fingers to run it. And the two fingers gestures need three fingers to run.

    Thank you for your doing. Thanks. And could you fix the issue? It would be perfect.

     

    Dolphin a4:

    - Common init code for both V1 and V2 (probably won't work, but worth a shot!!)

     

    If it doesn't work, I'll revert and try to debug a3.

    Dolphin a4.zip

  7. RehabMan wrote the PS2 driver which is how MacOS (and the ALPS driver) communicate with the touchpad hardware.

    His driver doesn't support ALPS. He merged bpedman's code in a separate branch to add support for ALPS.

    The linux ALPS driver was ported by many people to work with Rehabman's voodoops2. My driver is just another option. Built on the latest linux, with many changes to make it work better with OS X. It's a personal free time project which I decided to share hoping to help out people with similar hardware. No guarantees whatsoever given 

     

    As for your issues: (in trackpad info.plist)

    For movement:

    - try reducing fingerz to 1

    - try setting v/hscrolldivisor to 0
    - try setting unsmooth input to true.
    - try both smooth and unsmooth to false

    For gestures:
    - try reducing swipedelta(x and y) to 400 or less

     

    Good Luck :)

  8. Dr.Hurt, what the information do you want  from console, where?

    It seems that there is nothing about alps touchpad in console.

     

    Nothing in console because the touchpad failed to initialize.

     

    Dolphin V2 doesn't even work properly with the default driver on Linux.

    I did however find a user-patch and ported it to this driver for you to test.

     

    Dolphin a2:

    - Attempt to port a user-provided init sequence for Dolphin V2

    Dolphin a2.zip

  9. Yeah, there was just ever singletouch with it on OS X without preference by the rehabman's(your kext make the preference work). And RC4 didn't make it work even buttons or scrolling, just like not having driver with it. Thanks for your doing. Hoping the newer version for mine. :-P

     

    Try this:

     

    Dolphin alpha 1:

    - Ported new V5 init code.

     

    THIS COULD CAUSE A KERNEL PANIC. 

    Run it from a Clover USB stick.

     

    Check dmesg and console messages and post here.

    Dolphin a1.zip

  10. Great, speed is much better; totally useable for me. Your PS2 controller v4.0.0 is now spot on and perfect for all my Latitude E Series.

     

    Thanks again.

     

    Excellent news :)

    Thank you for all your time testing.

     

    You can consider RC4 the final release for now (till I update the opening post tonight).

  11. Dr.hurt. it didn't work.

     

    Strange!! The V5 code looks fine and logical to me.

    I'll make a debug version for you tonight to see where it's failing.

     

    Do the buttons work? Scrolling (2 or 1 finger?)

    Did you ever have multitouch with it on OS X?

     

    EDIT: Searched for your device-id and found that its a newer Dolphin. (Apparently there is Dolphon v1 and v2)

    It needs a different init sequence. Will see what I can do about it.

  12. I'm glad to help you debug that kext.

     

    Try RC4. If it still doesn't work, I'll make a special debug version for you to see where exactly it's failing.

     

    Dr Hurt, we got a winner with RC3. Congratulations!  :-P

     

    At the risk of being a pain in the backside (but it's probably due to my lack of practice), the trackstick might be a little bit too quick now that it works Ok. Which speed is it set at? If I lower the tracking speed in the PrefPane, I can use the trackstick much better...

     

    Sorry, sorry, sorry.   :oops:

     

    attachicon.gif Trackstick_RC3.mov

     

    I'm glad I could help out  :)

     

    Release 4 RC4:

    - Reduce trackstick speed to half. (now divides raw speed by 4 instead of 2)

    - Clean up V5 Dolphin init code.

     

    PS. Trackstick code needs a massive cleanup but I'll postpone that to a future release. I don't wanna break anything else now!!

    Release 4 RC4.zip

  13. Nope. The v5 touchpad didn't work. Maybe there are some bugs in the serria. The dmesg shows the driver of alps started.

     

    the dmesg:

     

    ApplePS2Controller: Timed out on mouse input stream.

    ApplePS2Controller: Timed out on mouse input stream.

    Report bytes: input:8 output:1 feature:0Collections : 2Buttons     : input:2 output:1 feature:0Values      : input:0 output:0 feature:0Element value capacity 6584Report count: 1Report ID: 0 input:64 output:8 feature:0Report bytes: input:9 output:0 feature:0Collections : 3Buttons     : input:1 output:0 feature:0Values      : input:4 output:0 feature:0Element value capacity 320Report count: 1Report ID: 0 input:72 output:0 feature:0ALPS: Found a V5 Dolphin touchpad with ID: E7=0x73 0x03 0x50, EC=0x73 0x02 0x02

    HID: Legacy shim 2

    jnl: b(1, 4): journal replay done.

    ALPS: Touchpad driver started

     

    Thanks for testing. Try this

    kitkim.zip

×
×
  • Create New...