Jump to content

Dr. Hurt

Members
  • Posts

    212
  • Joined

  • Last visited

  • Days Won

    21

Posts posted by Dr. Hurt

  1. V8 test 3:

     

    - Added V8 valid_byte check 

    - Work on interrupt handling again (for Rushmore)

     

    PS. V8 trackstick is disabled for now.

     

    Open console while testing and see if any ALPS messages appear when you touch the touchpad/trackstick.

     

    EDIT: Deleted attachment. Major mistake with V8. Sorry

    • Like 1
  2. Jake Lo:

    You always have problems that go beyond my understanding :)

    I haven't touched a single letter in the Rushmore code (since R5)!!

     

    What OS X version are you using? Did you test Rushmore with Release 5?

     

    Thanks for reporting,,,

     

    V8test2:

    - V8 bug fixes

    - Revert some 2-finger scroll changes

    - Rearrange the code (hopefully fixes Jake Lo's issues).

     

    PS. Regarding the Preference pane:

    The driver tells macOS that we have a real Apple touchpad instead of ALPS.

    Most of the features in the Preference pane will NOT work. We're not using a real Apple touchpad.

     

    Currently the features that DO work are:

    Tap to click

    Secondary click

    Scroll direction

    Swipe between full screen pages

     

    Mission control and expose (have to be enabled/disabled together)

     

    Good luck and hoping to hear good news :)

    V8test2.zip

    • Like 1
  3. Found:

     

    ALPS: Touchpad id didn't match V1-V5: E7=0x73 0x03 0x14, EC=0x73 0x02 0x36

     

     

    and VoodooPS2TouchPad messages:

     

    VoodooPS2TouchPad Version 2.8.15 loaded...

    VoodooPS2Trackpad: Identify TouchPad command returned incorrect byte 2 (of 3): 0x00

    VoodooPS2TouchPad Version 2.8.15 loaded...

     

    You too have an ALPS V8...

     

    I'll be releasing a test with V8 support soon.

     

    EDIT:

     

    ALPS V8_test_1: (Will work with all versions)

    - Experimental support for V8 hardware. (WARNING: MAY CAUSE KP)

    - Touchpad prefpane now loads on Sierra and setting are saved.

    - Fixed scrolling on Sierra (Finally!!!!)

    - CapsLock works properly in Sierra now.

     

    V8 Test 1.zip

    • Like 2
  4.  

    I have a version 7 Alps but can't get this to work ?

    I deleted all traces of any other versions of Voodoo in my SLE and my EFI

     

    Install with KextWizard into my SLE .. Reboot nothing ? Running El Cap 10.11.6 

    I also tried the updated test version as well.

     

    Thanks

     

     

     

    Here's the info on my V7

    compatible : ALP000B ALP0100 ALP0002 PNP0F13       = ioreg

    name: <"ALP000B">

     

     

    PNP0303

    Hp probook-87

    HPQ8001

     

    ----------------------------------

    AlpsPS/2 Alps dual point stick      =linux 1

    Isa0060/serio3/input1

     

    vendor =0002 product=0008 version=0700

    alpsps/2 alps dual point touchpad

     

    ---------------------------------

    model alpsps/2                 =linux 2

    vendor 0x0002 

    device 0x0008

    compatible to : int 0x021 0x003

    alps

     

     

    Boot with the kext, and check the E7 and EC ids. Those are whats used to match the device.

  5.  

    V7 on Dell Latitude E7470

    causes KP on Sierra but not El Capitan. But it doesn't detect the touchpad or trackstick

     

    Nov  6 18:17:30 localhost kernel[0]: ApplePS2ALPSGlidePoint::identify: Found ALPS Device with ID E7=0x73 0x03 0x28, EC=0x73 0x01 0x13

    Nov  6 18:17:30 localhost kernel[0]: Unknown ALPS touchpad, does not match any known identifiers: E7=0x73 0x03 0x28, EC=0x73 0x01 0x13

     

     

    I checked the Linux driver for that id, and its an ALPS V8 TouchPad, so it won't work with that driver. I'll see the feasibility of adding that later.

  6. I've been using Kext Wizard to install kexts and rebuild caches.

    Kext is already on Clover/Kext folder.

     

     

    It's pretty impossible, system loads too fast. Is there another way to do that?

     

     

    Yes, the system loaded ok in the second attempt.

     

    Thanks!

     

    After boot, open terminal and type: sudo dmesg

     

    Search for ALPS (version and loaded messages, if found)

     

    Search for ALPS messages

  7. Installed attached kext on Clover. First boot gave me a KP.

     

    Trackpad (AUI1714 on Win) still doesn't work at all (no trackpad installed on system prefs).

     

    Keyboard audio volume special keys work again, COMMAND and ALT keys are swapped and CapsLock has an intermittent behavior.

     

    Delete the kext from /S/L/E and run kext utility: http://mac.softpedia.com/get/System-Utilities/Kext-Utility.shtml

    to rebuild caches. Keep the kext in the Clover folder.

     

    Boot in verbose and watch for ALPS messages: version, driver loaded

     

    KP happened once, then the next boot was okay?

     

    CapsLock will be fixed in next release.

    In the keyboard info.plist, there's an option to swap keys.

  8. Hi there.

     

    I'm trying to make my ALPS v7 to work but can't even get trackpad movement.

     

    Already installed VoodooPS2Controller.kext on S/L/E -- or -- placing it on Clover/Kext/10.12 (and "Other").

     

    Never tried other methods before, so it seems there are no older trackpad related patched kexts on S/L/E. (Can someone tell me what to looking for on that cleaning/reseting?)

     

    Am I missing something?

     

    Thanks.

     

    Use  ALPS V7 test.zip from post 331... 

    Remove any installed kext, put this one in Clover.

  9. I've sent you a pull request that adds support for the Alps v7 trackpad :) https://github.com/DrHurt/OS-X-ALPS-DRIVER/pull/2

     

    Works fine on my Flex 3-1480 here.

     

    Some notes regarding v7:

    • Tracking and Scrolling were very slow originally; I increased the speed in Settings and it's now fine
    • The trackpad can detect up to 5 fingers but only reports 2 touch points. This is a limitation the Linux driver has, so no way around that
    • Two finger scrolling is working quite well
    • Fortunately, 3 finger gestures do work fine. 
    • Are there any 4 finger gestures implemented in dispatchEventsWithInfo? I didn't see any when I was doing 4 finger swipes here....
    • I have a "clickpad" where the entire trackpad is a button, and the "right click" is really just an area of the pad... so right physical click doesn't work (left click only, although 2 finger tap works)
    • There isn't any thumb rejection implemented yet, so this is something that will need to be done for the clickpad...

    It does work mostly well, however, and the issues aren't too major and are fixable.

     

    That was faster than I though. You are awesome :D

     

    1- I'll fix the speed issue

    2- The OS X part of the driver can only handle 2 touch points, so no problem.

    3- 4-finger gestures work the same way as 3-finger, but they are not assigned to actions by default. Look at first post.

    4- Setting an area for a right click would just add unneeded complexity. Leave it out for now.

    5- I don't know what thumb rejection is :/ 

     

    ALPS V7 test:

    - Merged V7 code by coolstarorg

    - Multiply speed by 1.5

     

    My next step would be merge/clean up the byte_processing/interrupt handling.. I already did some work on that but have yet to commit changes.

    ALPS V7 test.zip

  10. Update some finding:

     

     

    1. When system boots,  the touchpad click works fine at the login screen, but stops working after logging. I need to open trackpad panel and close it so touchpad  click will start working again. Is there anything I can do to fix this? 

    -->As post #326 said, use Dr. Hurt's app to solve this.

     

    2. Some keys of keyboard not working like command, option so I can't use the shortcut keys.

    -->change "Use ISO layout keyboard" in info.plist to "false"

     

    3. Is any variable in the info.plist I can change its value to reduce side scrolling speed so it won't be too fast?

    -->no finding yet

     

    4. How can I know the version of my ALPS touchpad?

    -->Still don't know what version it is but it's not that important now.

     

    3- increase vscrolldivisor 

     

    4- boot in verbose and look for ALPS messages

  11. I have a V7 (on my dell e5450) and i can code with c++. can you give some documentation (or some articles, blog posts or anything like that) that help me port the kext.

    Sorry for my bad english

     

    Official Documentation:

    https://www.kernel.org/doc/Documentation/input/alps.txt

     

    Source:

    Mac: https://github.com/DrHurt/OS-X-ALPS-DRIVER/tree/Release-5/Release%205/VoodooPS2Trackpad

    Linux: https://github.com/torvalds/linux/blob/aeaa881f9b17823028b464893b89c42db797b717/drivers/input/mouse/alps.c

     

    My summary:

    - My code already has almost everything ready. Use V1-V5 as examples and copy V7 from Linux).You'll only need to edit alps.c and alps.h

     

    How the driver works:

     

    Identify --> setDefaults --> hwInitV3,4,5,7 --> Decode --> Process --> Dispatch

     

    Identify: matches E7 and EC and decides which protocol to use

    setDefaults: based on the decided protocol, it sets which init, decode, process to use

    hwInit: powers on the hw. Touchpad starts sending data when touched.

    Decode: converts the raw packet into x, y, pressure, fingers,... (integers)

    Process: decides if packet is trackstick or touchpad and sends it to the corresponding function. processes the decoded data and dispatches (send) it.

    Dispatch: dispatchEventsWithInfo(f.mt[0].x, f.mt[0].y, f.pressure, fingers, buttons); <-  Nothing for us after that

     

    You also must copy packet filtering from process_byte in Linux to Interruptoccured in Mac.

     

    You might need to port other V7 specific function for it work properly.

    V7 is much more advanced that V1-V5. Its a true multitouch device.

     

    Good Luck :)

    • Like 1
  12. Fn+f4 and fn5 are the same increasing brightness. Can you help me fix it? Thank you very much!

     

    That's a problem with the base PS2 driver.

    Apple has changed something and to this day,Rehabman is unable to fix it. (lack of documentation from Apple).

     

    On Sierra 10.12.1 and V3 inertia is little choppy in last phase of scrolling. Same kext (R5) on 10.11.6 is super smooth. Apple changed something?

     

    Known problem in Sierra, even on real Macs using 3rd party mouse.

    Device with a mouse wheel (ALPS touchpad scroll acts as a mouse wheel) is jittery especially on apps that have line-by-line scroll.

    • Like 1
  13. In compliance with the Apple Public Source Licenseand in respecting the great developers who worked on this before me, the source code for Release 5 has been pushed to my github page.

     

    Release 5 is now *very* similar to Linux 4.7 in terms of how the driver is coded and works.

    In fact, anyone with newer hardware (eg. V7) and moderate knowledge of C++ would be able to port the needed code from Linux to Release 5 in a few hours. (Instead of days with the older driver).

     

    Happy hacking, everyone :)

     

    Release 5 final:

    - Fix minor bug with newer Dolphin hardware

    - Reduce pressure threshold (FingerZ) to 1. 

    - Add generic PS2 mouse driver for V6, V7, V8 users.

    Release 5.zip

    • Like 1
  14. Release 5 RC3:

     

    - Fix trackstick buttons/scroll

    - 3-finger gestures work by default (no need to assign)

    - Disabled side/bottom scrolling by default

     

    By default, 3-finger gestures are as follows:

    UP: mission control

    DOWN: show desktop

    RIGHT/LEFT: switch workspaces

     

    If the only gesture that works is DOWN, you need to swap command and control buttons in system preferences (keyboard > modifier keys)

    Release 5 RC3.zip

  15. Sensitivity issue with Dolphin is a known issue with the patch I applied (according to the author of the patch).

     

    Trackstick working well is an achievement because its now using much cleaner code straight from Linux.

     

    Release 5 RC2:

    - Fixed potential problem with Rushmore init

    - Removed Trackstick inertia

    - Increase dolphin sensitivity to pressure (test sensitivity and side scrolling)

    - Make gestures more responsive

     

     

    Release 5 RC2.zip

  16. Thanks for reporting :)

     

    Does trackstick move poiner correctly at least?

     

    Set both h/v to 0 (ZERO) to disable both scrolling edges and see if that fixes things again!!!

     

    Setting h/v scroll divisor to 1 will make scroll extremely fast...

     

    It should be set to 13+ to have reasonable speed.

     

    I'm suspecting that your touchpad has a different resolution.

  17. Here are the console-values from Dolphin a6:

     

    Alps: fingers=2,bitmap=2        

             fingers=3,bitmap=3

             fingers=4,bitmap=4

     

    That's great. Multitouch is working properly then.

     

    Try this and tell me if it works properly (hope I didn't forget anything).

    Try edge scrolling too. Should work now with V5.

     

    Here's Release 5 RC1:

    - Added Dolphin V2 as a separate profile

    - Added inertia to trackstick (not sure if it'll work)

    - Made 2-finger scrolling much smoother

    - More cleanups 

    Release 5 RC1.zip

  18. Awesome news!!!

    I'll be integrating Dolphin V2 in the next Release 5 beta so that you can benefit from all the improvements.

     

    Console is an application in the utilities folder (just like terminal).

     

    Open console, and start touching the pad and you'll see ALPS messages appearing.

  19. Dr Hurt,

    Is  the last Release compatible with 10.11.3 (this version of os gives me best user experience)? Does release 4 work with 10.11.3?

     

    I haven't tested but it's compiled to target 10.6-10.12 so, theoretically, it should work fine. 

    10.11 also doesn't have the preference and Fn keys problem of sierra.

  20. Dr Hurt,

     

    what settings are responsible for 1st phase of scrolling? Sometimes its super smooth and sometimes choppy without inertia. 10.11.6 with rushmore v3

     

    There is no such setting. Keep in mind that V3 is a semi multitouch device so it'll never be perfect with gestures, inertia,...

    (side scrolling with inertia works much better than 2-fingers).

     

    That aside, I'll add a hack to smoothen up 2-finger scrolling in Release 5 once I get feedback about the last Release 5 beta.

  21. The sandbox violations are not caused by the driver. I have them too.

     

    The kernel panic is casued by the incorrect values obtained by the GET AREA function which causes the bitmap function to crash (that's what I think at least).

     

    Dolphin a6:

    - Hardcoded the touchpad area and disabled the GET AREA function.

     

    Forget about dmesg this time. Open the console app and see the ALPS messages that appear when you touch the pad with 2,, 3, 4 fingers.

    Dolphin a6.zip

×
×
  • Create New...