![MacBook Pro 12,1 触控板问题](https://linux22.com/image/983270/MacBook%20Pro%2012%2C1%20%E8%A7%A6%E6%8E%A7%E6%9D%BF%E9%97%AE%E9%A2%98.png)
我有点迷茫了。我已经为我的 MBP 触控板移除xserver-xorg-inputs-synaptics
并安装了它xserver-xorg-inputs-mtrack
,但是我无法加载驱动程序,因为出于某种原因,我的触控板被检测为“指针”,这从 xorg 启动日志中的这些行可以看出:
[ 5.645] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event8)
[ 5.645] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev pointer catchall"
[ 5.645] (II) Using input driver 'evdev' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
这也通过在我成功加载驱动程序时更改MatchIsTouchpad "on"
为来验证(尽管这实际上没有帮助,因为我无法移动它)MatchIsPointer "on"
/etc/X11/xorg.conf
其他相关信息:
- MacbookPro 12,1
- Ubuntu 15.04
- 内核 3.19.0-25-通用
内容/etc/X11/xorg.conf
Section "InputClass"
MatchIsTouchpad "on"
Identifier "Touchpads"
Driver "mtrack"
Option "Sensitivity" "0.55"
Option "FingerHigh" "12"
Option "FingerLow" "1"
Option "IgnoreThumb" "true"
Option "IgnorePalm" "true"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "0"
Option "TapButton4" "0"
Option "ClickFinger1" "1"
Option "ClickFinger2" "3"
Option "ClickFinger3" "3"
Option "ButtonMoveEmulate" "false"
Option "ButtonIntegrated" "true"
Option "ClickTime" "25"
Option "BottomEdge" "25"
Option "SwipeLeftButton" "8"
Option "SwipeRightButton" "9"
Option "SwipeUpButton" "0"
Option "SwipeDownButton" "0"
Option "ScrollDistance" "75"
EndSection
所有相关/var/log/Xorg.0.log
输出
[ 5.644] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: KEYBOARD, id 13)
[ 5.644] (**) Option "xkb_rules" "evdev"
[ 5.644] (**) Option "xkb_model" "pc105"
[ 5.644] (**) Option "xkb_layout" "us"
[ 5.644] (**) Option "xkb_options" "ctrl:nocaps"
[ 5.645] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event8)
[ 5.645] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev pointer catchall"
[ 5.645] (II) Using input driver 'evdev' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[ 5.645] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[ 5.645] (**) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Device: "/dev/input/event8"
[ 5.700] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Vendor 0x5ac Product 0x273
[ 5.700] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Found 3 mouse buttons
[ 5.700] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Found relative axes
[ 5.700] (--) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Found x and y relative axes
[ 5.700] (II) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Configuring as mouse
[ 5.700] (**) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: YAxisMapping: buttons 4 and 5
[ 5.700] (**) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 5.700] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:05AC:0273.0006/input/input8/event8"
[ 5.700] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: MOUSE, id 14)
[ 5.700] (II) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: initialized for relative axes.
[ 5.700] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) keeping acceleration scheme 1
[ 5.700] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration profile 0
[ 5.700] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration factor: 2.000
[ 5.700] (**) Apple Inc. Apple Internal Keyboard / Trackpad: (accel) acceleration threshold: 4
[ 5.700] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/mouse2)
以及相关cat /proc/bus/input/devices
输出
I: Bus=0003 Vendor=05ac Product=0273 Version=0110
N: Name="Apple Inc. Apple Internal Keyboard / Trackpad"
P: Phys=usb-0000:00:14.0-5/input1
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1/0003:05AC:0273.0005/input/input7
U: Uniq=D3H5265H171GHJGAN4PS
H: Handlers=sysrq kbd event7
B: PROP=0
B: EV=120013
B: KEY=1000000010007 ff9f217ac14057ff febeffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=1f
I: Bus=0003 Vendor=05ac Product=0273 Version=0110
N: Name="Apple Inc. Apple Internal Keyboard / Trackpad"
P: Phys=usb-0000:00:14.0-5/input2
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:05AC:0273.0006/input/input8
U: Uniq=D3H5265H171GHJGAN4PS
H: Handlers=mouse2 event8
B: PROP=0
B: EV=17
B: KEY=70000 0 0 0 0
B: REL=3
B: MSC=10