Hi guys,
Patched the apple driver so it now supports the ALPS touchpad that many people reported issues with tapping not working (The one with the outcommented device ID in the ApplePS2ALPSGlidepoint.cpp
*update #1*
Updated information at
http://forum.osx86project.org/index.php?showtopic=5419&st=0# (post #5)
*update #2*
There is a version compiled for 10.4.1 a few posts down.
*update #3*
Edgescrolling is *NOT* working (..the way it's supposed too). Working on a fix when time permits.
*update #4*
Just skip this and scroll to the last page, thread still small enuf for that
suleiman
Dec 5 2005, 07:42 PM
uhmm....this could be sweet. Going to try it out and will write a guide if it works!
suleiman
Dec 5 2005, 08:06 PM
omg it works! Tapping is so hard to get used to again after a long time without it!
But it is sweet
The only thing I wanna see now is the chance to get scrolling setup over here. Then my mouse is as functional as it is in windows. But great effort...this is sweeeeeeeeet

edit: on second glance here it seems that the tapping is inconsistent at times. Somtimes it picks up the tap and sometimes it doesn't. I also don't get any tapping features in the Mouse/Keyboard settings in System Panel.
But still cool.
Glad it works! =)
I'm going to try to make it a bit more solid, and hopefully add support for scrolling aswell. I'm looking into the configuration issue, What are you suppose to be able to configure?
-------------
Edit.
Hm, If you mean that the properties for "trackpad" doesn't do anything. I'm aware. Just fixed so you can disable tapping if you want that, also looking into how to disable the unsupported options.
* Havn't been able to reproduce the tapping problems tho, can you tell me more how to reproduce that?
Cheers
/Johan
PS. This is compiled on 8f1099, anyone wants it for 10.4.1 or something, send me a mess and i'll send the source.. (It'll be public once I clean it up a bit more, kinda fugly right now)
Ok. I have a new version ready:
Major Features:
*) Enable or disable tapping from normal trackpad system configuration
*) "Edgescrolling" (You enable/Disable this using the "Dragging" box.
"tap" - Dragging can only be disabled by disabling tapping..
Minor features:
* Bugs fixed, debug output removed.
It's not a bug, it's a feature
(Or is it?)
* DragLock does not work.. I have no idea how this is supposed to work.. someone tell me and i'll fix it
* You can't set sensitivity on the edgescrolling, I used some values that was good for me.
*The speed of the mouse is really fast when you unload/reload the kext, if you however change the slider in the preferences, you can set the speed better. I have no idea why this happens, anyone know?
Installation
download the tar.gz, extract it with stuffit or similar.
in a terminal, go to the directory where you extracted it.
# sudo ./install.sh
it will autoload and start working directly (and after reboot ofcaurse)
Cheers guys, feedback is always welcome
/Johan Björk
suleiman
Dec 8 2005, 02:22 PM
quick question phb, i'm using the old version on 10.4.1 and it was working fine with the tapping, which didn't work for me bofore. But are you saying this is only for 10.4.3?
QUOTE(suleiman @ Dec 8 2005, 03:25 PM)

quick question phb, i'm using the old version on 10.4.1 and it was working fine with the tapping, which didn't work for me bofore. But are you saying this is only for 10.4.3?
I think I was saying I compiled it on 10.4.3 .
I did so on the old version aswell, so if it worked for you then, it should work for you now also.
Goodluck
/Johan
radishs
Dec 8 2005, 07:49 PM
I installed on 10.4.1 ,tapping work perfctly, GREAT JOB!
But, in system configuration keyboard mouse ,there is no trackpad option
and the Edgescrolling is not work...
suleiman
Dec 8 2005, 10:50 PM
hmmmm yeah, this is making sense to me, because when i boot with the -v option, it actually says that the kext had a link load error in the trackpad plugin. But tapping works! So i'm happy for now, and I'll try this out later when i upgrade to 10.4.3 as soon as wireless works on it.

Thanks again Johan!
Please post the exact output you get in the terminal about loading error.
I'd like to see this working fully for 10.4.1 users aswell!
radishs
Dec 9 2005, 04:35 PM
got Output below:
$sudo kextload -t /System/Library/Extensions/ApplePS2Controller.kext/Contents/PlugIns/ApplePS2Trackpad.kext
kextload: extension /System/Library/Extensions/ApplePS2Controller.kext/Contents/PlugIns/ApplePS2Trackpad.kext appears to be valid
22ApplePS2ALPSGlidePoint is not compatible with its superclass, 12IOHIPointing superclass changed?
suleiman
Dec 9 2005, 08:54 PM
here's the error i get johan:
user-578ad1:/system/library/extensions suleiman$ sudo kextload appleps2controller.kext/contents/plugins/appleps2trackpad.kext
Password:
22ApplePS2ALPSGlidePoint is not compatible with its superclass, 12IOHIPointing superclass changed?
kextload: a link/load error occured for kernel extension appleps2controller.kext/contents/plugins/appleps2trackpad.kext
load failed for extension appleps2controller.kext/contents/plugins/appleps2trackpad.kext
(run kextload with -t for diagnostic output)
phb
Dec 10 2005, 10:21 AM
It's definatly a issue with it being compiled on 10.4.3 .
I'm attaching the source, if someone can compile it on 10.4.1 and post the binary here i'd be great
Simply open it up in XCode, compile it, then package it from a terminal,
# ./build/Deployment/
# tar -cvf ../release-10.4.1.tar *
# gzip ../release-10.4.1.tar
and post the gzipped file here
Cheers
/Johan
It's definatly a issue with it being compiled on 10.4.3 .
I'm attaching the source, if someone can compile it on 10.4.1 and post the binary here i'd be great
Simply open it up in XCode, compile it, then package it from a terminal,
# ./build/Deployment/
# tar -cvf ../release-10.4.1.tar *
# gzip ../release-10.4.1.tar
and post the gzipped file here
Cheers
/Johan
It's definatly a issue with it being compiled on 10.4.3 .
I'm attaching the source, if someone can compile it on 10.4.1 and post the binary here i'd be great
Simply open it up in XCode, compile it, then package it from a terminal,
# ./build/Deployment/
# tar -cvf ../release-10.4.1.tar *
# gzip ../release-10.4.1.tar
and post the gzipped file here
Cheers
/Johan
radishs
Dec 10 2005, 01:06 PM
here is the file.
phb
Dec 10 2005, 03:50 PM
QUOTE(radishs @ Dec 10 2005, 02:09 PM)

here is the file.
uhm.. did you try it? =)
I mean.. does it show up in configuration settings now?
(Don't have 10.4.1 , so I can't try it)
/Johan
radishs
Dec 10 2005, 04:06 PM
No,still not appear in configuration panel.
Tapping is working, kextload message also just the same.
radishs
Dec 10 2005, 04:17 PM
Durning build,got 2 warnings:
ApplePS2ALPSGlidePoint.cpp:187: control may reach end of non-void function 'static void (* OSMetaClassBase::_ptmf2ptf(const OSMetaClassBase*, void (OSMetaClassBase::*)()))()' being inlined
ApplePS2SynapticsTouchPad.cpp:201: control may reach end of non-void function 'static void (* OSMetaClassBase::_ptmf2ptf(const OSMetaClassBase*, void (OSMetaClassBase::*)()))()' being inlined
radishs
Dec 10 2005, 04:45 PM
SUCCESSED!
When I clean old buld then build twice,warning is gone,new build work!
Only Edgescrolling option is not appear.
THX phb 's Great work!
phb
Dec 11 2005, 12:09 AM
Hi,
as *book's doesn't use "edge" scrolling but two-finger-scrolling, and I don't know how to get custom options in the preference panel, I set edge scrolling as "Dragging".
so:
activate the "Dragging" option in the panel, and you're (supposed to

) get edge scrolling
Thanks alot for compiling it for 10.4.1!
/Johan
psykr
Dec 11 2005, 11:47 PM
Would you mind re-editing the first post so there's a listing of which files are for what versions of OS X, and what versions of the kext they are?
KanadaKid
Dec 16 2005, 02:04 AM
Is it possible to build this with edge scrolling, but without tapping? I have a synaptic touchpad, and this works great for me. But it's not showing up in the system preferences as a touchpad, so I can't turn off tapping.
Since I have xcode, the advantage of the only copy of the os anyone has being for dev's, I could build it myself if I had instructions.
So if someone could tell me how to disable it myself, I'd give my own build a shot.
Thanks
docangle
Dec 16 2005, 02:33 AM
This driver is really for ALPS, you are actually just running the straight PS2 Mouse driver and not the PS2 Trackpad Kext, as such you are using the Synaptic Trackpad in default mode with all features enabled, ie. Touch Buttons and Edge Scrolling. I myself like all the features enabled, so I removed the ps2trackpad.kext from the Plugins folder for ps2 kext. The downside is that you have to adjust the 'Mouse settings' which will affect all buetooth and usb mice as well, and you will not have independent controls.
KanadaKid
Dec 16 2005, 04:34 AM
So you're saying that it's the default ps2 mouse driver that's enabled edgemotion? Hmm... learn something new everyday. Thanks for the info, I'll probably put the default trackpad kext back then, or mess with it to try to enable edgemotion.
phb
Dec 16 2005, 12:11 PM
as docangle said, this driver is only for ALPS pads. Acctually, my only intention when I wrote it was to get support for the device id that was commented out in the APPLE ALPS driver.
/Johan
suleiman
Dec 17 2005, 12:59 AM
phb, I just got a break for the weekend and thought I'd try the 10.4.1 version of this wonderful little kext you've put together for us. It works! I get much more accurate tapping now, and I should now be able to bring my battered left mouse button some relief!
As a side note, edge scrolling sadly does not work, but I'm still very happy with what I have!
Edit: okay, I figured out how to get edge scrolling to work. You need to tap on the far right-hand side of the touchpad. Unfortunately this is not as robust as having a half-inch section of the touchpad reserved specifically for scrolling, and works only on occassion. But it's cool to have it at all of course
phb
Dec 17 2005, 03:00 PM
Please explain how edgescrolling is to work. I really didn't have a clue when implementing it how it was to work (as I don't use it myself)
and i'll implement it.
Cheers
/Johan
keys88
Dec 18 2005, 12:17 AM
Well, imagine a line on the right side of the touchpad vertically and another on the bottom horizontally. When you hold your finger and drag either up/down for the right or right/left for the bottom, the pages scroll.
It's pretty intutive.
suleiman
Dec 18 2005, 02:01 AM
It's a dedicated space on the side of the touchpad where you can scroll up and down or side to side. If you need an example go here:
http://www.laptopcloseout.com/usa/media/pre3000-10.jpg
phb
Dec 18 2005, 08:09 AM
Ah, yes, that I know

I was more thinking if like
1) are you able to normal move the cursor there if you like, started the movement outside that area?
2) Is every event that *started* in that area to account as scrolling (even when you move outside that area)
2.

If it's not to continue when you move outside, then what happens?
3) As I did it now using 'double-tap' is wrong.. I think i can figure that out from your comments ;D
*edit*
Do you guys want seperate options for horiz/vert scrolling? Should only one(two) sides of the pad be used, or all sides?
*/edit*
/Johan
keys88
Dec 18 2005, 03:06 PM
1) No - you actually have to tap down in the area.
2) No - scrolling only works in that area. When you move out, the mouse just functions normally. If you move out and move back in, scrolling doesn't work; 1) still applies.
3) Right.
I prefer to just have it on the right and bottom.
Another great feature is that tap can be turned off during typing.
suleiman
Dec 18 2005, 09:04 PM
i'm going to second everything keys88 pointed out, including the options to have tapping turned off during typing (if possible) and dedicated area in the right hand side for vertical scrolling and the bottom for horizontal scrolling.
It would also be nice to have the horizontal scrolling on the bottom optional.
Good luck implementing all this phb, you seem like whiz with the mouse driver work, and thanks again for all your hard work!
phb
Dec 19 2005, 11:37 AM
Most of the stuff will be easy, There is a opensource Apple driver that implements the "no tapping when typing" stuff.
What will be hard to do is the dynamic configuration. I have no idea how that works. I might try implement options inside the .plist, so you'll have to edit it by hand/restart driver to change values.
suleiman
Dec 20 2005, 05:19 AM
phb, I can at least speak for myself when I say I won't have any problem manually editing the plist file if you manage to put the options in there. I'm sure most of the users on this forum, if they've managed to get OS X on their machines, wouldn't have a difficult time doing that either.
mcdull
Dec 28 2005, 07:24 AM
It would be nicer to have a "2 fingers" scrolling feature.
It means that when two fingers are detected on the touchpad it will start either vertical or horizontal scrolling. Regardless of where your figers are.
There is application "iScroll2" that do this job but it requite Apple Trackpad driver which seem not compatible with what we had.
mcdull
Dec 28 2005, 08:10 AM
BTW, I can't get the Edgescrolling working.. Is that my touchpad too small? I suppose it is enabled by checking the Dragging Box, is that correct?
Thanks
phb
Dec 28 2005, 09:13 AM
Wait for the new release. the edgescrolling is a bit f***ed up.

