Page 11 of 29 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 287

Thread: [SOLVED] New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

  1. #101
    Join Date
    May 2008
    Beans
    745

    Re: New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Botto,

    the post-install script is detecting the type of computer automatically, and uncomments the correct line accordingly. There was a typo in the post-install script, which prevented this from happening.

    There is a new release (0.52) available at http://web.comhem.se/rydberg/Bits/. It would be greatly appreciated if you could install this one and verify that it works (you can move/remove the file /etc/modprobe.d/bcm5974 first to feel extra confident).
    Last edited by kosumi68; July 7th, 2008 at 09:49 PM.

  2. #102
    Join Date
    Jan 2006
    Beans
    29

    Re: New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Hi Henrik,

    I just installed 0.52 on a MacBook Pro Penryn. I still encountered the same problem Botto had: penryn was commented out instead of macbook air.

    Besides that: excellent work!

  3. #103
    Join Date
    May 2008
    Beans
    745

    Re: New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Great! Yes, there was yet another typo in the post-install script... a new version will be out shortly.

    A few pages back I expressed a hope that someone with a penryn could possibly perform a little experiment to determine the correct dimensions of the penryn trackpad. Are you up for it?

  4. #104
    Join Date
    May 2008
    Beans
    745

    Re: New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Ok, bcm5974-0.53 is out! Any test on the MBP is greatly appreciated.

  5. #105
    Join Date
    Jan 2006
    Beans
    29

    Re: New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Quote Originally Posted by kosumi68 View Post
    A few pages back I expressed a hope that someone with a penryn could possibly perform a little experiment to determine the correct dimensions of the penryn trackpad. Are you up for it?
    Sure. Tell me what to do.

  6. #106
    Join Date
    Jan 2006
    Beans
    29

    Re: New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Quote Originally Posted by firewing1
    For the swiping, a triple finger "swipe" (really just a left/right movement) moves back/forward in Firefox or the file browser. Apple also has a rotate gesture for pictures which is pretty neat.
    Quote Originally Posted by kosumi68 View Post
    Ok - then you only need to enable horizontal scroll in xorg.conf and in your trackpad configuration (System/Preferences/Touchpad)
    Triple finger swipe equates to the back/forward button in Safari. Which is awesome. Any chance getting that to work (in Firefox)?

  7. #107
    Join Date
    Apr 2006
    Beans
    7
    Distro
    Xubuntu 6.06

    Re: New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Hi

    I have a problem with this kernel driver. I've just installed the kernel module, and I have 2 finger scrolling and such (so I imagine that it's working) however 2 finger clicking does not work. Contents of my xorg.conf here:

    Code:
    # xorg.conf (X.Org X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "InputDevice"
    	Identifier	"Generic Keyboard"
    	Driver		"kbd"
    	Option		"XkbRules"	"xorg"
    	Option		"XkbModel"	"pc105"
    	Option		"XkbLayout"	"us"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Configured Mouse"
    	Driver		"mouse"
    	Option		"CorePointer"
    EndSection
    
    Section "Device"
    	Identifier	"Configured Video Device"
    	Driver		"nvidia"
    	Option		"NoLogo"	"True"
    EndSection
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    	Defaultdepth	24
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
      screen "Default Screen"
    	Inputdevice	"Synaptics Touchpad"
    EndSection
    Section "Module"
    	Load		"glx"
    EndSection
    Section "InputDevice"
            Identifier      "Synaptics Touchpad"
            Driver          "synaptics"
            Option          "SendCoreEvents"        "true"
            Option          "Device"                "/dev/input/mice"
            Option          "Protocol"              "auto-dev"
            #Option         "CorePointer"
    
            # exclusive grabbing of device
            Option          "GrabEventDevice"       "1"
    
            # simulate right button
            Option          "MultiFingerButton"     "2"
    
            # not using edge scrolling
            Option          "HorizEdgeScroll"       "0"
            Option          "VertEdgeScroll"        "0"
    
            # use two finger scrolling
            Option          "VertTwoFingerScroll"   "1"
            Option          "HorizTwoFingerScroll"  "1" 
    
            # set to 0 if you don't want horizontal scrolling
            # scroll speed, lower is faster
            Option          "HorizScrollDelta"      "0"
            Option          "VertScrollDelta"       "40"
    
            # minimum pressure motion factor
            Option          "PressureMotionMinZ"    "10"
    
            # touch and untouch thresholds, higher numbers
            # if you like to push hard, change to 30 or 40
            Option          "FingerLow"             "16"
            Option          "FingerHigh"            "80"
            Option          "FingerPress"           "256"
    
            # palm detect
            Option          "PalmDetect"             "0"
            Option          "PalmMinWidth"           "10"
            Option          "PalmMinZ"               "200"  
    
            # borders based on output from synclient
            # controls the edge scrolling
            # turned off by specifing the exact size /henrik
            Option          "LeftEdge"              "0"
            Option          "RightEdge"             "1280"
            Option          "TopEdge"               "0"
            Option          "BottomEdge"            "800"
    
            # speeds, smaller number for a slower mouse
            Option          "MinSpeed"              "0.8"
            # 0.5 is very slow, 1.5 is very fast
            Option          "MaxSpeed"              "1.2"
            # up to 1.5 works ok
            Option          "AccelFactor"           "0.10"
    
            # tap times, change to suit your tapping habits
            Option          "MaxTapMove"            "100"
            Option          "MaxTapTime"            "223"
            Option          "MaxDoubleTapTime"      "200"
            
            # don't change these or two finger tap stops working
            #Option          "TapButton2"            "3"
            #Option          "TapButton3"            "2"
            Option          "TapButton2"             "0"
            Option          "TapButton3"             "0"
    
            # must be commented out or normal tapping wont work
            Option          "TapButton1"             "0"
    
            # not using corner buttons
            Option          "RTCornerButton"         "0"
            Option          "RBCornerButton"         "0"
            Option          "LTCornerButton"         "0"
            Option          "LBCornerButton"         "0"  
    
            # needed for disabled while typing fix  
            Option          "SHMConfig"              "true"
    
    EndSection
    Help with this will be greatly appreciated

    Thank you very much for this lovely kernel driver. Makes my triple boot of OSX/XP/Kubuntu work nicely

    Dustin

  8. #108
    Join Date
    May 2008
    Beans
    745

    Re: New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Thank you eindgebruiker, here is the thing:

    * Tuning - the Penryn touchpad has slightly different dimensions from the MBA. Please turn on debugging in /etc/modprobe.d/bcm5974 by uncommenting the appropriate line, then restart the driver:

    Code:
    sudo rmmod bcm5974; sudo modprobe bcm5974
    Note: your trackpad will freeze after issuing the above command. To reinitialize, do "Ctrl-Alt-F1" to go to a text window, then "Alt-F7" to go back to the X session.

    Now start the following command in a terminal:

    Code:
    tail -f /var/log/debug
    You will see lines showing the current pressure (p), finger width (w), absolute x position (x), absolute y position (y), and number of fingers (n). Now move a finger along the left edge of the trackpad and record the minimal value of x. Repeat along all four edges, and report these values: minimum_x, minimum_y, maximum_x, maximum_y.

    Dont forget to comment out the debug line again, and restart the driver, or your disk will eventually fill up with debug output

    Cheers!

  9. #109
    Join Date
    May 2008
    Beans
    745

    Re: New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Quote Originally Posted by eindgebruiker View Post
    Triple finger swipe equates to the back/forward button in Safari. Which is awesome. Any chance getting that to work (in Firefox)?
    In System->Preferences->Touchpad, one can turn horizontal scroll on, and two- and three-finger scrolling will act as swiping in firefox. Personally I find horizontal scrolling with two fingers annoying, often getting accidental page-flipping when scrolling up or down on a page, so if one could turn off this feature for two fingers, that would be perfect. The problem seems to be that synaptics does not distinguish between two-finger horizontal scroll and three-finger swipe. A small patch in synaptics, possibly?

  10. #110
    Join Date
    May 2008
    Beans
    745

    Re: New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    gu3st,

    in order to get two-finger click working, you need the mactel version of synaptics. I believe you will find information in earlier posts in this thread. Have you tried running the command:

    Code:
    /usr/src/bcm5974-0.53/scripts/bcm5974-diagnostics
    It should tell two things: a) what version of synaptics you have installed, and b) your synaptics settings as a diff to a set of sensible defaults.

Page 11 of 29 FirstFirst ... 91011121321 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •