Page 11 of 39 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 385

Thread: new xf86-input for macbooks and other multitouch-touchpads.

  1. #101
    Join Date
    May 2008
    Beans
    745

    Re: new xf86-input for macbooks and other multitouch-touchpads.

    Thank you for the thorough answers!

    Quote Originally Posted by finy View Post
    the important part is, that the cursor does not move if you click with a finger, but does move if you slide your finger away.
    I looked at this a bit; subtle and quite tricky. Solvable, but don't hold your breath.

    Meanwhile, I have uploaded some bug fixes to git master. Here is the list since v1.0-alpha2:

    Henrik Rydberg (10):
    janitor: Use more common row/column names
    Reset accumulated movement at finger configuration change
    Unify detection of finger configuration changes
    Reset scroll state on finger configuration change
    Correctly report zero fingers
    Do not reuse tracking ids after a no-touch event
    Make all movement computations work on pointing subset
    Filter non-zero finger width events
    Hold MT data during pure button events
    Only emit multi-finger button events for real button events

    Cheers!

  2. #102
    Join Date
    Mar 2008
    Location
    Montreal
    Beans
    52
    Distro
    Ubuntu Development Release

    Re: new xf86-input for macbooks and other multitouch-touchpads.

    Hey guys,

    I'm having trouble installing this driver.

    - I have the bcm5974-dkms package from the mactel repo
    - I got the source by doing: git clone http://bitmath.org/git/multitouch.git
    - I installed xserver-xorg-dev and then did make, make install from the multitouch directory
    - I pasted the "InputClass" section from this thread into my xorg.conf

    When I reboot the computer I get an error that my xorg.conf is not parseable because InputClass and MatchIsTouchpad are not valid keywords... if I remove the line, it parses properly but the multitouch driver isn't loaded, it seems to ignore the InputClass section.

    My PC is a MacBook Pro 5,5 and I'm running Lucid beta 2 (with updates as of tonight).

    Any advice?
    Last edited by Taoye; April 19th, 2010 at 04:20 AM.

  3. #103
    Join Date
    Feb 2006
    Location
    Viña del mar, Chile
    Beans
    41
    Distro
    Ubuntu 10.04 Lucid Lynx

    Unhappy Sorry!

    Ok, I didn't have time this weekend, I forgot I had to study, do homework, and go to my girlfriend's mother's birthday

    But as soon as I can, I will be doing the video I promised.

    There are things that I think you are not aware, for example, I realized that MacOSX only detects a finger as the one for clicking if it is a thumb. It probably detects the size of the blob… In the video I'll use an application that I found once that let's you see the raw info of the trackpad, if I remember right, it's maximum 11 blobs of different sizes and shapes
    NiñoScript.age = new Number(16); //(>^;^<)
    (Wow, I did that signature when I was 16… I'm 20 now… it's sad to see how I'm slowly getting old u.u)

  4. #104
    Join Date
    May 2008
    Beans
    745

    Re: Sorry!

    Quote Originally Posted by NiñoScript View Post
    There are things that I think you are not aware, for example, I realized that MacOSX only detects a finger as the one for clicking if it is a thumb. It probably detects the size of the blob…
    I interpret this the following way:

    Case A
    ------

    A1. No fingers on the trackpad

    A2. Put the index finger in the middle of the pad

    A3. Press to click

    Doing this, the pointer will still move noticably as the finger gets pressed harder against the surface. Correct?

    Case B
    ------

    B1. No fingers on the trackpad

    B2. Put thumb in the middle of the pad

    B3. Press to click

    Doing the whole sequence, the pointer stays put at the same place. Correct?

    If the interpretation is correct, the problem is not that hard, after all.

  5. #105
    Join Date
    Mar 2008
    Location
    Montreal
    Beans
    52
    Distro
    Ubuntu Development Release

    Re: new xf86-input for macbooks and other multitouch-touchpads.

    OK it seems that moving the InputClass section to the bottom of my xorg.conf got it to load, but it still doesn't work. The module is unloading and I'm seeing a "can't grab device" error. Here's a snippet from my Xorg.0.log:

    Code:
    (II) config/udev: Adding input device bcm5974 (/dev/input/event5)
    (**) bcm5974: Applying InputClass "evdev touchpad catchall"
    (**) bcm5974: Applying InputClass "touchpad catchall"
    (**) bcm5974: Applying InputClass "Multitouch Touchpad"
    (II) LoadModule: "multitouch"
    (II) Loading /usr/lib/xorg/modules/input/multitouch.so
    (II) Module multitouch: vendor="X.Org Foundation"
    	compiled for 1.7.6, module version = 0.1.0
    	Module class: X.Org XInput Driver
    	ABI class: X.Org XInput driver, version 7.0
    (**) bcm5974: always reports core events
    (II) XINPUT: Adding extended input device "bcm5974" (type: TOUCHPAD)
    (II) device control: init
    (**) Option "Device" "/dev/input/event5"
    (II) multitouch: devname: bcm5974
    (II) multitouch: devid: 5ac 236 1
    (II) multitouch: caps: left mtdata ibt touch_major touch_minor width_major width_minor orientation position_x position_y
    (II) multitouch: touch: 0 2048
    (II) multitouch: width: 0 2048
    (II) multitouch: orientation: -16384 16384
    (II) multitouch: position_x: -4460 5166
    (II) multitouch: position_y: -75 6700
    (II) pointer_control
    (**) bcm5974: (accel) keeping acceleration scheme 1
    (**) bcm5974: (accel) acceleration profile 0
    (II) pointer_control
    (**) bcm5974: (accel) acceleration factor: 2.000
    (**) bcm5974: (accel) acceleration threshold: 4
    (II) device control: on
    (EE) multitouch: cannot grab device
    [dix] couldn't enable device 11
    (EE) Couldn't init device "bcm5974"
    (II) UnloadModule: "multitouch"
    (II) config/udev: Adding input device bcm5974 (/dev/input/mouse1)
    (**) bcm5974: Applying InputClass "Multitouch Touchpad"
    (**) bcm5974: always reports core events
    (II) XINPUT: Adding extended input device "bcm5974" (type: TOUCHPAD)
    (II) device control: init
    (**) Option "Device" "/dev/input/mouse1"
    (EE) multitouch: cannot configure device
    (EE) Couldn't init device "bcm5974"
    (II) UnloadModule: "multitouch"
    I still have the synaptics section in my xorg.conf. Should it be there? Can someone show me their working xorg.conf? I've also tried blacklisting usbhid and then adding bcm5974 and usbhid into /etc/modules without effect.

  6. #106
    Join Date
    May 2008
    Beans
    745

    Re: new xf86-input for macbooks and other multitouch-touchpads.

    Hi Taoye,

    thanks for providing the log output. It seems the multitouch driver fails to grab the device, suggesting some other device grabbed it first. Since you say you already have synaptics loaded, that is most likely the problem. Simply remove the synaptics section and you might be ok.

  7. #107
    Join Date
    Mar 2008
    Location
    Montreal
    Beans
    52
    Distro
    Ubuntu Development Release

    Re: new xf86-input for macbooks and other multitouch-touchpads.

    Hey, thanks for the reply, I also tried that. When I boot without the synaptics section I see the following slightly different output in Xorg.0.log:

    Code:
    (II) config/udev: Adding input device bcm5974 (/dev/input/event6)
    (**) bcm5974: Applying InputClass "evdev touchpad catchall"
    (**) bcm5974: Applying InputClass "touchpad catchall"
    (**) bcm5974: Applying InputClass "Multitouch Touchpad"
    (II) LoadModule: "multitouch"
    (II) Loading /usr/lib/xorg/modules/input/multitouch.so
    (II) Module multitouch: vendor="X.Org Foundation"
    	compiled for 1.7.6, module version = 0.1.0
    	Module class: X.Org XInput Driver
    	ABI class: X.Org XInput driver, version 7.0
    (**) bcm5974: always reports core events
    (II) XINPUT: Adding extended input device "bcm5974" (type: TOUCHPAD)
    (II) device control: init
    (**) Option "Device" "/dev/input/event6"
    (II) multitouch: devname: bcm5974
    (II) multitouch: devid: 5ac 236 1
    (II) multitouch: caps: left mtdata ibt touch_major touch_minor width_major width_minor orientation position_x position_y
    (II) multitouch: touch: 0 2048
    (II) multitouch: width: 0 2048
    (II) multitouch: orientation: -16384 16384
    (II) multitouch: position_x: -4460 5166
    (II) multitouch: position_y: -75 6700
    (II) pointer_control
    (**) bcm5974: (accel) keeping acceleration scheme 1
    (**) bcm5974: (accel) acceleration profile 0
    (II) pointer_control
    (**) bcm5974: (accel) acceleration factor: 2.000
    (**) bcm5974: (accel) acceleration threshold: 4
    (II) device control: on
    (II) pointer_property
    (II) pointer_property
    (II) config/udev: Adding input device bcm5974 (/dev/input/mouse1)
    (**) bcm5974: Applying InputClass "Multitouch Touchpad"
    (**) bcm5974: always reports core events
    (II) XINPUT: Adding extended input device "bcm5974" (type: TOUCHPAD)
    (II) device control: init
    (**) Option "Device" "/dev/input/mouse1"
    (EE) multitouch: cannot configure device
    (EE) Couldn't init device "bcm5974"
    (II) UnloadModule: "multitouch"
    Doing it this way, I still have keyboard and touchpad working but only basic functionality. It seems to succeed at grabbing the event device but it fails after the mouse1 part.

  8. #108
    Join Date
    May 2008
    Beans
    745

    Re: new xf86-input for macbooks and other multitouch-touchpads.

    The device gets loaded twice, once as an event device (correct), and once as a mouse (incorrect):

    Code:
    (II) config/udev: Adding input device bcm5974 (/dev/input/mouse1)
    Since the udev config is all new, I do not know how to remedy this problem (I am running karmic still), but ignoring the mouse should be possible, either at the udev level or xorg level.

  9. #109
    Join Date
    Mar 2008
    Location
    Montreal
    Beans
    52
    Distro
    Ubuntu Development Release

    Re: new xf86-input for macbooks and other multitouch-touchpads.

    OK thanks, I'll see if I can figure that out.

    Has somebody else gotten it working in Lucid? How have you configured it?

  10. #110
    Join Date
    Apr 2010
    Beans
    6

    Re: new xf86-input for macbooks and other multitouch-touchpads.

    hello,

    i installed xserver-xorg-dev, fetched the code from git and installed by make && sudo make install. also, i added the karmic ppa and installed bcm5974-dkms.

    my xorg.conf looks like this:
    Code:
    Section "Screen"
        Identifier    "Default Screen"
        DefaultDepth    24
    EndSection
    
    Section "Module"
        Load    "glx"
    EndSection
    
    Section "Device"
        Identifier    "Default Device"
        Driver    "nvidia"
        Option    "NoLogo"    "True"
    EndSection
    
    Section "InputClass"
        MatchIsTouchpad "true"
        Identifier "Multitouch Touchpad"
        Driver "multitouch"
    EndSection

Page 11 of 39 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
  •