Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Implement two-finger scrolling on some older laptops System
I found a good guide about how to enable two finger scrolling on pre-2005 iBooks and PowerBooks.

It won't work for all PowerBooks and iBooks, but it does include instructions on how to check if it will work for your machine. If you're feeling left out because your model isn't supported, or want a bit more power, be sure to check out SideTrack, which allows much greater control over how the scroll pad is used. The author of that application also has a nice summary of the differences between the older ADB trackpad and the new USB version found in the 2005 PowerBooks.
    •    
  • Currently 2.80 / 5
  You rated: 2 / 5 (5 votes cast)
 
[26,951 views]  

Implement two-finger scrolling on some older laptops | 18 comments | Create New Account
Click here to return to the 'Implement two-finger scrolling on some older laptops' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Implement two-finger scrolling on some older laptops
Authored by: peragrin on Feb 14, '05 03:19:51PM

Follow his instructions carefully. i installed this a few days ago, and haven't had any problems. I haven't fully installed it yet, as I am waiting for the version with control panel. This just means I lose it if i reboot.

I suggest not getting the rotational scrolling, as people are having problems with that. But vertical and horizantal scrolling is very useful.

Note Firefox users:
Firefox interprets horizantal scrolling as forward, backward for webpages. The fix for this is found on slashdot

http://apple.slashdot.org/comments.pl?sid=139139&cid=11648479

in firefox go to about:config (type it in address field)
change mousewheel.horizscroll.withnokey.action to 0
change mousewheel.horizscroll.withnokey.numlines to 1


---
I thought once I was found but it was only a dream



[ Reply to This | # ]
Load it with a StartupItem without having to replace Apple's driver
Authored by: jpbjpbjpbjpb on Feb 15, '05 07:04:03PM
I was uncomfortable having to move Apple's kext to get this to load every boot in case it caused problems with a future update. After a few weird little problems, I have a working StartupItem that will load the modified drivers every boot, without deleting or moving Apple's original driver. These instructions require a working knowledge of using Terminal and CLI editors like vi or emacs.
  1. open Terminal and make a new directory called TwoFingerScrolling.
  2. Use your favorite editor to create a new shell script in the new directory, also called TwoFingerScrolling. Paste the following content into the script:
    #!/bin/sh
    #
    # Load modified Trackpad Driver
    
    . /etc/rc.common
    
    export PATH=$PATH:/sw/bin:/sw/sbin
    
    # Check to make sure we have a patched driver to load, or bad things will happen when we unload
    # the original driver and can't find the patched driver to replace it.
    
    if [ ! -d /Library/StartupItems/TwoFingerScrolling/AppleADBMouse.kext ]; then
            ConsoleMessage "No patched AppleADBMouse.kext found!"
            exit 0
    fi
    
    case "$1" in
            start)
    
                    ConsoleMessage "Loading Two Finger Scrolling"
    # make sure the permissions are correct on it before we load it
                    chown -R root:wheel /Library/StartupItems/TwoFingerScrolling/AppleADBMouse.kext
                    kextunload -b com.apple.driver.AppleADBMouse && kextload /Library/StartupItems/TwoFingerScrolling/AppleADBMouse.kext
            ;;      
            stop)
    
                    ConsoleMessage "Stopping Two Finger Scrolling"
                    /usr/bin/logger "Stopping Two Finger Scrolling"
                    kextunload /Library/StartupItems/TwoFingerScrolling/AppleADBMouse.kext && kextload /System/Library/Extensions/AppleADBMouse.kext
    
            ;;      
    esac
    
    exit 0
    
  3. StartupItems also need a plist file to work. Create a file in the directory you created called StartupParameters.plist and paste the following contents into it:
    {
      Description = "Two Finger Scrolling";
      Provides = ("TwoFingerScrolling");
      Requires = ("Network");
      OrderPreference = "Last";
      Messages =
      {
        start = "Starting Two Finger Scrolling";
        stop = "Stopping Two Finger Scrolling";
        restart = "Restarting Two Finger Scrolling";
      };
    }
    
  4. chown +rx TwoFingerScrolling/TwoFingerScrolling We have to mark the script as executable, or it won't work.
  5. Copy the AppleADBMouse.kext you downloaded from Daniel's site into the TwoFingerScrolling directory.
  6. sudo chown -R root:wheel ./AppleADBMouse.kext Do NOT move this into /Library/StartupItems yet! We want to make sure it is working and you have all your permissions correct before trying to boot with the new StartupItem, or it will kernel panic your system every time you boot. To test it, close all your applications except Terminal, then, in Terminal, cd into the TwoFingerScrolling directory you've been working in and do sudo ./TwoFingerScrolling start If you have done everything right, you should now be able to do two finger scrolling. If you haven't, your computer just crashed on you, and you should be very glad you didn't set it up to load the broken StartupItem every boot.
