Jump to content

Dr. Hurt

Members
  • Posts

    212
  • Joined

  • Last visited

  • Days Won

    21

Everything 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
  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
  3. 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
  4. Boot with the kext, and check the E7 and EC ids. Those are whats used to match the device.
  5. 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. After boot, open terminal and type: sudo dmesg Search for ALPS (version and loaded messages, if found) Search for ALPS messages
  7. 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. Use ALPS V7 test.zip from post 331... Remove any installed kext, put this one in Clover.
  9. Upcoming Release: - macOS Sierra prefpane (kinda) works - CapsLock works but reversed - Much smoother scroll on Sierra I'm incredibly happy now...
  10. Release 5.1 beta 1: - Overhauled interrupt handler (for all models including V7). - Includes the same V7 code from the previous build. Test TouchPad after sleep (all versions). Hopefully it won't break again!! Again, all credits for the V7 port goes to coolstarorg Release 5.1 beta 1.zip
  11. That was faster than I though. You are awesome 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
  12. 3- increase vscrolldivisor 4- boot in verbose and look for ALPS messages
  13. 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
  14. 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). 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.
  15. In compliance with the Apple Public Source License, and 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
  16. 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
  17. Guys, Try the following: 1- In the trackpad plist, raise the zlimit to 255 If it still doesn't work: 2- Set the v/hscrolldivisor to 0 to disable side/bottom scroll.
  18. 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
  19. 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.
  20. 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
  21. 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.
  22. 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.
  23. 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.
  24. 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...