Linux - AlpsPS/2 ALPS GlidePoint 触摸板在 HP zBook Studio G4 上被视为鼠标

Linux - AlpsPS/2 ALPS GlidePoint touchpad treated as mouse on HP zBook Studio G4

我在使用 'AlpsPS/2 ALPS GlidePoint' (HP zBook Studio G4) 时遇到问题。它正在工作,但被视为鼠标设备,实际上导致我在 'Mouse and Touchpad' > 'Touchpad' 中所做的所有设置都被忽略了。例如。我可以禁用 'Tap to click' 但没有效果。我什至可以禁用 'Enable touchpad',它仍然有效。

这些是 Xorg 日志文件中的相关行:

[     9.584] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/event6)
[     9.584] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "evdev touchpad catchall"
[     9.584] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "evdev touchscreen catchall"
[     9.584] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "touchpad catchall"
[     9.584] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "Default clickpad buttons"
[     9.584] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "libinput touchpad catchall"
[     9.584] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "libinput touchscreen catchall"
[     9.584] (II) Using input driver 'libinput' for 'AlpsPS/2 ALPS GlidePoint'
[     9.584] (**) AlpsPS/2 ALPS GlidePoint: always reports core events
[     9.585] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event6 is tagged by udev as: Touchpad Touchscreen
[     9.585] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event6 is a touchpad
[     9.616] (II) XINPUT: Adding extended input device "AlpsPS/2 ALPS GlidePoint" (type: TOUCHPAD, id 17)
[     9.616] (**) AlpsPS/2 ALPS GlidePoint: (accel) selected scheme none/0
[     9.616] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration factor: 2.000
[     9.616] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration threshold: 4
[     9.616] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event6 is tagged by udev as: Touchpad Touchscreen
[     9.616] (II) input device 'AlpsPS/2 ALPS GlidePoint', /dev/input/event6 is a touchpad
[     9.616] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/mouse1)
[     9.616] (**) AlpsPS/2 ALPS GlidePoint: Ignoring device from InputClass "touchpad ignore duplicates"

这是'xinput'的输出:

$ xinput --list
⎡ Virtual core pointer                       id=2   [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                 id=4   [slave  pointer  (2)]
⎜   ↳ ALP0012:00 044E:120C                       id=10   [slave  pointer  (2)]
⎜   ↳ Generic USB Audio                          id=14   [slave  pointer  (2)]
⎜   ↳ PixArt Microsoft USB Optical Mouse         id=15   [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS GlidePoint                   id=17   [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)]
    ↳ Sleep Button                               id=8   [slave  keyboard (3)]
    ↳ HP HD Camera: HP HD Camera                 id=9   [slave  keyboard (3)]
    ↳   USB Keyboard                             id=11   [slave  keyboard (3)]
    ↳   USB Keyboard                             id=12   [slave  keyboard (3)]
    ↳ Sennheiser Sennheiser SC60 for Lync        id=13   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard               id=16   [slave  keyboard (3)]
    ↳ HP Wireless hotkeys                        id=18   [slave  keyboard (3)]
    ↳ HP WMI hotkeys                             id=19   [slave  keyboard (3)]
    ↳ Generic USB Audio                          id=20   [slave  keyboard (3)]

我已经手动禁用点击如下(但仍然没有效果):

enter code herexinput set-prop 'AlpsPS/2 ALPS GlidePoint' 'libinput Tapping Enabled' 0

-->

$ xinput --watch-props 'AlpsPS/2 ALPS GlidePoint'
Device 'AlpsPS/2 ALPS GlidePoint':
   Device Enabled (142):   1
   Coordinate Transformation Matrix (144):   1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
   libinput Tapping Enabled (296):   0
   libinput Tapping Enabled Default (297):   0
   libinput Tapping Drag Enabled (298):   1
   libinput Tapping Drag Enabled Default (299):   1
   libinput Tapping Drag Lock Enabled (300):   0
   libinput Tapping Drag Lock Enabled Default (301):   0
   libinput Accel Speed (279):   0.996016
   libinput Accel Speed Default (280):   0.000000
   libinput Natural Scrolling Enabled (284):   1
   libinput Natural Scrolling Enabled Default (285):   0
   libinput Send Events Modes Available (263):   1, 1
   libinput Send Events Mode Enabled (264):   0, 0
   libinput Send Events Mode Enabled Default (265):   0, 0
   libinput Left Handed Enabled (286):   0
   libinput Left Handed Enabled Default (287):   0
   libinput Scroll Methods Available (288):   1, 1, 0
   libinput Scroll Method Enabled (289):   1, 0, 0
   libinput Scroll Method Enabled Default (290):   1, 0, 0
   libinput Click Methods Available (302):   1, 1
   libinput Click Method Enabled (303):   1, 0
   libinput Click Method Enabled Default (304):   1, 0
   libinput Middle Emulation Enabled (293):   0
   libinput Middle Emulation Enabled Default (294):   0
   libinput Disable While Typing Enabled (305):   1
   libinput Disable While Typing Enabled Default (306):   1
   Device Node (266):   "/dev/input/event6"
   Device Product ID (267):   2, 8
   libinput Drag Lock Buttons (295):   <no items>
   libinput Horizonal Scroll Enabled (268):   0

任何关于如何使这个东西作为实际触摸板工作的提示都将不胜感激! :)

编辑:这不是特定的 Mint 问题 - 我用最新的 Fedora 进行了测试,那里也有同样的问题(我希望更新的 libinput/gtk/whatever 版本可能会解决这个问题)。

编辑 2:不适用于 KDE/Kubuntu w/ 最新的 Plasma。

我遇到了同样的问题。通过执行以下操作修复它:

sudo modprobe -r psmouse; sudo modprobe psmouse

在此处找到答案:https://askubuntu.com/a/625064