You are not logged in.

#1 2013-06-26 22:09:34

Legogris
Member
Registered: 2012-09-11
Posts: 38

Macbook Air 2013 Touchpad issues

I have some trouble with getting the touchpad to work on my new Macbook Air. evdev works, but then I don't get two-finger right click or scrolling (is there any way to set up this with the evdev driver I would be satisfied with that).

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=11   [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)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Apple Inc. Apple Internal Keyboard / Trackpad id=10   [slave  keyboard (3)]

Just trying the default synaptics or mtrack does nothing. Some trial and error shows that the touchpad is not identifying as touchpad, but as pointer.  Changing "MatchIsTouchpad" to "MatchIsPointer" seems to it match the right device, but then the pointer is frozen and doesn't move in either case. If I try "cat /dev/input/event10" and move around a bit it seems to give reasonable output, so I conclude that's my device. Trying with synaptics config:

Section "InputClass"
        Identifier "synaptics touchpad catchall"
        Driver "synaptics"
        #MatchIsTouchpad "on"
        MatchIsPointer "on"
	#Option "Protocol" "psaux"
	#Option "Protocol" "event"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
        #MatchDevicePath "/dev/input/event*"
        MatchDevicePath "/dev/input/event10"
EndSection

Xorg.0.log:

[  2823.970] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event9)
[  2823.970] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev keyboard catchall"
[  2823.970] (II) Using input driver 'evdev' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[  2823.970] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  2823.970] (**) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Device: "/dev/input/event9"
[  2823.970] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Vendor 0x5ac Product 0x291
[  2823.970] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Found keys
[  2823.970] (II) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Configuring as keyboard
[  2823.970] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/input/input9/event9"
[  2823.970] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: KEYBOARD, id 10)
[  2823.970] (**) Option "xkb_rules" "evdev"
[  2823.970] (**) Option "xkb_model" "evdev"
[  2823.970] (**) Option "xkb_layout" "us"
[  2823.970] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event10)
[  2823.970] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev pointer catchall"
[  2823.970] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "synaptics touchpad catchall"
[  2823.970] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Default clickpad buttons"
[  2823.970] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Disable clickpad buttons on Apple touchpads"
[  2823.970] (II) LoadModule: "synaptics"
[  2823.971] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[  2823.971] (II) Module synaptics: vendor="X.Org Foundation"
[  2823.971] 	compiled for 1.14.1, module version = 1.7.1
[  2823.971] 	Module class: X.Org XInput Driver
[  2823.971] 	ABI class: X.Org XInput driver, version 19.1
[  2823.971] (II) Using input driver 'synaptics' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[  2823.971] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  2823.971] (**) Option "Device" "/dev/input/event10"
[  2823.986] (EE) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: Synaptics driver unable to detect protocol
[  2823.987] (EE) PreInit returned 11 for "Apple Inc. Apple Internal Keyboard / Trackpad"
[  2823.987] (II) UnloadModule: "synaptics"
[  2823.987] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/mouse1)
[  2823.987] (II) No input driver specified, ignoring this device.
[  2823.987] (II) This device may have been added with another device file.

Using protocol event:

[  3012.167] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event9)
[  3012.167] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev keyboard catchall"
[  3012.167] (II) Using input driver 'evdev' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[  3012.167] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  3012.167] (**) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Device: "/dev/input/event9"
[  3012.167] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Vendor 0x5ac Product 0x291
[  3012.167] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Found keys
[  3012.167] (II) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Configuring as keyboard
[  3012.167] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/input/input9/event9"
[  3012.167] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: KEYBOARD, id 10)
[  3012.167] (**) Option "xkb_rules" "evdev"
[  3012.167] (**) Option "xkb_model" "evdev"
[  3012.167] (**) Option "xkb_layout" "us"
[  3012.167] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event10)
[  3012.167] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev pointer catchall"
[  3012.167] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "synaptics touchpad catchall"
[  3012.167] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Default clickpad buttons"
[  3012.167] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Disable clickpad buttons on Apple touchpads"
[  3012.167] (II) LoadModule: "synaptics"
[  3012.168] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[  3012.168] (II) Module synaptics: vendor="X.Org Foundation"
[  3012.168] 	compiled for 1.14.1, module version = 1.7.1
[  3012.168] 	Module class: X.Org XInput Driver
[  3012.168] 	ABI class: X.Org XInput driver, version 19.1
[  3012.168] (II) Using input driver 'synaptics' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[  3012.168] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  3012.168] (**) Option "Protocol" "event"
[  3012.168] (**) Option "Device" "/dev/input/event10"
[  3012.168] (--) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: Vendor 0x5ac Product 0x291
[  3012.168] (--) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: invalid x-axis range.  defaulting to 1615 - 5685
[  3012.168] (--) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: invalid y-axis range.  defaulting to 1729 - 4171
[  3012.168] (--) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: invalid pressure range.  defaulting to 0 - 255
[  3012.168] (--) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: invalid finger width range.  defaulting to 0 - 15
[  3012.168] (**) Option "TapButton1" "1"
[  3012.168] (**) Option "TapButton2" "2"
[  3012.168] (**) Option "TapButton3" "3"
[  3012.168] (--) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: no supported touchpad found
[  3012.168] (EE) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: Unable to query/initialize Synaptics hardware.
[  3012.173] (EE) PreInit returned 11 for "Apple Inc. Apple Internal Keyboard / Trackpad"
[  3012.173] (II) UnloadModule: "synaptics"
[  3012.173] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/mouse1)
[  3012.173] (II) No input driver specified, ignoring this device.