*ahrm* (read previous posts..)
Urbz
Dec 29 2005, 02:42 AM
hey phb, great work on the driver, i use mac more now when my laptop's on my lap!
just one question, when will the next release be out?
also, i would like a feature from real ibooks and powerbooks to be incorporated; on these computers, if you move accross the trachpad slowly, the mouse moves slowly, but if you move quickly, so does the cursor. This enables both accuracy and speed at the same time. I would love for this feature to be carried on into your great driver!
phb
Dec 29 2005, 09:33 AM
Next release.. ugh, once I get my ass in motion and starts working on it ;P
Two finger scrolling will never be supported, that's a hardware feature.
No idea how to implement the slow->slow fast->fast stuff.Are you talking about normal mouse-acceleration?
Cheers
/Johan
suleiman
Dec 29 2005, 01:41 PM
phb, thanks for all your efforts on this man, it's really great.
As a side note, are you sure two-finger scrolling is a hardware feature? I thought there was software out there (FFScroll) that enabled 2 finger scrolling on ANY Apple laptop touchpad?
Thanks again, and happy holidays.
Urbz
Dec 29 2005, 04:21 PM
yeah suleiman, i heard about that too.
Oh and phb, that's what i meant: accelerations. No that it really matters, if all you added was the scrolling on the sides, i'd be happy.
oh wait...one last thing. Would it be possible to implement back and front movements, like in a web-browser? That way you don't have to scroll all the way to the back button to go back. I have this feature in windows and i love it! I don't know if it depends on the browser...does anyone know?
phb
Dec 29 2005, 10:42 PM
QUOTE(suleiman @ Dec 29 2005, 02:44 PM)

