You are not logged in.

#1 2010-10-23 20:32:51

djthread
Member
Registered: 2010-02-14
Posts: 23

[SOLVED] MacBook Pro (2010, 13") Touchpad Won't Click and Drag

One of the main hurdles I'm having in setting up Arch of my MacBook is this darned touchpad. Pretty much everything about it is working ok except that clicking the base of the touchpad (the button) causes movement to cease. This means I need to double-tap to click and drag -- can't use the button.

I see some discussion about this issue, but I still can't seem to solve it. I just upgraded to the 2.6.36 kernel thinking the bcm5974 driver (that wouldn't compile against 2.6.35) would now be merged in, but it hasn't helped an iota.

I'm now thinking perhaps I just need something more than this in my /etc/X11/xorg.conf.d/10-synaptics.conf

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "3"
        Option "TapButton3" "2"
EndSection

My Xorg.0.log is interesting... What does "bcm5974 Unable to query/initialize Synaptics hardware" mean?

[  3377.360] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event10)
[  3377.361] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev keyboard catchall"
[  3377.361] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Keyboard Defaults"
[  3377.361] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  3377.361] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Device: "/dev/input/event10"
[  3377.413] (--) Apple Inc. Apple Internal Keyboard / Trackpad: Found keys
[  3377.413] (II) Apple Inc. Apple Internal Keyboard / Trackpad: Configuring as keyboard
[  3377.413] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: KEYBOARD)
[  3377.413] (**) Option "xkb_rules" "evdev"
[  3377.413] (**) Option "xkb_model" "evdev"
[  3377.413] (**) Option "xkb_layout" "dvorak"
[  3377.413] (II) config/udev: Adding input device bcm5974 (/dev/input/event1)
[  3377.413] (**) bcm5974: Applying InputClass "evdev touchpad catchall"
[  3377.413] (**) bcm5974: Applying InputClass "touchpad catchall"
[  3377.413] (II) LoadModule: "synaptics"
[  3377.413] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[  3377.413] (II) Module synaptics: vendor="X.Org Foundation"
[  3377.413]     compiled for 1.9.0, module version = 1.3.0
[  3377.413]     Module class: X.Org XInput Driver
[  3377.413]     ABI class: X.Org XInput driver, version 11.0
[  3377.413] (II) Synaptics touchpad driver version 1.3.0
[  3377.414] (**) Option "Device" "/dev/input/event1"
[  3377.549] (--) bcm5974: x-axis range 0 - 1280
[  3377.549] (--) bcm5974: y-axis range 0 - 800
[  3377.549] (--) bcm5974: pressure range 0 - 256
[  3377.549] (--) bcm5974: finger width range 0 - 16
[  3377.549] (--) bcm5974: buttons: left double triple
[  3377.549] (**) Option "TapButton1" "1"
[  3377.549] (**) Option "TapButton2" "3"
[  3377.549] (**) Option "TapButton3" "2"
[  3377.656] (--) bcm5974: touchpad found
[  3377.656] (**) bcm5974: always reports core events
[  3377.709] (II) XINPUT: Adding extended input device "bcm5974" (type: TOUCHPAD)
[  3377.709] (**) bcm5974: (accel) MinSpeed is now constant deceleration 2.5
[  3377.709] (**) bcm5974: MaxSpeed is now 1.75
[  3377.709] (**) bcm5974: AccelFactor is now 0.133
[  3377.709] (**) bcm5974: (accel) keeping acceleration scheme 1
[  3377.709] (**) bcm5974: (accel) acceleration profile 1
[  3377.709] (**) bcm5974: (accel) acceleration factor: 2.000
[  3377.709] (**) bcm5974: (accel) acceleration threshold: 4
[  3377.789] (--) bcm5974: touchpad found
[  3377.790] (II) config/udev: Adding input device bcm5974 (/dev/input/mouse0)
[  3377.790] (**) bcm5974: Applying InputClass "touchpad catchall"
[  3377.790] (II) Synaptics touchpad driver version 1.3.0
[  3379.513] (EE) bcm5974 no synaptics event device found
[  3379.513] (**) Option "Device" "/dev/input/mouse0"
[  3379.523] (--) bcm5974: invalid x-axis range.  defaulting to 1615 - 5685
[  3379.523] (--) bcm5974: invalid y-axis range.  defaulting to 1729 - 4171
[  3379.523] (--) bcm5974: invalid pressure range.  defaulting to 0 - 256
[  3379.523] (--) bcm5974: invalid finger width range.  defaulting to 0 - 16
[  3379.523] (**) Option "TapButton1" "1"
[  3379.523] (**) Option "TapButton2" "3"
[  3379.523] (**) Option "TapButton3" "2"
[  3379.543] (EE) Query no Synaptics: 6003C8
[  3379.543] (--) bcm5974: no supported touchpad found
[  3379.543] (EE) bcm5974 Unable to query/initialize Synaptics hardware.
[  3379.626] (EE) PreInit failed for input device "bcm5974"
[  3379.626] (II) UnloadModule: "synaptics"
[  3379.627] (II) config/udev: Adding input device HID 05ac:820a (/dev/input/event7)
[  3379.627] (**) HID 05ac:820a: Applying InputClass "evdev keyboard catchall"
[  3379.627] (**) HID 05ac:820a: Applying InputClass "Keyboard Defaults"
[  3379.627] (**) HID 05ac:820a: always reports core events
[  3379.627] (**) HID 05ac:820a: Device: "/dev/input/event7"
[  3379.679] (--) HID 05ac:820a: Found keys
[  3379.679] (II) HID 05ac:820a: Configuring as keyboard
[  3379.679] (II) XINPUT: Adding extended input device "HID 05ac:820a" (type: KEYBOARD)
[  3379.679] (**) Option "xkb_rules" "evdev"
[  3379.679] (**) Option "xkb_model" "evdev"
[  3379.679] (**) Option "xkb_layout" "dvorak"
[  3379.680] (II) config/udev: Adding input device HID 05ac:820b (/dev/input/event8)
[  3379.680] (**) HID 05ac:820b: Applying InputClass "evdev pointer catchall"
[  3379.680] (**) HID 05ac:820b: always reports core events
[  3379.680] (**) HID 05ac:820b: Device: "/dev/input/event8"
[  3379.733] (--) HID 05ac:820b: Found 3 mouse buttons
[  3379.733] (--) HID 05ac:820b: Found relative axes
[  3379.733] (--) HID 05ac:820b: Found x and y relative axes
[  3379.733] (II) HID 05ac:820b: Configuring as mouse
[  3379.733] (**) HID 05ac:820b: YAxisMapping: buttons 4 and 5
[  3379.733] (**) HID 05ac:820b: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  3379.733] (II) XINPUT: Adding extended input device "HID 05ac:820b" (type: MOUSE)
[  3379.733] (**) HID 05ac:820b: (accel) keeping acceleration scheme 1
[  3379.733] (**) HID 05ac:820b: (accel) acceleration profile 0
[  3379.733] (**) HID 05ac:820b: (accel) acceleration factor: 2.000
[  3379.733] (**) HID 05ac:820b: (accel) acceleration threshold: 4
[  3379.733] (II) HID 05ac:820b: initialized for relative axes.
[  3379.733] (II) config/udev: Adding input device HID 05ac:820b (/dev/input/mouse1)
[  3379.733] (II) No input driver/identifier specified (ignoring)
[  3379.736] (II) config/udev: Adding input device applesmc (/dev/input/event0)
[  3379.736] (II) No input driver/identifier specified (ignoring)
[  3379.736] (II) config/udev: Adding input device applesmc (/dev/input/js0)
[  3379.736] (II) No input driver/identifier specified (ignoring)
[  3379.736] (II) config/udev: Adding input device PC Speaker (/dev/input/event9)
[  3379.737] (II) No input driver/identifier specified (ignoring)

