You are not logged in.

#1 2011-08-04 03:28:46

Corsair
Member
Registered: 2007-01-28
Posts: 52
Website

Macbook pro 8,2, trackpad doesn't do multitouch

Hi, all.  I have a Macbook pro 8,2 (2011, 15 inch model).  The trackpad works fine as a single-button mouse.  I can move the the cursor, click by pressing down the bottom portion of the trackpad.  However, Synaptics and mtrack don't do anything.  I write the trackpad setting in /etc/X11/xorg.conf.d/10-synaptics.conf, which is like this:

Section "InputClass"
    Identifier "Touchpads"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Driver "synaptics"
EndSection

Setting driver to "mtrack" does the same thing (i.e. nothing...).

It seems to me that the trackpad is not identified as a touchpad.  I know the device node corresponding to it is /dev/input/event1. (I checked by cat /dev/input/event1, then moving the cursor).  So I tryed to delete that "MatchIsTouchpad" line, and change "event*" to "event1", so that synaptics is forced to use on that device.  Then I cannot move the cursor at all, nor click anything.  I'd appreciate it if anyone can shine some light on this.

BTW, here is the output of "lsusb":

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0424:2513 Standard Microsystems Corp. 
Bus 001 Device 003: ID 05ac:8509 Apple, Inc. 
Bus 002 Device 002: ID 0424:2513 Standard Microsystems Corp. 
Bus 001 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 005: ID 05ac:0252 Apple, Inc. 
Bus 002 Device 003: ID 05ac:8242 Apple, Inc. IR Receiver [built-in]
Bus 001 Device 008: ID 05ac:821a Apple, Inc. 
Bus 001 Device 009: ID 0781:5151 SanDisk Corp. Cruzer Micro Flash Drive

And the output of "xinput list":

⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ Apple Inc. Apple Internal Keyboard / Trackpad    id=12    [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ Power Button                                id=6    [slave  keyboard (3)]
    ↳ Video Bus                                   id=7    [slave  keyboard (3)]
    ↳ Video Bus                                   id=8    [slave  keyboard (3)]
    ↳ Power Button                                id=9    [slave  keyboard (3)]
    ↳ Sleep Button                                id=10    [slave  keyboard (3)]
    ↳ Apple Inc. Apple Internal Keyboard / Trackpad    id=11    [slave  keyboard (3)]
    ↳ FaceTime HD Camera (Built-in)               id=13    [slave  keyboard (3)]

And the output "dmesg | grep Trackpad":

[    5.756693] input: Apple Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1.2/1-1.2:1.0/input/input0
[    5.756768] generic-usb 0003:05AC:0252.0001: input,hidraw0: USB HID v1.11 Keyboard [Apple Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1a.7-1.2/input0
[    5.876900] generic-usb 0003:05AC:0252.0002: hidraw1: USB HID v1.11 Device [Apple Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1a.7-1.2/input1
[    5.878473] input: Apple Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1.2/1-1.2:1.2/input/input1
[    5.878549] generic-usb 0003:05AC:0252.0003: input,hidraw2: USB HID v1.11 Mouse [Apple Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1a.7-1.2/input2

And the output of "grep Trackpad /var/log/Xorg.0.log":

[    63.765] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event0)
[    63.765] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev keyboard catchall"
[    63.765] (II) Using input driver 'evdev' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[    63.765] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[    63.765] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Device: "/dev/input/event0"
[    63.790] (--) Apple Inc. Apple Internal Keyboard / Trackpad: Found keys
[    63.790] (II) Apple Inc. Apple Internal Keyboard / Trackpad: Configuring as keyboard
[    63.790] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: KEYBOARD)
[    63.790] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event1)
[    63.790] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev pointer catchall"
[    63.790] (II) Using input driver 'evdev' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[    63.790] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[    63.791] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Device: "/dev/input/event1"
[    63.816] (--) Apple Inc. Apple Internal Keyboard / Trackpad: Found 3 mouse buttons
[    63.816] (--) Apple Inc. Apple Internal Keyboard / Trackpad: Found relative axes
[    63.816] (--) Apple Inc. Apple Internal Keyboard / Trackpad: Found x and y relative axes
[    63.816] (II) Apple Inc. Apple Internal Keyboard / Trackpad: Configuring as mouse
[    63.816] (**) Apple Inc. Apple Internal Keyboard / Trackpad: YAxisMapping: buttons 4 and 5
[    63.816] (**) Apple Inc. Apple Internal Keyboard / Trackpad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    63.816] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: MOUSE)
[    63.816] (II) Apple Inc. Apple Internal Keyboard / Trackpad: initialized for relative axes.
[    63.817] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) keeping acceleration scheme 1
[    63.817] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration profile 0
[    63.817] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration factor: 2.000
[    63.817] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration threshold: 4
[    63.817] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/mouse0)

Last edited by Corsair (2011-08-04 03:36:21)


Fear is the path to the darkside.
{My Config}

Offline

#2 2011-08-04 03:38:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Macbook pro 8,2, trackpad doesn't do multitouch

I'm not sure if a trackpad is the same as a touchpad, but have you tried https://wiki.archlinux.org/index.php/MacBook#Touchpad ?

Offline

#3 2011-08-04 03:42:25

Corsair
Member
Registered: 2007-01-28
Posts: 52
Website

Re: Macbook pro 8,2, trackpad doesn't do multitouch

karol wrote:

I'm not sure if a trackpad is the same as a touchpad, but have you tried https://wiki.archlinux.org/index.php/MacBook#Touchpad ?

Hi karol~  Thanks for the reply.  Yes I tried that, and it didn't work, just like Synaptics... :-(
I think "trackpad" is apple's name for a touchpad?


Fear is the path to the darkside.
{My Config}

Offline

#4 2011-08-04 03:44:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Macbook pro 8,2, trackpad doesn't do multitouch

Just to make sure: do yo have xf86-input-synaptics installed?

Offline

#5 2011-08-04 03:47:04

Corsair
Member
Registered: 2007-01-28
Posts: 52
Website

Re: Macbook pro 8,2, trackpad doesn't do multitouch

karol wrote:

Just to make sure: do yo have xf86-input-synaptics installed?

Yes, I do, as well as xf86-input-mtrack-git, as you mentioned.


Fear is the path to the darkside.
{My Config}

Offline

#6 2011-10-01 14:13:47

groundnuty
Member
Registered: 2010-11-16
Posts: 17

Re: Macbook pro 8,2, trackpad doesn't do multitouch

same issue here, still looking go solution,,,
please share if you find something wink

Offline

#7 2011-10-01 17:04:30

Corsair
Member
Registered: 2007-01-28
Posts: 52
Website

Re: Macbook pro 8,2, trackpad doesn't do multitouch

Hi groundnuty, I found this post that explains why trackpad and keyboard are not properly identified.  It involves patching DKMS, which I don’t use (or I’m actually using it, just don’t know about it...  Is it part of the kernel?).

Last edited by Corsair (2011-10-01 17:04:51)


Fear is the path to the darkside.
{My Config}

Offline

#8 2011-10-04 07:50:21

groundnuty
Member
Registered: 2010-11-16
Posts: 17

Re: Macbook pro 8,2, trackpad doesn't do multitouch

hey,
I managed to get all the media keys + fn working with gnome3 (with X ofc) and with pommed (with X and without) as well. Just "eject" still refuses to do what it supposed to do - but it is correctly mapped to its keycode so thats probbaly some settings issue.
I did extracted patches that I made and send them to devs of DKMS packages - hopefully versions in repo will work out of the box soon,

The wifi is working for me out of the box with latest b43 driver.
Done what is described here without any patches - they seem to be included already.
http://homepage.uibk.ac.at/~c705283/arc … index.html

Touchpad with bcm5974 from their git, it is correctly recognized as trackpad (not pointer) and I managed to get it working correctly with multitouch driver (mtrac refused to deliver even right click).

The order of modules loading seems to be important here is my working setup:
MODULES=( b43 bcm5974 hid_apple usbhid )

Last edited by groundnuty (2011-10-04 07:50:57)

Offline

#9 2011-10-04 15:07:20

Corsair
Member
Registered: 2007-01-28
Posts: 52
Website

Re: Macbook pro 8,2, trackpad doesn't do multitouch

Good to know!  I'll try dkms and bcm5974.  I also got wifi working natively by doing the same as you did.  Looks like thing are getting better finally :-)

BTW, for anyone else with problem of BCM4331 wifi, here are some PKGBUILDs for you~~

Last edited by Corsair (2011-10-04 15:11:25)


Fear is the path to the darkside.
{My Config}

Offline

#10 2011-10-09 00:45:24

Kariddi
Member
Registered: 2009-03-12
Posts: 45

Re: Macbook pro 8,2, trackpad doesn't do multitouch

groundnuty wrote:

hey,
I managed to get all the media keys + fn working with gnome3 (with X ofc) and with pommed (with X and without) as well. Just "eject" still refuses to do what it supposed to do - but it is correctly mapped to its keycode so thats probbaly some settings issue.
I did extracted patches that I made and send them to devs of DKMS packages - hopefully versions in repo will work out of the box soon,

The wifi is working for me out of the box with latest b43 driver.
Done what is described here without any patches - they seem to be included already.
http://homepage.uibk.ac.at/~c705283/arc … index.html

Touchpad with bcm5974 from their git, it is correctly recognized as trackpad (not pointer) and I managed to get it working correctly with multitouch driver (mtrac refused to deliver even right click).

The order of modules loading seems to be important here is my working setup:
MODULES=( b43 bcm5974 hid_apple usbhid )

Hi, using the bcm5974 from git didn't help for me.

What did you exactly do to make the touchpad be recognized like a touchpad? My system still detects it as "pointer" device.

What I did was downloading the git, inside there was a bcm5974.c file that I substituted in place of the one in the kernel and then I recompiled the kernel source. Is this wrong?

If it is how can I make it work?

Last edited by Kariddi (2011-10-09 00:45:47)

Offline

#11 2011-10-10 21:43:06

Jack Spade
Member
Registered: 2011-08-27
Posts: 14

Re: Macbook pro 8,2, trackpad doesn't do multitouch

It seems many multitouch issues are being addressed here, but if anyone is looking just to get their macbook pad to right click (with two-finger tap) I found a simple and elegant solution ... which may be obvious to many, but I could not find it on these forums.

In fact I found it on the forum of my now second-favorite distro:
http://crunchbanglinux.org/forums/topic … n-macbook/

The meat of it is the command "synclient TapButton2=3" which now has me right-clicking to my heart's desire.

Offline

#12 2011-10-11 23:15:59

delerious010
Member
From: Montreal
Registered: 2008-10-07
Posts: 72

Re: Macbook pro 8,2, trackpad doesn't do multitouch

On my macbook air 4,2, I ended up having to update /etc/X11/xorg.conf.d/10-synaptics.conf. The issues I was facing was that a) the touchpad would be detected as a keyboard and b) the event id kept changing on me.

        Section "InputClass"
        Identifier "configured Touchpad"
        Driver "mtrack"
        MatchProduct "bcm5974"
        #MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"

And this using aur/xf86-input-mtrack-git as my driver.

Side note ... did you have to "hack" your pommed to get it working ? Dang thing doesn't seem to support the air -_-

Last edited by delerious010 (2011-10-11 23:17:30)

Offline

Board footer

Powered by FluxBB