Using protocol psaux:

[  3288.334] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event9)
[  3288.334] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev keyboard catchall"
[  3288.334] (II) Using input driver 'evdev' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[  3288.334] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  3288.334] (**) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Device: "/dev/input/event9"
[  3288.334] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Vendor 0x5ac Product 0x291
[  3288.334] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Found keys
[  3288.334] (II) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Configuring as keyboard
[  3288.334] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/input/input9/event9"
[  3288.334] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: KEYBOARD, id 10)
[  3288.334] (**) Option "xkb_rules" "evdev"
[  3288.335] (**) Option "xkb_model" "evdev"
[  3288.335] (**) Option "xkb_layout" "us"
[  3288.335] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event10)
[  3288.335] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev pointer catchall"
[  3288.335] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "synaptics touchpad catchall"
[  3288.335] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Default clickpad buttons"
[  3288.335] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Disable clickpad buttons on Apple touchpads"
[  3288.335] (II) LoadModule: "synaptics"
[  3288.335] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[  3288.335] (II) Module synaptics: vendor="X.Org Foundation"
[  3288.335] 	compiled for 1.14.1, module version = 1.7.1
[  3288.335] 	Module class: X.Org XInput Driver
[  3288.335] 	ABI class: X.Org XInput driver, version 19.1
[  3288.335] (II) Using input driver 'synaptics' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[  3288.335] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  3288.335] (**) Option "Protocol" "psaux"
[  3288.335] (**) Option "Device" "/dev/input/event10"
[  3288.335] (--) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: invalid x-axis range.  defaulting to 1615 - 5685
[  3288.335] (--) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: invalid y-axis range.  defaulting to 1729 - 4171
[  3288.335] (--) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: invalid pressure range.  defaulting to 0 - 255
[  3288.335] (--) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: invalid finger width range.  defaulting to 0 - 15
[  3288.335] (**) Option "TapButton1" "1"
[  3288.335] (**) Option "TapButton2" "2"
[  3288.335] (**) Option "TapButton3" "3"
[  3288.356] (EE) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: Query no Synaptics: 000000
[  3288.356] (--) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: no supported touchpad found
[  3288.356] (EE) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: Unable to query/initialize Synaptics hardware.
[  3288.356] (EE) PreInit returned 11 for "Apple Inc. Apple Internal Keyboard / Trackpad"
[  3288.356] (II) UnloadModule: "synaptics"
[  3288.357] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/mouse1)
[  3288.357] (II) No input driver specified, ignoring this device.
[  3288.357] (II) This device may have been added with another device file.

Finally a try with xf86-input-mtrack-git config:

Section "InputClass"
    MatchIsPointer "on"
    Identifier "Touchpads"
    Driver "mtrack"
    MatchDevicePath "/dev/input/event10"
EndSection

Xorg.0.log:

[  3789.056] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/input/input9/event9"
[  3789.056] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: KEYBOARD, id 10)
[  3789.056] (**) Option "xkb_rules" "evdev"
[  3789.056] (**) Option "xkb_model" "evdev"
[  3789.056] (**) Option "xkb_layout" "us"
[  3789.056] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event10)
[  3789.056] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev pointer catchall"
[  3789.056] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "synaptics touchpad catchall"
[  3789.056] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Default clickpad buttons"
[  3789.056] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Disable clickpad buttons on Apple touchpads"
[  3789.056] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Touchpads"
[  3789.056] (II) LoadModule: "mtrack"
[  3789.056] (II) Loading /usr/lib/xorg/modules/input/mtrack_drv.so
[  3789.057] (II) Module mtrack: vendor="X.Org Foundation"
[  3789.057] 	compiled for 1.14.2, module version = 0.1.0
[  3789.057] 	Module class: X.Org XInput Driver
[  3789.057] 	ABI class: X.Org XInput driver, version 19.1
[  3789.057] (II) Using input driver 'mtrack' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[  3789.057] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  3789.057] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  3789.057] (**) Option "TapButton1" "1"
[  3789.057] (**) Option "TapButton2" "2"
[  3789.057] (**) Option "TapButton3" "3"
[  3789.057] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/input/input10/event10"
[  3789.057] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: TOUCHPAD, id 11)
[  3789.057] (II) device control: init
[  3789.057] (**) Option "Device" "/dev/input/event10"
[  3789.057] (II) mtrack: devname: Apple Inc. Apple Internal Keyboa
[  3789.057] (II) mtrack: devid: 5ac 291 110
[  3789.057] (II) mtrack: caps: left middle right
[  3789.060] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) keeping acceleration scheme 1
[  3789.060] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration profile 0
[  3789.060] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration factor: 2.000
[  3789.060] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration threshold: 4
[  3789.060] (II) device control: on
[  3789.060] (WW) Touchpad has minimal capabilities. Some features will be unavailable.
[  3789.060] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/mouse1)
[  3789.060] (II) No input driver specified, ignoring this device.

Curiously, mouse1 identifies as touchpad (I guess this is for detecting since cat /dev/input/mouse1 seems to give the same outout no  matter where on it I touch, and clicking works so far). If I let mtrack try there too, clicking doesn't work anymore either. This is the default config from the AUR:

Section "InputClass"
    MatchIsPointer "on"
    Identifier "Touchpads"
    Driver "mtrack"
EndSection

Xorg.0.log:

[  3585.535] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event9)
[  3585.535] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev keyboard catchall"
[  3585.535] (II) Using input driver 'evdev' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[  3585.535] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  3585.535] (**) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Device: "/dev/input/event9"
[  3585.535] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Vendor 0x5ac Product 0x291
[  3585.535] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Found keys
[  3585.535] (II) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Configuring as keyboard
[  3585.535] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/input/input9/event9"
[  3585.535] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: KEYBOARD, id 10)
[  3585.535] (**) Option "xkb_rules" "evdev"
[  3585.535] (**) Option "xkb_model" "evdev"
[  3585.535] (**) Option "xkb_layout" "us"
[  3585.535] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event10)
[  3585.535] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev pointer catchall"
[  3585.535] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "synaptics touchpad catchall"
[  3585.535] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Default clickpad buttons"
[  3585.535] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Disable clickpad buttons on Apple touchpads"
[  3585.535] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Touchpads"
[  3585.535] (II) LoadModule: "mtrack"
[  3585.535] (II) Loading /usr/lib/xorg/modules/input/mtrack_drv.so
[  3585.536] (II) Module mtrack: vendor="X.Org Foundation"
[  3585.536] 	compiled for 1.14.2, module version = 0.1.0
[  3585.536] 	Module class: X.Org XInput Driver
[  3585.536] 	ABI class: X.Org XInput driver, version 19.1
[  3585.536] (II) Using input driver 'mtrack' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[  3585.536] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  3585.536] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  3585.536] (**) Option "TapButton1" "1"
[  3585.536] (**) Option "TapButton2" "2"
[  3585.536] (**) Option "TapButton3" "3"
[  3585.536] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/input/input10/event10"
[  3585.536] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: TOUCHPAD, id 11)
[  3585.536] (II) device control: init
[  3585.536] (**) Option "Device" "/dev/input/event10"
[  3585.536] (II) mtrack: devname: Apple Inc. Apple Internal Keyboa
[  3585.536] (II) mtrack: devid: 5ac 291 110
[  3585.536] (II) mtrack: caps: left middle right
[  3585.539] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) keeping acceleration scheme 1
[  3585.539] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration profile 0
[  3585.539] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration factor: 2.000
[  3585.539] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration threshold: 4
[  3585.539] (II) device control: on
[  3585.539] (WW) Touchpad has minimal capabilities. Some features will be unavailable.
[  3585.540] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/mouse1)
[  3585.540] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "Touchpads"
[  3585.540] (II) Using input driver 'mtrack' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[  3585.540] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  3585.540] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[  3585.540] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/input/input10/mouse1"
[  3585.540] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: TOUCHPAD, id 12)
[  3585.540] (II) device control: init
[  3585.540] (**) Option "Device" "/dev/input/mouse1"
[  3585.540] (EE) mtrack: cannot configure device
[  3585.540] (EE) Couldn't init device "Apple Inc. Apple Internal Keyboard / Trackpad"
[  3585.540] (II) UnloadModule: "mtrack"

Offline

#2 2013-06-27 18:33:28

BradFord
Member
Registered: 2013-06-27
Posts: 3

Re: Macbook Air 2013 Touchpad issues

Legogris - I have encountered the same issue.  It is because the touchpad is being associated with the more generic 'usbhid' kernel driver (which then causes it to associate with the generic 'evdev' X driver).  The issue is with the upstream kernel bcm5974 module -- it cannot properly communicate with the new touchpad hardware (new to the MacBook Air mid2013 laptops -- the vendor-product id of the new device is 05ac:0291).

You can see this in the sysfs by looking at the devices in the /sys/bus/usb/drivers/usbhid/ path (vs the bcm5974 driver path, which probably does not exist for you unless you manually modprobed the bcm5974 module).  Even forcing the bcm5974 module to interface to the device fails in its current form.

I have filed an upstream bug with bugzilla.kernel.org. The bug id is 60181.  It would probably help move things along if you also comment on the bug as well -- please attach the contents of the logs that you included in your post in the bug as well.  With luck, we will see a fix for the 3.10 release.



As a side note, I have also not been able to get the evdev driver to recognize anything but mouse movement and Button 1 clicks (i.e. left-click).  If you are able to get the evdev to do more than this (i.e. some form of a right click, etc) I would be interested to know it.  In the mean-time, I have had to put together a hack combination of xbindkeys and xdotool (or xdo) to invoke a right-click via a keyboard key-press combination.

Last edited by BradFord (2013-06-27 18:39:43)

Offline

#3 2013-06-27 19:03:35

Legogris
Member
Registered: 2012-09-11
Posts: 38

Re: Macbook Air 2013 Touchpad issues

Ah, what a hassle. I made a comment with my logs. First post on kernel.org, hope I did it in the right way.

I was also thinking about doing something similarwith xbindkeys - if you wouldn't mind sharing your hack, I would be happy about that. I guess we can't do much more than keeping our fingers crossed for 3.10 then!

Last edited by Legogris (2013-06-27 19:03:49)

Offline

#4 2013-06-27 20:00:46

BradFord
Member
Registered: 2013-06-27
Posts: 3

Re: Macbook Air 2013 Touchpad issues

To get a right-click to map to a keyboard key-combination (I used ctrl+grave .. you know the tilda thing):

Install xbindkeys and xdotool.

Create the following files:

/usr/local/bin/mouse-click

#!/bin/sh

CLICK_NUM="$1"

if [ -z "${CLICK_NUM}" ]; then
  echo "usage: mouse-click <click-code>" >&2
  exit 1
fi

# hack sleep seems to allow the click-event to be more reliable
sleep 0.25
xdotool click "${CLICK_NUM}"

/usr/local/bin/keyboard-right-click-service

#!/bin/sh

CONF_FILE="${HOME}/.config/keyboard-right-click.conf"

if [ ! -f "${HOME}/.config/keyboard-right-click.conf" ]; then
  echo "Unable to locate configuration file, creating one in ${CONF_FILE}."  
  mkdir -p "$( dirname "${CONF_FILE}" )" 2>/dev/null  
  cat > "${CONF_FILE}" << EOF
"mouse-click 3"
    m:0x4 + c:49
    Control + grave
    
"mouse-click 1"
    m:0x4 + m:0x1 + c:10
    Control + Shift + 1
    
"mouse-click 2"
    m:0x4 + m:0x1 + c:11
    Control + Shift + 2
    
"mouse-click 3"
    m:0x4 + m:0x1 + c:12
    Control + Shift + 3

"mouse-click 4"
    m:0x4 + m:0x1 + c:13
    Control + Shift + 4

"mouse-click 5"
    m:0x4 + m:0x1 + c:14
    Control + Shift + 5   

EOF
  
  if [ ! -f "${CONF_FILE}" ]; then
    echo "Unable to create the default configuration file ${CONF_FILE}."
    exit 1
  fi
fi

xbindkeys -n -f "${CONF_FILE}" &
S_PID="$!"

for i in 1 2 3; do
  if ! kill -0 "${S_PID}" 2>/dev/null; then
    echo "Sevice keyboard-right-click _xbindkeys_ stopped unexpectedly."
    exit 1
  fi
  sleep 0.1
done

echo "${S_PID}"
exit 0

Launch the /usr/local/bin/keyboard-right-click-service file on login (varies based on your DE)... or at any-time in your user session.

I use LXDE so I created the following file to auto-launch it:

${HOME}/.config/autostart/keyboard-right-click.desktop

[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=keyboard-right-click-service
Icon=mouse
Terminal=false

.. now right-click is mapped to ctrl+grave, in addition mouse buttons 1, 2, 3, 4 are invoked by ctrl+shift+<number-key>.
Not an ideal world, but might be a hold-over until the driver is updated.

Last edited by BradFord (2013-06-27 20:06:54)

Offline

#5 2013-06-30 06:43:37

BradFord
Member
Registered: 2013-06-27
Posts: 3

Re: Macbook Air 2013 Touchpad issues

An initial patch to fix this issue has been published with the kernel bug (this is the current patch, but you should go to the bug report directly to see if any updates are made).

It is currently working with my new MBA-2013 hardware and I have not seen regressions on older hardware.

Offline

#6 2013-07-01 12:06:58

Legogris
Member
Registered: 2012-09-11
Posts: 38

Re: Macbook Air 2013 Touchpad issues

BradFord wrote:

An initial patch to fix this issue has been published with the kernel bug (this is the current patch, but you should go to the bug report directly to see if any updates are made).

It is currently working with my new MBA-2013 hardware and I have not seen regressions on older hardware.

Wow, I was just reading through the process you guys went through - great work! Never compiled my own kernel under Arch before, but I guess I'll get around to it later this week. Great work!
By the way, have you experienced the stability problems I wrote briefly about here?

Offline

#7 2013-07-07 06:56:36

kokeroulis
Member
Registered: 2009-11-25
Posts: 7

Re: Macbook Air 2013 Touchpad issues

Hello,

I am thinking of buying a macbook air 2013 and to install archlinux, execpt from the SATA error, WLAN and this patch, is there anything else that it doesn't work as it should be? (HDMI, temperatures, etc)... Please don't take me wrong, but was those all the issues that they exist on mba 2013 or you just stop trying from fixing things... Because in the last couple of days i was seeing a couple of replies per day, but now there is nothing... Could archlinux work on mba, like it is working in any other laptop/ultrabook or it will always be something new to be fixed?

Thank you in advance

Offline

#8 2013-07-30 18:38:41

Legogris
Member
Registered: 2012-09-11
Posts: 38

Re: Macbook Air 2013 Touchpad issues

kokeroulis wrote:

Hello,

I am thinking of buying a macbook air 2013 and to install archlinux, execpt from the SATA error, WLAN and this patch, is there anything else that it doesn't work as it should be? (HDMI, temperatures, etc)... Please don't take me wrong, but was those all the issues that they exist on mba 2013 or you just stop trying from fixing things... Because in the last couple of days i was seeing a couple of replies per day, but now there is nothing... Could archlinux work on mba, like it is working in any other laptop/ultrabook or it will always be something new to be fixed?

Thank you in advance

Nothing is impossible.
The more people who work together, the faster we can get these babies working smoothly.  There are some small stuff that doesn't work out of the box that I'm sure could be configured (hotkeys, speaker output, backlight dimming, keyboard lighting) if one takes the time for it. I haven't even tried yet. The Broadcom wifi driver issue is the only thing that really bugs me out that is unsolved as far as I know.

Offline

#9 2013-07-31 12:57:48

Legogris
Member
Registered: 2012-09-11
Posts: 38

Re: Macbook Air 2013 Touchpad issues

Also: Touchpad works fine with right click and two-finger scroll with 3.10.3-1 and xf86-input-synaptics. Thanks BradFord!

Offline

#10 2013-09-14 07:13:27

albertalbert
Member
Registered: 2013-09-14
Posts: 14

Re: Macbook Air 2013 Touchpad issues

Legogris wrote:

Also: Touchpad works fine with right click and two-finger scroll with 3.10.3-1 and xf86-input-synaptics. Thanks BradFord!

Hey there, I'm running 3.10.10-1-ARCH as far as I can tell (uname -r) and after installing synaptics with pacman -S xf86-input-synaptics I don't see any effect after restarting X or restarting the computer.

I'm running a MacBook Air 2013 (6,1) with Awesome WM.
I see a file 50-synaptics.conf in my /etc/X11/xorg.conf.d/ directory and it looks like this:

# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
#   Option "OptionName" "value"
#
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
        MatchDevicePath "/dev/input/event*"
EndSection

Section "InputClass"
        Identifier "touchpad ignore duplicates"
        MatchIsTouchpad "on"
        MatchOS "Linux"
        MatchDevicePath "/dev/input/mouse*"
        Option "Ignore" "on"
EndSection

# This option enables the bottom right corner to be a right button on
# non-synaptics clickpads.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
#       To disable the bottom edge area so the buttons only work as buttons,
#       not for movement, set the AreaBottomEdge
#       Option "AreaBottomEdge" "82%"
EndSection

# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Disable clickpad buttons on Apple touchpads"
        MatchProduct "Apple|bcm5974"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection

This doesn't seem to do anything for me though... is there something else I should be doing? Running "synaptics" from the terminal does nothing, though I can execute "man synaptics" and I get a man page.

Do I have to add a line somewhere that loads the drive on the start of X?

Here's my /var/log/Xorg.0.log file:

[    13.165] 
X.Org X Server 1.14.2
Release Date: 2013-06-25
[    13.165] X Protocol Version 11, Revision 0
[    13.165] Build Operating System: Linux 3.9.7-1-ARCH x86_64 
[    13.165] Current Operating System: Linux archer 3.10.10-1-ARCH #1 SMP PREEMPT Fri Aug 30 11:30:06 CEST 2013 x86_64
[    13.165] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ef065b42-690a-42ea-9eb9-6dbc3e2dcf86 rw quiet rootflags=data=writeback
[    13.165] Build Date: 01 July 2013  10:48:42AM
[    13.165]  
[    13.165] Current version of pixman: 0.30.2
[    13.165] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    13.165] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    13.166] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Sep 13 23:43:53 2013
[    13.167] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    13.168] (==) No Layout section.  Using the first Screen section.
[    13.168] (==) No screen section available. Using defaults.
[    13.168] (**) |-->Screen "Default Screen Section" (0)
[    13.168] (**) |   |-->Monitor "<default monitor>"
[    13.168] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    13.168] (==) Automatically adding devices
[    13.168] (==) Automatically enabling devices
[    13.168] (==) Automatically adding GPU devices
[    13.171] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    13.171] 	Entry deleted from font path.
[    13.171] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    13.171] 	Entry deleted from font path.
[    13.171] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    13.171] 	Entry deleted from font path.
[    13.171] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    13.171] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    13.171] 	Entry deleted from font path.
[    13.171] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    13.171] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/
[    13.171] (==) ModulePath set to "/usr/lib/xorg/modules"
[    13.171] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    13.171] (II) Loader magic: 0x7fdc20
[    13.171] (II) Module ABI versions:
[    13.171] 	X.Org ANSI C Emulation: 0.4
[    13.171] 	X.Org Video Driver: 14.1
[    13.171] 	X.Org XInput driver : 19.1
[    13.171] 	X.Org Server Extension : 7.0
[    13.172] (II) xfree86: Adding drm device (/dev/dri/card0)
[    13.173] (--) PCI:*(0:0:2:0) 8086:0a26:106b:011a rev 9, Mem @ 0xb0000000/4194304, 0xa0000000/268435456, I/O @ 0x00001000/64
[    13.174] Initializing built-in extension Generic Event Extension
[    13.174] Initializing built-in extension SHAPE
[    13.174] Initializing built-in extension MIT-SHM
[    13.174] Initializing built-in extension XInputExtension
[    13.174] Initializing built-in extension XTEST
[    13.174] Initializing built-in extension BIG-REQUESTS
[    13.174] Initializing built-in extension SYNC
[    13.174] Initializing built-in extension XKEYBOARD
[    13.174] Initializing built-in extension XC-MISC
[    13.174] Initializing built-in extension SECURITY
[    13.174] Initializing built-in extension XINERAMA
[    13.174] Initializing built-in extension XFIXES
[    13.174] Initializing built-in extension RENDER
[    13.174] Initializing built-in extension RANDR
[    13.174] Initializing built-in extension COMPOSITE
[    13.174] Initializing built-in extension DAMAGE
[    13.174] Initializing built-in extension MIT-SCREEN-SAVER
[    13.174] Initializing built-in extension DOUBLE-BUFFER
[    13.174] Initializing built-in extension RECORD
[    13.174] Initializing built-in extension DPMS
[    13.174] Initializing built-in extension X-Resource
[    13.174] Initializing built-in extension XVideo
[    13.175] Initializing built-in extension XVideo-MotionCompensation
[    13.176] Initializing built-in extension XFree86-VidModeExtension
[    13.177] Initializing built-in extension XFree86-DGA
[    13.178] Initializing built-in extension XFree86-DRI
[    13.178] Initializing built-in extension DRI2
[    13.178] (II) LoadModule: "glx"
[    13.180] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    13.181] (II) Module glx: vendor="X.Org Foundation"
[    13.181] 	compiled for 1.14.2, module version = 1.0.0
[    13.181] 	ABI class: X.Org Server Extension, version 7.0
[    13.181] (==) AIGLX enabled
[    13.182] Loading extension GLX
[    13.182] (==) Matched intel as autoconfigured driver 0
[    13.182] (==) Matched intel as autoconfigured driver 1
[    13.182] (==) Matched vesa as autoconfigured driver 2
[    13.182] (==) Matched modesetting as autoconfigured driver 3
[    13.182] (==) Matched fbdev as autoconfigured driver 4
[    13.182] (==) Assigned the driver to the xf86ConfigLayout
[    13.182] (II) LoadModule: "intel"
[    13.185] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    13.189] (II) Module intel: vendor="X.Org Foundation"
[    13.189] 	compiled for 1.14.2, module version = 2.21.15
[    13.189] 	Module class: X.Org Video Driver
[    13.189] 	ABI class: X.Org Video Driver, version 14.1
[    13.189] (II) LoadModule: "vesa"
[    13.189] (WW) Warning, couldn't open module vesa
[    13.189] (II) UnloadModule: "vesa"
[    13.189] (II) Unloading vesa
[    13.189] (EE) Failed to load module "vesa" (module does not exist, 0)
[    13.189] (II) LoadModule: "modesetting"
[    13.189] (WW) Warning, couldn't open module modesetting
[    13.189] (II) UnloadModule: "modesetting"
[    13.189] (II) Unloading modesetting
[    13.189] (EE) Failed to load module "modesetting" (module does not exist, 0)
[    13.189] (II) LoadModule: "fbdev"
[    13.189] (WW) Warning, couldn't open module fbdev
[    13.189] (II) UnloadModule: "fbdev"
[    13.189] (II) Unloading fbdev
[    13.189] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    13.189] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, HD Graphics,
	HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
	HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
	HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
	HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[    13.190] (++) using VT number 1

[    13.192] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    13.192] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    13.192] (==) intel(0): RGB weight 888
[    13.192] (==) intel(0): Default visual is TrueColor
[    13.192] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 5000
[    13.192] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2
[    13.192] (**) intel(0): Framebuffer tiled
[    13.192] (**) intel(0): Pixmaps tiled
[    13.192] (**) intel(0): "Tear free" disabled
[    13.192] (**) intel(0): Forcing per-crtc-pixmaps? no
[    13.193] (II) intel(0): Output eDP1 has no monitor section
[    13.193] (--) intel(0): found backlight control interface acpi_video0 (type 'firmware')
[    13.193] (II) intel(0): Output HDMI1 has no monitor section
[    13.193] (II) intel(0): Output DP1 has no monitor section
[    13.193] (II) intel(0): Output HDMI2 has no monitor section
[    13.193] (II) intel(0): Output DP2 has no monitor section
[    13.193] (--) intel(0): Output eDP1 using initial mode 1366x768 on pipe 0
[    13.193] (==) intel(0): DPI set to (96, 96)
[    13.193] (II) Loading sub module "dri2"
[    13.193] (II) LoadModule: "dri2"
[    13.193] (II) Module "dri2" already built-in
[    13.193] (==) Depth 24 pixmap format is 32 bpp
[    13.196] (II) intel(0): SNA initialized with Haswell (gen7.5, gt3) backend
[    13.196] (==) intel(0): Backing store disabled
[    13.196] (==) intel(0): Silken mouse enabled
[    13.196] (II) intel(0): HW Cursor enabled
[    13.196] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    13.197] (==) intel(0): DPMS enabled
[    13.197] (II) intel(0): [DRI2] Setup complete
[    13.197] (II) intel(0): [DRI2]   DRI driver: i965
[    13.197] (II) intel(0): direct rendering: DRI2 Enabled
[    13.197] (==) intel(0): hotplug detection: "enabled"
[    13.198] (--) RandR disabled
[    13.227] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    13.227] (II) AIGLX: enabled GLX_INTEL_swap_event
[    13.227] (II) AIGLX: enabled GLX_ARB_create_context
[    13.227] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    13.227] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[    13.227] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    13.227] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    13.227] (II) AIGLX: Loaded and initialized i965
[    13.227] (II) GLX: Initialized DRI2 GL provider for screen 0
[    13.229] (II) intel(0): switch to mode 1366x768@60.0 on pipe 0 using eDP1, position (0, 0), rotation normal
[    13.256] (II) intel(0): Setting screen physical size to 361 x 203
[    13.319] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    13.319] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    13.319] (II) LoadModule: "evdev"
[    13.319] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    13.320] (II) Module evdev: vendor="X.Org Foundation"
[    13.320] 	compiled for 1.14.2, module version = 2.8.1
[    13.320] 	Module class: X.Org XInput Driver
[    13.320] 	ABI class: X.Org XInput driver, version 19.1
[    13.320] (II) Using input driver 'evdev' for 'Power Button'
[    13.320] (**) Power Button: always reports core events
[    13.320] (**) evdev: Power Button: Device: "/dev/input/event3"
[    13.320] (--) evdev: Power Button: Vendor 0 Product 0x1
[    13.320] (--) evdev: Power Button: Found keys
[    13.320] (II) evdev: Power Button: Configuring as keyboard
[    13.320] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[    13.320] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    13.320] (**) Option "xkb_rules" "evdev"
[    13.320] (**) Option "xkb_model" "pc104"
[    13.320] (**) Option "xkb_layout" "us"
[    13.355] (II) config/udev: Adding input device Video Bus (/dev/input/event12)
[    13.355] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    13.355] (II) Using input driver 'evdev' for 'Video Bus'
[    13.355] (**) Video Bus: always reports core events
[    13.355] (**) evdev: Video Bus: Device: "/dev/input/event12"
[    13.355] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    13.355] (--) evdev: Video Bus: Found keys
[    13.355] (II) evdev: Video Bus: Configuring as keyboard
[    13.355] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input14/event12"
[    13.355] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    13.355] (**) Option "xkb_rules" "evdev"
[    13.355] (**) Option "xkb_model" "pc104"
[    13.355] (**) Option "xkb_layout" "us"
[    13.355] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    13.355] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    13.356] (II) Using input driver 'evdev' for 'Power Button'
[    13.356] (**) Power Button: always reports core events
[    13.356] (**) evdev: Power Button: Device: "/dev/input/event1"
[    13.356] (--) evdev: Power Button: Vendor 0 Product 0x1
[    13.356] (--) evdev: Power Button: Found keys
[    13.356] (II) evdev: Power Button: Configuring as keyboard
[    13.356] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1/event1"
[    13.356] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    13.356] (**) Option "xkb_rules" "evdev"
[    13.356] (**) Option "xkb_model" "pc104"
[    13.356] (**) Option "xkb_layout" "us"
[    13.356] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    13.356] (II) No input driver specified, ignoring this device.
[    13.356] (II) This device may have been added with another device file.
[    13.356] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[    13.356] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    13.356] (II) Using input driver 'evdev' for 'Sleep Button'
[    13.356] (**) Sleep Button: always reports core events
[    13.356] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[    13.357] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[    13.357] (--) evdev: Sleep Button: Found keys
[    13.357] (II) evdev: Sleep Button: Configuring as keyboard
[    13.357] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2/event2"
[    13.357] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[    13.357] (**) Option "xkb_rules" "evdev"
[    13.357] (**) Option "xkb_model" "pc104"
[    13.357] (**) Option "xkb_layout" "us"
[    13.357] (II) config/udev: Adding drm device (/dev/dri/card0)
[    13.357] (II) config/udev: Adding input device HDA Intel MID HDMI/DP,pcm=8 (/dev/input/event4)
[    13.357] (II) No input driver specified, ignoring this device.
[    13.357] (II) This device may have been added with another device file.
[    13.358] (II) config/udev: Adding input device HDA Intel MID HDMI/DP,pcm=7 (/dev/input/event5)
[    13.358] (II) No input driver specified, ignoring this device.
[    13.358] (II) This device may have been added with another device file.
[    13.358] (II) config/udev: Adding input device HDA Intel MID HDMI/DP,pcm=3 (/dev/input/event6)
[    13.358] (II) No input driver specified, ignoring this device.
[    13.358] (II) This device may have been added with another device file.
[    13.358] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event10)
[    13.358] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev keyboard catchall"
[    13.358] (II) Using input driver 'evdev' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[    13.358] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[    13.358] (**) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Device: "/dev/input/event10"
[    13.358] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Vendor 0x5ac Product 0x290
[    13.358] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Found keys
[    13.358] (II) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Configuring as keyboard
[    13.358] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/input/input10/event10"
[    13.358] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: KEYBOARD, id 10)
[    13.358] (**) Option "xkb_rules" "evdev"
[    13.358] (**) Option "xkb_model" "pc104"
[    13.358] (**) Option "xkb_layout" "us"
[    13.359] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event11)
[    13.359] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev pointer catchall"
[    13.359] (II) Using input driver 'evdev' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[    13.359] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[    13.359] (**) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Device: "/dev/input/event11"
[    13.359] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Vendor 0x5ac Product 0x290
[    13.359] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Found 3 mouse buttons
[    13.359] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Found relative axes
[    13.359] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Found x and y relative axes
[    13.359] (II) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Configuring as mouse
[    13.359] (**) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: YAxisMapping: buttons 4 and 5
[    13.359] (**) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    13.359] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/input/input11/event11"
[    13.359] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: MOUSE, id 11)
[    13.359] (II) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: initialized for relative axes.
[    13.359] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) keeping acceleration scheme 1
[    13.359] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration profile 0
[    13.359] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration factor: 2.000
[    13.359] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration threshold: 4
[    13.360] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/mouse0)
[    13.360] (II) No input driver specified, ignoring this device.
[    13.360] (II) This device may have been added with another device file.
[    13.360] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event8)
[    13.360] (II) No input driver specified, ignoring this device.
[    13.360] (II) This device may have been added with another device file.
[    13.360] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event9)
[    13.360] (II) No input driver specified, ignoring this device.
[    13.360] (II) This device may have been added with another device file.
[    13.361] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[    13.361] (II) No input driver specified, ignoring this device.
[    13.361] (II) This device may have been added with another device file.
[    13.419] (II) intel(0): EDID vendor "APP", prod id 40178
[    13.419] (II) intel(0): Printing DDC gathered Modelines:
[    13.419] (II) intel(0): Modeline "1366x768"x0.0   72.00  1366 1380 1436 1500  768 769 772 800 -hsync -vsync (48.0 kHz eP)

Am I supposed to add something to 10-evdev.conf in /etc/X11/xorg.conf.d/ ?
It looks like evdev is picking up the Trackpad...

Sorry if this seems mundane, I'm not a veteran Linux user.

Offline

#11 2013-09-16 03:41:42

albertalbert
Member
Registered: 2013-09-14
Posts: 14

Re: Macbook Air 2013 Touchpad issues

I changed my 50-synaptics.conf file to look like this:

# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
#   Option "OptionName" "value"
#
Section "Module"
        Load    "synaptics"
EndSection

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "2"
        Option "TapButton3" "3"
        Option "VertTwoFingerScroll" "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
        MatchDevicePath "/dev/input/event11"
EndSection

# Section "InputClass"
#         Identifier "touchpad ignore duplicates"
#         MatchIsTouchpad "on"
#         MatchOS "Linux"
#         MatchDevicePath "/dev/input/mouse*"
#         Option "Ignore" "on"
# EndSection

# This option enables the bottom right corner to be a right button on
# non-synaptics clickpads.
# This option is only interpreted by clickpads.
Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
#       To disable the bottom edge area so the buttons only work as buttons,
#       not for movement, set the AreaBottomEdge
#       Option "AreaBottomEdge" "82%"
EndSection

# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
# Section "InputClass"
#         Identifier "Disable clickpad buttons on Apple touchpads"
#         MatchProduct "Apple|bcm5974"
#         MatchDriver "synaptics"
#         Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
# EndSection