Related thread: https://bbs.archlinux.org/viewtopic.php?pid=844096

Thanks in advance for any hints!

Last edited by djthread (2010-10-25 23:03:00)

Offline

#2 2010-10-23 21:52:42

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [SOLVED] MacBook Pro (2010, 13") Touchpad Won't Click and Drag

Nah...  you need to patch the module to get some click and drag.   Read http://allanmcrae.com/2010/04/installin … k-pro-5-5/ .

I have a PKGBUILD for 2.6.35 but have not updated to 2.6.36 yet.

Offline

#3 2010-10-23 23:05:42

djthread
Member
Registered: 2010-02-14
Posts: 23

Re: [SOLVED] MacBook Pro (2010, 13") Touchpad Won't Click and Drag

I couldn't build the patched driver you link to with the 2.6.35.7-1 or 2.6.36 kernels... So I'm not having much luck there.

Also, do you disable tap to click so you don't hit the giant pad by accident while tapping? That seems like a big issue. I'm thinking I might try that (only physical click for left button) but still use 2- and 3-finger taps for right and middle buttons.

Offline

#4 2010-10-24 08:33:52

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [SOLVED] MacBook Pro (2010, 13") Touchpad Won't Click and Drag

PKGBUILD + patch for 2.6.35: http://allanmcrae.com/packages/bcm5974- … src.tar.gz

I do not have any tapping enabled as it was too sensitive and I was too lazy to figure out how to reduce that...

Offline

#5 2010-10-24 18:35:54

djthread
Member
Registered: 2010-02-14
Posts: 23

Re: [SOLVED] MacBook Pro (2010, 13") Touchpad Won't Click and Drag

Allan, you friggin rock. I was able to use the patch file against the bcm5974 in my 2.6.36-mainline aur package, rebuild it right into my kernel and it works!

Though, I do still notice that when I click the button and drag, every few times I try, it does still stop my pointer from moving exactly like before the patch. I wonder if there is some setting I could tweak or if this is still just a shortcoming of the solution. You do use two finger scrolling, right? It seems that this feature is being activated when my clicky finger moves a tiny bit, causing the cursor to freeze.

All the same, though, this was a giant improvement. Thanks for the patch, Allen!

Perhaps I'll shoot Erkin Bahceci (patch author) a line about this, too.

Offline

#6 2010-10-24 19:06:29

djthread
Member
Registered: 2010-02-14
Posts: 23

Re: [SOLVED] MacBook Pro (2010, 13") Touchpad Won't Click and Drag

...and how the heck do you do right/middle mouse buttons? hotkeys?

Offline

#7 2010-10-24 22:06:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [SOLVED] MacBook Pro (2010, 13") Touchpad Won't Click and Drag

I do use two finger scroll.   I guess the key point is the distance between your fingers when you go to drag...

I have two finger click = right click, three finger press = middle click.

Offline

#8 2010-10-25 23:03:09

djthread
Member
Registered: 2010-02-14
Posts: 23

Re: [SOLVED] MacBook Pro (2010, 13") Touchpad Won't Click and Drag

Marked as solved even though the real solution doesn't exist yet. Erkin pointed me to this post which goes into pretty good detail about the state of multitouch on linux.

http://who-t.blogspot.com/2010/10/thoug … touch.html

Offline

#9 2010-10-26 12:46:38

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: [SOLVED] MacBook Pro (2010, 13") Touchpad Won't Click and Drag

djthread wrote:

My Xorg.0.log is interesting... What does "bcm5974 Unable to query/initialize Synaptics hardware" mean?

[  3377.360] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event10)
[  3377.361] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev keyboard catchall"
[  3377.361] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Keyboard Defaults"
[  3377.361] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  3377.361] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Device: "/dev/input/event10"
[  3377.413] (--) Apple Inc. Apple Internal Keyboard / Trackpad: Found keys
[  3377.413] (II) Apple Inc. Apple Internal Keyboard / Trackpad: Configuring as keyboard
[  3377.413] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: KEYBOARD)
[  3377.413] (**) Option "xkb_rules" "evdev"
[  3377.413] (**) Option "xkb_model" "evdev"
[  3377.413] (**) Option "xkb_layout" "dvorak"
[  3377.413] (II) config/udev: Adding input device bcm5974 [b](/dev/input/event1)[/b]
[  3377.413] (**) bcm5974: Applying InputClass "evdev touchpad catchall"
[  3377.413] (**) bcm5974: Applying InputClass "touchpad catchall"
[  3377.413] (II) LoadModule: "synaptics"
[  3377.413] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[  3377.413] (II) Module synaptics: vendor="X.Org Foundation"
[  3377.413]     compiled for 1.9.0, module version = 1.3.0
[  3377.413]     Module class: X.Org XInput Driver
[  3377.413]     ABI class: X.Org XInput driver, version 11.0
[  3377.413] (II) Synaptics touchpad driver version 1.3.0
[  3377.414] (**) Option "Device" "/dev/input/event1"
[  3377.549] (--) bcm5974: x-axis range 0 - 1280
[  3377.549] (--) bcm5974: y-axis range 0 - 800
[  3377.549] (--) bcm5974: pressure range 0 - 256
[  3377.549] (--) bcm5974: finger width range 0 - 16
[  3377.549] (--) bcm5974: buttons: left double triple
[  3377.549] (**) Option "TapButton1" "1"
[  3377.549] (**) Option "TapButton2" "3"
[  3377.549] (**) Option "TapButton3" "2"
[  3377.656] (--) bcm5974: touchpad found
[  3377.656] (**) bcm5974: always reports core events
[  3377.709] (II) XINPUT: Adding extended input device "bcm5974" (type: TOUCHPAD)
[  3377.709] (**) bcm5974: (accel) MinSpeed is now constant deceleration 2.5
[  3377.709] (**) bcm5974: MaxSpeed is now 1.75
[  3377.709] (**) bcm5974: AccelFactor is now 0.133
[  3377.709] (**) bcm5974: (accel) keeping acceleration scheme 1
[  3377.709] (**) bcm5974: (accel) acceleration profile 1
[  3377.709] (**) bcm5974: (accel) acceleration factor: 2.000
[  3377.709] (**) bcm5974: (accel) acceleration threshold: 4
[  3377.789] (--) bcm5974: touchpad found
[  3377.790] (II) config/udev: Adding input device bcm5974 [b](/dev/input/mouse0)[/b]
[  3377.790] (**) bcm5974: Applying InputClass "touchpad catchall"
[  3377.790] (II) Synaptics touchpad driver version 1.3.0
[  3379.513] (EE) bcm5974 no synaptics event device found
[  3379.513] (**) Option "Device" "/dev/input/mouse0"
[  3379.523] (--) bcm5974: invalid x-axis range.  defaulting to 1615 - 5685
[  3379.523] (--) bcm5974: invalid y-axis range.  defaulting to 1729 - 4171
[  3379.523] (--) bcm5974: invalid pressure range.  defaulting to 0 - 256
[  3379.523] (--) bcm5974: invalid finger width range.  defaulting to 0 - 16
[  3379.523] (**) Option "TapButton1" "1"
[  3379.523] (**) Option "TapButton2" "3"
[  3379.523] (**) Option "TapButton3" "2"
[  3379.543] (EE) Query no Synaptics: 6003C8
[  3379.543] (--) bcm5974: no supported touchpad found
[  3379.543] (EE) bcm5974 Unable to query/initialize Synaptics hardware.
[  3379.626] (EE) PreInit failed for input device "bcm5974"
[  3379.626] (II) UnloadModule: "synaptics"

Synaptics driver is loaded twice, once for /dev/input/event1, once for /dev/input/mouse0.
Then the last one is unloaded because the device is already owned. (It's my interpretation but on my laptop Xorg behaves the same so it's not only on MacBook)


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

#10 2010-10-29 01:03:27

frigaut
Member
From: Canberra, Australia
Registered: 2009-05-10
Posts: 215
Website

Re: [SOLVED] MacBook Pro (2010, 13") Touchpad Won't Click and Drag

Allan wrote:

thanks. Just for completeness: you forgot to changed the kernel version in the bcm5974.install (still at 2.6.33).


Archer since 03/2009 - AUR packages

Offline

Board footer

Powered by FluxBB