phb, thanks for all your efforts on this man, it's really great.
As a side note, are you sure two-finger scrolling is a hardware feature? I thought there was software out there (FFScroll) that enabled 2 finger scrolling on ANY Apple laptop touchpad?
Thanks again, and happy holidays.
and this you tell me NOW?!!

wtf ;P
I will definatly look into if it's possible to jack into their backend => Get all their feats =)
/Johan
suleiman
Dec 30 2005, 02:49 AM
lol..well I'm still not one hundred percent sure about it, but I think that's what it does. Let me know if you have any luck, FFScroll is Open Source as far as I know, but it hasn't been compiled working for x86 yet.
Urbz
Jan 4 2006, 05:31 PM
hey phb, status report?
I'm a lazy fart and i'm studying for school (re)exams
(hint) bitching to me on irc is definatly the best way to get me working ;P
...or get me an espresso, that tends to get me coding
suleiman
Jan 5 2006, 11:08 PM
phb, while we've got you around you've gotta tell me why this won't install on 10.4.3 for me! I've tried running the script and putting your file in the PlugIns directory in ApplePS2Controller.kext, then setting the right permissions for the kext and loading it, but nothing seems to be working man!
It's frustrating because I had it working fine in 10.4.1, but for whatever reason it's refusing to work now. No matter what method I use, the error that I always get is "ApplePS2Trackpad is not a directory" whenever the kext tries to load.
Any clues what's going on?
EDIT: Nevermind, somehow miraculously it just decided to work.

I'm still looking forward to the next release though!
phb
Jan 21 2006, 12:39 AM
Hey guys
a short status update:
* I've managed to combine FFScroll and ALPS, and it works really good!
* However, I havn't been able to get the Driver <-> Preference pane working well.
I'm really a newbie in Obj-c and cocoa/prefpanes. Trying to learn the basics of that stuff now, however, if someone feel they are able to help me in these areas, please let me know!
/Johan
**Edit*
ohyeah, before you guys ask me to release the FFScroll variant without the config support, it's pretty unusable, as the driver has WAAY to low settings for "Scroll", so by barly touching the touchpad, it goes into scroll mode.
**/Edit**
suleiman
Jan 21 2006, 01:06 AM
that's sweeet news phb...I can't wait for the scrolling implementation to be complete =D
phb
Jan 21 2006, 08:51 AM
It's pretty sweet. Seems most of the preference pane issues acctually is FFScroll "bugs" (or missing features). I'm having a rather random kernel crash when doing twofinger scroll tho (yep, it's working and it's sweet!).
As the FFScroll code is the most horrid thing on earth (well, maybe not. but .. well

), it's not that easy to track it down

Hopefully i'll get a release out before sunday, i'm going skiing then, and won't have internet.
suleiman
Jan 21 2006, 09:31 AM
cool cool, I just figured out how to get QE and CI working through my S-Video adapter today too...so if we can get this ALPS trackpad working with 2 finger scrolling then my mactel is a 99% compatible (don't have working ethernet...but I don't use it) machine
All I gotta say is go osx86project :-D
Urbz
Jan 25 2006, 09:45 PM
alright phb!!!
WOOT!!!
come on man, WORK! YEAH!! WOOHOO!!!
so? any progress? You almost done?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.