And now I see Synaptics appearing in it:

[albert@archer ~]$ cat /var/log/Xorg.0.log | grep synaptics
[  6806.246] (II) LoadModule: "synaptics"
[  6806.246] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[  6806.246] (II) Module synaptics: vendor="X.Org Foundation"

However it doesn't look like it's getting loaded:

[albert@archer ~]$ synclient
Couldn't find synaptics properties. No synaptics driver loaded?

I've been google searching like crazy and can't find a solution anywhere. Anybody got any tips?


EDIT:

My /etc/X11/xorg.conf.d/50-synaptics.conf file now looks like this:

Section "InputClass"
    Identifier "synaptics touchpad catchall"
    Driver "synaptics"
    MatchIsPointer "on"
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3"
    MatchDevicePath "/dev/input/event*"
EndSection

And executing

cat /var/log/Xorg.0.log | grep synaptics

Reveals this:

[    50.914] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "synaptics touchpad catchall"
[    50.914] (II) LoadModule: "synaptics"
[    50.914] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    50.914] (II) Module synaptics: vendor="X.Org Foundation"
[    50.914] (II) Using input driver 'synaptics' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[    51.076] (EE) synaptics: Apple Inc. Apple Internal Keyboard / Trackpad: Synaptics driver unable to detect protocol
[    51.076] (II) UnloadModule: "synaptics"

Last edited by albertalbert (2013-09-17 01:53:14)

Offline

Board footer

Powered by FluxBB