Presuming it worked, you can now install it as a boot item.
  1. In Terminal, type ls /Library/StartupItems. If it tells you there is no such file or directory, do sudo mkdir /Library/StartupItems
  2. cd to the directory containing the TwoFingerScrolling directory you made and filled in the previous set of instructions.
  3. type sudo mv TwoFingerScrolling /Library/StartupItems/TwoFingerScrolling
  4. Finally, we have to get LoginWindow to wait for the new kext to load, or you're going to have a kernel panic if you touch the trackpad as the switchout takes place. To do this, edit /System/Library/StartupItems/LoginWindow/StartupParameters.plist and change the line Requires = ("Disks", "SecurityServer"); to Requires = ("Disks", "SecurityServer", "TwoFingerScrolling");
Your system is now set up to automatically load the new driver.

[ Reply to This | # ]
Implement two-finger scrolling on some older laptops
Authored by: jbouklas on Feb 14, '05 06:13:21PM

I think this was a pick of the week quite a while ago. When the new Powerbooks came out, I did a search on MacOSXHints and found it.

-James



[ Reply to This | # ]
Implement two-finger scrolling on some older laptops
Authored by: peragrin on Feb 14, '05 06:42:41PM

Considering that This new driver only came out on feb 7th, and was posted to slashdot on the 11th.

This is a replacement driver for w- enhanced trackpads. It gives you scrolling functions with a new driver.

---
I thought once I was found but it was only a dream



[ Reply to This | # ]
Implement two-finger scrolling on some older laptops
Authored by: jbouklas on Feb 14, '05 10:14:47PM

Side Track has been on this site ever since it was POTW in October 2003. Here's the link: http://www.macosxhints.com/article.php?story=20031008051512365

-James



[ Reply to This | # ]
PB models this works on -- a comment
Authored by: victory on Feb 14, '05 07:29:45PM
I was pleasantly surprised to find that the iScroll2 driver worked fine with my 17" Aluminum PowerBook. Why? Because I own one of the first versions (1GHz) of this model.

NOTE: Included on the iScroll2 page is a link for a short shell script that does a non-invasive check to see if your PB supports the required trackpad hardware. (basically it's looking to see if ioreg -n AppleADBMouseType4 | grep "W Enhanced Trackpad" tests true)

I'm not sure if the author of the modified driver is actively tracking which PowerBooks models include the enhanced trackpad hardware, but here's an excerpt of what this site reveals about my unit:

Name: PowerBook G4 (Aluminum screen=17)
Model: M8793 PowerBook G4 1.0GHz
Bus speed: 166MHz
Screen size: 17 inch
Factory: V7 Please tell us where this machine is manufactured.
URL: Technical specifications by apple-history.com
Production year: 2003
Production week: 16 (April)


[ Reply to This | # ]

The driver supports right clicking, too
Authored by: Apogaion on Feb 14, '05 08:42:35PM

Not mentioned in the hint is that the new driver interprets a mouse click as a right click when combined with two fingers on the trackpad. As of a couple days ago when I downloaded rev 4 of the code, the right click feature worked, but not in exactly the same way for all apps. In most apps, you need to do the following:

  1. click and hold
  2. tap and release two fingers on the pad
  3. release the click
  4. move the mouse to your desired option on the context menu

Note that in Safari if you use this method to right click on a link, then cancel the right click (by clicking outside the context menu), it will follow the link instead.

This sounds complicated, but after a few clicks it happens without thinking about it. It's really quite a nice bonus to the already great scrolling features of the driver, and it's already saving me time as I work.



[ Reply to This | # ]
The driver supports right clicking, too
Authored by: shavenyak on Feb 15, '05 02:58:06AM

Ahh, so that's how you use it. It's a shame that just two-finger-tapping won't pop up the menu.

Incidentally, the driver works on my Christmas present 12" iBook. I've got some friends with an early '04 1GHz 12", I wonder if it'll work on theirs?



[ Reply to This | # ]
Implement two-finger scrolling on some older laptops
Authored by: alajuela on Feb 15, '05 12:45:05AM

No comparison to Sidetrack, which works flawlessly reliably and consistently. All the usual disclaimers; just a satisfied customer.



[ Reply to This | # ]
Implement two-finger scrolling on some older laptops
Authored by: andybru on Feb 15, '05 08:49:21AM

I have been using Sidetrack since it was in beta and it is fantastic! I miss it whenever I am working on a laptop that doesn't have it.



[ Reply to This | # ]
hypersensitive trackpad
Authored by: rgray on Feb 21, '05 09:15:51AM
Me too. I bought a Sidetrack license as soon as it came out....

However, Sidetrack could not save me from what seems to be a hypersensitive trackpad - that is whenever tapping as right-click (or any other tapping option for that matter) was turned on all sorts of false-right-clicks occurred whether The Sidetrack or the Apple driver were installed.

This hack gives me tapping without false signals.

[ Reply to This | # ]

Implement two-finger scrolling on some older laptops
Authored by: ms_t_rie on Feb 15, '05 11:06:56AM

It's working beautifully for me on a 15" Titanium Powerbook. The two finger approach is perfect as far as I'm concerned, I don't like having to pay attention to WHERE on the trackpad I've got my finger(s), just to what happens on the screen. When I had a Windows Notebook with the touchpad scrolling ability, I ended up disabling it due to accidental scrolling all the time, when the scrolling doesn't happen unless two fingers are used, it keeps scrolling accidents down :) And free is good!



[ Reply to This | # ]
Fantastic!
Authored by: sjonke on Feb 15, '05 01:44:21PM

This really rocks. At least the x/y scrolling option does - I tried rotational and couldn't get that to work reliably. I tried Sidetrack but really did not like it at all. The two finger technique of this driver is easy and reliable, not to mention that it's free. The ability to right-click (see other message in this thread) is cool and potentially useful, but it is a bit kludgy/klunky/akward. Scrolling works beautifully, though.

---
--- What?



[ Reply to This | # ]
iScroll on 15" AlBook 1.25GHz, 10.3.7
Authored by: yosithezet on Feb 19, '05 10:14:05AM

At first it wouldn't work. I had installed Sidetrack well over a year ago and though I'd gotten rid of it I guess there were some parts sticking around keeping it from working. I emailed the author, Daniel, who responded right away. He'd asked if I had Sidetrack installed and I said know. He asked for a dump of a command line command but by then I downloaded Sidetrack and installed then uninstalled with no restart in the middle. Then I ran the check command and got that my model would likely work. I installed the temporary version and it is working wonderfully.

It will take some getting used to as I normally just turn my wrist a bit and sort of use the trackpad from the side whereas with this I have to take my hand off the powerbook and come at the trackpad perpendicularly.

I can't seem to get the hang of the wheel part and haven't gotten the right click part going yet. I imagine these are just things I have to get used to.

Anyway, thumbs up from me!



[ Reply to This | # ]
Implement two-finger scrolling on some older laptops
Authored by: whenders0n on Feb 21, '05 01:33:25AM

...now has a GUI installer and can be configured at run-time in the keyboard and mouse pref pane (just like new P'books). Also seems to run better. Sweet...



[ Reply to This | # ]
Implement two-finger scrolling on some older laptops
Authored by: rgray on Mar 01, '05 10:32:56AM
Users should note that iScroll2 is up to 0.11

The prefpane is really maturing.

[ Reply to This | # ]

Implement two-finger scrolling on some older laptops
Authored by: rgray on Mar 06, '05 01:37:07PM

version 0.15



[ Reply to This | # ]
Implement two-finger scrolling on some older laptops
Authored by: rgray on Mar 08, '05 07:03:40AM

v. 0.16



[ Reply to This | # ]