在 Arch Linux 上启用 ThinkPad 触控板

在 Arch Linux 上启用 ThinkPad 触控板

我在 Lenovo ThinkPad P14s 上使用 Arch Linux。全新安装时,触控板被禁用。

无论走到哪里都携带鼠标很麻烦,而且键盘中间的红色旋钮对于鼠标移动来说也很不理想。

如何启用触控板?

这是我的xinput list

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=12   [slave  pointer  (2)]
⎜   ↳ TPPS/2 Elan TrackPoint                    id=13   [slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse                id=15   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Video Bus                                 id=6    [slave  keyboard (3)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ Sleep Button                              id=8    [slave  keyboard (3)]
    ↳ Integrated Camera: Integrated C           id=9    [slave  keyboard (3)]
    ↳ Integrated Camera: Integrated I           id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                    id=14   [slave  keyboard (3)]

我已经xinput set-prop # "Device Enabled" 1对列表中的每个 id 进行了执行。

编辑:似乎lsusb不显示触摸板。这是输出lsusb

Bus 006 Device 004: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 006 Device 003: ID 06cb:00bd Synaptics, Inc. Prometheus MIS Touch Fingerprint Reader
Bus 006 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 04f2:b6d0 Chicony Electronics Co., Ltd Integrated Camera
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub```

答案1

Arch Linux Wiki 中描述:触摸板 Synaptics

安装xf86-input-synaptics包:

sudo pacman -S xf86-input-synaptics

/etc/X11/xorg.conf.d/70-synaptics.conf然后使用以下内容创建:

Section "InputClass"
    Identifier "touchpad"
    Driver "synaptics"
    MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "3"
        Option "TapButton3" "2"
        Option "VertEdgeScroll" "on"
        Option "VertTwoFingerScroll" "on"
        Option "HorizEdgeScroll" "on"
        Option "HorizTwoFingerScroll" "on"
        Option "CircularScrolling" "on"
        Option "CircScrollTrigger" "2"
        Option "EmulateTwoFingerMinZ" "40"
        Option "EmulateTwoFingerMinW" "8"
        Option "CoastingSpeed" "0"
        Option "FingerLow" "30"
        Option "FingerHigh" "50"
        Option "MaxTapTime" "125"
        ...
EndSection

答案2

通过重新启动 Windows,然后返回 Arch Linux 解决了该问题。这似乎是一个每次出现问题都会解决问题的解决方案;如果事实并非如此,我会更新我的答案。

相关内容